fake-bpy-module 20240327__py3-none-any.whl → 20240330__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of fake-bpy-module might be problematic. Click here for more details.

Files changed (114) hide show
  1. aud/__init__.pyi +34 -96
  2. bgl/__init__.pyi +1265 -2417
  3. bl_math/__init__.pyi +3 -14
  4. bl_ui/space_toolsystem_toolbar/__init__.pyi +6 -0
  5. blf/__init__.pyi +13 -50
  6. bmesh/ops/__init__.pyi +68 -142
  7. bmesh/types/__init__.pyi +18 -44
  8. bmesh/utils/__init__.pyi +2 -6
  9. bpy/app/icons/__init__.pyi +2 -4
  10. bpy/app/timers/__init__.pyi +2 -6
  11. bpy/ops/action/__init__.pyi +92 -93
  12. bpy/ops/anim/__init__.pyi +104 -104
  13. bpy/ops/armature/__init__.pyi +108 -112
  14. bpy/ops/asset/__init__.pyi +32 -32
  15. bpy/ops/boid/__init__.pyi +18 -18
  16. bpy/ops/brush/__init__.pyi +18 -18
  17. bpy/ops/buttons/__init__.pyi +12 -12
  18. bpy/ops/cachefile/__init__.pyi +10 -10
  19. bpy/ops/camera/__init__.pyi +4 -4
  20. bpy/ops/clip/__init__.pyi +194 -195
  21. bpy/ops/cloth/__init__.pyi +2 -2
  22. bpy/ops/collection/__init__.pyi +10 -10
  23. bpy/ops/console/__init__.pyi +42 -42
  24. bpy/ops/constraint/__init__.pyi +36 -36
  25. bpy/ops/curve/__init__.pyi +114 -118
  26. bpy/ops/curves/__init__.pyi +55 -53
  27. bpy/ops/cycles/__init__.pyi +6 -6
  28. bpy/ops/dpaint/__init__.pyi +12 -12
  29. bpy/ops/ed/__init__.pyi +24 -24
  30. bpy/ops/export_anim/__init__.pyi +2 -2
  31. bpy/ops/export_mesh/__init__.pyi +2 -2
  32. bpy/ops/export_scene/__init__.pyi +9 -9
  33. bpy/ops/file/__init__.pyi +80 -83
  34. bpy/ops/fluid/__init__.pyi +28 -28
  35. bpy/ops/font/__init__.pyi +46 -46
  36. bpy/ops/geometry/__init__.pyi +38 -38
  37. bpy/ops/gizmogroup/__init__.pyi +4 -4
  38. bpy/ops/gpencil/__init__.pyi +308 -309
  39. bpy/ops/graph/__init__.pyi +150 -151
  40. bpy/ops/grease_pencil/__init__.pyi +114 -115
  41. bpy/ops/image/__init__.pyi +100 -100
  42. bpy/ops/import_anim/__init__.pyi +2 -2
  43. bpy/ops/import_curve/__init__.pyi +2 -2
  44. bpy/ops/import_mesh/__init__.pyi +2 -2
  45. bpy/ops/import_scene/__init__.pyi +6 -6
  46. bpy/ops/info/__init__.pyi +14 -14
  47. bpy/ops/lattice/__init__.pyi +16 -16
  48. bpy/ops/marker/__init__.pyi +22 -22
  49. bpy/ops/mask/__init__.pyi +90 -91
  50. bpy/ops/material/__init__.pyi +6 -6
  51. bpy/ops/mball/__init__.pyi +20 -21
  52. bpy/ops/mesh/__init__.pyi +431 -429
  53. bpy/ops/nla/__init__.pyi +89 -90
  54. bpy/ops/node/__init__.pyi +242 -243
  55. bpy/ops/object/__init__.pyi +572 -567
  56. bpy/ops/outliner/__init__.pyi +142 -142
  57. bpy/ops/paint/__init__.pyi +182 -126
  58. bpy/ops/paintcurve/__init__.pyi +20 -20
  59. bpy/ops/palette/__init__.pyi +14 -14
  60. bpy/ops/particle/__init__.pyi +72 -72
  61. bpy/ops/pose/__init__.pyi +90 -90
  62. bpy/ops/poselib/__init__.pyi +18 -18
  63. bpy/ops/preferences/__init__.pyi +76 -76
  64. bpy/ops/ptcache/__init__.pyi +14 -14
  65. bpy/ops/render/__init__.pyi +24 -24
  66. bpy/ops/rigidbody/__init__.pyi +34 -34
  67. bpy/ops/scene/__init__.pyi +86 -86
  68. bpy/ops/screen/__init__.pyi +84 -84
  69. bpy/ops/script/__init__.pyi +6 -6
  70. bpy/ops/sculpt/__init__.pyi +62 -62
  71. bpy/ops/sculpt_curves/__init__.pyi +8 -8
  72. bpy/ops/sequencer/__init__.pyi +184 -185
  73. bpy/ops/sound/__init__.pyi +16 -16
  74. bpy/ops/spreadsheet/__init__.pyi +8 -8
  75. bpy/ops/surface/__init__.pyi +12 -12
  76. bpy/ops/text/__init__.pyi +86 -86
  77. bpy/ops/text_editor/__init__.pyi +2 -2
  78. bpy/ops/texture/__init__.pyi +8 -8
  79. bpy/ops/transform/__init__.pyi +112 -112
  80. bpy/ops/ui/__init__.pyi +64 -64
  81. bpy/ops/uilist/__init__.pyi +6 -6
  82. bpy/ops/uv/__init__.pyi +104 -105
  83. bpy/ops/view2d/__init__.pyi +28 -28
  84. bpy/ops/view3d/__init__.pyi +134 -134
  85. bpy/ops/wm/__init__.pyi +232 -232
  86. bpy/ops/workspace/__init__.pyi +14 -14
  87. bpy/ops/world/__init__.pyi +2 -2
  88. bpy/props/__init__.pyi +29 -52
  89. bpy/types/__init__.pyi +5354 -3708
  90. bpy/utils/__init__.pyi +3 -6
  91. bpy/utils/units/__init__.pyi +3 -6
  92. bpy_extras/io_utils/__init__.pyi +8 -0
  93. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/METADATA +1 -1
  94. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/RECORD +114 -114
  95. freestyle/chainingiterators/__init__.pyi +5 -12
  96. freestyle/functions/__init__.pyi +19 -73
  97. freestyle/predicates/__init__.pyi +8 -21
  98. freestyle/shaders/__init__.pyi +32 -81
  99. freestyle/types/__init__.pyi +100 -270
  100. freestyle/utils/ContextFunctions/__init__.pyi +7 -27
  101. freestyle/utils/__init__.pyi +1 -2
  102. gpu/capabilities/__init__.pyi +15 -32
  103. gpu/matrix/__init__.pyi +1 -2
  104. gpu/state/__init__.pyi +4 -10
  105. gpu/types/__init__.pyi +29 -87
  106. gpu_extras/presets/__init__.pyi +4 -16
  107. imbuf/types/__init__.pyi +4 -10
  108. mathutils/__init__.pyi +106 -257
  109. mathutils/bvhtree/__init__.pyi +7 -15
  110. mathutils/geometry/__init__.pyi +9 -18
  111. mathutils/kdtree/__init__.pyi +4 -11
  112. mathutils/noise/__init__.pyi +41 -82
  113. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/WHEEL +0 -0
  114. {fake_bpy_module-20240327.dist-info → fake_bpy_module-20240330.dist-info}/top_level.txt +0 -0
