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

@@ -78,6 +78,35 @@ class ANIM_OT_slot_new_for_id(bpy.types.Operator):
78
78
  :param context:
79
79
  """
80
80
 
81
+ class ANIM_OT_slot_unassign_from_constraint(
82
+ generic_slot_unassign_mixin, bpy.types.Operator
83
+ ):
84
+ """Un-assign the assigned Action Slot from an Action constraint.Note that _which_ constraint should get this slot unassigned must be set in
85
+ the "constraint" context pointer, using:
86
+ """
87
+
88
+ bl_description: typing.Any
89
+ bl_idname: typing.Any
90
+ bl_label: typing.Any
91
+ bl_options: typing.Any
92
+ bl_rna: typing.Any
93
+ context_property_name: typing.Any
94
+ id_data: typing.Any
95
+
96
+ def bl_rna_get_subclass(self) -> bpy.types.Struct:
97
+ """
98
+
99
+ :return: The RNA type or default when not found.
100
+ :rtype: bpy.types.Struct
101
+ """
102
+
103
+ def bl_rna_get_subclass_py(self) -> typing.Any:
104
+ """
105
+
106
+ :return: The class or default when not found.
107
+ :rtype: typing.Any
108
+ """
109
+
81
110
  class ANIM_OT_slot_unassign_from_id(bpy.types.Operator):
82
111
  """Un-assign the assigned Action Slot from an ID.Note that _which_ ID should get this slot unassigned must be set in the
83
112
  "animated_id" context pointer, using:
@@ -117,7 +146,9 @@ class ANIM_OT_slot_unassign_from_id(bpy.types.Operator):
117
146
  :param context:
118
147
  """
119
148
 
120
- class ANIM_OT_slot_unassign_from_nla_strip(bpy.types.Operator):
149
+ class ANIM_OT_slot_unassign_from_nla_strip(
150
+ generic_slot_unassign_mixin, bpy.types.Operator
151
+ ):
121
152
  """Un-assign the assigned Action Slot from an NLA strip.Note that _which_ NLA strip should get this slot unassigned must be set in
122
153
  the "nla_strip" context pointer, using:
123
154
  """
@@ -127,6 +158,7 @@ class ANIM_OT_slot_unassign_from_nla_strip(bpy.types.Operator):
127
158
  bl_label: typing.Any
128
159
  bl_options: typing.Any
129
160
  bl_rna: typing.Any
161
+ context_property_name: typing.Any
130
162
  id_data: typing.Any
131
163
 
132
164
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
@@ -143,19 +175,6 @@ class ANIM_OT_slot_unassign_from_nla_strip(bpy.types.Operator):
143
175
  :rtype: typing.Any
144
176
  """
145
177
 
146
- def execute(self, context):
147
- """
148
-
149
- :param context:
150
- """
151
-
152
- @classmethod
153
- def poll(cls, context):
154
- """
155
-
156
- :param context:
157
- """
158
-
159
178
  class ARMATURE_OT_collection_remove_unused(bpy.types.Operator):
160
179
  """Remove all bone collections that have neither bones nor children. This is done recursively, so bone collections that only have unused children are also removed"""
161
180
 
@@ -421,3 +440,19 @@ class UpdateAnimatedTransformConstraint(bpy.types.Operator):
421
440
 
422
441
  :param context:
423
442
  """
443
+
444
+ class generic_slot_unassign_mixin:
445
+ context_property_name: typing.Any
446
+
447
+ def execute(self, context):
448
+ """
449
+
450
+ :param context:
451
+ """
452
+
453
+ @classmethod
454
+ def poll(cls, context):
455
+ """
456
+
457
+ :param context:
458
+ """
@@ -10,6 +10,9 @@ class BrushAssetShelf:
10
10
  bl_activate_operator: typing.Any
11
11
  bl_default_preview_size: typing.Any
12
12
  bl_options: typing.Any
13
+ brush_type_prop: typing.Any
14
+ mode_prop: typing.Any
15
+ tool_prop: typing.Any
13
16
 
14
17
  @classmethod
15
18
  def asset_poll(cls, asset):
@@ -18,6 +21,14 @@ class BrushAssetShelf:
18
21
  :param asset:
19
22
  """
20
23
 
