fake-bpy-module 20240421__py3-none-any.whl → 20240422__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.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +441 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +330 -329
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2412 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +106351 -103198
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/rigidbody/__init__.pyi
CHANGED
|
@@ -4,41 +4,41 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bake_to_keyframes(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
frame_start: typing.Any = 1,
|
|
11
|
-
frame_end: typing.Any = 250,
|
|
12
|
-
step: typing.Any = 1,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
|
+
frame_start: typing.Optional[typing.Any] = 1,
|
|
11
|
+
frame_end: typing.Optional[typing.Any] = 250,
|
|
12
|
+
step: typing.Optional[typing.Any] = 1,
|
|
13
13
|
):
|
|
14
14
|
"""Bake rigid body transformations of selected objects to keyframes
|
|
15
15
|
|
|
16
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
-
:type execution_context: typing.Union[str, int]
|
|
18
|
-
:type undo: bool
|
|
16
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
17
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
18
|
+
:type undo: typing.Optional[bool]
|
|
19
19
|
:param frame_start: Start Frame, Start frame for baking
|
|
20
|
-
:type frame_start: typing.Any
|
|
20
|
+
:type frame_start: typing.Optional[typing.Any]
|
|
21
21
|
:param frame_end: End Frame, End frame for baking
|
|
22
|
-
:type frame_end: typing.Any
|
|
22
|
+
:type frame_end: typing.Optional[typing.Any]
|
|
23
23
|
:param step: Frame Step, Frame Step
|
|
24
|
-
:type step: typing.Any
|
|
24
|
+
:type step: typing.Optional[typing.Any]
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
...
|
|
28
28
|
|
|
29
29
|
def connect(
|
|
30
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
-
execution_context: typing.Union[str, int] = None,
|
|
32
|
-
undo: bool = None,
|
|
33
|
-
con_type: typing.Any = "FIXED",
|
|
34
|
-
pivot_type: typing.Any = "CENTER",
|
|
35
|
-
connection_pattern: typing.Any = "SELECTED_TO_ACTIVE",
|
|
30
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
31
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
32
|
+
undo: typing.Optional[bool] = None,
|
|
33
|
+
con_type: typing.Optional[typing.Any] = "FIXED",
|
|
34
|
+
pivot_type: typing.Optional[typing.Any] = "CENTER",
|
|
35
|
+
connection_pattern: typing.Optional[typing.Any] = "SELECTED_TO_ACTIVE",
|
|
36
36
|
):
|
|
37
37
|
"""Create rigid body constraints between selected rigid bodies
|
|
38
38
|
|
|
39
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
-
:type execution_context: typing.Union[str, int]
|
|
41
|
-
:type undo: bool
|
|
39
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
40
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
41
|
+
:type undo: typing.Optional[bool]
|
|
42
42
|
:param con_type: Type, Type of generated constraint
|
|
43
43
|
|
|
44
44
|
FIXED
|
|
@@ -64,7 +64,7 @@ def connect(
|
|
|
64
64
|
|
|
65
65
|
MOTOR
|
|
66
66
|
Motor -- Drive rigid body around or along an axis.
|
|
67
|
-
:type con_type: typing.Any
|
|
67
|
+
:type con_type: typing.Optional[typing.Any]
|
|
68
68
|
:param pivot_type: Location, Constraint pivot location
|
|
69
69
|
|
|
70
70
|
CENTER
|
|
@@ -75,7 +75,7 @@ def connect(
|
|
|
75
75
|
|
|
76
76
|
SELECTED
|
|
77
77
|
Selected -- Pivot location is at the selected object position.
|
|
78
|
-
:type pivot_type: typing.Any
|
|
78
|
+
:type pivot_type: typing.Optional[typing.Any]
|
|
79
79
|
:param connection_pattern: Connection Pattern, Pattern used to connect objects
|
|
80
80
|
|
|
81
81
|
SELECTED_TO_ACTIVE
|
|
@@ -83,179 +83,179 @@ def connect(
|
|
|
83
83
|
|
|
84
84
|
CHAIN_DISTANCE
|
|
85
85
|
Chain by Distance -- Connect objects as a chain based on distance, starting at the active object.
|
|
86
|
-
:type connection_pattern: typing.Any
|
|
86
|
+
:type connection_pattern: typing.Optional[typing.Any]
|
|
87
87
|
"""
|
|
88
88
|
|
|
89
89
|
...
|
|
90
90
|
|
|
91
91
|
def constraint_add(
|
|
92
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
93
|
-
execution_context: typing.Union[str, int] = None,
|
|
94
|
-
undo: bool = None,
|
|
95
|
-
type: typing.Union[str, int] = "FIXED",
|
|
92
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
93
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
94
|
+
undo: typing.Optional[bool] = None,
|
|
95
|
+
type: typing.Optional[typing.Union[str, int]] = "FIXED",
|
|
96
96
|
):
|
|
97
97
|
"""Add Rigid Body Constraint to active object
|
|
98
98
|
|
|
99
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
100
|
-
:type execution_context: typing.Union[str, int]
|
|
101
|
-
:type undo: bool
|
|
99
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
100
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
101
|
+
:type undo: typing.Optional[bool]
|
|
102
102
|
:param type: Rigid Body Constraint Type
|
|
103
|
-
:type type: typing.Union[str, int]
|
|
103
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
104
104
|
"""
|
|
105
105
|
|
|
106
106
|
...
|
|
107
107
|
|
|
108
108
|
def constraint_remove(
|
|
109
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
110
|
-
execution_context: typing.Union[str, int] = None,
|
|
111
|
-
undo: bool = None,
|
|
109
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
110
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
111
|
+
undo: typing.Optional[bool] = None,
|
|
112
112
|
):
|
|
113
113
|
"""Remove Rigid Body Constraint from Object
|
|
114
114
|
|
|
115
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
116
|
-
:type execution_context: typing.Union[str, int]
|
|
117
|
-
:type undo: bool
|
|
115
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
116
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
117
|
+
:type undo: typing.Optional[bool]
|
|
118
118
|
"""
|
|
119
119
|
|
|
120
120
|
...
|
|
121
121
|
|
|
122
122
|
def mass_calculate(
|
|
123
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
124
|
-
execution_context: typing.Union[str, int] = None,
|
|
125
|
-
undo: bool = None,
|
|
126
|
-
material: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
127
|
-
density: typing.Any = 1.0,
|
|
123
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
124
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
125
|
+
undo: typing.Optional[bool] = None,
|
|
126
|
+
material: typing.Optional[typing.Union[str, int, typing.Any]] = "DEFAULT",
|
|
127
|
+
density: typing.Optional[typing.Any] = 1.0,
|
|
128
128
|
):
|
|
129
129
|
"""Automatically calculate mass values for Rigid Body Objects based on volume
|
|
130
130
|
|
|
131
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
132
|
-
:type execution_context: typing.Union[str, int]
|
|
133
|
-
:type undo: bool
|
|
131
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
132
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
133
|
+
:type undo: typing.Optional[bool]
|
|
134
134
|
:param material: Material Preset, Type of material that objects are made of (determines material density)
|
|
135
|
-
:type material: typing.Union[str, int, typing.Any]
|
|
135
|
+
:type material: typing.Optional[typing.Union[str, int, typing.Any]]
|
|
136
136
|
:param density: Density, Density value (kg/m^3), allows custom value if the 'Custom' preset is used
|
|
137
|
-
:type density: typing.Any
|
|
137
|
+
:type density: typing.Optional[typing.Any]
|
|
138
138
|
"""
|
|
139
139
|
|
|
140
140
|
...
|
|
141
141
|
|
|
142
142
|
def object_add(
|
|
143
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
-
execution_context: typing.Union[str, int] = None,
|
|
145
|
-
undo: bool = None,
|
|
146
|
-
type: typing.Union[str, int] = "ACTIVE",
|
|
143
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
144
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
145
|
+
undo: typing.Optional[bool] = None,
|
|
146
|
+
type: typing.Optional[typing.Union[str, int]] = "ACTIVE",
|
|
147
147
|
):
|
|
148
148
|
"""Add active object as Rigid Body
|
|
149
149
|
|
|
150
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
151
|
-
:type execution_context: typing.Union[str, int]
|
|
152
|
-
:type undo: bool
|
|
150
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
151
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
152
|
+
:type undo: typing.Optional[bool]
|
|
153
153
|
:param type: Rigid Body Type
|
|
154
|
-
:type type: typing.Union[str, int]
|
|
154
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
155
155
|
"""
|
|
156
156
|
|
|
157
157
|
...
|
|
158
158
|
|
|
159
159
|
def object_remove(
|
|
160
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
161
|
-
execution_context: typing.Union[str, int] = None,
|
|
162
|
-
undo: bool = None,
|
|
160
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
161
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
162
|
+
undo: typing.Optional[bool] = None,
|
|
163
163
|
):
|
|
164
164
|
"""Remove Rigid Body settings from Object
|
|
165
165
|
|
|
166
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
167
|
-
:type execution_context: typing.Union[str, int]
|
|
168
|
-
:type undo: bool
|
|
166
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
167
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
168
|
+
:type undo: typing.Optional[bool]
|
|
169
169
|
"""
|
|
170
170
|
|
|
171
171
|
...
|
|
172
172
|
|
|
173
173
|
def object_settings_copy(
|
|
174
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
-
execution_context: typing.Union[str, int] = None,
|
|
176
|
-
undo: bool = None,
|
|
174
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
175
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
176
|
+
undo: typing.Optional[bool] = None,
|
|
177
177
|
):
|
|
178
178
|
"""Copy Rigid Body settings from active object to selected
|
|
179
179
|
|
|
180
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
-
:type execution_context: typing.Union[str, int]
|
|
182
|
-
:type undo: bool
|
|
180
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
181
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
182
|
+
:type undo: typing.Optional[bool]
|
|
183
183
|
"""
|
|
184
184
|
|
|
185
185
|
...
|
|
186
186
|
|
|
187
187
|
def objects_add(
|
|
188
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
-
execution_context: typing.Union[str, int] = None,
|
|
190
|
-
undo: bool = None,
|
|
191
|
-
type: typing.Union[str, int] = "ACTIVE",
|
|
188
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
189
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
|
+
undo: typing.Optional[bool] = None,
|
|
191
|
+
type: typing.Optional[typing.Union[str, int]] = "ACTIVE",
|
|
192
192
|
):
|
|
193
193
|
"""Add selected objects as Rigid Bodies
|
|
194
194
|
|
|
195
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
196
|
-
:type execution_context: typing.Union[str, int]
|
|
197
|
-
:type undo: bool
|
|
195
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
196
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
197
|
+
:type undo: typing.Optional[bool]
|
|
198
198
|
:param type: Rigid Body Type
|
|
199
|
-
:type type: typing.Union[str, int]
|
|
199
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
200
200
|
"""
|
|
201
201
|
|
|
202
202
|
...
|
|
203
203
|
|
|
204
204
|
def objects_remove(
|
|
205
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
206
|
-
execution_context: typing.Union[str, int] = None,
|
|
207
|
-
undo: bool = None,
|
|
205
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
206
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
207
|
+
undo: typing.Optional[bool] = None,
|
|
208
208
|
):
|
|
209
209
|
"""Remove selected objects from Rigid Body simulation
|
|
210
210
|
|
|
211
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
212
|
-
:type execution_context: typing.Union[str, int]
|
|
213
|
-
:type undo: bool
|
|
211
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
212
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
213
|
+
:type undo: typing.Optional[bool]
|
|
214
214
|
"""
|
|
215
215
|
|
|
216
216
|
...
|
|
217
217
|
|
|
218
218
|
def shape_change(
|
|
219
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
-
execution_context: typing.Union[str, int] = None,
|
|
221
|
-
undo: bool = None,
|
|
222
|
-
type: typing.Union[str, int] = "MESH",
|
|
219
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
220
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
221
|
+
undo: typing.Optional[bool] = None,
|
|
222
|
+
type: typing.Optional[typing.Union[str, int]] = "MESH",
|
|
223
223
|
):
|
|
224
224
|
"""Change collision shapes for selected Rigid Body Objects
|
|
225
225
|
|
|
226
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
227
|
-
:type execution_context: typing.Union[str, int]
|
|
228
|
-
:type undo: bool
|
|
226
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
227
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
228
|
+
:type undo: typing.Optional[bool]
|
|
229
229
|
:param type: Rigid Body Shape
|
|
230
|
-
:type type: typing.Union[str, int]
|
|
230
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
231
231
|
"""
|
|
232
232
|
|
|
233
233
|
...
|
|
234
234
|
|
|
235
235
|
def world_add(
|
|
236
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
237
|
-
execution_context: typing.Union[str, int] = None,
|
|
238
|
-
undo: bool = None,
|
|
236
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
237
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
238
|
+
undo: typing.Optional[bool] = None,
|
|
239
239
|
):
|
|
240
240
|
"""Add Rigid Body simulation world to the current scene
|
|
241
241
|
|
|
242
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
243
|
-
:type execution_context: typing.Union[str, int]
|
|
244
|
-
:type undo: bool
|
|
242
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
243
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
244
|
+
:type undo: typing.Optional[bool]
|
|
245
245
|
"""
|
|
246
246
|
|
|
247
247
|
...
|
|
248
248
|
|
|
249
249
|
def world_remove(
|
|
250
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
251
|
-
execution_context: typing.Union[str, int] = None,
|
|
252
|
-
undo: bool = None,
|
|
250
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
251
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
252
|
+
undo: typing.Optional[bool] = None,
|
|
253
253
|
):
|
|
254
254
|
"""Remove Rigid Body simulation world from the current scene
|
|
255
255
|
|
|
256
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
257
|
-
:type execution_context: typing.Union[str, int]
|
|
258
|
-
:type undo: bool
|
|
256
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
257
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
258
|
+
:type undo: typing.Optional[bool]
|
|
259
259
|
"""
|
|
260
260
|
|
|
261
261
|
...
|