fake-bpy-module 20240508__py3-none-any.whl → 20240510__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.
- bmesh/ops/__init__.pyi +106 -106
- bpy/ops/action/__init__.pyi +152 -76
- bpy/ops/anim/__init__.pyi +212 -106
- bpy/ops/armature/__init__.pyi +192 -96
- bpy/ops/asset/__init__.pyi +64 -32
- bpy/ops/boid/__init__.pyi +32 -16
- bpy/ops/brush/__init__.pyi +36 -18
- bpy/ops/buttons/__init__.pyi +24 -12
- bpy/ops/cachefile/__init__.pyi +20 -10
- bpy/ops/camera/__init__.pyi +8 -4
- bpy/ops/clip/__init__.pyi +368 -184
- bpy/ops/cloth/__init__.pyi +4 -2
- bpy/ops/collection/__init__.pyi +36 -18
- bpy/ops/console/__init__.pyi +84 -42
- bpy/ops/constraint/__init__.pyi +72 -36
- bpy/ops/curve/__init__.pyi +204 -102
- bpy/ops/curves/__init__.pyi +108 -54
- bpy/ops/cycles/__init__.pyi +12 -6
- bpy/ops/dpaint/__init__.pyi +20 -10
- bpy/ops/ed/__init__.pyi +48 -24
- bpy/ops/export_anim/__init__.pyi +4 -2
- bpy/ops/export_mesh/__init__.pyi +4 -2
- bpy/ops/export_scene/__init__.pyi +15 -9
- bpy/ops/file/__init__.pyi +160 -80
- bpy/ops/fluid/__init__.pyi +56 -28
- bpy/ops/font/__init__.pyi +92 -46
- bpy/ops/geometry/__init__.pyi +40 -20
- bpy/ops/gizmogroup/__init__.pyi +8 -4
- bpy/ops/gpencil/__init__.pyi +600 -300
- bpy/ops/graph/__init__.pyi +260 -130
- bpy/ops/grease_pencil/__init__.pyi +268 -134
- bpy/ops/image/__init__.pyi +188 -94
- bpy/ops/import_anim/__init__.pyi +4 -2
- bpy/ops/import_curve/__init__.pyi +4 -2
- bpy/ops/import_mesh/__init__.pyi +4 -2
- bpy/ops/import_scene/__init__.pyi +12 -6
- bpy/ops/info/__init__.pyi +28 -14
- bpy/ops/lattice/__init__.pyi +32 -16
- bpy/ops/marker/__init__.pyi +44 -22
- bpy/ops/mask/__init__.pyi +156 -78
- bpy/ops/material/__init__.pyi +12 -6
- bpy/ops/mball/__init__.pyi +32 -16
- bpy/ops/mesh/__init__.pyi +652 -326
- bpy/ops/nla/__init__.pyi +158 -80
- bpy/ops/node/__init__.pyi +404 -202
- bpy/ops/object/__init__.pyi +1002 -490
- bpy/ops/outliner/__init__.pyi +276 -138
- bpy/ops/paint/__init__.pyi +212 -106
- bpy/ops/paintcurve/__init__.pyi +32 -16
- bpy/ops/palette/__init__.pyi +28 -14
- bpy/ops/particle/__init__.pyi +144 -72
- bpy/ops/pose/__init__.pyi +156 -78
- bpy/ops/poselib/__init__.pyi +36 -18
- bpy/ops/preferences/__init__.pyi +152 -76
- bpy/ops/ptcache/__init__.pyi +28 -14
- bpy/ops/render/__init__.pyi +48 -24
- bpy/ops/rigidbody/__init__.pyi +52 -26
- bpy/ops/scene/__init__.pyi +156 -78
- bpy/ops/screen/__init__.pyi +156 -78
- bpy/ops/script/__init__.pyi +12 -6
- bpy/ops/sculpt/__init__.pyi +134 -68
- bpy/ops/sculpt_curves/__init__.pyi +16 -8
- bpy/ops/sequencer/__init__.pyi +340 -170
- bpy/ops/sound/__init__.pyi +28 -14
- bpy/ops/spreadsheet/__init__.pyi +16 -8
- bpy/ops/surface/__init__.pyi +24 -12
- bpy/ops/text/__init__.pyi +172 -86
- bpy/ops/text_editor/__init__.pyi +4 -2
- bpy/ops/texture/__init__.pyi +16 -8
- bpy/ops/transform/__init__.pyi +108 -54
- bpy/ops/ui/__init__.pyi +132 -66
- bpy/ops/uilist/__init__.pyi +12 -6
- bpy/ops/uv/__init__.pyi +196 -98
- bpy/ops/view2d/__init__.pyi +56 -28
- bpy/ops/view3d/__init__.pyi +268 -134
- bpy/ops/wm/__init__.pyi +496 -227
- bpy/ops/workspace/__init__.pyi +28 -14
- bpy/ops/world/__init__.pyi +4 -2
- bpy/types/__init__.pyi +434 -37
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/RECORD +84 -84
- mathutils/__init__.pyi +20 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240510.dist-info}/top_level.txt +0 -0
bpy/ops/constraint/__init__.pyi
CHANGED
|
@@ -4,13 +4,15 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def add_target(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
):
|
|
11
13
|
"""Add a target to the constraint
|
|
12
14
|
|
|
13
|
-
:type override_context: typing.Optional[typing.Union[
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
14
16
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
17
|
:type undo: typing.Optional[bool]
|
|
16
18
|
"""
|
|
@@ -18,7 +20,9 @@ def add_target(
|
|
|
18
20
|
...
|
|
19
21
|
|
|
20
22
|
def apply(
|
|
21
|
-
override_context: typing.Optional[
|
|
23
|
+
override_context: typing.Optional[
|
|
24
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
25
|
+
] = None,
|
|
22
26
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
27
|
undo: typing.Optional[bool] = None,
|
|
24
28
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -27,7 +31,7 @@ def apply(
|
|
|
27
31
|
):
|
|
28
32
|
"""Apply constraint and remove from the stack
|
|
29
33
|
|
|
30
|
-
:type override_context: typing.Optional[typing.Union[
|
|
34
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
31
35
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
32
36
|
:type undo: typing.Optional[bool]
|
|
33
37
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -47,7 +51,9 @@ def apply(
|
|
|
47
51
|
...
|
|
48
52
|
|
|
49
53
|
def childof_clear_inverse(
|
|
50
|
-
override_context: typing.Optional[
|
|
54
|
+
override_context: typing.Optional[
|
|
55
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
56
|
+
] = None,
|
|
51
57
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
52
58
|
undo: typing.Optional[bool] = None,
|
|
53
59
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -55,7 +61,7 @@ def childof_clear_inverse(
|
|
|
55
61
|
):
|
|
56
62
|
"""Clear inverse correction for Child Of constraint
|
|
57
63
|
|
|
58
|
-
:type override_context: typing.Optional[typing.Union[
|
|
64
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
59
65
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
60
66
|
:type undo: typing.Optional[bool]
|
|
61
67
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -73,7 +79,9 @@ def childof_clear_inverse(
|
|
|
73
79
|
...
|
|
74
80
|
|
|
75
81
|
def childof_set_inverse(
|
|
76
|
-
override_context: typing.Optional[
|
|
82
|
+
override_context: typing.Optional[
|
|
83
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
84
|
+
] = None,
|
|
77
85
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
78
86
|
undo: typing.Optional[bool] = None,
|
|
79
87
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -81,7 +89,7 @@ def childof_set_inverse(
|
|
|
81
89
|
):
|
|
82
90
|
"""Set inverse correction for Child Of constraint
|
|
83
91
|
|
|
84
|
-
:type override_context: typing.Optional[typing.Union[
|
|
92
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
85
93
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
86
94
|
:type undo: typing.Optional[bool]
|
|
87
95
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -99,7 +107,9 @@ def childof_set_inverse(
|
|
|
99
107
|
...
|
|
100
108
|
|
|
101
109
|
def copy(
|
|
102
|
-
override_context: typing.Optional[
|
|
110
|
+
override_context: typing.Optional[
|
|
111
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
112
|
+
] = None,
|
|
103
113
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
104
114
|
undo: typing.Optional[bool] = None,
|
|
105
115
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -108,7 +118,7 @@ def copy(
|
|
|
108
118
|
):
|
|
109
119
|
"""Duplicate constraint at the same position in the stack
|
|
110
120
|
|
|
111
|
-
:type override_context: typing.Optional[typing.Union[
|
|
121
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
112
122
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
113
123
|
:type undo: typing.Optional[bool]
|
|
114
124
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -128,7 +138,9 @@ def copy(
|
|
|
128
138
|
...
|
|
129
139
|
|
|
130
140
|
def copy_to_selected(
|
|
131
|
-
override_context: typing.Optional[
|
|
141
|
+
override_context: typing.Optional[
|
|
142
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
143
|
+
] = None,
|
|
132
144
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
133
145
|
undo: typing.Optional[bool] = None,
|
|
134
146
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -136,7 +148,7 @@ def copy_to_selected(
|
|
|
136
148
|
):
|
|
137
149
|
"""Copy constraint to other selected objects/bones
|
|
138
150
|
|
|
139
|
-
:type override_context: typing.Optional[typing.Union[
|
|
151
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
140
152
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
141
153
|
:type undo: typing.Optional[bool]
|
|
142
154
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -154,7 +166,9 @@ def copy_to_selected(
|
|
|
154
166
|
...
|
|
155
167
|
|
|
156
168
|
def delete(
|
|
157
|
-
override_context: typing.Optional[
|
|
169
|
+
override_context: typing.Optional[
|
|
170
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
171
|
+
] = None,
|
|
158
172
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
173
|
undo: typing.Optional[bool] = None,
|
|
160
174
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -163,7 +177,7 @@ def delete(
|
|
|
163
177
|
):
|
|
164
178
|
"""Remove constraint from constraint stack
|
|
165
179
|
|
|
166
|
-
:type override_context: typing.Optional[typing.Union[
|
|
180
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
167
181
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
168
182
|
:type undo: typing.Optional[bool]
|
|
169
183
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -183,13 +197,15 @@ def delete(
|
|
|
183
197
|
...
|
|
184
198
|
|
|
185
199
|
def disable_keep_transform(
|
|
186
|
-
override_context: typing.Optional[
|
|
200
|
+
override_context: typing.Optional[
|
|
201
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
202
|
+
] = None,
|
|
187
203
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
188
204
|
undo: typing.Optional[bool] = None,
|
|
189
205
|
):
|
|
190
206
|
"""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
207
|
|
|
192
|
-
:type override_context: typing.Optional[typing.Union[
|
|
208
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
193
209
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
194
210
|
:type undo: typing.Optional[bool]
|
|
195
211
|
"""
|
|
@@ -197,7 +213,9 @@ def disable_keep_transform(
|
|
|
197
213
|
...
|
|
198
214
|
|
|
199
215
|
def followpath_path_animate(
|
|
200
|
-
override_context: typing.Optional[
|
|
216
|
+
override_context: typing.Optional[
|
|
217
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
218
|
+
] = None,
|
|
201
219
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
202
220
|
undo: typing.Optional[bool] = None,
|
|
203
221
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -207,7 +225,7 @@ def followpath_path_animate(
|
|
|
207
225
|
):
|
|
208
226
|
"""Add default animation for path used by constraint if it isn't animated already
|
|
209
227
|
|
|
210
|
-
:type override_context: typing.Optional[typing.Union[
|
|
228
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
211
229
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
212
230
|
:type undo: typing.Optional[bool]
|
|
213
231
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -229,7 +247,9 @@ def followpath_path_animate(
|
|
|
229
247
|
...
|
|
230
248
|
|
|
231
249
|
def limitdistance_reset(
|
|
232
|
-
override_context: typing.Optional[
|
|
250
|
+
override_context: typing.Optional[
|
|
251
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
252
|
+
] = None,
|
|
233
253
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
234
254
|
undo: typing.Optional[bool] = None,
|
|
235
255
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -237,7 +257,7 @@ def limitdistance_reset(
|
|
|
237
257
|
):
|
|
238
258
|
"""Reset limiting distance for Limit Distance Constraint
|
|
239
259
|
|
|
240
|
-
:type override_context: typing.Optional[typing.Union[
|
|
260
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
241
261
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
242
262
|
:type undo: typing.Optional[bool]
|
|
243
263
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -255,7 +275,9 @@ def limitdistance_reset(
|
|
|
255
275
|
...
|
|
256
276
|
|
|
257
277
|
def move_down(
|
|
258
|
-
override_context: typing.Optional[
|
|
278
|
+
override_context: typing.Optional[
|
|
279
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
280
|
+
] = None,
|
|
259
281
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
260
282
|
undo: typing.Optional[bool] = None,
|
|
261
283
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -263,7 +285,7 @@ def move_down(
|
|
|
263
285
|
):
|
|
264
286
|
"""Move constraint down in constraint stack
|
|
265
287
|
|
|
266
|
-
:type override_context: typing.Optional[typing.Union[
|
|
288
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
267
289
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
268
290
|
:type undo: typing.Optional[bool]
|
|
269
291
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -281,7 +303,9 @@ def move_down(
|
|
|
281
303
|
...
|
|
282
304
|
|
|
283
305
|
def move_to_index(
|
|
284
|
-
override_context: typing.Optional[
|
|
306
|
+
override_context: typing.Optional[
|
|
307
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
308
|
+
] = None,
|
|
285
309
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
286
310
|
undo: typing.Optional[bool] = None,
|
|
287
311
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -290,7 +314,7 @@ def move_to_index(
|
|
|
290
314
|
):
|
|
291
315
|
"""Change the constraint's position in the list so it evaluates after the set number of others
|
|
292
316
|
|
|
293
|
-
:type override_context: typing.Optional[typing.Union[
|
|
317
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
294
318
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
295
319
|
:type undo: typing.Optional[bool]
|
|
296
320
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -310,7 +334,9 @@ def move_to_index(
|
|
|
310
334
|
...
|
|
311
335
|
|
|
312
336
|
def move_up(
|
|
313
|
-
override_context: typing.Optional[
|
|
337
|
+
override_context: typing.Optional[
|
|
338
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
339
|
+
] = None,
|
|
314
340
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
315
341
|
undo: typing.Optional[bool] = None,
|
|
316
342
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -318,7 +344,7 @@ def move_up(
|
|
|
318
344
|
):
|
|
319
345
|
"""Move constraint up in constraint stack
|
|
320
346
|
|
|
321
|
-
:type override_context: typing.Optional[typing.Union[
|
|
347
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
322
348
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
323
349
|
:type undo: typing.Optional[bool]
|
|
324
350
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -336,13 +362,15 @@ def move_up(
|
|
|
336
362
|
...
|
|
337
363
|
|
|
338
364
|
def normalize_target_weights(
|
|
339
|
-
override_context: typing.Optional[
|
|
365
|
+
override_context: typing.Optional[
|
|
366
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
367
|
+
] = None,
|
|
340
368
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
341
369
|
undo: typing.Optional[bool] = None,
|
|
342
370
|
):
|
|
343
371
|
"""Normalize weights of all target bones
|
|
344
372
|
|
|
345
|
-
:type override_context: typing.Optional[typing.Union[
|
|
373
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
346
374
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
347
375
|
:type undo: typing.Optional[bool]
|
|
348
376
|
"""
|
|
@@ -350,7 +378,9 @@ def normalize_target_weights(
|
|
|
350
378
|
...
|
|
351
379
|
|
|
352
380
|
def objectsolver_clear_inverse(
|
|
353
|
-
override_context: typing.Optional[
|
|
381
|
+
override_context: typing.Optional[
|
|
382
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
383
|
+
] = None,
|
|
354
384
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
355
385
|
undo: typing.Optional[bool] = None,
|
|
356
386
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -358,7 +388,7 @@ def objectsolver_clear_inverse(
|
|
|
358
388
|
):
|
|
359
389
|
"""Clear inverse correction for Object Solver constraint
|
|
360
390
|
|
|
361
|
-
:type override_context: typing.Optional[typing.Union[
|
|
391
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
362
392
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
363
393
|
:type undo: typing.Optional[bool]
|
|
364
394
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -376,7 +406,9 @@ def objectsolver_clear_inverse(
|
|
|
376
406
|
...
|
|
377
407
|
|
|
378
408
|
def objectsolver_set_inverse(
|
|
379
|
-
override_context: typing.Optional[
|
|
409
|
+
override_context: typing.Optional[
|
|
410
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
411
|
+
] = None,
|
|
380
412
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
381
413
|
undo: typing.Optional[bool] = None,
|
|
382
414
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -384,7 +416,7 @@ def objectsolver_set_inverse(
|
|
|
384
416
|
):
|
|
385
417
|
"""Set inverse correction for Object Solver constraint
|
|
386
418
|
|
|
387
|
-
:type override_context: typing.Optional[typing.Union[
|
|
419
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
388
420
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
389
421
|
:type undo: typing.Optional[bool]
|
|
390
422
|
:param constraint: Constraint, Name of the constraint to edit
|
|
@@ -402,14 +434,16 @@ def objectsolver_set_inverse(
|
|
|
402
434
|
...
|
|
403
435
|
|
|
404
436
|
def remove_target(
|
|
405
|
-
override_context: typing.Optional[
|
|
437
|
+
override_context: typing.Optional[
|
|
438
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
439
|
+
] = None,
|
|
406
440
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
407
441
|
undo: typing.Optional[bool] = None,
|
|
408
442
|
index: typing.Optional[typing.Any] = 0,
|
|
409
443
|
):
|
|
410
444
|
"""Remove the target from the constraint
|
|
411
445
|
|
|
412
|
-
:type override_context: typing.Optional[typing.Union[
|
|
446
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
413
447
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
414
448
|
:type undo: typing.Optional[bool]
|
|
415
449
|
:param index: index
|
|
@@ -419,7 +453,9 @@ def remove_target(
|
|
|
419
453
|
...
|
|
420
454
|
|
|
421
455
|
def stretchto_reset(
|
|
422
|
-
override_context: typing.Optional[
|
|
456
|
+
override_context: typing.Optional[
|
|
457
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
458
|
+
] = None,
|
|
423
459
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
424
460
|
undo: typing.Optional[bool] = None,
|
|
425
461
|
constraint: typing.Union[str, typing.Any] = "",
|
|
@@ -427,7 +463,7 @@ def stretchto_reset(
|
|
|
427
463
|
):
|
|
428
464
|
"""Reset original length of bone for Stretch To Constraint
|
|
429
465
|
|
|
430
|
-
:type override_context: typing.Optional[typing.Union[
|
|
466
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
431
467
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
432
468
|
:type undo: typing.Optional[bool]
|
|
433
469
|
:param constraint: Constraint, Name of the constraint to edit
|