fake-bpy-module 20240510__py3-none-any.whl → 20240514__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.

blf/__init__.pyi CHANGED
@@ -105,12 +105,13 @@ def enable(fontid: int, option: int):
105
105
 
106
106
  ...
107
107
 
108
- def load(filepath: typing.Union[str, bytes]):
108
+ def load(filepath: typing.Union[str, bytes]) -> int:
109
109
  """Load a new font.
110
110
 
111
111
  :param filepath: the filepath of the font.
112
112
  :type filepath: typing.Union[str, bytes]
113
113
  :return: the new font's fontid or -1 if there was an error.
114
+ :rtype: int
114
115
  """
115
116
 
116
117
  ...
@@ -146,7 +147,7 @@ def shadow(fontid: int, level: int, r: float, g: float, b: float, a: float):
146
147
 
147
148
  :param fontid: The id of the typeface as returned by `blf.load`, for default font use 0.
148
149
  :type fontid: int
149
- :param level: The blur level, can be 3, 5 or 0.
150
+ :param level: The blur level (0, 3, 5) or outline (6).
150
151
  :type level: int
151
152
  :param r: Shadow color (red channel 0.0 - 1.0).
152
153
  :type r: float
bpy/ops/anim/__init__.pyi CHANGED
@@ -10,7 +10,7 @@ def binding_unassign_object(
10
10
  execution_context: typing.Optional[typing.Union[str, int]] = None,
11
11
  undo: typing.Optional[bool] = None,
12
12
  ):
13
- """Clear the assigned animation binding, effectively making this data-block non-animated
13
+ """Clear the assigned action binding, effectively making this data-block non-animated
14
14
 
15
15
  :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
16
16
  :type execution_context: typing.Optional[typing.Union[str, int]]