24
+ @classmethod
25
+ def brush_type_poll(cls, context, asset):
26
+ """
27
+
28
+ :param context:
29
+ :param asset:
30
+ """
31
+
21
32
  @classmethod
22
33
  def draw_context_menu(cls, context, asset, layout):
23
34
  """
@@ -27,8 +27,10 @@ class IMAGE_AST_brush_paint(ImageAssetShelf, bpy.types.AssetShelf):
27
27
  bl_options: typing.Any
28
28
  bl_rna: typing.Any
29
29
  bl_space_type: typing.Any
30
+ brush_type_prop: typing.Any
30
31
  id_data: typing.Any
31
32
  mode_prop: typing.Any
33
+ tool_prop: typing.Any
32
34
 
33
35
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
34
36
  """
@@ -1830,6 +1832,9 @@ class ImageAssetShelf(bl_ui.properties_paint_common.BrushAssetShelf):
1830
1832
  bl_default_preview_size: typing.Any
1831
1833
  bl_options: typing.Any
1832
1834
  bl_space_type: typing.Any
1835
+ brush_type_prop: typing.Any
1836
+ mode_prop: typing.Any
1837
+ tool_prop: typing.Any
1833
1838
 
1834
1839
  class ImageScopesPanel:
1835
1840
  @classmethod
@@ -231,7 +231,9 @@ class _defs_grease_pencil_paint:
231
231
  box: typing.Any
232
232
  circle: typing.Any
233
233
  curve: typing.Any
234
+ erase: typing.Any
234
235
  eyedropper: typing.Any
236
+ fill: typing.Any
235
237
  interpolate: typing.Any
236
238
  line: typing.Any
237
239
  polyline: typing.Any
@@ -233,9 +233,11 @@ class VIEW3D_AST_brush_gpencil_paint(View3DAssetShelf, bpy.types.AssetShelf):
233
233
  bl_options: typing.Any
234
234
  bl_rna: typing.Any
235
235
  bl_space_type: typing.Any
236
+ brush_type_prop: typing.Any
236
237
  id_data: typing.Any
237
238
  mode: typing.Any
238
239
  mode_prop: typing.Any
240
+ tool_prop: typing.Any
239
241
 
240
242
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
241
243
  """
@@ -257,9 +259,11 @@ class VIEW3D_AST_brush_gpencil_sculpt(View3DAssetShelf, bpy.types.AssetShelf):
257
259
  bl_options: typing.Any
258
260
  bl_rna: typing.Any
259
261
  bl_space_type: typing.Any
262
+ brush_type_prop: typing.Any
260
263
  id_data: typing.Any
261
264
  mode: typing.Any
262
265
  mode_prop: typing.Any
266
+ tool_prop: typing.Any
263
267
 
264
268
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
265
269
  """
@@ -281,9 +285,11 @@ class VIEW3D_AST_brush_gpencil_vertex(View3DAssetShelf, bpy.types.AssetShelf):
281
285
  bl_options: typing.Any
282
286
  bl_rna: typing.Any
283
287
  bl_space_type: typing.Any
288
+ brush_type_prop: typing.Any
284
289
  id_data: typing.Any
285
290
  mode: typing.Any
286
291
  mode_prop: typing.Any
292
+ tool_prop: typing.Any
287
293
 
288
294
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
289
295
  """
@@ -305,9 +311,11 @@ class VIEW3D_AST_brush_gpencil_weight(View3DAssetShelf, bpy.types.AssetShelf):
305
311
  bl_options: typing.Any
306
312
  bl_rna: typing.Any
307
313
  bl_space_type: typing.Any
314
+ brush_type_prop: typing.Any
308
315
  id_data: typing.Any
309
316
  mode: typing.Any
310
317
  mode_prop: typing.Any
318
+ tool_prop: typing.Any
311
319
 
312
320
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
313
321
  """