bl_math/__init__.pyi CHANGED
@@ -2,47 +2,36 @@ import typing
2
2
 
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
- def clamp(value: float, min: float = 0, max: float = 1) -> float:
5
+ def clamp(value, min=0, max=1):
6
6
  """Clamps the float value between minimum and maximum. To avoid
7
7
  confusion, any call must use either one or all three arguments.
8
8
 
9
9
  :param value: The value to clamp.
10
- :type value: float
11
10
  :param min: The minimum value, defaults to 0.
12
- :type min: float
13
11
  :param max: The maximum value, defaults to 1.
14
- :type max: float
15
12
  :return: The clamped value.
16
- :rtype: float
17
13
  """
18
14
 
19
15
  ...
20
16
 
21
- def lerp(from_value: float, to_value: float, factor: float) -> float:
17
+ def lerp(from_value, to_value, factor):
22
18
  """Linearly interpolate between two float values based on factor.
23
19
 
24
20
  :param from_value: The value to return when factor is 0.
25
- :type from_value: float
26
21
  :param to_value: The value to return when factor is 1.
27
- :type to_value: float
28
22
  :param factor: The interpolation value, normally in [0.0, 1.0].
29
- :type factor: float
30
23
  :return: The interpolated value.
31
- :rtype: float
32
24
  """