@@ -22,11 +22,11 @@ def fbx(
22
22
  use_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = True,
23
23
  bake_space_transform: typing.Optional[typing.Union[bool, typing.Any]] = False,
24
24
  object_types: typing.Optional[typing.Any] = {
25
+ '"CAMERA"',
26
+ '"ARMATURE"',
25
27
  '"EMPTY"',
26
28
  '"MESH"',
27
- '"ARMATURE"',
28
29
  '"LIGHT"',
29
- '"CAMERA"',
30
30
  '"OTHER"',
31
31
  },
32
32
  use_mesh_modifiers: typing.Optional[typing.Union[bool, typing.Any]] = True,
@@ -365,6 +365,25 @@ def layer_group_add(
365
365
 
366
366
  ...
367
367
 
368
+ def layer_group_remove(
369
+ override_context: typing.Optional[
370
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
371
+ ] = None,
372
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
373
+ undo: typing.Optional[bool] = None,
374
+ keep_children: typing.Optional[typing.Union[bool, typing.Any]] = False,
375
+ ):
376
+ """Remove Grease Pencil layer group in the active object
377
+
378
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
379
+ :type execution_context: typing.Optional[typing.Union[str, int]]
380
+ :type undo: typing.Optional[bool]
381
+ :param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
382
+ :type keep_children: typing.Optional[typing.Union[bool, typing.Any]]
383
+ """
384
+
385
+ ...
386
+
368
387
  def layer_hide(
369
388
  override_context: typing.Optional[
370
389
  typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
@@ -1163,6 +1182,57 @@ def set_uniform_thickness(
1163
1182
 
1164
1183
  ...
1165
1184
 
1185
+ def snap_cursor_to_selected(
1186
+ override_context: typing.Optional[
1187
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1188
+ ] = None,
1189
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
1190
+ undo: typing.Optional[bool] = None,
1191
+ ):
1192
+ """Snap cursor to center of selected points
1193
+
1194
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1195
+ :type execution_context: typing.Optional[typing.Union[str, int]]
1196
+ :type undo: typing.Optional[bool]
1197
+ """
1198
+
1199
+ ...
1200
+
1201
+ def snap_to_cursor(
1202
+ override_context: typing.Optional[
1203
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1204
+ ] = None,
1205
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
1206
+ undo: typing.Optional[bool] = None,
1207
+ use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
1208
+ ):
1209
+ """Snap selected points/strokes to the cursor
1210
+
1211
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1212
+ :type execution_context: typing.Optional[typing.Union[str, int]]
1213
+ :type undo: typing.Optional[bool]
1214
+ :param use_offset: With Offset, Offset the entire stroke instead of selected points only
1215
+ :type use_offset: typing.Optional[typing.Union[bool, typing.Any]]
1216
+ """
1217
+
1218
+ ...
1219
+
1220
+ def snap_to_grid(
1221
+ override_context: typing.Optional[
1222
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
1223
+ ] = None,
1224
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
1225
+ undo: typing.Optional[bool] = None,
1226
+ ):
1227
+ """Snap selected points to the nearest grid points
1228
+
1229
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
1230
+ :type execution_context: typing.Optional[typing.Union[str, int]]
1231
+ :type undo: typing.Optional[bool]
1232
+ """
1233
+
1234
+ ...
1235
+
1166
1236
  def stroke_cutter(
1167
1237
  override_context: typing.Optional[
1168
1238
  typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
bpy/ops/nla/__init__.pyi CHANGED
@@ -113,10 +113,10 @@ def bake(
113
113
  clean_curves: typing.Optional[typing.Union[bool, typing.Any]] = False,
114
114
  bake_types: typing.Optional[typing.Any] = {'"POSE"'},
115
115
  channel_types: typing.Optional[typing.Any] = {
116
- '"ROTATION"',
116
+ '"BBONE"',
117
117
  '"PROPS"',
118
+ '"ROTATION"',
118
119
  '"LOCATION"',
119
- '"BBONE"',
120
120
  '"SCALE"',
121
121
  },
122
122
  ):
@@ -53,7 +53,7 @@ def cloth_filter(
53
53
  bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
54
54
  ] = None,
55
55
  type: typing.Optional[typing.Any] = "GRAVITY",
56
- force_axis: typing.Optional[typing.Any] = {'"Y"', '"Z"', '"X"'},
56
+ force_axis: typing.Optional[typing.Any] = {'"Z"', '"X"', '"Y"'},
57
57
  orientation: typing.Optional[typing.Any] = "LOCAL",
58
58
  cloth_mass: typing.Optional[typing.Any] = 1.0,
59
59
  cloth_damping: typing.Optional[typing.Any] = 0.0,
@@ -641,7 +641,7 @@ def mesh_filter(
641
641
  bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
642
642
  ] = None,
643
643
  type: typing.Optional[typing.Any] = "INFLATE",
644
- deform_axis: typing.Optional[typing.Any] = {'"Y"', '"Z"', '"X"'},
644
+ deform_axis: typing.Optional[typing.Any] = {'"Z"', '"X"', '"Y"'},
645
645
  orientation: typing.Optional[typing.Any] = "LOCAL",
646
646
  surface_smooth_shape_preservation: typing.Optional[typing.Any] = 0.5,
647
647
  surface_smooth_current_vertex: typing.Optional[typing.Any] = 0.5,
bpy/ops/ui/__init__.pyi CHANGED
@@ -289,12 +289,15 @@ def eyedropper_depth(
289
289
  ] = None,
290
290
  execution_context: typing.Optional[typing.Union[str, int]] = None,
291
291
  undo: typing.Optional[bool] = None,
292
+ prop_data_path: typing.Union[str, typing.Any] = "",
292
293
  ):
293
294
  """Sample depth from the 3D view
294
295
 
295
296
  :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
296
297
  :type execution_context: typing.Optional[typing.Union[str, int]]
297
298
  :type undo: typing.Optional[bool]
299
+ :param prop_data_path: Data Path, Path of property to be set with the depth
300
+ :type prop_data_path: typing.Union[str, typing.Any]
298
301
  """
299
302
 
300
303
  ...
@@ -3,6 +3,22 @@ import bpy.types
3
3
 
4
4
  GenericType = typing.TypeVar("GenericType")
5
5
 
6
+ def convert_volume_to_mesh(
7
+ override_context: typing.Optional[
8
+ typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
9
+ ] = None,
10
+ execution_context: typing.Optional[typing.Union[str, int]] = None,
11
+ undo: typing.Optional[bool] = None,
12
+ ):
13
+ """Convert the volume of a world to a mesh.
14
+
15
+ :type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
16
+ :type execution_context: typing.Optional[typing.Union[str, int]]
17
+ :type undo: typing.Optional[bool]
18
+ """
19
+
20
+ ...
21
+
6
22
  def new(
7
23
  override_context: typing.Optional[
8
24
  typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
bpy/props/__init__.pyi CHANGED
@@ -217,7 +217,7 @@ def EnumProperty(
217
217
  name: typing.Optional[str] = "",
218
218
  description: typing.Optional[str] = "",
219
219
  translation_context: typing.Optional[str] = "*",
220
- default: typing.Optional[typing.Union[str, set]] = None,
220
+ default: typing.Optional[typing.Union[str, int, set]] = None,
221
221
  options: typing.Optional[set] = {'"ANIMATABLE"'},
222
222
  override: typing.Optional[set] = None(),
223
223
  tags: typing.Optional[set] = None(),
@@ -276,7 +276,7 @@ def EnumProperty(
276
276
  If the ENUM_FLAG option is used this must be a set of such string identifiers instead.
277
277
  WARNING: Strings cannot be specified for dynamic enums
278
278
  (i.e. if a callback function is given as items parameter).
279
- :type default: typing.Optional[typing.Union[str, set]]
279
+ :type default: typing.Optional[typing.Union[str, int, set]]
280
280
  :param options: Enumerator in `rna_enum_property_flag_enum_items`.
281
281
  :type options: typing.Optional[set]
282
282
  :param override: Enumerator in `rna_enum_property_override_flag_items`.