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/constraint/__init__.pyi
CHANGED
|
@@ -4,32 +4,32 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def add_target(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
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
10
|
):
|
|
11
11
|
"""Add a target to the constraint
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def apply(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
24
|
constraint: typing.Union[str, typing.Any] = "",
|
|
25
|
-
owner: typing.Any = "OBJECT",
|
|
26
|
-
report: typing.Union[bool, typing.Any] = False,
|
|
25
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
26
|
+
report: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
27
27
|
):
|
|
28
28
|
"""Apply constraint and remove from the stack
|
|
29
29
|
|
|
30
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
-
:type execution_context: typing.Union[str, int]
|
|
32
|
-
:type undo: bool
|
|
30
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
31
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
32
|
+
:type undo: typing.Optional[bool]
|
|
33
33
|
:param constraint: Constraint, Name of the constraint to edit
|
|
34
34
|
:type constraint: typing.Union[str, typing.Any]
|
|
35
35
|
:param owner: Owner, The owner of this constraint
|
|
@@ -39,25 +39,25 @@ def apply(
|
|
|
39
39
|
|
|
40
40
|
BONE
|
|
41
41
|
Bone -- Edit a constraint on the active bone.
|
|
42
|
-
:type owner: typing.Any
|
|
42
|
+
:type owner: typing.Optional[typing.Any]
|
|
43
43
|
:param report: Report, Create a notification after the operation
|
|
44
|
-
:type report: typing.Union[bool, typing.Any]
|
|
44
|
+
:type report: typing.Optional[typing.Union[bool, typing.Any]]
|
|
45
45
|
"""
|
|
46
46
|
|
|
47
47
|
...
|
|
48
48
|
|
|
49
49
|
def childof_clear_inverse(
|
|
50
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
51
|
-
execution_context: typing.Union[str, int] = None,
|
|
52
|
-
undo: bool = None,
|
|
50
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
51
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
52
|
+
undo: typing.Optional[bool] = None,
|
|
53
53
|
constraint: typing.Union[str, typing.Any] = "",
|
|
54
|
-
owner: typing.Any = "OBJECT",
|
|
54
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
55
55
|
):
|
|
56
56
|
"""Clear inverse correction for Child Of constraint
|
|
57
57
|
|
|
58
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
59
|
-
:type execution_context: typing.Union[str, int]
|
|
60
|
-
:type undo: bool
|
|
58
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
59
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
60
|
+
:type undo: typing.Optional[bool]
|
|
61
61
|
:param constraint: Constraint, Name of the constraint to edit
|
|
62
62
|
:type constraint: typing.Union[str, typing.Any]
|
|
63
63
|
:param owner: Owner, The owner of this constraint
|
|
@@ -67,23 +67,23 @@ def childof_clear_inverse(
|
|
|
67
67
|
|
|
68
68
|
BONE
|
|
69
69
|
Bone -- Edit a constraint on the active bone.
|
|
70
|
-
:type owner: typing.Any
|
|
70
|
+
:type owner: typing.Optional[typing.Any]
|
|
71
71
|
"""
|
|
72
72
|
|
|
73
73
|
...
|
|
74
74
|
|
|
75
75
|
def childof_set_inverse(
|
|
76
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
-
execution_context: typing.Union[str, int] = None,
|
|
78
|
-
undo: bool = None,
|
|
76
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
77
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
78
|
+
undo: typing.Optional[bool] = None,
|
|
79
79
|
constraint: typing.Union[str, typing.Any] = "",
|
|
80
|
-
owner: typing.Any = "OBJECT",
|
|
80
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
81
81
|
):
|
|
82
82
|
"""Set inverse correction for Child Of constraint
|
|
83
83
|
|
|
84
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
85
|
-
:type execution_context: typing.Union[str, int]
|
|
86
|
-
:type undo: bool
|
|
84
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
85
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
86
|
+
:type undo: typing.Optional[bool]
|
|
87
87
|
:param constraint: Constraint, Name of the constraint to edit
|
|
88
88
|
:type constraint: typing.Union[str, typing.Any]
|
|
89
89
|
:param owner: Owner, The owner of this constraint
|
|
@@ -93,24 +93,24 @@ def childof_set_inverse(
|
|
|
93
93
|
|
|
94
94
|
BONE
|
|
95
95
|
Bone -- Edit a constraint on the active bone.
|
|
96
|
-
:type owner: typing.Any
|
|
96
|
+
:type owner: typing.Optional[typing.Any]
|
|
97
97
|
"""
|
|
98
98
|
|
|
99
99
|
...
|
|
100
100
|
|
|
101
101
|
def copy(
|
|
102
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
103
|
-
execution_context: typing.Union[str, int] = None,
|
|
104
|
-
undo: bool = None,
|
|
102
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
103
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
104
|
+
undo: typing.Optional[bool] = None,
|
|
105
105
|
constraint: typing.Union[str, typing.Any] = "",
|
|
106
|
-
owner: typing.Any = "OBJECT",
|
|
107
|
-
report: typing.Union[bool, typing.Any] = False,
|
|
106
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
107
|
+
report: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
108
108
|
):
|
|
109
109
|
"""Duplicate constraint at the same position in the stack
|
|
110
110
|
|
|
111
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
112
|
-
:type execution_context: typing.Union[str, int]
|
|
113
|
-
:type undo: bool
|
|
111
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
112
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
113
|
+
:type undo: typing.Optional[bool]
|
|
114
114
|
:param constraint: Constraint, Name of the constraint to edit
|
|
115
115
|
:type constraint: typing.Union[str, typing.Any]
|
|
116
116
|
:param owner: Owner, The owner of this constraint
|
|
@@ -120,25 +120,25 @@ def copy(
|
|
|
120
120
|
|
|
121
121
|
BONE
|
|
122
122
|
Bone -- Edit a constraint on the active bone.
|
|
123
|
-
:type owner: typing.Any
|
|
123
|
+
:type owner: typing.Optional[typing.Any]
|
|
124
124
|
:param report: Report, Create a notification after the operation
|
|
125
|
-
:type report: typing.Union[bool, typing.Any]
|
|
125
|
+
:type report: typing.Optional[typing.Union[bool, typing.Any]]
|
|
126
126
|
"""
|
|
127
127
|
|
|
128
128
|
...
|
|
129
129
|
|
|
130
130
|
def copy_to_selected(
|
|
131
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
132
|
-
execution_context: typing.Union[str, int] = None,
|
|
133
|
-
undo: bool = None,
|
|
131
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
132
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
133
|
+
undo: typing.Optional[bool] = None,
|
|
134
134
|
constraint: typing.Union[str, typing.Any] = "",
|
|
135
|
-
owner: typing.Any = "OBJECT",
|
|
135
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
136
136
|
):
|
|
137
137
|
"""Copy constraint to other selected objects/bones
|
|
138
138
|
|
|
139
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
140
|
-
:type execution_context: typing.Union[str, int]
|
|
141
|
-
:type undo: bool
|
|
139
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
140
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
141
|
+
:type undo: typing.Optional[bool]
|
|
142
142
|
:param constraint: Constraint, Name of the constraint to edit
|
|
143
143
|
:type constraint: typing.Union[str, typing.Any]
|
|
144
144
|
:param owner: Owner, The owner of this constraint
|
|
@@ -148,24 +148,24 @@ def copy_to_selected(
|
|
|
148
148
|
|
|
149
149
|
BONE
|
|
150
150
|
Bone -- Edit a constraint on the active bone.
|
|
151
|
-
:type owner: typing.Any
|
|
151
|
+
:type owner: typing.Optional[typing.Any]
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
...
|
|
155
155
|
|
|
156
156
|
def delete(
|
|
157
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
-
execution_context: typing.Union[str, int] = None,
|
|
159
|
-
undo: bool = None,
|
|
157
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
158
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
+
undo: typing.Optional[bool] = None,
|
|
160
160
|
constraint: typing.Union[str, typing.Any] = "",
|
|
161
|
-
owner: typing.Any = "OBJECT",
|
|
162
|
-
report: typing.Union[bool, typing.Any] = False,
|
|
161
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
162
|
+
report: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
163
163
|
):
|
|
164
164
|
"""Remove constraint from constraint stack
|
|
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
|
:param constraint: Constraint, Name of the constraint to edit
|
|
170
170
|
:type constraint: typing.Union[str, typing.Any]
|
|
171
171
|
:param owner: Owner, The owner of this constraint
|
|
@@ -175,41 +175,41 @@ def delete(
|
|
|
175
175
|
|
|
176
176
|
BONE
|
|
177
177
|
Bone -- Edit a constraint on the active bone.
|
|
178
|
-
:type owner: typing.Any
|
|
178
|
+
:type owner: typing.Optional[typing.Any]
|
|
179
179
|
:param report: Report, Create a notification after the operation
|
|
180
|
-
:type report: typing.Union[bool, typing.Any]
|
|
180
|
+
:type report: typing.Optional[typing.Union[bool, typing.Any]]
|
|
181
181
|
"""
|
|
182
182
|
|
|
183
183
|
...
|
|
184
184
|
|
|
185
185
|
def disable_keep_transform(
|
|
186
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
187
|
-
execution_context: typing.Union[str, int] = None,
|
|
188
|
-
undo: bool = None,
|
|
186
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
187
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
188
|
+
undo: typing.Optional[bool] = None,
|
|
189
189
|
):
|
|
190
190
|
"""Set the influence of this constraint to zero while trying to maintain the object's transformation. Other active constraints can still influence the final transformation
|
|
191
191
|
|
|
192
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
193
|
-
:type execution_context: typing.Union[str, int]
|
|
194
|
-
:type undo: bool
|
|
192
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
193
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
194
|
+
:type undo: typing.Optional[bool]
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
...
|
|
198
198
|
|
|
199
199
|
def followpath_path_animate(
|
|
200
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
201
|
-
execution_context: typing.Union[str, int] = None,
|
|
202
|
-
undo: bool = None,
|
|
200
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
201
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
202
|
+
undo: typing.Optional[bool] = None,
|
|
203
203
|
constraint: typing.Union[str, typing.Any] = "",
|
|
204
|
-
owner: typing.Any = "OBJECT",
|
|
205
|
-
frame_start: typing.Any = 1,
|
|
206
|
-
length: typing.Any = 100,
|
|
204
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
205
|
+
frame_start: typing.Optional[typing.Any] = 1,
|
|
206
|
+
length: typing.Optional[typing.Any] = 100,
|
|
207
207
|
):
|
|
208
208
|
"""Add default animation for path used by constraint if it isn't animated already
|
|
209
209
|
|
|
210
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
211
|
-
:type execution_context: typing.Union[str, int]
|
|
212
|
-
:type undo: bool
|
|
210
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
211
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
212
|
+
:type undo: typing.Optional[bool]
|
|
213
213
|
:param constraint: Constraint, Name of the constraint to edit
|
|
214
214
|
:type constraint: typing.Union[str, typing.Any]
|
|
215
215
|
:param owner: Owner, The owner of this constraint
|
|
@@ -219,27 +219,27 @@ def followpath_path_animate(
|
|
|
219
219
|
|
|
220
220
|
BONE
|
|
221
221
|
Bone -- Edit a constraint on the active bone.
|
|
222
|
-
:type owner: typing.Any
|
|
222
|
+
:type owner: typing.Optional[typing.Any]
|
|
223
223
|
:param frame_start: Start Frame, First frame of path animation
|
|
224
|
-
:type frame_start: typing.Any
|
|
224
|
+
:type frame_start: typing.Optional[typing.Any]
|
|
225
225
|
:param length: Length, Number of frames that path animation should take
|
|
226
|
-
:type length: typing.Any
|
|
226
|
+
:type length: typing.Optional[typing.Any]
|
|
227
227
|
"""
|
|
228
228
|
|
|
229
229
|
...
|
|
230
230
|
|
|
231
231
|
def limitdistance_reset(
|
|
232
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
233
|
-
execution_context: typing.Union[str, int] = None,
|
|
234
|
-
undo: bool = None,
|
|
232
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
233
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
234
|
+
undo: typing.Optional[bool] = None,
|
|
235
235
|
constraint: typing.Union[str, typing.Any] = "",
|
|
236
|
-
owner: typing.Any = "OBJECT",
|
|
236
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
237
237
|
):
|
|
238
238
|
"""Reset limiting distance for Limit Distance Constraint
|
|
239
239
|
|
|
240
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
241
|
-
:type execution_context: typing.Union[str, int]
|
|
242
|
-
:type undo: bool
|
|
240
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
241
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
242
|
+
:type undo: typing.Optional[bool]
|
|
243
243
|
:param constraint: Constraint, Name of the constraint to edit
|
|
244
244
|
:type constraint: typing.Union[str, typing.Any]
|
|
245
245
|
:param owner: Owner, The owner of this constraint
|
|
@@ -249,23 +249,23 @@ def limitdistance_reset(
|
|
|
249
249
|
|
|
250
250
|
BONE
|
|
251
251
|
Bone -- Edit a constraint on the active bone.
|
|
252
|
-
:type owner: typing.Any
|
|
252
|
+
:type owner: typing.Optional[typing.Any]
|
|
253
253
|
"""
|
|
254
254
|
|
|
255
255
|
...
|
|
256
256
|
|
|
257
257
|
def move_down(
|
|
258
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
259
|
-
execution_context: typing.Union[str, int] = None,
|
|
260
|
-
undo: bool = None,
|
|
258
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
259
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
260
|
+
undo: typing.Optional[bool] = None,
|
|
261
261
|
constraint: typing.Union[str, typing.Any] = "",
|
|
262
|
-
owner: typing.Any = "OBJECT",
|
|
262
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
263
263
|
):
|
|
264
264
|
"""Move constraint down in constraint stack
|
|
265
265
|
|
|
266
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
267
|
-
:type execution_context: typing.Union[str, int]
|
|
268
|
-
:type undo: bool
|
|
266
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
267
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
268
|
+
:type undo: typing.Optional[bool]
|
|
269
269
|
:param constraint: Constraint, Name of the constraint to edit
|
|
270
270
|
:type constraint: typing.Union[str, typing.Any]
|
|
271
271
|
:param owner: Owner, The owner of this constraint
|
|
@@ -275,24 +275,24 @@ def move_down(
|
|
|
275
275
|
|
|
276
276
|
BONE
|
|
277
277
|
Bone -- Edit a constraint on the active bone.
|
|
278
|
-
:type owner: typing.Any
|
|
278
|
+
:type owner: typing.Optional[typing.Any]
|
|
279
279
|
"""
|
|
280
280
|
|
|
281
281
|
...
|
|
282
282
|
|
|
283
283
|
def move_to_index(
|
|
284
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
285
|
-
execution_context: typing.Union[str, int] = None,
|
|
286
|
-
undo: bool = None,
|
|
284
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
285
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
286
|
+
undo: typing.Optional[bool] = None,
|
|
287
287
|
constraint: typing.Union[str, typing.Any] = "",
|
|
288
|
-
owner: typing.Any = "OBJECT",
|
|
289
|
-
index: typing.Any = 0,
|
|
288
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
289
|
+
index: typing.Optional[typing.Any] = 0,
|
|
290
290
|
):
|
|
291
291
|
"""Change the constraint's position in the list so it evaluates after the set number of others
|
|
292
292
|
|
|
293
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
294
|
-
:type execution_context: typing.Union[str, int]
|
|
295
|
-
:type undo: bool
|
|
293
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
294
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
295
|
+
:type undo: typing.Optional[bool]
|
|
296
296
|
:param constraint: Constraint, Name of the constraint to edit
|
|
297
297
|
:type constraint: typing.Union[str, typing.Any]
|
|
298
298
|
:param owner: Owner, The owner of this constraint
|
|
@@ -302,25 +302,25 @@ def move_to_index(
|
|
|
302
302
|
|
|
303
303
|
BONE
|
|
304
304
|
Bone -- Edit a constraint on the active bone.
|
|
305
|
-
:type owner: typing.Any
|
|
305
|
+
:type owner: typing.Optional[typing.Any]
|
|
306
306
|
:param index: Index, The index to move the constraint to
|
|
307
|
-
:type index: typing.Any
|
|
307
|
+
:type index: typing.Optional[typing.Any]
|
|
308
308
|
"""
|
|
309
309
|
|
|
310
310
|
...
|
|
311
311
|
|
|
312
312
|
def move_up(
|
|
313
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
314
|
-
execution_context: typing.Union[str, int] = None,
|
|
315
|
-
undo: bool = None,
|
|
313
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
314
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
315
|
+
undo: typing.Optional[bool] = None,
|
|
316
316
|
constraint: typing.Union[str, typing.Any] = "",
|
|
317
|
-
owner: typing.Any = "OBJECT",
|
|
317
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
318
318
|
):
|
|
319
319
|
"""Move constraint up in constraint stack
|
|
320
320
|
|
|
321
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
322
|
-
:type execution_context: typing.Union[str, int]
|
|
323
|
-
:type undo: bool
|
|
321
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
322
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
323
|
+
:type undo: typing.Optional[bool]
|
|
324
324
|
:param constraint: Constraint, Name of the constraint to edit
|
|
325
325
|
:type constraint: typing.Union[str, typing.Any]
|
|
326
326
|
:param owner: Owner, The owner of this constraint
|
|
@@ -330,37 +330,37 @@ def move_up(
|
|
|
330
330
|
|
|
331
331
|
BONE
|
|
332
332
|
Bone -- Edit a constraint on the active bone.
|
|
333
|
-
:type owner: typing.Any
|
|
333
|
+
:type owner: typing.Optional[typing.Any]
|
|
334
334
|
"""
|
|
335
335
|
|
|
336
336
|
...
|
|
337
337
|
|
|
338
338
|
def normalize_target_weights(
|
|
339
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
340
|
-
execution_context: typing.Union[str, int] = None,
|
|
341
|
-
undo: bool = None,
|
|
339
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
340
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
341
|
+
undo: typing.Optional[bool] = None,
|
|
342
342
|
):
|
|
343
343
|
"""Normalize weights of all target bones
|
|
344
344
|
|
|
345
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
346
|
-
:type execution_context: typing.Union[str, int]
|
|
347
|
-
:type undo: bool
|
|
345
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
346
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
347
|
+
:type undo: typing.Optional[bool]
|
|
348
348
|
"""
|
|
349
349
|
|
|
350
350
|
...
|
|
351
351
|
|
|
352
352
|
def objectsolver_clear_inverse(
|
|
353
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
354
|
-
execution_context: typing.Union[str, int] = None,
|
|
355
|
-
undo: bool = None,
|
|
353
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
354
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
355
|
+
undo: typing.Optional[bool] = None,
|
|
356
356
|
constraint: typing.Union[str, typing.Any] = "",
|
|
357
|
-
owner: typing.Any = "OBJECT",
|
|
357
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
358
358
|
):
|
|
359
359
|
"""Clear inverse correction for Object Solver constraint
|
|
360
360
|
|
|
361
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
362
|
-
:type execution_context: typing.Union[str, int]
|
|
363
|
-
:type undo: bool
|
|
361
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
362
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
363
|
+
:type undo: typing.Optional[bool]
|
|
364
364
|
:param constraint: Constraint, Name of the constraint to edit
|
|
365
365
|
:type constraint: typing.Union[str, typing.Any]
|
|
366
366
|
:param owner: Owner, The owner of this constraint
|
|
@@ -370,23 +370,23 @@ def objectsolver_clear_inverse(
|
|
|
370
370
|
|
|
371
371
|
BONE
|
|
372
372
|
Bone -- Edit a constraint on the active bone.
|
|
373
|
-
:type owner: typing.Any
|
|
373
|
+
:type owner: typing.Optional[typing.Any]
|
|
374
374
|
"""
|
|
375
375
|
|
|
376
376
|
...
|
|
377
377
|
|
|
378
378
|
def objectsolver_set_inverse(
|
|
379
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
380
|
-
execution_context: typing.Union[str, int] = None,
|
|
381
|
-
undo: bool = None,
|
|
379
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
380
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
381
|
+
undo: typing.Optional[bool] = None,
|
|
382
382
|
constraint: typing.Union[str, typing.Any] = "",
|
|
383
|
-
owner: typing.Any = "OBJECT",
|
|
383
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
384
384
|
):
|
|
385
385
|
"""Set inverse correction for Object Solver constraint
|
|
386
386
|
|
|
387
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
388
|
-
:type execution_context: typing.Union[str, int]
|
|
389
|
-
:type undo: bool
|
|
387
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
388
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
389
|
+
:type undo: typing.Optional[bool]
|
|
390
390
|
:param constraint: Constraint, Name of the constraint to edit
|
|
391
391
|
:type constraint: typing.Union[str, typing.Any]
|
|
392
392
|
:param owner: Owner, The owner of this constraint
|
|
@@ -396,40 +396,40 @@ def objectsolver_set_inverse(
|
|
|
396
396
|
|
|
397
397
|
BONE
|
|
398
398
|
Bone -- Edit a constraint on the active bone.
|
|
399
|
-
:type owner: typing.Any
|
|
399
|
+
:type owner: typing.Optional[typing.Any]
|
|
400
400
|
"""
|
|
401
401
|
|
|
402
402
|
...
|
|
403
403
|
|
|
404
404
|
def remove_target(
|
|
405
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
406
|
-
execution_context: typing.Union[str, int] = None,
|
|
407
|
-
undo: bool = None,
|
|
408
|
-
index: typing.Any = 0,
|
|
405
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
406
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
407
|
+
undo: typing.Optional[bool] = None,
|
|
408
|
+
index: typing.Optional[typing.Any] = 0,
|
|
409
409
|
):
|
|
410
410
|
"""Remove the target from the constraint
|
|
411
411
|
|
|
412
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
413
|
-
:type execution_context: typing.Union[str, int]
|
|
414
|
-
:type undo: bool
|
|
412
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
413
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
414
|
+
:type undo: typing.Optional[bool]
|
|
415
415
|
:param index: index
|
|
416
|
-
:type index: typing.Any
|
|
416
|
+
:type index: typing.Optional[typing.Any]
|
|
417
417
|
"""
|
|
418
418
|
|
|
419
419
|
...
|
|
420
420
|
|
|
421
421
|
def stretchto_reset(
|
|
422
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
423
|
-
execution_context: typing.Union[str, int] = None,
|
|
424
|
-
undo: bool = None,
|
|
422
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
423
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
424
|
+
undo: typing.Optional[bool] = None,
|
|
425
425
|
constraint: typing.Union[str, typing.Any] = "",
|
|
426
|
-
owner: typing.Any = "OBJECT",
|
|
426
|
+
owner: typing.Optional[typing.Any] = "OBJECT",
|
|
427
427
|
):
|
|
428
428
|
"""Reset original length of bone for Stretch To Constraint
|
|
429
429
|
|
|
430
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
431
|
-
:type execution_context: typing.Union[str, int]
|
|
432
|
-
:type undo: bool
|
|
430
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
431
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
432
|
+
:type undo: typing.Optional[bool]
|
|
433
433
|
:param constraint: Constraint, Name of the constraint to edit
|
|
434
434
|
:type constraint: typing.Union[str, typing.Any]
|
|
435
435
|
:param owner: Owner, The owner of this constraint
|
|
@@ -439,7 +439,7 @@ def stretchto_reset(
|
|
|
439
439
|
|
|
440
440
|
BONE
|
|
441
441
|
Bone -- Edit a constraint on the active bone.
|
|
442
|
-
:type owner: typing.Any
|
|
442
|
+
:type owner: typing.Optional[typing.Any]
|
|
443
443
|
"""
|
|
444
444
|
|
|
445
445
|
...
|