33
25
 
34
26
  ...
35
27
 
36
- def smoothstep(from_value: float, to_value: float, value) -> float:
28
+ def smoothstep(from_value, to_value, value):
37
29
  """Performs smooth interpolation between 0 and 1 as value changes between from and to values.
38
30
  Outside the range the function returns the same value as the nearest edge.
39
31
 
40
32
  :param from_value: The edge value where the result is 0.
41
- :type from_value: float
42
33
  :param to_value: The edge value where the result is 1.
43
- :type to_value: float
44
34
  :return: The interpolated value in [0.0, 1.0].
45
- :rtype: float
46
35
  """
47
36
 
48
37
  ...
@@ -1326,6 +1326,9 @@ class _defs_paint_grease_pencil:
1326
1326
  erase: typing.Any
1327
1327
  """ """
1328
1328
 
1329
+ tint: typing.Any
1330
+ """ """
1331
+
1329
1332
  class _defs_particle:
1330
1333
  """ """
1331
1334
 
@@ -1372,6 +1375,9 @@ class _defs_sculpt:
1372
1375
  hide_lasso: typing.Any
1373
1376
  """ """
1374
1377
 
1378
+ hide_line: typing.Any
1379
+ """ """
1380
+
1375
1381
  mask_border: typing.Any
1376
1382
  """ """
1377
1383
 
blf/__init__.pyi CHANGED
@@ -2,56 +2,43 @@ import typing
2
2
 
3
3
  GenericType = typing.TypeVar("GenericType")
4
4
 
5
- def aspect(fontid: int, aspect: float):
5
+ def aspect(fontid, aspect):
6
6
  """Set the aspect for drawing text.
7
7
 
8
8
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
9
- :type fontid: int
10
9
  :param aspect: The aspect ratio for text drawing to use.
11
- :type aspect: float
12
10
  """
13
11
 
14
12
  ...
15
13
 
16
- def clipping(fontid: int, xmin: float, ymin: float, xmax: float, ymax: float):
14
+ def clipping(fontid, xmin, ymin, xmax, ymax):
17
15
  """Set the clipping, enable/disable using CLIPPING.
18
16
 
19
17
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
20
- :type fontid: int
21
18
  :param xmin: Clip the drawing area by these bounds.
22
- :type xmin: float
23
19
  :param ymin: Clip the drawing area by these bounds.
24
- :type ymin: float
25
20
  :param xmax: Clip the drawing area by these bounds.
26
- :type xmax: float
27
21
  :param ymax: Clip the drawing area by these bounds.
28
- :type ymax: float
29
22
  """
30
23
 
31
24
  ...
32
25
 
33
- def color(fontid: int, r: float, g: float, b: float, a: float):
26
+ def color(fontid, r, g, b, a):
34
27
  """Set the color for drawing text.
35
28
 
36
29
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
37
- :type fontid: int
38
30
  :param r: red channel 0.0 - 1.0.
39
- :type r: float
40
31
  :param g: green channel 0.0 - 1.0.
41
- :type g: float
42
32
  :param b: blue channel 0.0 - 1.0.
43
- :type b: float
44
33
  :param a: alpha channel 0.0 - 1.0.
45
- :type a: float
46
34
  """
47
35
 
48
36
  ...
49
37
 
50
- def dimensions(fontid: int, text: str):
38
+ def dimensions(fontid, text: str):
51
39
  """Return the width and height of the text.
52
40
 
53
41
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
54
- :type fontid: int
55
42
  :param text: the text to draw.
56
43
  :type text: str
57
44
  :return: the width and height of the text.
@@ -59,35 +46,30 @@ def dimensions(fontid: int, text: str):
59
46
 
60
47
  ...
61
48
 
62
- def disable(fontid: int, option: int):
49
+ def disable(fontid, option):
63
50
  """Disable option.