@@ -329,9 +337,11 @@ class VIEW3D_AST_brush_grease_pencil_paint(View3DAssetShelf, bpy.types.AssetShel
329
337
  bl_options: typing.Any
330
338
  bl_rna: typing.Any
331
339
  bl_space_type: typing.Any
340
+ brush_type_prop: typing.Any
332
341
  id_data: typing.Any
333
342
  mode: typing.Any
334
343
  mode_prop: typing.Any
344
+ tool_prop: typing.Any
335
345
 
336
346
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
337
347
  """
@@ -353,9 +363,11 @@ class VIEW3D_AST_brush_sculpt(View3DAssetShelf, bpy.types.AssetShelf):
353
363
  bl_options: typing.Any
354
364
  bl_rna: typing.Any
355
365
  bl_space_type: typing.Any
366
+ brush_type_prop: typing.Any
356
367
  id_data: typing.Any
357
368
  mode: typing.Any
358
369
  mode_prop: typing.Any
370
+ tool_prop: typing.Any
359
371
 
360
372
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
361
373
  """
@@ -377,9 +389,11 @@ class VIEW3D_AST_brush_sculpt_curves(View3DAssetShelf, bpy.types.AssetShelf):
377
389
  bl_options: typing.Any
378
390
  bl_rna: typing.Any
379
391
  bl_space_type: typing.Any
392
+ brush_type_prop: typing.Any
380
393
  id_data: typing.Any
381
394
  mode: typing.Any
382
395
  mode_prop: typing.Any
396
+ tool_prop: typing.Any
383
397
 
384
398
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
385
399
  """
@@ -401,9 +415,11 @@ class VIEW3D_AST_brush_texture_paint(View3DAssetShelf, bpy.types.AssetShelf):
401
415
  bl_options: typing.Any
402
416
  bl_rna: typing.Any
403
417
  bl_space_type: typing.Any
418
+ brush_type_prop: typing.Any
404
419
  id_data: typing.Any
405
420
  mode: typing.Any
406
421
  mode_prop: typing.Any
422
+ tool_prop: typing.Any
407
423
 
408
424
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
409
425
  """
@@ -425,9 +441,11 @@ class VIEW3D_AST_brush_vertex_paint(View3DAssetShelf, bpy.types.AssetShelf):
425
441
  bl_options: typing.Any
426
442
  bl_rna: typing.Any
427
443
  bl_space_type: typing.Any
444
+ brush_type_prop: typing.Any
428
445
  id_data: typing.Any
429
446
  mode: typing.Any
430
447
  mode_prop: typing.Any
448
+ tool_prop: typing.Any
431
449
 
432
450
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
433
451
  """
@@ -449,9 +467,11 @@ class VIEW3D_AST_brush_weight_paint(View3DAssetShelf, bpy.types.AssetShelf):
449
467
  bl_options: typing.Any
450
468
  bl_rna: typing.Any
451
469
  bl_space_type: typing.Any
470
+ brush_type_prop: typing.Any
452
471
  id_data: typing.Any
453
472
  mode: typing.Any
454
473
  mode_prop: typing.Any
474
+ tool_prop: typing.Any
455
475
 
456
476
  def bl_rna_get_subclass(self) -> bpy.types.Struct:
457
477
  """
@@ -7519,6 +7539,9 @@ class View3DAssetShelf(bl_ui.properties_paint_common.BrushAssetShelf):
7519
7539
  bl_default_preview_size: typing.Any
7520
7540
  bl_options: typing.Any
7521
7541
  bl_space_type: typing.Any
7542
+ brush_type_prop: typing.Any
7543
+ mode_prop: typing.Any
7544
+ tool_prop: typing.Any
7522
7545
 
7523
7546
  class _draw_tool_settings_context_mode:
7524
7547
  @staticmethod
bpy/ops/anim/__init__.pyi CHANGED
@@ -784,6 +784,18 @@ def keyingset_button_remove(
784
784
  :type undo: bool | None
785
785
  """
786
786
 
787
+ def merge_animation(
788
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
789
+ execution_context: int | str | None = None,
790
+ undo: bool | None = None,
791
+ ):
792
+ """Merge the animation of the selected objects into the action of the active object. Actions are not deleted by this, but might end up with zero users
793
+
794
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
795
+ :type execution_context: int | str | None
796
+ :type undo: bool | None
797
+ """
798
+
787
799
  def paste_driver_button(
788
800
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
789
801
  execution_context: int | str | None = None,
@@ -872,6 +884,18 @@ def slot_new_for_object(
872
884
  :type undo: bool | None
873
885
  """
874
886
 
887
+ def slot_unassign_from_constraint(
888
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
889
+ execution_context: int | str | None = None,
890
+ undo: bool | None = None,
891
+ ):
892
+ """Un-assign the action slot from this constraint
893
+
894
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
895
+ :type execution_context: int | str | None
896
+ :type undo: bool | None
897
+ """
898
+
875
899
  def slot_unassign_from_id(
876
900
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
877
901
  execution_context: int | str | None = None,
@@ -24,6 +24,56 @@ def active_frame_delete(
24
24
  :type all: bool | None
25
25
  """
26
26
 
27
+ def bake_grease_pencil_animation(
28
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
29
+ execution_context: int | str | None = None,
30
+ undo: bool | None = None,
31
+ *,
32
+ frame_start: int | None = 1,
33
+ frame_end: int | None = 250,
34
+ step: int | None = 1,
35
+ only_selected: bool | None = False,
36
+ frame_target: int | None = 1,
37
+ project_type: typing.Literal["KEEP", "FRONT", "SIDE", "TOP", "VIEW", "CURSOR"]
38
+ | None = "KEEP",
39
+ ):
40
+ """Bake grease pencil object transform to grease pencil keyframes
41
+
42
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
43
+ :type execution_context: int | str | None
44
+ :type undo: bool | None
45
+ :param frame_start: Start Frame, The start frame
46
+ :type frame_start: int | None
47
+ :param frame_end: End Frame, The end frame of animation
48
+ :type frame_end: int | None
49
+ :param step: Step, Step between generated frames
50
+ :type step: int | None
51
+ :param only_selected: Only Selected Keyframes, Convert only selected keyframes
52
+ :type only_selected: bool | None
53
+ :param frame_target: Target Frame, Destination frame
54
+ :type frame_target: int | None
55
+ :param project_type: Projection Type
56
+
57
+ KEEP
58
+ No Reproject.
59
+
60
+ FRONT
61
+ Front -- Reproject the strokes using the X-Z plane.
62
+
63
+ SIDE
64
+ Side -- Reproject the strokes using the Y-Z plane.
65
+
66
+ TOP
67
+ Top -- Reproject the strokes using the X-Y plane.
68
+
69
+ VIEW
70
+ View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using 'Cursor' Stroke Placement.
71
+
72
+ CURSOR
73
+ Cursor -- Reproject the strokes using the orientation of 3D cursor.
74
+ :type project_type: typing.Literal['KEEP','FRONT','SIDE','TOP','VIEW','CURSOR'] | None
75
+ """
76
+
27
77
  def brush_stroke(
28
78
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
29
79
  execution_context: int | str | None = None,
@@ -989,6 +1039,59 @@ def reorder(
989
1039
  :type direction: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
990
1040
  """
991
1041
 
1042
+ def reproject(
1043
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1044
+ execution_context: int | str | None = None,
1045
+ undo: bool | None = None,
1046
+ *,
1047
+ type: typing.Literal["FRONT", "SIDE", "TOP", "VIEW", "SURFACE", "CURSOR"]
1048
+ | None = "VIEW",
1049
+ keep_original: bool | None = False,
1050
+ offset: float | None = 0.0,
1051
+ ):
1052
+ """Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
1053
+
1054
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1055
+ :type execution_context: int | str | None
1056
+ :type undo: bool | None
1057
+ :param type: Projection Type
1058
+
1059
+ FRONT
1060
+ Front -- Reproject the strokes using the X-Z plane.
1061
+
1062
+ SIDE
1063
+ Side -- Reproject the strokes using the Y-Z plane.
1064
+
1065
+ TOP
1066
+ Top -- Reproject the strokes using the X-Y plane.
1067
+
1068
+ VIEW
1069
+ View -- Reproject the strokes to end up on the same plane, as if drawn from the current viewpoint using 'Cursor' Stroke Placement.
1070
+
1071
+ SURFACE
1072
+ Surface -- Reproject the strokes on to the scene geometry, as if drawn using 'Surface' placement.
1073
+
1074
+ CURSOR
1075
+ Cursor -- Reproject the strokes using the orientation of 3D cursor.
1076
+ :type type: typing.Literal['FRONT','SIDE','TOP','VIEW','SURFACE','CURSOR'] | None
1077
+ :param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
1078
+ :type keep_original: bool | None
1079
+ :param offset: Surface Offset
1080
+ :type offset: float | None
1081
+ """
1082
+
1083
+ def reset_uvs(
1084
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1085
+ execution_context: int | str | None = None,
1086
+ undo: bool | None = None,
1087
+ ):
1088
+ """Reset UV transformation to default values
1089
+
1090
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1091
+ :type execution_context: int | str | None
1092
+ :type undo: bool | None
1093
+ """
1094
+
992
1095
  def sculpt_paint(
993
1096
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
994
1097
  execution_context: int | str | None = None,
@@ -1496,6 +1496,28 @@ def geometry_node_bake_delete_single(
1496
1496
  :type bake_id: int | None
1497
1497
  """
1498
1498
 
1499
+ def geometry_node_bake_pack_single(
1500
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1501
+ execution_context: int | str | None = None,
1502
+ undo: bool | None = None,
1503
+ *,
1504
+ session_uid: int | None = 0,
1505
+ modifier_name: str = "",
1506
+ bake_id: int | None = 0,
1507
+ ):
1508
+ """Pack baked data from disk into the .blend file
1509
+
1510
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1511
+ :type execution_context: int | str | None
1512
+ :type undo: bool | None
1513
+ :param session_uid: Session UID, Session UID of the data-block to use by the operator
1514
+ :type session_uid: int | None
1515
+ :param modifier_name: Modifier Name, Name of the modifier that contains the node
1516
+ :type modifier_name: str
1517
+ :param bake_id: Bake ID, Nested node id of the node
1518
+ :type bake_id: int | None
1519
+ """
1520
+
1499
1521
  def geometry_node_bake_single(
1500
1522
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
1501
1523
  execution_context: int | str | None = None,
@@ -1518,6 +1540,32 @@ def geometry_node_bake_single(
1518
1540
  :type bake_id: int | None
1519
1541
  """
1520
1542
 
1543
+ def geometry_node_bake_unpack_single(
1544
+ override_context: bpy.types.Context | dict[str, typing.Any] = None,
1545
+ execution_context: int | str | None = None,
1546
+ undo: bool | None = None,
1547
+ *,
1548
+ session_uid: int | None = 0,
1549
+ modifier_name: str = "",
1550
+ bake_id: int | None = 0,
1551
+ method: typing.Literal["USE_LOCAL", "WRITE_LOCAL", "USE_ORIGINAL", "WRITE_ORIGINAL"]
1552
+ | None = "USE_LOCAL",
1553
+ ):
1554
+ """Unpack baked data from the .blend file to disk
1555
+
1556
+ :type override_context: bpy.types.Context | dict[str, typing.Any]
1557
+ :type execution_context: int | str | None
1558
+ :type undo: bool | None
1559
+ :param session_uid: Session UID, Session UID of the data-block to use by the operator
1560
+ :type session_uid: int | None
1561
+ :param modifier_name: Modifier Name, Name of the modifier that contains the node
1562
+ :type modifier_name: str
1563
+ :param bake_id: Bake ID, Nested node id of the node
1564
+ :type bake_id: int | None
1565
+ :param method: Method, How to unpack
1566
+ :type method: typing.Literal['USE_LOCAL','WRITE_LOCAL','USE_ORIGINAL','WRITE_ORIGINAL'] | None
1567
+ """
1568
+
1521
1569
  def geometry_node_tree_copy_assign(
1522
1570
  override_context: bpy.types.Context | dict[str, typing.Any] = None,
1523
1571
  execution_context: int | str | None = None,
bpy/ops/wm/__init__.pyi CHANGED
@@ -5373,6 +5373,7 @@ def usd_export(
5373
5373
  export_lights: bool | None = True,
5374
5374
  export_cameras: bool | None = True,
5375
5375
  export_curves: bool | None = True,
5376
+ export_points: bool | None = True,
5376
5377
  export_volumes: bool | None = True,
5377
5378
  triangulate_meshes: bool | None = False,
5378
5379
  quad_method: bpy.typing.ModifierTriangulateQuadMethodItems
@@ -5587,6 +5588,8 @@ def usd_export(
5587
5588
  :type export_cameras: bool | None
5588
5589
  :param export_curves: Curves, Export all curves
5589
5590
  :type export_curves: bool | None
5591
+ :param export_points: Point Clouds, Export all point clouds
5592
+ :type export_points: bool | None
5590
5593
  :param export_volumes: Volumes, Export all volumes
5591
5594
  :type export_volumes: bool | None
5592
5595
  :param triangulate_meshes: Triangulate Meshes, Triangulate meshes during export