64
51
 
65
52
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
66
- :type fontid: int
67
53
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
68
- :type option: int
69
54
  """
70
55
 
71
56
  ...
72
57
 
73
- def draw(fontid: int, text: str):
58
+ def draw(fontid, text: str):
74
59
  """Draw text in the current context.
75
60
 
76
61
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
77
- :type fontid: int
78
62
  :param text: the text to draw.
79
63
  :type text: str
80
64
  """
81
65
 
82
66
  ...
83
67
 
84
- def enable(fontid: int, option: int):
68
+ def enable(fontid, option):
85
69
  """Enable option.
86
70
 
87
71
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
88
- :type fontid: int
89
72
  :param option: One of ROTATION, CLIPPING, SHADOW or KERNING_DEFAULT.
90
- :type option: int
91
73
  """
92
74
 
93
75
  ...
@@ -102,71 +84,54 @@ def load(filepath: typing.Union[str, bytes]):
102
84
 
103
85
  ...
104
86
 
105
- def position(fontid: int, x: float, y: float, z: float):
87
+ def position(fontid, x, y, z):
106
88
  """Set the position for drawing text.
107
89
 
108
90
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
109
- :type fontid: int
110
91
  :param x: X axis position to draw the text.
111
- :type x: float
112
92
  :param y: Y axis position to draw the text.
113
- :type y: float
114
93
  :param z: Z axis position to draw the text.
115
- :type z: float
116
94
  """
117
95
 
118
96
  ...
119
97
 
120
- def rotation(fontid: int, angle: float):
98
+ def rotation(fontid, angle):
121
99
  """Set the text rotation angle, enable/disable using ROTATION.
122
100
 
123
101
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
124
- :type fontid: int
125
102
  :param angle: The angle for text drawing to use.
126
- :type angle: float
127
103
  """
128
104
 
129
105
  ...
130
106
 
131
- def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float):
107
+ def shadow(fontid, level, r, g, b, a):
132
108
  """Shadow options, enable/disable using SHADOW .
133
109
 
134
110
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
135
- :type fontid: int
136
111
  :param level: The blur level, can be 3, 5 or 0.
137
- :type level: int
138
112
  :param r: Shadow color (red channel 0.0 - 1.0).
139
- :type r: float
140
113
  :param g: Shadow color (green channel 0.0 - 1.0).
141
- :type g: float
142
114
  :param b: Shadow color (blue channel 0.0 - 1.0).
143
- :type b: float
144
115
  :param a: Shadow color (alpha channel 0.0 - 1.0).
145
- :type a: float
146
116
  """
147
117
 
148
118
  ...
149
119
 
150
- def shadow_offset(fontid: int, x: float, y: float):
120
+ def shadow_offset(fontid, x, y):
151
121
  """Set the offset for shadow text.
152
122
 
153
123
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
154
- :type fontid: int
155
124
  :param x: Vertical shadow offset value in pixels.
156
- :type x: float
157
125
  :param y: Horizontal shadow offset value in pixels.
158
- :type y: float
159
126
  """
160
127
 
161
128
  ...
162
129
 
163
- def size(fontid: int, size: float):
130
+ def size(fontid, size):
164
131
  """Set the size for drawing text.
165
132
 
166
133
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
167
- :type fontid: int
168
134
  :param size: Point size of the font.
169
- :type size: float
170
135
  """
171
136
 
172
137
  ...
@@ -180,13 +145,11 @@ def unload(filepath: typing.Union[str, bytes]):
180
145
 
181
146
  ...
182
147
 
183
- def word_wrap(fontid: int, wrap_width: int):
148
+ def word_wrap(fontid, wrap_width):
184
149
  """Set the wrap width, enable/disable using WORD_WRAP.
185
150
 
186
151
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
187
- :type fontid: int
188
152
  :param wrap_width: The width (in pixels) to wrap words at.
189
- :type wrap_width: int
190
153
  """
191
154
 
192
155
  ...