fake-bpy-module 20240619__py3-none-any.whl → 20240621__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.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +10 -10
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +901 -798
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1017 -844
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +642 -580
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1814 -1804
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +30115 -30082
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/RECORD +78 -78
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/top_level.txt +0 -0
bpy/ops/object/__init__.pyi
CHANGED
|
@@ -2,6 +2,7 @@ import typing
|
|
|
2
2
|
import collections.abc
|
|
3
3
|
import bpy.ops.transform
|
|
4
4
|
import bpy.types
|
|
5
|
+
import mathutils
|
|
5
6
|
|
|
6
7
|
GenericType1 = typing.TypeVar("GenericType1")
|
|
7
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
@@ -11,13 +12,21 @@ def add(
|
|
|
11
12
|
execution_context: int | str | None = None,
|
|
12
13
|
undo: bool | None = None,
|
|
13
14
|
*,
|
|
14
|
-
radius:
|
|
15
|
+
radius: float | None = 1.0,
|
|
15
16
|
type: str | None = "EMPTY",
|
|
16
|
-
enter_editmode: bool |
|
|
17
|
+
enter_editmode: bool | None = False,
|
|
17
18
|
align: str | None = "WORLD",
|
|
18
|
-
location:
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
20
|
+
0.0,
|
|
21
|
+
0.0,
|
|
22
|
+
0.0,
|
|
23
|
+
),
|
|
24
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
25
|
+
0.0,
|
|
26
|
+
0.0,
|
|
27
|
+
0.0,
|
|
28
|
+
),
|
|
29
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
21
30
|
):
|
|
22
31
|
"""Add an object to the scene
|
|
23
32
|
|
|
@@ -25,11 +34,11 @@ def add(
|
|
|
25
34
|
:type execution_context: int | str | None
|
|
26
35
|
:type undo: bool | None
|
|
27
36
|
:param radius: Radius
|
|
28
|
-
:type radius:
|
|
37
|
+
:type radius: float | None
|
|
29
38
|
:param type: Type
|
|
30
39
|
:type type: str | None
|
|
31
40
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
32
|
-
:type enter_editmode: bool |
|
|
41
|
+
:type enter_editmode: bool | None
|
|
33
42
|
:param align: Align, The alignment of the new object
|
|
34
43
|
|
|
35
44
|
WORLD
|
|
@@ -42,11 +51,11 @@ def add(
|
|
|
42
51
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
43
52
|
:type align: str | None
|
|
44
53
|
:param location: Location, Location for the newly added object
|
|
45
|
-
:type location:
|
|
54
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
46
55
|
:param rotation: Rotation, Rotation for the newly added object
|
|
47
|
-
:type rotation:
|
|
56
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
48
57
|
:param scale: Scale, Scale for the newly added object
|
|
49
|
-
:type scale:
|
|
58
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
50
59
|
"""
|
|
51
60
|
|
|
52
61
|
...
|
|
@@ -70,17 +79,19 @@ def add_named(
|
|
|
70
79
|
execution_context: int | str | None = None,
|
|
71
80
|
undo: bool | None = None,
|
|
72
81
|
*,
|
|
73
|
-
linked: bool |
|
|
74
|
-
name: str
|
|
75
|
-
session_uid:
|
|
76
|
-
matrix:
|
|
82
|
+
linked: bool | None = False,
|
|
83
|
+
name: str = "",
|
|
84
|
+
session_uid: int | None = 0,
|
|
85
|
+
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
86
|
+
| mathutils.Matrix
|
|
87
|
+
| None = (
|
|
77
88
|
(0.0, 0.0, 0.0, 0.0),
|
|
78
89
|
(0.0, 0.0, 0.0, 0.0),
|
|
79
90
|
(0.0, 0.0, 0.0, 0.0),
|
|
80
91
|
(0.0, 0.0, 0.0, 0.0),
|
|
81
92
|
),
|
|
82
|
-
drop_x:
|
|
83
|
-
drop_y:
|
|
93
|
+
drop_x: int | None = 0,
|
|
94
|
+
drop_y: int | None = 0,
|
|
84
95
|
):
|
|
85
96
|
"""Add named object
|
|
86
97
|
|
|
@@ -88,17 +99,17 @@ def add_named(
|
|
|
88
99
|
:type execution_context: int | str | None
|
|
89
100
|
:type undo: bool | None
|
|
90
101
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
91
|
-
:type linked: bool |
|
|
102
|
+
:type linked: bool | None
|
|
92
103
|
:param name: Name, Name of the data-block to use by the operator
|
|
93
|
-
:type name: str
|
|
104
|
+
:type name: str
|
|
94
105
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
95
|
-
:type session_uid:
|
|
106
|
+
:type session_uid: int | None
|
|
96
107
|
:param matrix: Matrix
|
|
97
|
-
:type matrix:
|
|
108
|
+
:type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
98
109
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
99
|
-
:type drop_x:
|
|
110
|
+
:type drop_x: int | None
|
|
100
111
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
101
|
-
:type drop_y:
|
|
112
|
+
:type drop_y: int | None
|
|
102
113
|
"""
|
|
103
114
|
|
|
104
115
|
...
|
|
@@ -108,7 +119,7 @@ def align(
|
|
|
108
119
|
execution_context: int | str | None = None,
|
|
109
120
|
undo: bool | None = None,
|
|
110
121
|
*,
|
|
111
|
-
bb_quality: bool |
|
|
122
|
+
bb_quality: bool | None = True,
|
|
112
123
|
align_mode: str | None = "OPT_2",
|
|
113
124
|
relative_to: str | None = "OPT_4",
|
|
114
125
|
align_axis: set[str] | None = {},
|
|
@@ -119,7 +130,7 @@ def align(
|
|
|
119
130
|
:type execution_context: int | str | None
|
|
120
131
|
:type undo: bool | None
|
|
121
132
|
:param bb_quality: High Quality, Enables high quality but slow calculation of the bounding box for perfect results on complex shape meshes with rotation/scale
|
|
122
|
-
:type bb_quality: bool |
|
|
133
|
+
:type bb_quality: bool | None
|
|
123
134
|
:param align_mode: Align Mode, Side of object to use for alignment
|
|
124
135
|
:type align_mode: str | None
|
|
125
136
|
:param relative_to: Relative To, Reference location to align to
|
|
@@ -161,12 +172,20 @@ def armature_add(
|
|
|
161
172
|
execution_context: int | str | None = None,
|
|
162
173
|
undo: bool | None = None,
|
|
163
174
|
*,
|
|
164
|
-
radius:
|
|
165
|
-
enter_editmode: bool |
|
|
175
|
+
radius: float | None = 1.0,
|
|
176
|
+
enter_editmode: bool | None = False,
|
|
166
177
|
align: str | None = "WORLD",
|
|
167
|
-
location:
|
|
168
|
-
|
|
169
|
-
|
|
178
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
179
|
+
0.0,
|
|
180
|
+
0.0,
|
|
181
|
+
0.0,
|
|
182
|
+
),
|
|
183
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
184
|
+
0.0,
|
|
185
|
+
0.0,
|
|
186
|
+
0.0,
|
|
187
|
+
),
|
|
188
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
170
189
|
):
|
|
171
190
|
"""Add an armature object to the scene
|
|
172
191
|
|
|
@@ -174,9 +193,9 @@ def armature_add(
|
|
|
174
193
|
:type execution_context: int | str | None
|
|
175
194
|
:type undo: bool | None
|
|
176
195
|
:param radius: Radius
|
|
177
|
-
:type radius:
|
|
196
|
+
:type radius: float | None
|
|
178
197
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
179
|
-
:type enter_editmode: bool |
|
|
198
|
+
:type enter_editmode: bool | None
|
|
180
199
|
:param align: Align, The alignment of the new object
|
|
181
200
|
|
|
182
201
|
WORLD
|
|
@@ -189,11 +208,11 @@ def armature_add(
|
|
|
189
208
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
190
209
|
:type align: str | None
|
|
191
210
|
:param location: Location, Location for the newly added object
|
|
192
|
-
:type location:
|
|
211
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
193
212
|
:param rotation: Rotation, Rotation for the newly added object
|
|
194
|
-
:type rotation:
|
|
213
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
195
214
|
:param scale: Scale, Scale for the newly added object
|
|
196
|
-
:type scale:
|
|
215
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
197
216
|
"""
|
|
198
217
|
|
|
199
218
|
...
|
|
@@ -203,8 +222,8 @@ def assign_property_defaults(
|
|
|
203
222
|
execution_context: int | str | None = None,
|
|
204
223
|
undo: bool | None = None,
|
|
205
224
|
*,
|
|
206
|
-
process_data: bool |
|
|
207
|
-
process_bones: bool |
|
|
225
|
+
process_data: bool | None = True,
|
|
226
|
+
process_bones: bool | None = True,
|
|
208
227
|
):
|
|
209
228
|
"""Assign the current values of custom properties as their defaults, for use as part of the rest pose state in NLA track mixing
|
|
210
229
|
|
|
@@ -212,9 +231,9 @@ def assign_property_defaults(
|
|
|
212
231
|
:type execution_context: int | str | None
|
|
213
232
|
:type undo: bool | None
|
|
214
233
|
:param process_data: Process data properties
|
|
215
|
-
:type process_data: bool |
|
|
234
|
+
:type process_data: bool | None
|
|
216
235
|
:param process_bones: Process bone properties
|
|
217
|
-
:type process_bones: bool |
|
|
236
|
+
:type process_bones: bool | None
|
|
218
237
|
"""
|
|
219
238
|
|
|
220
239
|
...
|
|
@@ -225,27 +244,27 @@ def bake(
|
|
|
225
244
|
undo: bool | None = None,
|
|
226
245
|
*,
|
|
227
246
|
type: str | None = "COMBINED",
|
|
228
|
-
pass_filter:
|
|
229
|
-
filepath: str
|
|
230
|
-
width:
|
|
231
|
-
height:
|
|
232
|
-
margin:
|
|
247
|
+
pass_filter: set[str] | None = {},
|
|
248
|
+
filepath: str = "",
|
|
249
|
+
width: int | None = 512,
|
|
250
|
+
height: int | None = 512,
|
|
251
|
+
margin: int | None = 16,
|
|
233
252
|
margin_type: str | None = "EXTEND",
|
|
234
|
-
use_selected_to_active: bool |
|
|
235
|
-
max_ray_distance:
|
|
236
|
-
cage_extrusion:
|
|
237
|
-
cage_object: str
|
|
253
|
+
use_selected_to_active: bool | None = False,
|
|
254
|
+
max_ray_distance: float | None = 0.0,
|
|
255
|
+
cage_extrusion: float | None = 0.0,
|
|
256
|
+
cage_object: str = "",
|
|
238
257
|
normal_space: str | None = "TANGENT",
|
|
239
258
|
normal_r: str | None = "POS_X",
|
|
240
259
|
normal_g: str | None = "POS_Y",
|
|
241
260
|
normal_b: str | None = "POS_Z",
|
|
242
261
|
target: str | None = "IMAGE_TEXTURES",
|
|
243
262
|
save_mode: str | None = "INTERNAL",
|
|
244
|
-
use_clear: bool |
|
|
245
|
-
use_cage: bool |
|
|
246
|
-
use_split_materials: bool |
|
|
247
|
-
use_automatic_name: bool |
|
|
248
|
-
uv_layer: str
|
|
263
|
+
use_clear: bool | None = False,
|
|
264
|
+
use_cage: bool | None = False,
|
|
265
|
+
use_split_materials: bool | None = False,
|
|
266
|
+
use_automatic_name: bool | None = False,
|
|
267
|
+
uv_layer: str = "",
|
|
249
268
|
):
|
|
250
269
|
"""Bake image textures of selected objects
|
|
251
270
|
|
|
@@ -255,25 +274,25 @@ def bake(
|
|
|
255
274
|
:param type: Type, Type of pass to bake, some of them may not be supported by the current render engine
|
|
256
275
|
:type type: str | None
|
|
257
276
|
:param pass_filter: Pass Filter, Filter to combined, diffuse, glossy, transmission and subsurface passes
|
|
258
|
-
:type pass_filter:
|
|
277
|
+
:type pass_filter: set[str] | None
|
|
259
278
|
:param filepath: File Path, Image filepath to use when saving externally
|
|
260
|
-
:type filepath: str
|
|
279
|
+
:type filepath: str
|
|
261
280
|
:param width: Width, Horizontal dimension of the baking map (external only)
|
|
262
|
-
:type width:
|
|
281
|
+
:type width: int | None
|
|
263
282
|
:param height: Height, Vertical dimension of the baking map (external only)
|
|
264
|
-
:type height:
|
|
283
|
+
:type height: int | None
|
|
265
284
|
:param margin: Margin, Extends the baked result as a post process filter
|
|
266
|
-
:type margin:
|
|
285
|
+
:type margin: int | None
|
|
267
286
|
:param margin_type: Margin Type, Which algorithm to use to generate the margin
|
|
268
287
|
:type margin_type: str | None
|
|
269
288
|
:param use_selected_to_active: Selected to Active, Bake shading on the surface of selected objects to the active object
|
|
270
|
-
:type use_selected_to_active: bool |
|
|
289
|
+
:type use_selected_to_active: bool | None
|
|
271
290
|
:param max_ray_distance: Max Ray Distance, The maximum ray distance for matching points between the active and selected objects. If zero, there is no limit
|
|
272
|
-
:type max_ray_distance:
|
|
291
|
+
:type max_ray_distance: float | None
|
|
273
292
|
:param cage_extrusion: Cage Extrusion, Inflate the active object by the specified distance for baking. This helps matching to points nearer to the outside of the selected object meshes
|
|
274
|
-
:type cage_extrusion:
|
|
293
|
+
:type cage_extrusion: float | None
|
|
275
294
|
:param cage_object: Cage Object, Object to use as cage, instead of calculating the cage from the active object with cage extrusion
|
|
276
|
-
:type cage_object: str
|
|
295
|
+
:type cage_object: str
|
|
277
296
|
:param normal_space: Normal Space, Choose normal space for baking
|
|
278
297
|
:type normal_space: str | None
|
|
279
298
|
:param normal_r: R, Axis to bake in red channel
|
|
@@ -287,15 +306,15 @@ def bake(
|
|
|
287
306
|
:param save_mode: Save Mode, Where to save baked image textures
|
|
288
307
|
:type save_mode: str | None
|
|
289
308
|
:param use_clear: Clear, Clear images before baking (only for internal saving)
|
|
290
|
-
:type use_clear: bool |
|
|
309
|
+
:type use_clear: bool | None
|
|
291
310
|
:param use_cage: Cage, Cast rays to active object from a cage
|
|
292
|
-
:type use_cage: bool |
|
|
311
|
+
:type use_cage: bool | None
|
|
293
312
|
:param use_split_materials: Split Materials, Split baked maps per material, using material name in output file (external only)
|
|
294
|
-
:type use_split_materials: bool |
|
|
313
|
+
:type use_split_materials: bool | None
|
|
295
314
|
:param use_automatic_name: Automatic Name, Automatically name the output file with the pass type
|
|
296
|
-
:type use_automatic_name: bool |
|
|
315
|
+
:type use_automatic_name: bool | None
|
|
297
316
|
:param uv_layer: UV Layer, UV layer to override active
|
|
298
|
-
:type uv_layer: str
|
|
317
|
+
:type uv_layer: str
|
|
299
318
|
"""
|
|
300
319
|
|
|
301
320
|
...
|
|
@@ -319,11 +338,19 @@ def camera_add(
|
|
|
319
338
|
execution_context: int | str | None = None,
|
|
320
339
|
undo: bool | None = None,
|
|
321
340
|
*,
|
|
322
|
-
enter_editmode: bool |
|
|
341
|
+
enter_editmode: bool | None = False,
|
|
323
342
|
align: str | None = "WORLD",
|
|
324
|
-
location:
|
|
325
|
-
|
|
326
|
-
|
|
343
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
344
|
+
0.0,
|
|
345
|
+
0.0,
|
|
346
|
+
0.0,
|
|
347
|
+
),
|
|
348
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
349
|
+
0.0,
|
|
350
|
+
0.0,
|
|
351
|
+
0.0,
|
|
352
|
+
),
|
|
353
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
327
354
|
):
|
|
328
355
|
"""Add a camera object to the scene
|
|
329
356
|
|
|
@@ -331,7 +358,7 @@ def camera_add(
|
|
|
331
358
|
:type execution_context: int | str | None
|
|
332
359
|
:type undo: bool | None
|
|
333
360
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
334
|
-
:type enter_editmode: bool |
|
|
361
|
+
:type enter_editmode: bool | None
|
|
335
362
|
:param align: Align, The alignment of the new object
|
|
336
363
|
|
|
337
364
|
WORLD
|
|
@@ -344,11 +371,11 @@ def camera_add(
|
|
|
344
371
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
345
372
|
:type align: str | None
|
|
346
373
|
:param location: Location, Location for the newly added object
|
|
347
|
-
:type location:
|
|
374
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
348
375
|
:param rotation: Rotation, Rotation for the newly added object
|
|
349
|
-
:type rotation:
|
|
376
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
350
377
|
:param scale: Scale, Scale for the newly added object
|
|
351
|
-
:type scale:
|
|
378
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
352
379
|
"""
|
|
353
380
|
|
|
354
381
|
...
|
|
@@ -386,14 +413,22 @@ def collection_external_asset_drop(
|
|
|
386
413
|
execution_context: int | str | None = None,
|
|
387
414
|
undo: bool | None = None,
|
|
388
415
|
*,
|
|
389
|
-
session_uid:
|
|
416
|
+
session_uid: int | None = 0,
|
|
390
417
|
align: str | None = "WORLD",
|
|
391
|
-
location:
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
418
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
419
|
+
0.0,
|
|
420
|
+
0.0,
|
|
421
|
+
0.0,
|
|
422
|
+
),
|
|
423
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
424
|
+
0.0,
|
|
425
|
+
0.0,
|
|
426
|
+
0.0,
|
|
427
|
+
),
|
|
428
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
429
|
+
use_instance: bool | None = True,
|
|
430
|
+
drop_x: int | None = 0,
|
|
431
|
+
drop_y: int | None = 0,
|
|
397
432
|
collection: str | None = "",
|
|
398
433
|
):
|
|
399
434
|
"""Add the dragged collection to the scene
|
|
@@ -402,7 +437,7 @@ def collection_external_asset_drop(
|
|
|
402
437
|
:type execution_context: int | str | None
|
|
403
438
|
:type undo: bool | None
|
|
404
439
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
405
|
-
:type session_uid:
|
|
440
|
+
:type session_uid: int | None
|
|
406
441
|
:param align: Align, The alignment of the new object
|
|
407
442
|
|
|
408
443
|
WORLD
|
|
@@ -415,17 +450,17 @@ def collection_external_asset_drop(
|
|
|
415
450
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
416
451
|
:type align: str | None
|
|
417
452
|
:param location: Location, Location for the newly added object
|
|
418
|
-
:type location:
|
|
453
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
419
454
|
:param rotation: Rotation, Rotation for the newly added object
|
|
420
|
-
:type rotation:
|
|
455
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
421
456
|
:param scale: Scale, Scale for the newly added object
|
|
422
|
-
:type scale:
|
|
457
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
423
458
|
:param use_instance: Instance, Add the dropped collection as collection instance
|
|
424
|
-
:type use_instance: bool |
|
|
459
|
+
:type use_instance: bool | None
|
|
425
460
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
426
|
-
:type drop_x:
|
|
461
|
+
:type drop_x: int | None
|
|
427
462
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
428
|
-
:type drop_y:
|
|
463
|
+
:type drop_y: int | None
|
|
429
464
|
:param collection: Collection
|
|
430
465
|
:type collection: str | None
|
|
431
466
|
"""
|
|
@@ -437,15 +472,23 @@ def collection_instance_add(
|
|
|
437
472
|
execution_context: int | str | None = None,
|
|
438
473
|
undo: bool | None = None,
|
|
439
474
|
*,
|
|
440
|
-
name: str
|
|
475
|
+
name: str = "Collection",
|
|
441
476
|
collection: str | None = "",
|
|
442
477
|
align: str | None = "WORLD",
|
|
443
|
-
location:
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
478
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
479
|
+
0.0,
|
|
480
|
+
0.0,
|
|
481
|
+
0.0,
|
|
482
|
+
),
|
|
483
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
484
|
+
0.0,
|
|
485
|
+
0.0,
|
|
486
|
+
0.0,
|
|
487
|
+
),
|
|
488
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
489
|
+
session_uid: int | None = 0,
|
|
490
|
+
drop_x: int | None = 0,
|
|
491
|
+
drop_y: int | None = 0,
|
|
449
492
|
):
|
|
450
493
|
"""Add a collection instance
|
|
451
494
|
|
|
@@ -453,7 +496,7 @@ def collection_instance_add(
|
|
|
453
496
|
:type execution_context: int | str | None
|
|
454
497
|
:type undo: bool | None
|
|
455
498
|
:param name: Name, Collection name to add
|
|
456
|
-
:type name: str
|
|
499
|
+
:type name: str
|
|
457
500
|
:param collection: Collection
|
|
458
501
|
:type collection: str | None
|
|
459
502
|
:param align: Align, The alignment of the new object
|
|
@@ -468,17 +511,17 @@ def collection_instance_add(
|
|
|
468
511
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
469
512
|
:type align: str | None
|
|
470
513
|
:param location: Location, Location for the newly added object
|
|
471
|
-
:type location:
|
|
514
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
472
515
|
:param rotation: Rotation, Rotation for the newly added object
|
|
473
|
-
:type rotation:
|
|
516
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
474
517
|
:param scale: Scale, Scale for the newly added object
|
|
475
|
-
:type scale:
|
|
518
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
476
519
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
477
|
-
:type session_uid:
|
|
520
|
+
:type session_uid: int | None
|
|
478
521
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
479
|
-
:type drop_x:
|
|
522
|
+
:type drop_x: int | None
|
|
480
523
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
481
|
-
:type drop_y:
|
|
524
|
+
:type drop_y: int | None
|
|
482
525
|
"""
|
|
483
526
|
|
|
484
527
|
...
|
|
@@ -613,13 +656,13 @@ def convert(
|
|
|
613
656
|
undo: bool | None = None,
|
|
614
657
|
*,
|
|
615
658
|
target: str | None = "MESH",
|
|
616
|
-
keep_original: bool |
|
|
617
|
-
merge_customdata: bool |
|
|
618
|
-
angle:
|
|
619
|
-
thickness:
|
|
620
|
-
seams: bool |
|
|
621
|
-
faces: bool |
|
|
622
|
-
offset:
|
|
659
|
+
keep_original: bool | None = False,
|
|
660
|
+
merge_customdata: bool | None = True,
|
|
661
|
+
angle: float | None = 1.22173,
|
|
662
|
+
thickness: int | None = 5,
|
|
663
|
+
seams: bool | None = False,
|
|
664
|
+
faces: bool | None = True,
|
|
665
|
+
offset: float | None = 0.01,
|
|
623
666
|
):
|
|
624
667
|
"""Convert selected objects to another type
|
|
625
668
|
|
|
@@ -644,19 +687,19 @@ def convert(
|
|
|
644
687
|
Grease Pencil -- Grease Pencil from Curve or Mesh objects.
|
|
645
688
|
:type target: str | None
|
|
646
689
|
:param keep_original: Keep Original, Keep original objects instead of replacing them
|
|
647
|
-
:type keep_original: bool |
|
|
690
|
+
:type keep_original: bool | None
|
|
648
691
|
:param merge_customdata: Merge UVs, Merge UV coordinates that share a vertex to account for imprecision in some modifiers
|
|
649
|
-
:type merge_customdata: bool |
|
|
692
|
+
:type merge_customdata: bool | None
|
|
650
693
|
:param angle: Threshold Angle, Threshold to determine ends of the strokes
|
|
651
|
-
:type angle:
|
|
694
|
+
:type angle: float | None
|
|
652
695
|
:param thickness: Thickness
|
|
653
|
-
:type thickness:
|
|
696
|
+
:type thickness: int | None
|
|
654
697
|
:param seams: Only Seam Edges, Convert only seam edges
|
|
655
|
-
:type seams: bool |
|
|
698
|
+
:type seams: bool | None
|
|
656
699
|
:param faces: Export Faces, Export faces as filled strokes
|
|
657
|
-
:type faces: bool |
|
|
700
|
+
:type faces: bool | None
|
|
658
701
|
:param offset: Stroke Offset, Offset strokes from fill
|
|
659
|
-
:type offset:
|
|
702
|
+
:type offset: float | None
|
|
660
703
|
"""
|
|
661
704
|
|
|
662
705
|
...
|
|
@@ -666,7 +709,7 @@ def correctivesmooth_bind(
|
|
|
666
709
|
execution_context: int | str | None = None,
|
|
667
710
|
undo: bool | None = None,
|
|
668
711
|
*,
|
|
669
|
-
modifier: str
|
|
712
|
+
modifier: str = "",
|
|
670
713
|
):
|
|
671
714
|
"""Bind base pose in Corrective Smooth modifier
|
|
672
715
|
|
|
@@ -674,7 +717,7 @@ def correctivesmooth_bind(
|
|
|
674
717
|
:type execution_context: int | str | None
|
|
675
718
|
:type undo: bool | None
|
|
676
719
|
:param modifier: Modifier, Name of the modifier to edit
|
|
677
|
-
:type modifier: str
|
|
720
|
+
:type modifier: str
|
|
678
721
|
"""
|
|
679
722
|
|
|
680
723
|
...
|
|
@@ -685,9 +728,17 @@ def curves_empty_hair_add(
|
|
|
685
728
|
undo: bool | None = None,
|
|
686
729
|
*,
|
|
687
730
|
align: str | None = "WORLD",
|
|
688
|
-
location:
|
|
689
|
-
|
|
690
|
-
|
|
731
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
732
|
+
0.0,
|
|
733
|
+
0.0,
|
|
734
|
+
0.0,
|
|
735
|
+
),
|
|
736
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
737
|
+
0.0,
|
|
738
|
+
0.0,
|
|
739
|
+
0.0,
|
|
740
|
+
),
|
|
741
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
691
742
|
):
|
|
692
743
|
"""Add an empty curve object to the scene with the selected mesh as surface
|
|
693
744
|
|
|
@@ -706,11 +757,11 @@ def curves_empty_hair_add(
|
|
|
706
757
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
707
758
|
:type align: str | None
|
|
708
759
|
:param location: Location, Location for the newly added object
|
|
709
|
-
:type location:
|
|
760
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
710
761
|
:param rotation: Rotation, Rotation for the newly added object
|
|
711
|
-
:type rotation:
|
|
762
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
712
763
|
:param scale: Scale, Scale for the newly added object
|
|
713
|
-
:type scale:
|
|
764
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
714
765
|
"""
|
|
715
766
|
|
|
716
767
|
...
|
|
@@ -721,9 +772,17 @@ def curves_random_add(
|
|
|
721
772
|
undo: bool | None = None,
|
|
722
773
|
*,
|
|
723
774
|
align: str | None = "WORLD",
|
|
724
|
-
location:
|
|
725
|
-
|
|
726
|
-
|
|
775
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
776
|
+
0.0,
|
|
777
|
+
0.0,
|
|
778
|
+
0.0,
|
|
779
|
+
),
|
|
780
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
781
|
+
0.0,
|
|
782
|
+
0.0,
|
|
783
|
+
0.0,
|
|
784
|
+
),
|
|
785
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
727
786
|
):
|
|
728
787
|
"""Add a curves object with random curves to the scene
|
|
729
788
|
|
|
@@ -742,11 +801,11 @@ def curves_random_add(
|
|
|
742
801
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
743
802
|
:type align: str | None
|
|
744
803
|
:param location: Location, Location for the newly added object
|
|
745
|
-
:type location:
|
|
804
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
746
805
|
:param rotation: Rotation, Rotation for the newly added object
|
|
747
|
-
:type rotation:
|
|
806
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
748
807
|
:param scale: Scale, Scale for the newly added object
|
|
749
|
-
:type scale:
|
|
808
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
750
809
|
"""
|
|
751
810
|
|
|
752
811
|
...
|
|
@@ -756,15 +815,23 @@ def data_instance_add(
|
|
|
756
815
|
execution_context: int | str | None = None,
|
|
757
816
|
undo: bool | None = None,
|
|
758
817
|
*,
|
|
759
|
-
name: str
|
|
760
|
-
session_uid:
|
|
818
|
+
name: str = "",
|
|
819
|
+
session_uid: int | None = 0,
|
|
761
820
|
type: str | None = "ACTION",
|
|
762
821
|
align: str | None = "WORLD",
|
|
763
|
-
location:
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
822
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
823
|
+
0.0,
|
|
824
|
+
0.0,
|
|
825
|
+
0.0,
|
|
826
|
+
),
|
|
827
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
828
|
+
0.0,
|
|
829
|
+
0.0,
|
|
830
|
+
0.0,
|
|
831
|
+
),
|
|
832
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
833
|
+
drop_x: int | None = 0,
|
|
834
|
+
drop_y: int | None = 0,
|
|
768
835
|
):
|
|
769
836
|
"""Add an object data instance
|
|
770
837
|
|
|
@@ -772,9 +839,9 @@ def data_instance_add(
|
|
|
772
839
|
:type execution_context: int | str | None
|
|
773
840
|
:type undo: bool | None
|
|
774
841
|
:param name: Name, Name of the data-block to use by the operator
|
|
775
|
-
:type name: str
|
|
842
|
+
:type name: str
|
|
776
843
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
777
|
-
:type session_uid:
|
|
844
|
+
:type session_uid: int | None
|
|
778
845
|
:param type: Type
|
|
779
846
|
:type type: str | None
|
|
780
847
|
:param align: Align, The alignment of the new object
|
|
@@ -789,15 +856,15 @@ def data_instance_add(
|
|
|
789
856
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
790
857
|
:type align: str | None
|
|
791
858
|
:param location: Location, Location for the newly added object
|
|
792
|
-
:type location:
|
|
859
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
793
860
|
:param rotation: Rotation, Rotation for the newly added object
|
|
794
|
-
:type rotation:
|
|
861
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
795
862
|
:param scale: Scale, Scale for the newly added object
|
|
796
|
-
:type scale:
|
|
863
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
797
864
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
798
|
-
:type drop_x:
|
|
865
|
+
:type drop_x: int | None
|
|
799
866
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
800
|
-
:type drop_y:
|
|
867
|
+
:type drop_y: int | None
|
|
801
868
|
"""
|
|
802
869
|
|
|
803
870
|
...
|
|
@@ -807,24 +874,24 @@ def data_transfer(
|
|
|
807
874
|
execution_context: int | str | None = None,
|
|
808
875
|
undo: bool | None = None,
|
|
809
876
|
*,
|
|
810
|
-
use_reverse_transfer: bool |
|
|
811
|
-
use_freeze: bool |
|
|
877
|
+
use_reverse_transfer: bool | None = False,
|
|
878
|
+
use_freeze: bool | None = False,
|
|
812
879
|
data_type: str | None = "",
|
|
813
|
-
use_create: bool |
|
|
880
|
+
use_create: bool | None = True,
|
|
814
881
|
vert_mapping: str | None = "NEAREST",
|
|
815
882
|
edge_mapping: str | None = "NEAREST",
|
|
816
883
|
loop_mapping: str | None = "NEAREST_POLYNOR",
|
|
817
884
|
poly_mapping: str | None = "NEAREST",
|
|
818
|
-
use_auto_transform: bool |
|
|
819
|
-
use_object_transform: bool |
|
|
820
|
-
use_max_distance: bool |
|
|
821
|
-
max_distance:
|
|
822
|
-
ray_radius:
|
|
823
|
-
islands_precision:
|
|
885
|
+
use_auto_transform: bool | None = False,
|
|
886
|
+
use_object_transform: bool | None = True,
|
|
887
|
+
use_max_distance: bool | None = False,
|
|
888
|
+
max_distance: float | None = 1.0,
|
|
889
|
+
ray_radius: float | None = 0.0,
|
|
890
|
+
islands_precision: float | None = 0.1,
|
|
824
891
|
layers_select_src: str | None = "ACTIVE",
|
|
825
892
|
layers_select_dst: str | None = "ACTIVE",
|
|
826
893
|
mix_mode: str | None = "REPLACE",
|
|
827
|
-
mix_factor:
|
|
894
|
+
mix_factor: float | None = 1.0,
|
|
828
895
|
):
|
|
829
896
|
"""Transfer data layer(s) (weights, edge sharp, etc.) from active to selected meshes
|
|
830
897
|
|
|
@@ -832,9 +899,9 @@ def data_transfer(
|
|
|
832
899
|
:type execution_context: int | str | None
|
|
833
900
|
:type undo: bool | None
|
|
834
901
|
:param use_reverse_transfer: Reverse Transfer, Transfer from selected objects to active one
|
|
835
|
-
:type use_reverse_transfer: bool |
|
|
902
|
+
:type use_reverse_transfer: bool | None
|
|
836
903
|
:param use_freeze: Freeze Operator, Prevent changes to settings to re-run the operator, handy to change several things at once with heavy geometry
|
|
837
|
-
:type use_freeze: bool |
|
|
904
|
+
:type use_freeze: bool | None
|
|
838
905
|
:param data_type: Data Type, Which data to transfer
|
|
839
906
|
|
|
840
907
|
VGROUP_WEIGHTS
|
|
@@ -877,7 +944,7 @@ def data_transfer(
|
|
|
877
944
|
Freestyle Mark -- Transfer Freestyle face mark.
|
|
878
945
|
:type data_type: str | None
|
|
879
946
|
:param use_create: Create Data, Add data layers on destination meshes if needed
|
|
880
|
-
:type use_create: bool |
|
|
947
|
+
:type use_create: bool | None
|
|
881
948
|
:param vert_mapping: Vertex Mapping, Method used to map source vertices to destination ones
|
|
882
949
|
:type vert_mapping: str | None
|
|
883
950
|
:param edge_mapping: Edge Mapping, Method used to map source edges to destination ones
|
|
@@ -887,17 +954,17 @@ def data_transfer(
|
|
|
887
954
|
:param poly_mapping: Face Mapping, Method used to map source faces to destination ones
|
|
888
955
|
:type poly_mapping: str | None
|
|
889
956
|
:param use_auto_transform: Auto Transform, Automatically compute transformation to get the best possible match between source and destination meshes.Warning: Results will never be as good as manual matching of objects
|
|
890
|
-
:type use_auto_transform: bool |
|
|
957
|
+
:type use_auto_transform: bool | None
|
|
891
958
|
:param use_object_transform: Object Transform, Evaluate source and destination meshes in global space
|
|
892
|
-
:type use_object_transform: bool |
|
|
959
|
+
:type use_object_transform: bool | None
|
|
893
960
|
:param use_max_distance: Only Neighbor Geometry, Source elements must be closer than given distance from destination one
|
|
894
|
-
:type use_max_distance: bool |
|
|
961
|
+
:type use_max_distance: bool | None
|
|
895
962
|
:param max_distance: Max Distance, Maximum allowed distance between source and destination element, for non-topology mappings
|
|
896
|
-
:type max_distance:
|
|
963
|
+
:type max_distance: float | None
|
|
897
964
|
:param ray_radius: Ray Radius, 'Width' of rays (especially useful when raycasting against vertices or edges)
|
|
898
|
-
:type ray_radius:
|
|
965
|
+
:type ray_radius: float | None
|
|
899
966
|
:param islands_precision: Islands Precision, Factor controlling precision of islands handling (the higher, the better the results)
|
|
900
|
-
:type islands_precision:
|
|
967
|
+
:type islands_precision: float | None
|
|
901
968
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
902
969
|
:type layers_select_src: str | None
|
|
903
970
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
@@ -905,7 +972,7 @@ def data_transfer(
|
|
|
905
972
|
:param mix_mode: Mix Mode, How to affect destination elements with source values
|
|
906
973
|
:type mix_mode: str | None
|
|
907
974
|
:param mix_factor: Mix Factor, Factor to use when applying data to destination (exact behavior depends on mix mode)
|
|
908
|
-
:type mix_factor:
|
|
975
|
+
:type mix_factor: float | None
|
|
909
976
|
"""
|
|
910
977
|
|
|
911
978
|
...
|
|
@@ -915,9 +982,9 @@ def datalayout_transfer(
|
|
|
915
982
|
execution_context: int | str | None = None,
|
|
916
983
|
undo: bool | None = None,
|
|
917
984
|
*,
|
|
918
|
-
modifier: str
|
|
985
|
+
modifier: str = "",
|
|
919
986
|
data_type: str | None = "",
|
|
920
|
-
use_delete: bool |
|
|
987
|
+
use_delete: bool | None = False,
|
|
921
988
|
layers_select_src: str | None = "ACTIVE",
|
|
922
989
|
layers_select_dst: str | None = "ACTIVE",
|
|
923
990
|
):
|
|
@@ -927,7 +994,7 @@ def datalayout_transfer(
|
|
|
927
994
|
:type execution_context: int | str | None
|
|
928
995
|
:type undo: bool | None
|
|
929
996
|
:param modifier: Modifier, Name of the modifier to edit
|
|
930
|
-
:type modifier: str
|
|
997
|
+
:type modifier: str
|
|
931
998
|
:param data_type: Data Type, Which data to transfer
|
|
932
999
|
|
|
933
1000
|
VGROUP_WEIGHTS
|
|
@@ -970,7 +1037,7 @@ def datalayout_transfer(
|
|
|
970
1037
|
Freestyle Mark -- Transfer Freestyle face mark.
|
|
971
1038
|
:type data_type: str | None
|
|
972
1039
|
:param use_delete: Exact Match, Also delete some data layers from destination if necessary, so that it matches exactly source
|
|
973
|
-
:type use_delete: bool |
|
|
1040
|
+
:type use_delete: bool | None
|
|
974
1041
|
:param layers_select_src: Source Layers Selection, Which layers to transfer, in case of multi-layers types
|
|
975
1042
|
:type layers_select_src: str | None
|
|
976
1043
|
:param layers_select_dst: Destination Layers Matching, How to match source and destination layers
|
|
@@ -984,8 +1051,8 @@ def delete(
|
|
|
984
1051
|
execution_context: int | str | None = None,
|
|
985
1052
|
undo: bool | None = None,
|
|
986
1053
|
*,
|
|
987
|
-
use_global: bool |
|
|
988
|
-
confirm: bool |
|
|
1054
|
+
use_global: bool | None = False,
|
|
1055
|
+
confirm: bool | None = True,
|
|
989
1056
|
):
|
|
990
1057
|
"""Delete selected objects
|
|
991
1058
|
|
|
@@ -993,9 +1060,9 @@ def delete(
|
|
|
993
1060
|
:type execution_context: int | str | None
|
|
994
1061
|
:type undo: bool | None
|
|
995
1062
|
:param use_global: Delete Globally, Remove object from all scenes
|
|
996
|
-
:type use_global: bool |
|
|
1063
|
+
:type use_global: bool | None
|
|
997
1064
|
:param confirm: Confirm, Prompt for confirmation
|
|
998
|
-
:type confirm: bool |
|
|
1065
|
+
:type confirm: bool | None
|
|
999
1066
|
"""
|
|
1000
1067
|
|
|
1001
1068
|
...
|
|
@@ -1005,8 +1072,8 @@ def drop_geometry_nodes(
|
|
|
1005
1072
|
execution_context: int | str | None = None,
|
|
1006
1073
|
undo: bool | None = None,
|
|
1007
1074
|
*,
|
|
1008
|
-
session_uid:
|
|
1009
|
-
show_datablock_in_modifier: bool |
|
|
1075
|
+
session_uid: int | None = 0,
|
|
1076
|
+
show_datablock_in_modifier: bool | None = True,
|
|
1010
1077
|
):
|
|
1011
1078
|
"""Undocumented, consider contributing.
|
|
1012
1079
|
|
|
@@ -1014,9 +1081,9 @@ def drop_geometry_nodes(
|
|
|
1014
1081
|
:type execution_context: int | str | None
|
|
1015
1082
|
:type undo: bool | None
|
|
1016
1083
|
:param session_uid: Session UID, Session UID of the geometry node group being dropped
|
|
1017
|
-
:type session_uid:
|
|
1084
|
+
:type session_uid: int | None
|
|
1018
1085
|
:param show_datablock_in_modifier: Show the datablock selector in the modifier
|
|
1019
|
-
:type show_datablock_in_modifier: bool |
|
|
1086
|
+
:type show_datablock_in_modifier: bool | None
|
|
1020
1087
|
"""
|
|
1021
1088
|
|
|
1022
1089
|
...
|
|
@@ -1026,8 +1093,8 @@ def drop_named_material(
|
|
|
1026
1093
|
execution_context: int | str | None = None,
|
|
1027
1094
|
undo: bool | None = None,
|
|
1028
1095
|
*,
|
|
1029
|
-
name: str
|
|
1030
|
-
session_uid:
|
|
1096
|
+
name: str = "",
|
|
1097
|
+
session_uid: int | None = 0,
|
|
1031
1098
|
):
|
|
1032
1099
|
"""Undocumented, consider contributing.
|
|
1033
1100
|
|
|
@@ -1035,9 +1102,9 @@ def drop_named_material(
|
|
|
1035
1102
|
:type execution_context: int | str | None
|
|
1036
1103
|
:type undo: bool | None
|
|
1037
1104
|
:param name: Name, Name of the data-block to use by the operator
|
|
1038
|
-
:type name: str
|
|
1105
|
+
:type name: str
|
|
1039
1106
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1040
|
-
:type session_uid:
|
|
1107
|
+
:type session_uid: int | None
|
|
1041
1108
|
"""
|
|
1042
1109
|
|
|
1043
1110
|
...
|
|
@@ -1047,7 +1114,7 @@ def duplicate(
|
|
|
1047
1114
|
execution_context: int | str | None = None,
|
|
1048
1115
|
undo: bool | None = None,
|
|
1049
1116
|
*,
|
|
1050
|
-
linked: bool |
|
|
1117
|
+
linked: bool | None = False,
|
|
1051
1118
|
mode: str | None = "TRANSLATION",
|
|
1052
1119
|
):
|
|
1053
1120
|
"""Duplicate selected objects
|
|
@@ -1056,7 +1123,7 @@ def duplicate(
|
|
|
1056
1123
|
:type execution_context: int | str | None
|
|
1057
1124
|
:type undo: bool | None
|
|
1058
1125
|
:param linked: Linked, Duplicate object but not object data, linking to the original data
|
|
1059
|
-
:type linked: bool |
|
|
1126
|
+
:type linked: bool | None
|
|
1060
1127
|
:param mode: Mode
|
|
1061
1128
|
:type mode: str | None
|
|
1062
1129
|
"""
|
|
@@ -1110,8 +1177,8 @@ def duplicates_make_real(
|
|
|
1110
1177
|
execution_context: int | str | None = None,
|
|
1111
1178
|
undo: bool | None = None,
|
|
1112
1179
|
*,
|
|
1113
|
-
use_base_parent: bool |
|
|
1114
|
-
use_hierarchy: bool |
|
|
1180
|
+
use_base_parent: bool | None = False,
|
|
1181
|
+
use_hierarchy: bool | None = False,
|
|
1115
1182
|
):
|
|
1116
1183
|
"""Make instanced objects attached to this object real
|
|
1117
1184
|
|
|
@@ -1119,9 +1186,9 @@ def duplicates_make_real(
|
|
|
1119
1186
|
:type execution_context: int | str | None
|
|
1120
1187
|
:type undo: bool | None
|
|
1121
1188
|
:param use_base_parent: Parent, Parent newly created objects to the original instancer
|
|
1122
|
-
:type use_base_parent: bool |
|
|
1189
|
+
:type use_base_parent: bool | None
|
|
1123
1190
|
:param use_hierarchy: Keep Hierarchy, Maintain parent child relationships
|
|
1124
|
-
:type use_hierarchy: bool |
|
|
1191
|
+
:type use_hierarchy: bool | None
|
|
1125
1192
|
"""
|
|
1126
1193
|
|
|
1127
1194
|
...
|
|
@@ -1146,12 +1213,20 @@ def effector_add(
|
|
|
1146
1213
|
undo: bool | None = None,
|
|
1147
1214
|
*,
|
|
1148
1215
|
type: str | None = "FORCE",
|
|
1149
|
-
radius:
|
|
1150
|
-
enter_editmode: bool |
|
|
1216
|
+
radius: float | None = 1.0,
|
|
1217
|
+
enter_editmode: bool | None = False,
|
|
1151
1218
|
align: str | None = "WORLD",
|
|
1152
|
-
location:
|
|
1153
|
-
|
|
1154
|
-
|
|
1219
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1220
|
+
0.0,
|
|
1221
|
+
0.0,
|
|
1222
|
+
0.0,
|
|
1223
|
+
),
|
|
1224
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
1225
|
+
0.0,
|
|
1226
|
+
0.0,
|
|
1227
|
+
0.0,
|
|
1228
|
+
),
|
|
1229
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1155
1230
|
):
|
|
1156
1231
|
"""Add an empty object with a physics effector to the scene
|
|
1157
1232
|
|
|
@@ -1161,9 +1236,9 @@ def effector_add(
|
|
|
1161
1236
|
:param type: Type
|
|
1162
1237
|
:type type: str | None
|
|
1163
1238
|
:param radius: Radius
|
|
1164
|
-
:type radius:
|
|
1239
|
+
:type radius: float | None
|
|
1165
1240
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
1166
|
-
:type enter_editmode: bool |
|
|
1241
|
+
:type enter_editmode: bool | None
|
|
1167
1242
|
:param align: Align, The alignment of the new object
|
|
1168
1243
|
|
|
1169
1244
|
WORLD
|
|
@@ -1176,11 +1251,11 @@ def effector_add(
|
|
|
1176
1251
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1177
1252
|
:type align: str | None
|
|
1178
1253
|
:param location: Location, Location for the newly added object
|
|
1179
|
-
:type location:
|
|
1254
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1180
1255
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1181
|
-
:type rotation:
|
|
1256
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1182
1257
|
:param scale: Scale, Scale for the newly added object
|
|
1183
|
-
:type scale:
|
|
1258
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1184
1259
|
"""
|
|
1185
1260
|
|
|
1186
1261
|
...
|
|
@@ -1191,11 +1266,19 @@ def empty_add(
|
|
|
1191
1266
|
undo: bool | None = None,
|
|
1192
1267
|
*,
|
|
1193
1268
|
type: str | None = "PLAIN_AXES",
|
|
1194
|
-
radius:
|
|
1269
|
+
radius: float | None = 1.0,
|
|
1195
1270
|
align: str | None = "WORLD",
|
|
1196
|
-
location:
|
|
1197
|
-
|
|
1198
|
-
|
|
1271
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1272
|
+
0.0,
|
|
1273
|
+
0.0,
|
|
1274
|
+
0.0,
|
|
1275
|
+
),
|
|
1276
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
1277
|
+
0.0,
|
|
1278
|
+
0.0,
|
|
1279
|
+
0.0,
|
|
1280
|
+
),
|
|
1281
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1199
1282
|
):
|
|
1200
1283
|
"""Add an empty object to the scene
|
|
1201
1284
|
|
|
@@ -1205,7 +1288,7 @@ def empty_add(
|
|
|
1205
1288
|
:param type: Type
|
|
1206
1289
|
:type type: str | None
|
|
1207
1290
|
:param radius: Radius
|
|
1208
|
-
:type radius:
|
|
1291
|
+
:type radius: float | None
|
|
1209
1292
|
:param align: Align, The alignment of the new object
|
|
1210
1293
|
|
|
1211
1294
|
WORLD
|
|
@@ -1218,11 +1301,11 @@ def empty_add(
|
|
|
1218
1301
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1219
1302
|
:type align: str | None
|
|
1220
1303
|
:param location: Location, Location for the newly added object
|
|
1221
|
-
:type location:
|
|
1304
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1222
1305
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1223
|
-
:type rotation:
|
|
1306
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1224
1307
|
:param scale: Scale, Scale for the newly added object
|
|
1225
|
-
:type scale:
|
|
1308
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1226
1309
|
"""
|
|
1227
1310
|
|
|
1228
1311
|
...
|
|
@@ -1232,39 +1315,47 @@ def empty_image_add(
|
|
|
1232
1315
|
execution_context: int | str | None = None,
|
|
1233
1316
|
undo: bool | None = None,
|
|
1234
1317
|
*,
|
|
1235
|
-
filepath: str
|
|
1236
|
-
hide_props_region: bool |
|
|
1237
|
-
check_existing: bool |
|
|
1238
|
-
filter_blender: bool |
|
|
1239
|
-
filter_backup: bool |
|
|
1240
|
-
filter_image: bool |
|
|
1241
|
-
filter_movie: bool |
|
|
1242
|
-
filter_python: bool |
|
|
1243
|
-
filter_font: bool |
|
|
1244
|
-
filter_sound: bool |
|
|
1245
|
-
filter_text: bool |
|
|
1246
|
-
filter_archive: bool |
|
|
1247
|
-
filter_btx: bool |
|
|
1248
|
-
filter_collada: bool |
|
|
1249
|
-
filter_alembic: bool |
|
|
1250
|
-
filter_usd: bool |
|
|
1251
|
-
filter_obj: bool |
|
|
1252
|
-
filter_volume: bool |
|
|
1253
|
-
filter_folder: bool |
|
|
1254
|
-
filter_blenlib: bool |
|
|
1255
|
-
filemode:
|
|
1256
|
-
relative_path: bool |
|
|
1257
|
-
show_multiview: bool |
|
|
1258
|
-
use_multiview: bool |
|
|
1318
|
+
filepath: str = "",
|
|
1319
|
+
hide_props_region: bool | None = True,
|
|
1320
|
+
check_existing: bool | None = False,
|
|
1321
|
+
filter_blender: bool | None = False,
|
|
1322
|
+
filter_backup: bool | None = False,
|
|
1323
|
+
filter_image: bool | None = True,
|
|
1324
|
+
filter_movie: bool | None = True,
|
|
1325
|
+
filter_python: bool | None = False,
|
|
1326
|
+
filter_font: bool | None = False,
|
|
1327
|
+
filter_sound: bool | None = False,
|
|
1328
|
+
filter_text: bool | None = False,
|
|
1329
|
+
filter_archive: bool | None = False,
|
|
1330
|
+
filter_btx: bool | None = False,
|
|
1331
|
+
filter_collada: bool | None = False,
|
|
1332
|
+
filter_alembic: bool | None = False,
|
|
1333
|
+
filter_usd: bool | None = False,
|
|
1334
|
+
filter_obj: bool | None = False,
|
|
1335
|
+
filter_volume: bool | None = False,
|
|
1336
|
+
filter_folder: bool | None = True,
|
|
1337
|
+
filter_blenlib: bool | None = False,
|
|
1338
|
+
filemode: int | None = 9,
|
|
1339
|
+
relative_path: bool | None = True,
|
|
1340
|
+
show_multiview: bool | None = False,
|
|
1341
|
+
use_multiview: bool | None = False,
|
|
1259
1342
|
display_type: str | None = "DEFAULT",
|
|
1260
1343
|
sort_method: str | None = "",
|
|
1261
|
-
name: str
|
|
1262
|
-
session_uid:
|
|
1344
|
+
name: str = "",
|
|
1345
|
+
session_uid: int | None = 0,
|
|
1263
1346
|
align: str | None = "WORLD",
|
|
1264
|
-
location:
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1347
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1348
|
+
0.0,
|
|
1349
|
+
0.0,
|
|
1350
|
+
0.0,
|
|
1351
|
+
),
|
|
1352
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
1353
|
+
0.0,
|
|
1354
|
+
0.0,
|
|
1355
|
+
0.0,
|
|
1356
|
+
),
|
|
1357
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1358
|
+
background: bool | None = False,
|
|
1268
1359
|
):
|
|
1269
1360
|
"""Add an empty image type to scene with data
|
|
1270
1361
|
|
|
@@ -1272,53 +1363,53 @@ def empty_image_add(
|
|
|
1272
1363
|
:type execution_context: int | str | None
|
|
1273
1364
|
:type undo: bool | None
|
|
1274
1365
|
:param filepath: File Path, Path to file
|
|
1275
|
-
:type filepath: str
|
|
1366
|
+
:type filepath: str
|
|
1276
1367
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
1277
|
-
:type hide_props_region: bool |
|
|
1368
|
+
:type hide_props_region: bool | None
|
|
1278
1369
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
1279
|
-
:type check_existing: bool |
|
|
1370
|
+
:type check_existing: bool | None
|
|
1280
1371
|
:param filter_blender: Filter .blend files
|
|
1281
|
-
:type filter_blender: bool |
|
|
1372
|
+
:type filter_blender: bool | None
|
|
1282
1373
|
:param filter_backup: Filter .blend files
|
|
1283
|
-
:type filter_backup: bool |
|
|
1374
|
+
:type filter_backup: bool | None
|
|
1284
1375
|
:param filter_image: Filter image files
|
|
1285
|
-
:type filter_image: bool |
|
|
1376
|
+
:type filter_image: bool | None
|
|
1286
1377
|
:param filter_movie: Filter movie files
|
|
1287
|
-
:type filter_movie: bool |
|
|
1378
|
+
:type filter_movie: bool | None
|
|
1288
1379
|
:param filter_python: Filter Python files
|
|
1289
|
-
:type filter_python: bool |
|
|
1380
|
+
:type filter_python: bool | None
|
|
1290
1381
|
:param filter_font: Filter font files
|
|
1291
|
-
:type filter_font: bool |
|
|
1382
|
+
:type filter_font: bool | None
|
|
1292
1383
|
:param filter_sound: Filter sound files
|
|
1293
|
-
:type filter_sound: bool |
|
|
1384
|
+
:type filter_sound: bool | None
|
|
1294
1385
|
:param filter_text: Filter text files
|
|
1295
|
-
:type filter_text: bool |
|
|
1386
|
+
:type filter_text: bool | None
|
|
1296
1387
|
:param filter_archive: Filter archive files
|
|
1297
|
-
:type filter_archive: bool |
|
|
1388
|
+
:type filter_archive: bool | None
|
|
1298
1389
|
:param filter_btx: Filter btx files
|
|
1299
|
-
:type filter_btx: bool |
|
|
1390
|
+
:type filter_btx: bool | None
|
|
1300
1391
|
:param filter_collada: Filter COLLADA files
|
|
1301
|
-
:type filter_collada: bool |
|
|
1392
|
+
:type filter_collada: bool | None
|
|
1302
1393
|
:param filter_alembic: Filter Alembic files
|
|
1303
|
-
:type filter_alembic: bool |
|
|
1394
|
+
:type filter_alembic: bool | None
|
|
1304
1395
|
:param filter_usd: Filter USD files
|
|
1305
|
-
:type filter_usd: bool |
|
|
1396
|
+
:type filter_usd: bool | None
|
|
1306
1397
|
:param filter_obj: Filter OBJ files
|
|
1307
|
-
:type filter_obj: bool |
|
|
1398
|
+
:type filter_obj: bool | None
|
|
1308
1399
|
:param filter_volume: Filter OpenVDB volume files
|
|
1309
|
-
:type filter_volume: bool |
|
|
1400
|
+
:type filter_volume: bool | None
|
|
1310
1401
|
:param filter_folder: Filter folders
|
|
1311
|
-
:type filter_folder: bool |
|
|
1402
|
+
:type filter_folder: bool | None
|
|
1312
1403
|
:param filter_blenlib: Filter Blender IDs
|
|
1313
|
-
:type filter_blenlib: bool |
|
|
1404
|
+
:type filter_blenlib: bool | None
|
|
1314
1405
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
1315
|
-
:type filemode:
|
|
1406
|
+
:type filemode: int | None
|
|
1316
1407
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
1317
|
-
:type relative_path: bool |
|
|
1408
|
+
:type relative_path: bool | None
|
|
1318
1409
|
:param show_multiview: Enable Multi-View
|
|
1319
|
-
:type show_multiview: bool |
|
|
1410
|
+
:type show_multiview: bool | None
|
|
1320
1411
|
:param use_multiview: Use Multi-View
|
|
1321
|
-
:type use_multiview: bool |
|
|
1412
|
+
:type use_multiview: bool | None
|
|
1322
1413
|
:param display_type: Display Type
|
|
1323
1414
|
|
|
1324
1415
|
DEFAULT
|
|
@@ -1351,9 +1442,9 @@ def empty_image_add(
|
|
|
1351
1442
|
Size -- Sort files by size.
|
|
1352
1443
|
:type sort_method: str | None
|
|
1353
1444
|
:param name: Name, Name of the data-block to use by the operator
|
|
1354
|
-
:type name: str
|
|
1445
|
+
:type name: str
|
|
1355
1446
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1356
|
-
:type session_uid:
|
|
1447
|
+
:type session_uid: int | None
|
|
1357
1448
|
:param align: Align, The alignment of the new object
|
|
1358
1449
|
|
|
1359
1450
|
WORLD
|
|
@@ -1366,13 +1457,13 @@ def empty_image_add(
|
|
|
1366
1457
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1367
1458
|
:type align: str | None
|
|
1368
1459
|
:param location: Location, Location for the newly added object
|
|
1369
|
-
:type location:
|
|
1460
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1370
1461
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1371
|
-
:type rotation:
|
|
1462
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1372
1463
|
:param scale: Scale, Scale for the newly added object
|
|
1373
|
-
:type scale:
|
|
1464
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1374
1465
|
:param background: Put in Background, Make the image render behind all objects
|
|
1375
|
-
:type background: bool |
|
|
1466
|
+
:type background: bool | None
|
|
1376
1467
|
"""
|
|
1377
1468
|
|
|
1378
1469
|
...
|
|
@@ -1382,7 +1473,7 @@ def explode_refresh(
|
|
|
1382
1473
|
execution_context: int | str | None = None,
|
|
1383
1474
|
undo: bool | None = None,
|
|
1384
1475
|
*,
|
|
1385
|
-
modifier: str
|
|
1476
|
+
modifier: str = "",
|
|
1386
1477
|
):
|
|
1387
1478
|
"""Refresh data in the Explode modifier
|
|
1388
1479
|
|
|
@@ -1390,7 +1481,7 @@ def explode_refresh(
|
|
|
1390
1481
|
:type execution_context: int | str | None
|
|
1391
1482
|
:type undo: bool | None
|
|
1392
1483
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1393
|
-
:type modifier: str
|
|
1484
|
+
:type modifier: str
|
|
1394
1485
|
"""
|
|
1395
1486
|
|
|
1396
1487
|
...
|
|
@@ -1414,9 +1505,9 @@ def geometry_node_bake_delete_single(
|
|
|
1414
1505
|
execution_context: int | str | None = None,
|
|
1415
1506
|
undo: bool | None = None,
|
|
1416
1507
|
*,
|
|
1417
|
-
session_uid:
|
|
1418
|
-
modifier_name: str
|
|
1419
|
-
bake_id:
|
|
1508
|
+
session_uid: int | None = 0,
|
|
1509
|
+
modifier_name: str = "",
|
|
1510
|
+
bake_id: int | None = 0,
|
|
1420
1511
|
):
|
|
1421
1512
|
"""Delete baked data of a single bake node or simulation
|
|
1422
1513
|
|
|
@@ -1424,11 +1515,11 @@ def geometry_node_bake_delete_single(
|
|
|
1424
1515
|
:type execution_context: int | str | None
|
|
1425
1516
|
:type undo: bool | None
|
|
1426
1517
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1427
|
-
:type session_uid:
|
|
1518
|
+
:type session_uid: int | None
|
|
1428
1519
|
:param modifier_name: Modifier Name, Name of the modifier that contains the node
|
|
1429
|
-
:type modifier_name: str
|
|
1520
|
+
:type modifier_name: str
|
|
1430
1521
|
:param bake_id: Bake ID, Nested node id of the node
|
|
1431
|
-
:type bake_id:
|
|
1522
|
+
:type bake_id: int | None
|
|
1432
1523
|
"""
|
|
1433
1524
|
|
|
1434
1525
|
...
|
|
@@ -1438,9 +1529,9 @@ def geometry_node_bake_single(
|
|
|
1438
1529
|
execution_context: int | str | None = None,
|
|
1439
1530
|
undo: bool | None = None,
|
|
1440
1531
|
*,
|
|
1441
|
-
session_uid:
|
|
1442
|
-
modifier_name: str
|
|
1443
|
-
bake_id:
|
|
1532
|
+
session_uid: int | None = 0,
|
|
1533
|
+
modifier_name: str = "",
|
|
1534
|
+
bake_id: int | None = 0,
|
|
1444
1535
|
):
|
|
1445
1536
|
"""Bake a single bake node or simulation
|
|
1446
1537
|
|
|
@@ -1448,11 +1539,11 @@ def geometry_node_bake_single(
|
|
|
1448
1539
|
:type execution_context: int | str | None
|
|
1449
1540
|
:type undo: bool | None
|
|
1450
1541
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
1451
|
-
:type session_uid:
|
|
1542
|
+
:type session_uid: int | None
|
|
1452
1543
|
:param modifier_name: Modifier Name, Name of the modifier that contains the node
|
|
1453
|
-
:type modifier_name: str
|
|
1544
|
+
:type modifier_name: str
|
|
1454
1545
|
:param bake_id: Bake ID, Nested node id of the node
|
|
1455
|
-
:type bake_id:
|
|
1546
|
+
:type bake_id: int | None
|
|
1456
1547
|
"""
|
|
1457
1548
|
|
|
1458
1549
|
...
|
|
@@ -1476,8 +1567,8 @@ def geometry_nodes_input_attribute_toggle(
|
|
|
1476
1567
|
execution_context: int | str | None = None,
|
|
1477
1568
|
undo: bool | None = None,
|
|
1478
1569
|
*,
|
|
1479
|
-
input_name: str
|
|
1480
|
-
modifier_name: str
|
|
1570
|
+
input_name: str = "",
|
|
1571
|
+
modifier_name: str = "",
|
|
1481
1572
|
):
|
|
1482
1573
|
"""Switch between an attribute and a single value to define the data for every element
|
|
1483
1574
|
|
|
@@ -1485,9 +1576,9 @@ def geometry_nodes_input_attribute_toggle(
|
|
|
1485
1576
|
:type execution_context: int | str | None
|
|
1486
1577
|
:type undo: bool | None
|
|
1487
1578
|
:param input_name: Input Name
|
|
1488
|
-
:type input_name: str
|
|
1579
|
+
:type input_name: str
|
|
1489
1580
|
:param modifier_name: Modifier Name
|
|
1490
|
-
:type modifier_name: str
|
|
1581
|
+
:type modifier_name: str
|
|
1491
1582
|
"""
|
|
1492
1583
|
|
|
1493
1584
|
...
|
|
@@ -1497,7 +1588,7 @@ def geometry_nodes_move_to_nodes(
|
|
|
1497
1588
|
execution_context: int | str | None = None,
|
|
1498
1589
|
undo: bool | None = None,
|
|
1499
1590
|
*,
|
|
1500
|
-
use_selected_objects: bool |
|
|
1591
|
+
use_selected_objects: bool | None = False,
|
|
1501
1592
|
):
|
|
1502
1593
|
"""Move inputs and outputs from in the modifier to a new node group
|
|
1503
1594
|
|
|
@@ -1505,7 +1596,7 @@ def geometry_nodes_move_to_nodes(
|
|
|
1505
1596
|
:type execution_context: int | str | None
|
|
1506
1597
|
:type undo: bool | None
|
|
1507
1598
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
1508
|
-
:type use_selected_objects: bool |
|
|
1599
|
+
:type use_selected_objects: bool | None
|
|
1509
1600
|
"""
|
|
1510
1601
|
|
|
1511
1602
|
...
|
|
@@ -1515,15 +1606,23 @@ def gpencil_add(
|
|
|
1515
1606
|
execution_context: int | str | None = None,
|
|
1516
1607
|
undo: bool | None = None,
|
|
1517
1608
|
*,
|
|
1518
|
-
radius:
|
|
1609
|
+
radius: float | None = 1.0,
|
|
1519
1610
|
align: str | None = "WORLD",
|
|
1520
|
-
location:
|
|
1521
|
-
|
|
1522
|
-
|
|
1611
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1612
|
+
0.0,
|
|
1613
|
+
0.0,
|
|
1614
|
+
0.0,
|
|
1615
|
+
),
|
|
1616
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
1617
|
+
0.0,
|
|
1618
|
+
0.0,
|
|
1619
|
+
0.0,
|
|
1620
|
+
),
|
|
1621
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1523
1622
|
type: str | None = "EMPTY",
|
|
1524
|
-
use_in_front: bool |
|
|
1525
|
-
stroke_depth_offset:
|
|
1526
|
-
use_lights: bool |
|
|
1623
|
+
use_in_front: bool | None = True,
|
|
1624
|
+
stroke_depth_offset: float | None = 0.05,
|
|
1625
|
+
use_lights: bool | None = False,
|
|
1527
1626
|
stroke_depth_order: str | None = "3D",
|
|
1528
1627
|
):
|
|
1529
1628
|
"""Add a Grease Pencil object to the scene
|
|
@@ -1532,7 +1631,7 @@ def gpencil_add(
|
|
|
1532
1631
|
:type execution_context: int | str | None
|
|
1533
1632
|
:type undo: bool | None
|
|
1534
1633
|
:param radius: Radius
|
|
1535
|
-
:type radius:
|
|
1634
|
+
:type radius: float | None
|
|
1536
1635
|
:param align: Align, The alignment of the new object
|
|
1537
1636
|
|
|
1538
1637
|
WORLD
|
|
@@ -1545,19 +1644,19 @@ def gpencil_add(
|
|
|
1545
1644
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1546
1645
|
:type align: str | None
|
|
1547
1646
|
:param location: Location, Location for the newly added object
|
|
1548
|
-
:type location:
|
|
1647
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1549
1648
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1550
|
-
:type rotation:
|
|
1649
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1551
1650
|
:param scale: Scale, Scale for the newly added object
|
|
1552
|
-
:type scale:
|
|
1651
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1553
1652
|
:param type: Type
|
|
1554
1653
|
:type type: str | None
|
|
1555
1654
|
:param use_in_front: Show In Front, Show Line Art grease pencil in front of everything
|
|
1556
|
-
:type use_in_front: bool |
|
|
1655
|
+
:type use_in_front: bool | None
|
|
1557
1656
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
1558
|
-
:type stroke_depth_offset:
|
|
1657
|
+
:type stroke_depth_offset: float | None
|
|
1559
1658
|
:param use_lights: Use Lights, Use lights for this grease pencil object
|
|
1560
|
-
:type use_lights: bool |
|
|
1659
|
+
:type use_lights: bool | None
|
|
1561
1660
|
:param stroke_depth_order: Stroke Depth Order, Defines how the strokes are ordered in 3D space (for objects not displayed 'In Front')
|
|
1562
1661
|
|
|
1563
1662
|
2D
|
|
@@ -1594,8 +1693,8 @@ def gpencil_modifier_apply(
|
|
|
1594
1693
|
undo: bool | None = None,
|
|
1595
1694
|
*,
|
|
1596
1695
|
apply_as: str | None = "DATA",
|
|
1597
|
-
modifier: str
|
|
1598
|
-
report: bool |
|
|
1696
|
+
modifier: str = "",
|
|
1697
|
+
report: bool | None = False,
|
|
1599
1698
|
):
|
|
1600
1699
|
"""Apply modifier and remove from the stack
|
|
1601
1700
|
|
|
@@ -1611,9 +1710,9 @@ def gpencil_modifier_apply(
|
|
|
1611
1710
|
New Shape -- Apply deform-only modifier to a new shape on this object.
|
|
1612
1711
|
:type apply_as: str | None
|
|
1613
1712
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1614
|
-
:type modifier: str
|
|
1713
|
+
:type modifier: str
|
|
1615
1714
|
:param report: Report, Create a notification after the operation
|
|
1616
|
-
:type report: bool |
|
|
1715
|
+
:type report: bool | None
|
|
1617
1716
|
"""
|
|
1618
1717
|
|
|
1619
1718
|
...
|
|
@@ -1623,7 +1722,7 @@ def gpencil_modifier_copy(
|
|
|
1623
1722
|
execution_context: int | str | None = None,
|
|
1624
1723
|
undo: bool | None = None,
|
|
1625
1724
|
*,
|
|
1626
|
-
modifier: str
|
|
1725
|
+
modifier: str = "",
|
|
1627
1726
|
):
|
|
1628
1727
|
"""Duplicate modifier at the same position in the stack
|
|
1629
1728
|
|
|
@@ -1631,7 +1730,7 @@ def gpencil_modifier_copy(
|
|
|
1631
1730
|
:type execution_context: int | str | None
|
|
1632
1731
|
:type undo: bool | None
|
|
1633
1732
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1634
|
-
:type modifier: str
|
|
1733
|
+
:type modifier: str
|
|
1635
1734
|
"""
|
|
1636
1735
|
|
|
1637
1736
|
...
|
|
@@ -1641,7 +1740,7 @@ def gpencil_modifier_copy_to_selected(
|
|
|
1641
1740
|
execution_context: int | str | None = None,
|
|
1642
1741
|
undo: bool | None = None,
|
|
1643
1742
|
*,
|
|
1644
|
-
modifier: str
|
|
1743
|
+
modifier: str = "",
|
|
1645
1744
|
):
|
|
1646
1745
|
"""Copy the modifier from the active object to all selected objects
|
|
1647
1746
|
|
|
@@ -1649,7 +1748,7 @@ def gpencil_modifier_copy_to_selected(
|
|
|
1649
1748
|
:type execution_context: int | str | None
|
|
1650
1749
|
:type undo: bool | None
|
|
1651
1750
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1652
|
-
:type modifier: str
|
|
1751
|
+
:type modifier: str
|
|
1653
1752
|
"""
|
|
1654
1753
|
|
|
1655
1754
|
...
|
|
@@ -1659,7 +1758,7 @@ def gpencil_modifier_move_down(
|
|
|
1659
1758
|
execution_context: int | str | None = None,
|
|
1660
1759
|
undo: bool | None = None,
|
|
1661
1760
|
*,
|
|
1662
|
-
modifier: str
|
|
1761
|
+
modifier: str = "",
|
|
1663
1762
|
):
|
|
1664
1763
|
"""Move modifier down in the stack
|
|
1665
1764
|
|
|
@@ -1667,7 +1766,7 @@ def gpencil_modifier_move_down(
|
|
|
1667
1766
|
:type execution_context: int | str | None
|
|
1668
1767
|
:type undo: bool | None
|
|
1669
1768
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1670
|
-
:type modifier: str
|
|
1769
|
+
:type modifier: str
|
|
1671
1770
|
"""
|
|
1672
1771
|
|
|
1673
1772
|
...
|
|
@@ -1677,8 +1776,8 @@ def gpencil_modifier_move_to_index(
|
|
|
1677
1776
|
execution_context: int | str | None = None,
|
|
1678
1777
|
undo: bool | None = None,
|
|
1679
1778
|
*,
|
|
1680
|
-
modifier: str
|
|
1681
|
-
index:
|
|
1779
|
+
modifier: str = "",
|
|
1780
|
+
index: int | None = 0,
|
|
1682
1781
|
):
|
|
1683
1782
|
"""Change the modifier's position in the list so it evaluates after the set number of others
|
|
1684
1783
|
|
|
@@ -1686,9 +1785,9 @@ def gpencil_modifier_move_to_index(
|
|
|
1686
1785
|
:type execution_context: int | str | None
|
|
1687
1786
|
:type undo: bool | None
|
|
1688
1787
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1689
|
-
:type modifier: str
|
|
1788
|
+
:type modifier: str
|
|
1690
1789
|
:param index: Index, The index to move the modifier to
|
|
1691
|
-
:type index:
|
|
1790
|
+
:type index: int | None
|
|
1692
1791
|
"""
|
|
1693
1792
|
|
|
1694
1793
|
...
|
|
@@ -1698,7 +1797,7 @@ def gpencil_modifier_move_up(
|
|
|
1698
1797
|
execution_context: int | str | None = None,
|
|
1699
1798
|
undo: bool | None = None,
|
|
1700
1799
|
*,
|
|
1701
|
-
modifier: str
|
|
1800
|
+
modifier: str = "",
|
|
1702
1801
|
):
|
|
1703
1802
|
"""Move modifier up in the stack
|
|
1704
1803
|
|
|
@@ -1706,7 +1805,7 @@ def gpencil_modifier_move_up(
|
|
|
1706
1805
|
:type execution_context: int | str | None
|
|
1707
1806
|
:type undo: bool | None
|
|
1708
1807
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1709
|
-
:type modifier: str
|
|
1808
|
+
:type modifier: str
|
|
1710
1809
|
"""
|
|
1711
1810
|
|
|
1712
1811
|
...
|
|
@@ -1716,8 +1815,8 @@ def gpencil_modifier_remove(
|
|
|
1716
1815
|
execution_context: int | str | None = None,
|
|
1717
1816
|
undo: bool | None = None,
|
|
1718
1817
|
*,
|
|
1719
|
-
modifier: str
|
|
1720
|
-
report: bool |
|
|
1818
|
+
modifier: str = "",
|
|
1819
|
+
report: bool | None = False,
|
|
1721
1820
|
):
|
|
1722
1821
|
"""Remove a modifier from the active grease pencil object
|
|
1723
1822
|
|
|
@@ -1725,9 +1824,9 @@ def gpencil_modifier_remove(
|
|
|
1725
1824
|
:type execution_context: int | str | None
|
|
1726
1825
|
:type undo: bool | None
|
|
1727
1826
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1728
|
-
:type modifier: str
|
|
1827
|
+
:type modifier: str
|
|
1729
1828
|
:param report: Report, Create a notification after the operation
|
|
1730
|
-
:type report: bool |
|
|
1829
|
+
:type report: bool | None
|
|
1731
1830
|
"""
|
|
1732
1831
|
|
|
1733
1832
|
...
|
|
@@ -1738,15 +1837,23 @@ def grease_pencil_add(
|
|
|
1738
1837
|
undo: bool | None = None,
|
|
1739
1838
|
*,
|
|
1740
1839
|
type: str | None = "EMPTY",
|
|
1741
|
-
use_in_front: bool |
|
|
1742
|
-
stroke_depth_offset:
|
|
1743
|
-
use_lights: bool |
|
|
1840
|
+
use_in_front: bool | None = True,
|
|
1841
|
+
stroke_depth_offset: float | None = 0.05,
|
|
1842
|
+
use_lights: bool | None = False,
|
|
1744
1843
|
stroke_depth_order: str | None = "3D",
|
|
1745
|
-
radius:
|
|
1844
|
+
radius: float | None = 1.0,
|
|
1746
1845
|
align: str | None = "WORLD",
|
|
1747
|
-
location:
|
|
1748
|
-
|
|
1749
|
-
|
|
1846
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1847
|
+
0.0,
|
|
1848
|
+
0.0,
|
|
1849
|
+
0.0,
|
|
1850
|
+
),
|
|
1851
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
1852
|
+
0.0,
|
|
1853
|
+
0.0,
|
|
1854
|
+
0.0,
|
|
1855
|
+
),
|
|
1856
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
1750
1857
|
):
|
|
1751
1858
|
"""Add a Grease Pencil object to the scene
|
|
1752
1859
|
|
|
@@ -1756,11 +1863,11 @@ def grease_pencil_add(
|
|
|
1756
1863
|
:param type: Type
|
|
1757
1864
|
:type type: str | None
|
|
1758
1865
|
:param use_in_front: Show In Front, Show Line Art grease pencil in front of everything
|
|
1759
|
-
:type use_in_front: bool |
|
|
1866
|
+
:type use_in_front: bool | None
|
|
1760
1867
|
:param stroke_depth_offset: Stroke Offset, Stroke offset for the Line Art modifier
|
|
1761
|
-
:type stroke_depth_offset:
|
|
1868
|
+
:type stroke_depth_offset: float | None
|
|
1762
1869
|
:param use_lights: Use Lights, Use lights for this grease pencil object
|
|
1763
|
-
:type use_lights: bool |
|
|
1870
|
+
:type use_lights: bool | None
|
|
1764
1871
|
:param stroke_depth_order: Stroke Depth Order, Defines how the strokes are ordered in 3D space (for objects not displayed 'In Front')
|
|
1765
1872
|
|
|
1766
1873
|
2D
|
|
@@ -1770,7 +1877,7 @@ def grease_pencil_add(
|
|
|
1770
1877
|
3D Location -- Display strokes using real 3D position in 3D space.
|
|
1771
1878
|
:type stroke_depth_order: str | None
|
|
1772
1879
|
:param radius: Radius
|
|
1773
|
-
:type radius:
|
|
1880
|
+
:type radius: float | None
|
|
1774
1881
|
:param align: Align, The alignment of the new object
|
|
1775
1882
|
|
|
1776
1883
|
WORLD
|
|
@@ -1783,11 +1890,11 @@ def grease_pencil_add(
|
|
|
1783
1890
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
1784
1891
|
:type align: str | None
|
|
1785
1892
|
:param location: Location, Location for the newly added object
|
|
1786
|
-
:type location:
|
|
1893
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1787
1894
|
:param rotation: Rotation, Rotation for the newly added object
|
|
1788
|
-
:type rotation:
|
|
1895
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
1789
1896
|
:param scale: Scale, Scale for the newly added object
|
|
1790
|
-
:type scale:
|
|
1897
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1791
1898
|
"""
|
|
1792
1899
|
|
|
1793
1900
|
...
|
|
@@ -1797,7 +1904,7 @@ def grease_pencil_dash_modifier_segment_add(
|
|
|
1797
1904
|
execution_context: int | str | None = None,
|
|
1798
1905
|
undo: bool | None = None,
|
|
1799
1906
|
*,
|
|
1800
|
-
modifier: str
|
|
1907
|
+
modifier: str = "",
|
|
1801
1908
|
):
|
|
1802
1909
|
"""Add a segment to the dash modifier
|
|
1803
1910
|
|
|
@@ -1805,7 +1912,7 @@ def grease_pencil_dash_modifier_segment_add(
|
|
|
1805
1912
|
:type execution_context: int | str | None
|
|
1806
1913
|
:type undo: bool | None
|
|
1807
1914
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1808
|
-
:type modifier: str
|
|
1915
|
+
:type modifier: str
|
|
1809
1916
|
"""
|
|
1810
1917
|
|
|
1811
1918
|
...
|
|
@@ -1815,7 +1922,7 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1815
1922
|
execution_context: int | str | None = None,
|
|
1816
1923
|
undo: bool | None = None,
|
|
1817
1924
|
*,
|
|
1818
|
-
modifier: str
|
|
1925
|
+
modifier: str = "",
|
|
1819
1926
|
type: str | None = "UP",
|
|
1820
1927
|
):
|
|
1821
1928
|
"""Move the active dash segment up or down
|
|
@@ -1824,7 +1931,7 @@ def grease_pencil_dash_modifier_segment_move(
|
|
|
1824
1931
|
:type execution_context: int | str | None
|
|
1825
1932
|
:type undo: bool | None
|
|
1826
1933
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1827
|
-
:type modifier: str
|
|
1934
|
+
:type modifier: str
|
|
1828
1935
|
:param type: Type
|
|
1829
1936
|
:type type: str | None
|
|
1830
1937
|
"""
|
|
@@ -1836,8 +1943,8 @@ def grease_pencil_dash_modifier_segment_remove(
|
|
|
1836
1943
|
execution_context: int | str | None = None,
|
|
1837
1944
|
undo: bool | None = None,
|
|
1838
1945
|
*,
|
|
1839
|
-
modifier: str
|
|
1840
|
-
index:
|
|
1946
|
+
modifier: str = "",
|
|
1947
|
+
index: int | None = 0,
|
|
1841
1948
|
):
|
|
1842
1949
|
"""Remove the active segment from the dash modifier
|
|
1843
1950
|
|
|
@@ -1845,9 +1952,9 @@ def grease_pencil_dash_modifier_segment_remove(
|
|
|
1845
1952
|
:type execution_context: int | str | None
|
|
1846
1953
|
:type undo: bool | None
|
|
1847
1954
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1848
|
-
:type modifier: str
|
|
1955
|
+
:type modifier: str
|
|
1849
1956
|
:param index: Index, Index of the segment to remove
|
|
1850
|
-
:type index:
|
|
1957
|
+
:type index: int | None
|
|
1851
1958
|
"""
|
|
1852
1959
|
|
|
1853
1960
|
...
|
|
@@ -1857,7 +1964,7 @@ def grease_pencil_time_modifier_segment_add(
|
|
|
1857
1964
|
execution_context: int | str | None = None,
|
|
1858
1965
|
undo: bool | None = None,
|
|
1859
1966
|
*,
|
|
1860
|
-
modifier: str
|
|
1967
|
+
modifier: str = "",
|
|
1861
1968
|
):
|
|
1862
1969
|
"""Add a segment to the time modifier
|
|
1863
1970
|
|
|
@@ -1865,7 +1972,7 @@ def grease_pencil_time_modifier_segment_add(
|
|
|
1865
1972
|
:type execution_context: int | str | None
|
|
1866
1973
|
:type undo: bool | None
|
|
1867
1974
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1868
|
-
:type modifier: str
|
|
1975
|
+
:type modifier: str
|
|
1869
1976
|
"""
|
|
1870
1977
|
|
|
1871
1978
|
...
|
|
@@ -1875,7 +1982,7 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1875
1982
|
execution_context: int | str | None = None,
|
|
1876
1983
|
undo: bool | None = None,
|
|
1877
1984
|
*,
|
|
1878
|
-
modifier: str
|
|
1985
|
+
modifier: str = "",
|
|
1879
1986
|
type: str | None = "UP",
|
|
1880
1987
|
):
|
|
1881
1988
|
"""Move the active time segment up or down
|
|
@@ -1884,7 +1991,7 @@ def grease_pencil_time_modifier_segment_move(
|
|
|
1884
1991
|
:type execution_context: int | str | None
|
|
1885
1992
|
:type undo: bool | None
|
|
1886
1993
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1887
|
-
:type modifier: str
|
|
1994
|
+
:type modifier: str
|
|
1888
1995
|
:param type: Type
|
|
1889
1996
|
:type type: str | None
|
|
1890
1997
|
"""
|
|
@@ -1896,8 +2003,8 @@ def grease_pencil_time_modifier_segment_remove(
|
|
|
1896
2003
|
execution_context: int | str | None = None,
|
|
1897
2004
|
undo: bool | None = None,
|
|
1898
2005
|
*,
|
|
1899
|
-
modifier: str
|
|
1900
|
-
index:
|
|
2006
|
+
modifier: str = "",
|
|
2007
|
+
index: int | None = 0,
|
|
1901
2008
|
):
|
|
1902
2009
|
"""Remove the active segment from the time modifier
|
|
1903
2010
|
|
|
@@ -1905,9 +2012,9 @@ def grease_pencil_time_modifier_segment_remove(
|
|
|
1905
2012
|
:type execution_context: int | str | None
|
|
1906
2013
|
:type undo: bool | None
|
|
1907
2014
|
:param modifier: Modifier, Name of the modifier to edit
|
|
1908
|
-
:type modifier: str
|
|
2015
|
+
:type modifier: str
|
|
1909
2016
|
:param index: Index, Index of the segment to remove
|
|
1910
|
-
:type index:
|
|
2017
|
+
:type index: int | None
|
|
1911
2018
|
"""
|
|
1912
2019
|
|
|
1913
2020
|
...
|
|
@@ -1917,9 +2024,9 @@ def hide_collection(
|
|
|
1917
2024
|
execution_context: int | str | None = None,
|
|
1918
2025
|
undo: bool | None = None,
|
|
1919
2026
|
*,
|
|
1920
|
-
collection_index:
|
|
1921
|
-
toggle: bool |
|
|
1922
|
-
extend: bool |
|
|
2027
|
+
collection_index: int | None = -1,
|
|
2028
|
+
toggle: bool | None = False,
|
|
2029
|
+
extend: bool | None = False,
|
|
1923
2030
|
):
|
|
1924
2031
|
"""Show only objects in collection (Shift to extend)
|
|
1925
2032
|
|
|
@@ -1927,11 +2034,11 @@ def hide_collection(
|
|
|
1927
2034
|
:type execution_context: int | str | None
|
|
1928
2035
|
:type undo: bool | None
|
|
1929
2036
|
:param collection_index: Collection Index, Index of the collection to change visibility
|
|
1930
|
-
:type collection_index:
|
|
2037
|
+
:type collection_index: int | None
|
|
1931
2038
|
:param toggle: Toggle, Toggle visibility
|
|
1932
|
-
:type toggle: bool |
|
|
2039
|
+
:type toggle: bool | None
|
|
1933
2040
|
:param extend: Extend, Extend visibility
|
|
1934
|
-
:type extend: bool |
|
|
2041
|
+
:type extend: bool | None
|
|
1935
2042
|
"""
|
|
1936
2043
|
|
|
1937
2044
|
...
|
|
@@ -1955,7 +2062,7 @@ def hide_view_clear(
|
|
|
1955
2062
|
execution_context: int | str | None = None,
|
|
1956
2063
|
undo: bool | None = None,
|
|
1957
2064
|
*,
|
|
1958
|
-
select: bool |
|
|
2065
|
+
select: bool | None = True,
|
|
1959
2066
|
):
|
|
1960
2067
|
"""Reveal temporarily hidden objects
|
|
1961
2068
|
|
|
@@ -1963,7 +2070,7 @@ def hide_view_clear(
|
|
|
1963
2070
|
:type execution_context: int | str | None
|
|
1964
2071
|
:type undo: bool | None
|
|
1965
2072
|
:param select: Select
|
|
1966
|
-
:type select: bool |
|
|
2073
|
+
:type select: bool | None
|
|
1967
2074
|
"""
|
|
1968
2075
|
|
|
1969
2076
|
...
|
|
@@ -1973,7 +2080,7 @@ def hide_view_set(
|
|
|
1973
2080
|
execution_context: int | str | None = None,
|
|
1974
2081
|
undo: bool | None = None,
|
|
1975
2082
|
*,
|
|
1976
|
-
unselected: bool |
|
|
2083
|
+
unselected: bool | None = False,
|
|
1977
2084
|
):
|
|
1978
2085
|
"""Temporarily hide objects from the viewport
|
|
1979
2086
|
|
|
@@ -1981,7 +2088,7 @@ def hide_view_set(
|
|
|
1981
2088
|
:type execution_context: int | str | None
|
|
1982
2089
|
:type undo: bool | None
|
|
1983
2090
|
:param unselected: Unselected, Hide unselected rather than selected objects
|
|
1984
|
-
:type unselected: bool |
|
|
2091
|
+
:type unselected: bool | None
|
|
1985
2092
|
"""
|
|
1986
2093
|
|
|
1987
2094
|
...
|
|
@@ -2005,7 +2112,7 @@ def hook_add_selob(
|
|
|
2005
2112
|
execution_context: int | str | None = None,
|
|
2006
2113
|
undo: bool | None = None,
|
|
2007
2114
|
*,
|
|
2008
|
-
use_bone: bool |
|
|
2115
|
+
use_bone: bool | None = False,
|
|
2009
2116
|
):
|
|
2010
2117
|
"""Hook selected vertices to the first selected object
|
|
2011
2118
|
|
|
@@ -2013,7 +2120,7 @@ def hook_add_selob(
|
|
|
2013
2120
|
:type execution_context: int | str | None
|
|
2014
2121
|
:type undo: bool | None
|
|
2015
2122
|
:param use_bone: Active Bone, Assign the hook to the hook object's active bone
|
|
2016
|
-
:type use_bone: bool |
|
|
2123
|
+
:type use_bone: bool | None
|
|
2017
2124
|
"""
|
|
2018
2125
|
|
|
2019
2126
|
...
|
|
@@ -2211,7 +2318,7 @@ def laplaciandeform_bind(
|
|
|
2211
2318
|
execution_context: int | str | None = None,
|
|
2212
2319
|
undo: bool | None = None,
|
|
2213
2320
|
*,
|
|
2214
|
-
modifier: str
|
|
2321
|
+
modifier: str = "",
|
|
2215
2322
|
):
|
|
2216
2323
|
"""Bind mesh to system in laplacian deform modifier
|
|
2217
2324
|
|
|
@@ -2219,7 +2326,7 @@ def laplaciandeform_bind(
|
|
|
2219
2326
|
:type execution_context: int | str | None
|
|
2220
2327
|
:type undo: bool | None
|
|
2221
2328
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2222
|
-
:type modifier: str
|
|
2329
|
+
:type modifier: str
|
|
2223
2330
|
"""
|
|
2224
2331
|
|
|
2225
2332
|
...
|
|
@@ -2230,11 +2337,19 @@ def light_add(
|
|
|
2230
2337
|
undo: bool | None = None,
|
|
2231
2338
|
*,
|
|
2232
2339
|
type: str | None = "POINT",
|
|
2233
|
-
radius:
|
|
2340
|
+
radius: float | None = 1.0,
|
|
2234
2341
|
align: str | None = "WORLD",
|
|
2235
|
-
location:
|
|
2236
|
-
|
|
2237
|
-
|
|
2342
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2343
|
+
0.0,
|
|
2344
|
+
0.0,
|
|
2345
|
+
0.0,
|
|
2346
|
+
),
|
|
2347
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2348
|
+
0.0,
|
|
2349
|
+
0.0,
|
|
2350
|
+
0.0,
|
|
2351
|
+
),
|
|
2352
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2238
2353
|
):
|
|
2239
2354
|
"""Add a light object to the scene
|
|
2240
2355
|
|
|
@@ -2244,7 +2359,7 @@ def light_add(
|
|
|
2244
2359
|
:param type: Type
|
|
2245
2360
|
:type type: str | None
|
|
2246
2361
|
:param radius: Radius
|
|
2247
|
-
:type radius:
|
|
2362
|
+
:type radius: float | None
|
|
2248
2363
|
:param align: Align, The alignment of the new object
|
|
2249
2364
|
|
|
2250
2365
|
WORLD
|
|
@@ -2257,11 +2372,11 @@ def light_add(
|
|
|
2257
2372
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2258
2373
|
:type align: str | None
|
|
2259
2374
|
:param location: Location, Location for the newly added object
|
|
2260
|
-
:type location:
|
|
2375
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2261
2376
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2262
|
-
:type rotation:
|
|
2377
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2263
2378
|
:param scale: Scale, Scale for the newly added object
|
|
2264
|
-
:type scale:
|
|
2379
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2265
2380
|
"""
|
|
2266
2381
|
|
|
2267
2382
|
...
|
|
@@ -2390,12 +2505,20 @@ def lightprobe_add(
|
|
|
2390
2505
|
undo: bool | None = None,
|
|
2391
2506
|
*,
|
|
2392
2507
|
type: str | None = "SPHERE",
|
|
2393
|
-
radius:
|
|
2394
|
-
enter_editmode: bool |
|
|
2508
|
+
radius: float | None = 1.0,
|
|
2509
|
+
enter_editmode: bool | None = False,
|
|
2395
2510
|
align: str | None = "WORLD",
|
|
2396
|
-
location:
|
|
2397
|
-
|
|
2398
|
-
|
|
2511
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
2512
|
+
0.0,
|
|
2513
|
+
0.0,
|
|
2514
|
+
0.0,
|
|
2515
|
+
),
|
|
2516
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
2517
|
+
0.0,
|
|
2518
|
+
0.0,
|
|
2519
|
+
0.0,
|
|
2520
|
+
),
|
|
2521
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2399
2522
|
):
|
|
2400
2523
|
"""Add a light probe object
|
|
2401
2524
|
|
|
@@ -2414,9 +2537,9 @@ def lightprobe_add(
|
|
|
2414
2537
|
Volume -- Light probe that captures low frequency lighting inside a volume.
|
|
2415
2538
|
:type type: str | None
|
|
2416
2539
|
:param radius: Radius
|
|
2417
|
-
:type radius:
|
|
2540
|
+
:type radius: float | None
|
|
2418
2541
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2419
|
-
:type enter_editmode: bool |
|
|
2542
|
+
:type enter_editmode: bool | None
|
|
2420
2543
|
:param align: Align, The alignment of the new object
|
|
2421
2544
|
|
|
2422
2545
|
WORLD
|
|
@@ -2429,11 +2552,11 @@ def lightprobe_add(
|
|
|
2429
2552
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2430
2553
|
:type align: str | None
|
|
2431
2554
|
:param location: Location, Location for the newly added object
|
|
2432
|
-
:type location:
|
|
2555
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2433
2556
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2434
|
-
:type rotation:
|
|
2557
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2435
2558
|
:param scale: Scale, Scale for the newly added object
|
|
2436
|
-
:type scale:
|
|
2559
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2437
2560
|
"""
|
|
2438
2561
|
|
|
2439
2562
|
...
|
|
@@ -2553,9 +2676,9 @@ def link_to_collection(
|
|
|
2553
2676
|
execution_context: int | str | None = None,
|
|
2554
2677
|
undo: bool | None = None,
|
|
2555
2678
|
*,
|
|
2556
|
-
collection_index:
|
|
2557
|
-
is_new: bool |
|
|
2558
|
-
new_collection_name: str
|
|
2679
|
+
collection_index: int | None = -1,
|
|
2680
|
+
is_new: bool | None = False,
|
|
2681
|
+
new_collection_name: str = "",
|
|
2559
2682
|
):
|
|
2560
2683
|
"""Link objects to a collection
|
|
2561
2684
|
|
|
@@ -2563,11 +2686,11 @@ def link_to_collection(
|
|
|
2563
2686
|
:type execution_context: int | str | None
|
|
2564
2687
|
:type undo: bool | None
|
|
2565
2688
|
:param collection_index: Collection Index, Index of the collection to move to
|
|
2566
|
-
:type collection_index:
|
|
2689
|
+
:type collection_index: int | None
|
|
2567
2690
|
:param is_new: New, Move objects to a new collection
|
|
2568
|
-
:type is_new: bool |
|
|
2691
|
+
:type is_new: bool | None
|
|
2569
2692
|
:param new_collection_name: Name, Name of the newly added collection
|
|
2570
|
-
:type new_collection_name: str
|
|
2693
|
+
:type new_collection_name: str
|
|
2571
2694
|
"""
|
|
2572
2695
|
|
|
2573
2696
|
...
|
|
@@ -2577,7 +2700,7 @@ def location_clear(
|
|
|
2577
2700
|
execution_context: int | str | None = None,
|
|
2578
2701
|
undo: bool | None = None,
|
|
2579
2702
|
*,
|
|
2580
|
-
clear_delta: bool |
|
|
2703
|
+
clear_delta: bool | None = False,
|
|
2581
2704
|
):
|
|
2582
2705
|
"""Clear the object's location
|
|
2583
2706
|
|
|
@@ -2585,7 +2708,7 @@ def location_clear(
|
|
|
2585
2708
|
:type execution_context: int | str | None
|
|
2586
2709
|
:type undo: bool | None
|
|
2587
2710
|
:param clear_delta: Clear Delta, Clear delta location in addition to clearing the normal location transform
|
|
2588
|
-
:type clear_delta: bool |
|
|
2711
|
+
:type clear_delta: bool | None
|
|
2589
2712
|
"""
|
|
2590
2713
|
|
|
2591
2714
|
...
|
|
@@ -2687,7 +2810,7 @@ def make_override_library(
|
|
|
2687
2810
|
execution_context: int | str | None = None,
|
|
2688
2811
|
undo: bool | None = None,
|
|
2689
2812
|
*,
|
|
2690
|
-
collection:
|
|
2813
|
+
collection: int | None = 0,
|
|
2691
2814
|
):
|
|
2692
2815
|
"""Create a local override of the selected linked objects, and their hierarchy of dependencies
|
|
2693
2816
|
|
|
@@ -2695,7 +2818,7 @@ def make_override_library(
|
|
|
2695
2818
|
:type execution_context: int | str | None
|
|
2696
2819
|
:type undo: bool | None
|
|
2697
2820
|
:param collection: Override Collection, Session UID of the directly linked collection containing the selected object, to make an override from
|
|
2698
|
-
:type collection:
|
|
2821
|
+
:type collection: int | None
|
|
2699
2822
|
"""
|
|
2700
2823
|
|
|
2701
2824
|
...
|
|
@@ -2706,11 +2829,11 @@ def make_single_user(
|
|
|
2706
2829
|
undo: bool | None = None,
|
|
2707
2830
|
*,
|
|
2708
2831
|
type: str | None = "SELECTED_OBJECTS",
|
|
2709
|
-
object: bool |
|
|
2710
|
-
obdata: bool |
|
|
2711
|
-
material: bool |
|
|
2712
|
-
animation: bool |
|
|
2713
|
-
obdata_animation: bool |
|
|
2832
|
+
object: bool | None = False,
|
|
2833
|
+
obdata: bool | None = False,
|
|
2834
|
+
material: bool | None = False,
|
|
2835
|
+
animation: bool | None = False,
|
|
2836
|
+
obdata_animation: bool | None = False,
|
|
2714
2837
|
):
|
|
2715
2838
|
"""Make linked data local to each object
|
|
2716
2839
|
|
|
@@ -2720,15 +2843,15 @@ def make_single_user(
|
|
|
2720
2843
|
:param type: Type
|
|
2721
2844
|
:type type: str | None
|
|
2722
2845
|
:param object: Object, Make single user objects
|
|
2723
|
-
:type object: bool |
|
|
2846
|
+
:type object: bool | None
|
|
2724
2847
|
:param obdata: Object Data, Make single user object data
|
|
2725
|
-
:type obdata: bool |
|
|
2848
|
+
:type obdata: bool | None
|
|
2726
2849
|
:param material: Materials, Make materials local to each data-block
|
|
2727
|
-
:type material: bool |
|
|
2850
|
+
:type material: bool | None
|
|
2728
2851
|
:param animation: Object Animation, Make object animation data local to each object
|
|
2729
|
-
:type animation: bool |
|
|
2852
|
+
:type animation: bool | None
|
|
2730
2853
|
:param obdata_animation: Object Data Animation, Make object data (mesh, curve etc.) animation data local to each object
|
|
2731
|
-
:type obdata_animation: bool |
|
|
2854
|
+
:type obdata_animation: bool | None
|
|
2732
2855
|
"""
|
|
2733
2856
|
|
|
2734
2857
|
...
|
|
@@ -2854,7 +2977,7 @@ def meshdeform_bind(
|
|
|
2854
2977
|
execution_context: int | str | None = None,
|
|
2855
2978
|
undo: bool | None = None,
|
|
2856
2979
|
*,
|
|
2857
|
-
modifier: str
|
|
2980
|
+
modifier: str = "",
|
|
2858
2981
|
):
|
|
2859
2982
|
"""Bind mesh to cage in mesh deform modifier
|
|
2860
2983
|
|
|
@@ -2862,7 +2985,7 @@ def meshdeform_bind(
|
|
|
2862
2985
|
:type execution_context: int | str | None
|
|
2863
2986
|
:type undo: bool | None
|
|
2864
2987
|
:param modifier: Modifier, Name of the modifier to edit
|
|
2865
|
-
:type modifier: str
|
|
2988
|
+
:type modifier: str
|
|
2866
2989
|
"""
|
|
2867
2990
|
|
|
2868
2991
|
...
|
|
@@ -2873,12 +2996,20 @@ def metaball_add(
|
|
|
2873
2996
|
undo: bool | None = None,
|
|
2874
2997
|
*,
|
|
2875
2998
|
type: str | None = "BALL",
|
|
2876
|
-
radius:
|
|
2877
|
-
enter_editmode: bool |
|
|
2999
|
+
radius: float | None = 2.0,
|
|
3000
|
+
enter_editmode: bool | None = False,
|
|
2878
3001
|
align: str | None = "WORLD",
|
|
2879
|
-
location:
|
|
2880
|
-
|
|
2881
|
-
|
|
3002
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
3003
|
+
0.0,
|
|
3004
|
+
0.0,
|
|
3005
|
+
0.0,
|
|
3006
|
+
),
|
|
3007
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
3008
|
+
0.0,
|
|
3009
|
+
0.0,
|
|
3010
|
+
0.0,
|
|
3011
|
+
),
|
|
3012
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
2882
3013
|
):
|
|
2883
3014
|
"""Add an metaball object to the scene
|
|
2884
3015
|
|
|
@@ -2888,9 +3019,9 @@ def metaball_add(
|
|
|
2888
3019
|
:param type: Primitive
|
|
2889
3020
|
:type type: str | None
|
|
2890
3021
|
:param radius: Radius
|
|
2891
|
-
:type radius:
|
|
3022
|
+
:type radius: float | None
|
|
2892
3023
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
2893
|
-
:type enter_editmode: bool |
|
|
3024
|
+
:type enter_editmode: bool | None
|
|
2894
3025
|
:param align: Align, The alignment of the new object
|
|
2895
3026
|
|
|
2896
3027
|
WORLD
|
|
@@ -2903,11 +3034,11 @@ def metaball_add(
|
|
|
2903
3034
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
2904
3035
|
:type align: str | None
|
|
2905
3036
|
:param location: Location, Location for the newly added object
|
|
2906
|
-
:type location:
|
|
3037
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2907
3038
|
:param rotation: Rotation, Rotation for the newly added object
|
|
2908
|
-
:type rotation:
|
|
3039
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
2909
3040
|
:param scale: Scale, Scale for the newly added object
|
|
2910
|
-
:type scale:
|
|
3041
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
2911
3042
|
"""
|
|
2912
3043
|
|
|
2913
3044
|
...
|
|
@@ -2918,7 +3049,7 @@ def mode_set(
|
|
|
2918
3049
|
undo: bool | None = None,
|
|
2919
3050
|
*,
|
|
2920
3051
|
mode: str | None = "OBJECT",
|
|
2921
|
-
toggle: bool |
|
|
3052
|
+
toggle: bool | None = False,
|
|
2922
3053
|
):
|
|
2923
3054
|
"""Sets the object interaction mode
|
|
2924
3055
|
|
|
@@ -2928,7 +3059,7 @@ def mode_set(
|
|
|
2928
3059
|
:param mode: Mode
|
|
2929
3060
|
:type mode: str | None
|
|
2930
3061
|
:param toggle: Toggle
|
|
2931
|
-
:type toggle: bool |
|
|
3062
|
+
:type toggle: bool | None
|
|
2932
3063
|
"""
|
|
2933
3064
|
|
|
2934
3065
|
...
|
|
@@ -2939,8 +3070,8 @@ def mode_set_with_submode(
|
|
|
2939
3070
|
undo: bool | None = None,
|
|
2940
3071
|
*,
|
|
2941
3072
|
mode: str | None = "OBJECT",
|
|
2942
|
-
toggle: bool |
|
|
2943
|
-
mesh_select_mode:
|
|
3073
|
+
toggle: bool | None = False,
|
|
3074
|
+
mesh_select_mode: set[str] | None = {},
|
|
2944
3075
|
):
|
|
2945
3076
|
"""Sets the object interaction mode
|
|
2946
3077
|
|
|
@@ -2950,9 +3081,9 @@ def mode_set_with_submode(
|
|
|
2950
3081
|
:param mode: Mode
|
|
2951
3082
|
:type mode: str | None
|
|
2952
3083
|
:param toggle: Toggle
|
|
2953
|
-
:type toggle: bool |
|
|
3084
|
+
:type toggle: bool | None
|
|
2954
3085
|
:param mesh_select_mode: Mesh Mode
|
|
2955
|
-
:type mesh_select_mode:
|
|
3086
|
+
:type mesh_select_mode: set[str] | None
|
|
2956
3087
|
"""
|
|
2957
3088
|
|
|
2958
3089
|
...
|
|
@@ -2963,7 +3094,7 @@ def modifier_add(
|
|
|
2963
3094
|
undo: bool | None = None,
|
|
2964
3095
|
*,
|
|
2965
3096
|
type: str | None = "SUBSURF",
|
|
2966
|
-
use_selected_objects: bool |
|
|
3097
|
+
use_selected_objects: bool | None = False,
|
|
2967
3098
|
):
|
|
2968
3099
|
"""Add a procedural operation/effect to the active object
|
|
2969
3100
|
|
|
@@ -2973,7 +3104,7 @@ def modifier_add(
|
|
|
2973
3104
|
:param type: Type
|
|
2974
3105
|
:type type: str | None
|
|
2975
3106
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
2976
|
-
:type use_selected_objects: bool |
|
|
3107
|
+
:type use_selected_objects: bool | None
|
|
2977
3108
|
"""
|
|
2978
3109
|
|
|
2979
3110
|
...
|
|
@@ -2984,10 +3115,10 @@ def modifier_add_node_group(
|
|
|
2984
3115
|
undo: bool | None = None,
|
|
2985
3116
|
*,
|
|
2986
3117
|
asset_library_type: str | None = "LOCAL",
|
|
2987
|
-
asset_library_identifier: str
|
|
2988
|
-
relative_asset_identifier: str
|
|
2989
|
-
session_uid:
|
|
2990
|
-
use_selected_objects: bool |
|
|
3118
|
+
asset_library_identifier: str = "",
|
|
3119
|
+
relative_asset_identifier: str = "",
|
|
3120
|
+
session_uid: int | None = 0,
|
|
3121
|
+
use_selected_objects: bool | None = False,
|
|
2991
3122
|
):
|
|
2992
3123
|
"""Add a procedural operation/effect to the active object
|
|
2993
3124
|
|
|
@@ -2997,13 +3128,13 @@ def modifier_add_node_group(
|
|
|
2997
3128
|
:param asset_library_type: Asset Library Type
|
|
2998
3129
|
:type asset_library_type: str | None
|
|
2999
3130
|
:param asset_library_identifier: Asset Library Identifier
|
|
3000
|
-
:type asset_library_identifier: str
|
|
3131
|
+
:type asset_library_identifier: str
|
|
3001
3132
|
:param relative_asset_identifier: Relative Asset Identifier
|
|
3002
|
-
:type relative_asset_identifier: str
|
|
3133
|
+
:type relative_asset_identifier: str
|
|
3003
3134
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
3004
|
-
:type session_uid:
|
|
3135
|
+
:type session_uid: int | None
|
|
3005
3136
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
3006
|
-
:type use_selected_objects: bool |
|
|
3137
|
+
:type use_selected_objects: bool | None
|
|
3007
3138
|
"""
|
|
3008
3139
|
|
|
3009
3140
|
...
|
|
@@ -3013,11 +3144,11 @@ def modifier_apply(
|
|
|
3013
3144
|
execution_context: int | str | None = None,
|
|
3014
3145
|
undo: bool | None = None,
|
|
3015
3146
|
*,
|
|
3016
|
-
modifier: str
|
|
3017
|
-
report: bool |
|
|
3018
|
-
merge_customdata: bool |
|
|
3019
|
-
single_user: bool |
|
|
3020
|
-
use_selected_objects: bool |
|
|
3147
|
+
modifier: str = "",
|
|
3148
|
+
report: bool | None = False,
|
|
3149
|
+
merge_customdata: bool | None = True,
|
|
3150
|
+
single_user: bool | None = False,
|
|
3151
|
+
use_selected_objects: bool | None = False,
|
|
3021
3152
|
):
|
|
3022
3153
|
"""Apply modifier and remove from the stack
|
|
3023
3154
|
|
|
@@ -3025,15 +3156,15 @@ def modifier_apply(
|
|
|
3025
3156
|
:type execution_context: int | str | None
|
|
3026
3157
|
:type undo: bool | None
|
|
3027
3158
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3028
|
-
:type modifier: str
|
|
3159
|
+
:type modifier: str
|
|
3029
3160
|
:param report: Report, Create a notification after the operation
|
|
3030
|
-
:type report: bool |
|
|
3161
|
+
:type report: bool | None
|
|
3031
3162
|
:param merge_customdata: Merge UVs, For mesh objects, merge UV coordinates that share a vertex to account for imprecision in some modifiers
|
|
3032
|
-
:type merge_customdata: bool |
|
|
3163
|
+
:type merge_customdata: bool | None
|
|
3033
3164
|
:param single_user: Make Data Single User, Make the object's data single user if needed
|
|
3034
|
-
:type single_user: bool |
|
|
3165
|
+
:type single_user: bool | None
|
|
3035
3166
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
3036
|
-
:type use_selected_objects: bool |
|
|
3167
|
+
:type use_selected_objects: bool | None
|
|
3037
3168
|
"""
|
|
3038
3169
|
|
|
3039
3170
|
...
|
|
@@ -3043,9 +3174,9 @@ def modifier_apply_as_shapekey(
|
|
|
3043
3174
|
execution_context: int | str | None = None,
|
|
3044
3175
|
undo: bool | None = None,
|
|
3045
3176
|
*,
|
|
3046
|
-
keep_modifier: bool |
|
|
3047
|
-
modifier: str
|
|
3048
|
-
report: bool |
|
|
3177
|
+
keep_modifier: bool | None = False,
|
|
3178
|
+
modifier: str = "",
|
|
3179
|
+
report: bool | None = False,
|
|
3049
3180
|
):
|
|
3050
3181
|
"""Apply modifier as a new shape key and remove from the stack
|
|
3051
3182
|
|
|
@@ -3053,11 +3184,11 @@ def modifier_apply_as_shapekey(
|
|
|
3053
3184
|
:type execution_context: int | str | None
|
|
3054
3185
|
:type undo: bool | None
|
|
3055
3186
|
:param keep_modifier: Keep Modifier, Do not remove the modifier from stack
|
|
3056
|
-
:type keep_modifier: bool |
|
|
3187
|
+
:type keep_modifier: bool | None
|
|
3057
3188
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3058
|
-
:type modifier: str
|
|
3189
|
+
:type modifier: str
|
|
3059
3190
|
:param report: Report, Create a notification after the operation
|
|
3060
|
-
:type report: bool |
|
|
3191
|
+
:type report: bool | None
|
|
3061
3192
|
"""
|
|
3062
3193
|
|
|
3063
3194
|
...
|
|
@@ -3067,7 +3198,7 @@ def modifier_convert(
|
|
|
3067
3198
|
execution_context: int | str | None = None,
|
|
3068
3199
|
undo: bool | None = None,
|
|
3069
3200
|
*,
|
|
3070
|
-
modifier: str
|
|
3201
|
+
modifier: str = "",
|
|
3071
3202
|
):
|
|
3072
3203
|
"""Convert particles to a mesh object
|
|
3073
3204
|
|
|
@@ -3075,7 +3206,7 @@ def modifier_convert(
|
|
|
3075
3206
|
:type execution_context: int | str | None
|
|
3076
3207
|
:type undo: bool | None
|
|
3077
3208
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3078
|
-
:type modifier: str
|
|
3209
|
+
:type modifier: str
|
|
3079
3210
|
"""
|
|
3080
3211
|
|
|
3081
3212
|
...
|
|
@@ -3085,8 +3216,8 @@ def modifier_copy(
|
|
|
3085
3216
|
execution_context: int | str | None = None,
|
|
3086
3217
|
undo: bool | None = None,
|
|
3087
3218
|
*,
|
|
3088
|
-
modifier: str
|
|
3089
|
-
use_selected_objects: bool |
|
|
3219
|
+
modifier: str = "",
|
|
3220
|
+
use_selected_objects: bool | None = False,
|
|
3090
3221
|
):
|
|
3091
3222
|
"""Duplicate modifier at the same position in the stack
|
|
3092
3223
|
|
|
@@ -3094,9 +3225,9 @@ def modifier_copy(
|
|
|
3094
3225
|
:type execution_context: int | str | None
|
|
3095
3226
|
:type undo: bool | None
|
|
3096
3227
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3097
|
-
:type modifier: str
|
|
3228
|
+
:type modifier: str
|
|
3098
3229
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
3099
|
-
:type use_selected_objects: bool |
|
|
3230
|
+
:type use_selected_objects: bool | None
|
|
3100
3231
|
"""
|
|
3101
3232
|
|
|
3102
3233
|
...
|
|
@@ -3106,7 +3237,7 @@ def modifier_copy_to_selected(
|
|
|
3106
3237
|
execution_context: int | str | None = None,
|
|
3107
3238
|
undo: bool | None = None,
|
|
3108
3239
|
*,
|
|
3109
|
-
modifier: str
|
|
3240
|
+
modifier: str = "",
|
|
3110
3241
|
):
|
|
3111
3242
|
"""Copy the modifier from the active object to all selected objects
|
|
3112
3243
|
|
|
@@ -3114,7 +3245,7 @@ def modifier_copy_to_selected(
|
|
|
3114
3245
|
:type execution_context: int | str | None
|
|
3115
3246
|
:type undo: bool | None
|
|
3116
3247
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3117
|
-
:type modifier: str
|
|
3248
|
+
:type modifier: str
|
|
3118
3249
|
"""
|
|
3119
3250
|
|
|
3120
3251
|
...
|
|
@@ -3124,7 +3255,7 @@ def modifier_move_down(
|
|
|
3124
3255
|
execution_context: int | str | None = None,
|
|
3125
3256
|
undo: bool | None = None,
|
|
3126
3257
|
*,
|
|
3127
|
-
modifier: str
|
|
3258
|
+
modifier: str = "",
|
|
3128
3259
|
):
|
|
3129
3260
|
"""Move modifier down in the stack
|
|
3130
3261
|
|
|
@@ -3132,7 +3263,7 @@ def modifier_move_down(
|
|
|
3132
3263
|
:type execution_context: int | str | None
|
|
3133
3264
|
:type undo: bool | None
|
|
3134
3265
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3135
|
-
:type modifier: str
|
|
3266
|
+
:type modifier: str
|
|
3136
3267
|
"""
|
|
3137
3268
|
|
|
3138
3269
|
...
|
|
@@ -3142,9 +3273,9 @@ def modifier_move_to_index(
|
|
|
3142
3273
|
execution_context: int | str | None = None,
|
|
3143
3274
|
undo: bool | None = None,
|
|
3144
3275
|
*,
|
|
3145
|
-
modifier: str
|
|
3146
|
-
index:
|
|
3147
|
-
use_selected_objects: bool |
|
|
3276
|
+
modifier: str = "",
|
|
3277
|
+
index: int | None = 0,
|
|
3278
|
+
use_selected_objects: bool | None = False,
|
|
3148
3279
|
):
|
|
3149
3280
|
"""Change the modifier's index in the stack so it evaluates after the set number of others
|
|
3150
3281
|
|
|
@@ -3152,11 +3283,11 @@ def modifier_move_to_index(
|
|
|
3152
3283
|
:type execution_context: int | str | None
|
|
3153
3284
|
:type undo: bool | None
|
|
3154
3285
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3155
|
-
:type modifier: str
|
|
3286
|
+
:type modifier: str
|
|
3156
3287
|
:param index: Index, The index to move the modifier to
|
|
3157
|
-
:type index:
|
|
3288
|
+
:type index: int | None
|
|
3158
3289
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
3159
|
-
:type use_selected_objects: bool |
|
|
3290
|
+
:type use_selected_objects: bool | None
|
|
3160
3291
|
"""
|
|
3161
3292
|
|
|
3162
3293
|
...
|
|
@@ -3166,7 +3297,7 @@ def modifier_move_up(
|
|
|
3166
3297
|
execution_context: int | str | None = None,
|
|
3167
3298
|
undo: bool | None = None,
|
|
3168
3299
|
*,
|
|
3169
|
-
modifier: str
|
|
3300
|
+
modifier: str = "",
|
|
3170
3301
|
):
|
|
3171
3302
|
"""Move modifier up in the stack
|
|
3172
3303
|
|
|
@@ -3174,7 +3305,7 @@ def modifier_move_up(
|
|
|
3174
3305
|
:type execution_context: int | str | None
|
|
3175
3306
|
:type undo: bool | None
|
|
3176
3307
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3177
|
-
:type modifier: str
|
|
3308
|
+
:type modifier: str
|
|
3178
3309
|
"""
|
|
3179
3310
|
|
|
3180
3311
|
...
|
|
@@ -3184,9 +3315,9 @@ def modifier_remove(
|
|
|
3184
3315
|
execution_context: int | str | None = None,
|
|
3185
3316
|
undo: bool | None = None,
|
|
3186
3317
|
*,
|
|
3187
|
-
modifier: str
|
|
3188
|
-
report: bool |
|
|
3189
|
-
use_selected_objects: bool |
|
|
3318
|
+
modifier: str = "",
|
|
3319
|
+
report: bool | None = False,
|
|
3320
|
+
use_selected_objects: bool | None = False,
|
|
3190
3321
|
):
|
|
3191
3322
|
"""Remove a modifier from the active object
|
|
3192
3323
|
|
|
@@ -3194,11 +3325,11 @@ def modifier_remove(
|
|
|
3194
3325
|
:type execution_context: int | str | None
|
|
3195
3326
|
:type undo: bool | None
|
|
3196
3327
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3197
|
-
:type modifier: str
|
|
3328
|
+
:type modifier: str
|
|
3198
3329
|
:param report: Report, Create a notification after the operation
|
|
3199
|
-
:type report: bool |
|
|
3330
|
+
:type report: bool | None
|
|
3200
3331
|
:param use_selected_objects: Selected Objects, Affect all selected objects instead of just the active object
|
|
3201
|
-
:type use_selected_objects: bool |
|
|
3332
|
+
:type use_selected_objects: bool | None
|
|
3202
3333
|
"""
|
|
3203
3334
|
|
|
3204
3335
|
...
|
|
@@ -3208,7 +3339,7 @@ def modifier_set_active(
|
|
|
3208
3339
|
execution_context: int | str | None = None,
|
|
3209
3340
|
undo: bool | None = None,
|
|
3210
3341
|
*,
|
|
3211
|
-
modifier: str
|
|
3342
|
+
modifier: str = "",
|
|
3212
3343
|
):
|
|
3213
3344
|
"""Activate the modifier to use as the context
|
|
3214
3345
|
|
|
@@ -3216,7 +3347,7 @@ def modifier_set_active(
|
|
|
3216
3347
|
:type execution_context: int | str | None
|
|
3217
3348
|
:type undo: bool | None
|
|
3218
3349
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3219
|
-
:type modifier: str
|
|
3350
|
+
:type modifier: str
|
|
3220
3351
|
"""
|
|
3221
3352
|
|
|
3222
3353
|
...
|
|
@@ -3254,9 +3385,9 @@ def move_to_collection(
|
|
|
3254
3385
|
execution_context: int | str | None = None,
|
|
3255
3386
|
undo: bool | None = None,
|
|
3256
3387
|
*,
|
|
3257
|
-
collection_index:
|
|
3258
|
-
is_new: bool |
|
|
3259
|
-
new_collection_name: str
|
|
3388
|
+
collection_index: int | None = -1,
|
|
3389
|
+
is_new: bool | None = False,
|
|
3390
|
+
new_collection_name: str = "",
|
|
3260
3391
|
):
|
|
3261
3392
|
"""Move objects to a collection
|
|
3262
3393
|
|
|
@@ -3264,11 +3395,11 @@ def move_to_collection(
|
|
|
3264
3395
|
:type execution_context: int | str | None
|
|
3265
3396
|
:type undo: bool | None
|
|
3266
3397
|
:param collection_index: Collection Index, Index of the collection to move to
|
|
3267
|
-
:type collection_index:
|
|
3398
|
+
:type collection_index: int | None
|
|
3268
3399
|
:param is_new: New, Move objects to a new collection
|
|
3269
|
-
:type is_new: bool |
|
|
3400
|
+
:type is_new: bool | None
|
|
3270
3401
|
:param new_collection_name: Name, Name of the newly added collection
|
|
3271
|
-
:type new_collection_name: str
|
|
3402
|
+
:type new_collection_name: str
|
|
3272
3403
|
"""
|
|
3273
3404
|
|
|
3274
3405
|
...
|
|
@@ -3278,7 +3409,7 @@ def multires_base_apply(
|
|
|
3278
3409
|
execution_context: int | str | None = None,
|
|
3279
3410
|
undo: bool | None = None,
|
|
3280
3411
|
*,
|
|
3281
|
-
modifier: str
|
|
3412
|
+
modifier: str = "",
|
|
3282
3413
|
):
|
|
3283
3414
|
"""Modify the base mesh to conform to the displaced mesh
|
|
3284
3415
|
|
|
@@ -3286,7 +3417,7 @@ def multires_base_apply(
|
|
|
3286
3417
|
:type execution_context: int | str | None
|
|
3287
3418
|
:type undo: bool | None
|
|
3288
3419
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3289
|
-
:type modifier: str
|
|
3420
|
+
:type modifier: str
|
|
3290
3421
|
"""
|
|
3291
3422
|
|
|
3292
3423
|
...
|
|
@@ -3310,31 +3441,31 @@ def multires_external_save(
|
|
|
3310
3441
|
execution_context: int | str | None = None,
|
|
3311
3442
|
undo: bool | None = None,
|
|
3312
3443
|
*,
|
|
3313
|
-
filepath: str
|
|
3314
|
-
hide_props_region: bool |
|
|
3315
|
-
check_existing: bool |
|
|
3316
|
-
filter_blender: bool |
|
|
3317
|
-
filter_backup: bool |
|
|
3318
|
-
filter_image: bool |
|
|
3319
|
-
filter_movie: bool |
|
|
3320
|
-
filter_python: bool |
|
|
3321
|
-
filter_font: bool |
|
|
3322
|
-
filter_sound: bool |
|
|
3323
|
-
filter_text: bool |
|
|
3324
|
-
filter_archive: bool |
|
|
3325
|
-
filter_btx: bool |
|
|
3326
|
-
filter_collada: bool |
|
|
3327
|
-
filter_alembic: bool |
|
|
3328
|
-
filter_usd: bool |
|
|
3329
|
-
filter_obj: bool |
|
|
3330
|
-
filter_volume: bool |
|
|
3331
|
-
filter_folder: bool |
|
|
3332
|
-
filter_blenlib: bool |
|
|
3333
|
-
filemode:
|
|
3334
|
-
relative_path: bool |
|
|
3444
|
+
filepath: str = "",
|
|
3445
|
+
hide_props_region: bool | None = True,
|
|
3446
|
+
check_existing: bool | None = True,
|
|
3447
|
+
filter_blender: bool | None = False,
|
|
3448
|
+
filter_backup: bool | None = False,
|
|
3449
|
+
filter_image: bool | None = False,
|
|
3450
|
+
filter_movie: bool | None = False,
|
|
3451
|
+
filter_python: bool | None = False,
|
|
3452
|
+
filter_font: bool | None = False,
|
|
3453
|
+
filter_sound: bool | None = False,
|
|
3454
|
+
filter_text: bool | None = False,
|
|
3455
|
+
filter_archive: bool | None = False,
|
|
3456
|
+
filter_btx: bool | None = True,
|
|
3457
|
+
filter_collada: bool | None = False,
|
|
3458
|
+
filter_alembic: bool | None = False,
|
|
3459
|
+
filter_usd: bool | None = False,
|
|
3460
|
+
filter_obj: bool | None = False,
|
|
3461
|
+
filter_volume: bool | None = False,
|
|
3462
|
+
filter_folder: bool | None = True,
|
|
3463
|
+
filter_blenlib: bool | None = False,
|
|
3464
|
+
filemode: int | None = 9,
|
|
3465
|
+
relative_path: bool | None = True,
|
|
3335
3466
|
display_type: str | None = "DEFAULT",
|
|
3336
3467
|
sort_method: str | None = "",
|
|
3337
|
-
modifier: str
|
|
3468
|
+
modifier: str = "",
|
|
3338
3469
|
):
|
|
3339
3470
|
"""Save displacements to an external file
|
|
3340
3471
|
|
|
@@ -3342,49 +3473,49 @@ def multires_external_save(
|
|
|
3342
3473
|
:type execution_context: int | str | None
|
|
3343
3474
|
:type undo: bool | None
|
|
3344
3475
|
:param filepath: File Path, Path to file
|
|
3345
|
-
:type filepath: str
|
|
3476
|
+
:type filepath: str
|
|
3346
3477
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
3347
|
-
:type hide_props_region: bool |
|
|
3478
|
+
:type hide_props_region: bool | None
|
|
3348
3479
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
3349
|
-
:type check_existing: bool |
|
|
3480
|
+
:type check_existing: bool | None
|
|
3350
3481
|
:param filter_blender: Filter .blend files
|
|
3351
|
-
:type filter_blender: bool |
|
|
3482
|
+
:type filter_blender: bool | None
|
|
3352
3483
|
:param filter_backup: Filter .blend files
|
|
3353
|
-
:type filter_backup: bool |
|
|
3484
|
+
:type filter_backup: bool | None
|
|
3354
3485
|
:param filter_image: Filter image files
|
|
3355
|
-
:type filter_image: bool |
|
|
3486
|
+
:type filter_image: bool | None
|
|
3356
3487
|
:param filter_movie: Filter movie files
|
|
3357
|
-
:type filter_movie: bool |
|
|
3488
|
+
:type filter_movie: bool | None
|
|
3358
3489
|
:param filter_python: Filter Python files
|
|
3359
|
-
:type filter_python: bool |
|
|
3490
|
+
:type filter_python: bool | None
|
|
3360
3491
|
:param filter_font: Filter font files
|
|
3361
|
-
:type filter_font: bool |
|
|
3492
|
+
:type filter_font: bool | None
|
|
3362
3493
|
:param filter_sound: Filter sound files
|
|
3363
|
-
:type filter_sound: bool |
|
|
3494
|
+
:type filter_sound: bool | None
|
|
3364
3495
|
:param filter_text: Filter text files
|
|
3365
|
-
:type filter_text: bool |
|
|
3496
|
+
:type filter_text: bool | None
|
|
3366
3497
|
:param filter_archive: Filter archive files
|
|
3367
|
-
:type filter_archive: bool |
|
|
3498
|
+
:type filter_archive: bool | None
|
|
3368
3499
|
:param filter_btx: Filter btx files
|
|
3369
|
-
:type filter_btx: bool |
|
|
3500
|
+
:type filter_btx: bool | None
|
|
3370
3501
|
:param filter_collada: Filter COLLADA files
|
|
3371
|
-
:type filter_collada: bool |
|
|
3502
|
+
:type filter_collada: bool | None
|
|
3372
3503
|
:param filter_alembic: Filter Alembic files
|
|
3373
|
-
:type filter_alembic: bool |
|
|
3504
|
+
:type filter_alembic: bool | None
|
|
3374
3505
|
:param filter_usd: Filter USD files
|
|
3375
|
-
:type filter_usd: bool |
|
|
3506
|
+
:type filter_usd: bool | None
|
|
3376
3507
|
:param filter_obj: Filter OBJ files
|
|
3377
|
-
:type filter_obj: bool |
|
|
3508
|
+
:type filter_obj: bool | None
|
|
3378
3509
|
:param filter_volume: Filter OpenVDB volume files
|
|
3379
|
-
:type filter_volume: bool |
|
|
3510
|
+
:type filter_volume: bool | None
|
|
3380
3511
|
:param filter_folder: Filter folders
|
|
3381
|
-
:type filter_folder: bool |
|
|
3512
|
+
:type filter_folder: bool | None
|
|
3382
3513
|
:param filter_blenlib: Filter Blender IDs
|
|
3383
|
-
:type filter_blenlib: bool |
|
|
3514
|
+
:type filter_blenlib: bool | None
|
|
3384
3515
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
3385
|
-
:type filemode:
|
|
3516
|
+
:type filemode: int | None
|
|
3386
3517
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
3387
|
-
:type relative_path: bool |
|
|
3518
|
+
:type relative_path: bool | None
|
|
3388
3519
|
:param display_type: Display Type
|
|
3389
3520
|
|
|
3390
3521
|
DEFAULT
|
|
@@ -3402,7 +3533,7 @@ def multires_external_save(
|
|
|
3402
3533
|
:param sort_method: File sorting mode
|
|
3403
3534
|
:type sort_method: str | None
|
|
3404
3535
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3405
|
-
:type modifier: str
|
|
3536
|
+
:type modifier: str
|
|
3406
3537
|
"""
|
|
3407
3538
|
|
|
3408
3539
|
...
|
|
@@ -3412,7 +3543,7 @@ def multires_higher_levels_delete(
|
|
|
3412
3543
|
execution_context: int | str | None = None,
|
|
3413
3544
|
undo: bool | None = None,
|
|
3414
3545
|
*,
|
|
3415
|
-
modifier: str
|
|
3546
|
+
modifier: str = "",
|
|
3416
3547
|
):
|
|
3417
3548
|
"""Deletes the higher resolution mesh, potential loss of detail
|
|
3418
3549
|
|
|
@@ -3420,7 +3551,7 @@ def multires_higher_levels_delete(
|
|
|
3420
3551
|
:type execution_context: int | str | None
|
|
3421
3552
|
:type undo: bool | None
|
|
3422
3553
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3423
|
-
:type modifier: str
|
|
3554
|
+
:type modifier: str
|
|
3424
3555
|
"""
|
|
3425
3556
|
|
|
3426
3557
|
...
|
|
@@ -3430,7 +3561,7 @@ def multires_rebuild_subdiv(
|
|
|
3430
3561
|
execution_context: int | str | None = None,
|
|
3431
3562
|
undo: bool | None = None,
|
|
3432
3563
|
*,
|
|
3433
|
-
modifier: str
|
|
3564
|
+
modifier: str = "",
|
|
3434
3565
|
):
|
|
3435
3566
|
"""Rebuilds all possible subdivisions levels to generate a lower resolution base mesh
|
|
3436
3567
|
|
|
@@ -3438,7 +3569,7 @@ def multires_rebuild_subdiv(
|
|
|
3438
3569
|
:type execution_context: int | str | None
|
|
3439
3570
|
:type undo: bool | None
|
|
3440
3571
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3441
|
-
:type modifier: str
|
|
3572
|
+
:type modifier: str
|
|
3442
3573
|
"""
|
|
3443
3574
|
|
|
3444
3575
|
...
|
|
@@ -3448,7 +3579,7 @@ def multires_reshape(
|
|
|
3448
3579
|
execution_context: int | str | None = None,
|
|
3449
3580
|
undo: bool | None = None,
|
|
3450
3581
|
*,
|
|
3451
|
-
modifier: str
|
|
3582
|
+
modifier: str = "",
|
|
3452
3583
|
):
|
|
3453
3584
|
"""Copy vertex coordinates from other object
|
|
3454
3585
|
|
|
@@ -3456,7 +3587,7 @@ def multires_reshape(
|
|
|
3456
3587
|
:type execution_context: int | str | None
|
|
3457
3588
|
:type undo: bool | None
|
|
3458
3589
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3459
|
-
:type modifier: str
|
|
3590
|
+
:type modifier: str
|
|
3460
3591
|
"""
|
|
3461
3592
|
|
|
3462
3593
|
...
|
|
@@ -3466,7 +3597,7 @@ def multires_subdivide(
|
|
|
3466
3597
|
execution_context: int | str | None = None,
|
|
3467
3598
|
undo: bool | None = None,
|
|
3468
3599
|
*,
|
|
3469
|
-
modifier: str
|
|
3600
|
+
modifier: str = "",
|
|
3470
3601
|
mode: str | None = "CATMULL_CLARK",
|
|
3471
3602
|
):
|
|
3472
3603
|
"""Add a new level of subdivision
|
|
@@ -3475,7 +3606,7 @@ def multires_subdivide(
|
|
|
3475
3606
|
:type execution_context: int | str | None
|
|
3476
3607
|
:type undo: bool | None
|
|
3477
3608
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3478
|
-
:type modifier: str
|
|
3609
|
+
:type modifier: str
|
|
3479
3610
|
:param mode: Subdivision Mode, How the mesh is going to be subdivided to create a new level
|
|
3480
3611
|
|
|
3481
3612
|
CATMULL_CLARK
|
|
@@ -3496,7 +3627,7 @@ def multires_unsubdivide(
|
|
|
3496
3627
|
execution_context: int | str | None = None,
|
|
3497
3628
|
undo: bool | None = None,
|
|
3498
3629
|
*,
|
|
3499
|
-
modifier: str
|
|
3630
|
+
modifier: str = "",
|
|
3500
3631
|
):
|
|
3501
3632
|
"""Rebuild a lower subdivision level of the current base mesh
|
|
3502
3633
|
|
|
@@ -3504,7 +3635,7 @@ def multires_unsubdivide(
|
|
|
3504
3635
|
:type execution_context: int | str | None
|
|
3505
3636
|
:type undo: bool | None
|
|
3506
3637
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3507
|
-
:type modifier: str
|
|
3638
|
+
:type modifier: str
|
|
3508
3639
|
"""
|
|
3509
3640
|
|
|
3510
3641
|
...
|
|
@@ -3514,8 +3645,8 @@ def ocean_bake(
|
|
|
3514
3645
|
execution_context: int | str | None = None,
|
|
3515
3646
|
undo: bool | None = None,
|
|
3516
3647
|
*,
|
|
3517
|
-
modifier: str
|
|
3518
|
-
free: bool |
|
|
3648
|
+
modifier: str = "",
|
|
3649
|
+
free: bool | None = False,
|
|
3519
3650
|
):
|
|
3520
3651
|
"""Bake an image sequence of ocean data
|
|
3521
3652
|
|
|
@@ -3523,9 +3654,9 @@ def ocean_bake(
|
|
|
3523
3654
|
:type execution_context: int | str | None
|
|
3524
3655
|
:type undo: bool | None
|
|
3525
3656
|
:param modifier: Modifier, Name of the modifier to edit
|
|
3526
|
-
:type modifier: str
|
|
3657
|
+
:type modifier: str
|
|
3527
3658
|
:param free: Free, Free the bake, rather than generating it
|
|
3528
|
-
:type free: bool |
|
|
3659
|
+
:type free: bool | None
|
|
3529
3660
|
"""
|
|
3530
3661
|
|
|
3531
3662
|
...
|
|
@@ -3626,7 +3757,7 @@ def parent_no_inverse_set(
|
|
|
3626
3757
|
execution_context: int | str | None = None,
|
|
3627
3758
|
undo: bool | None = None,
|
|
3628
3759
|
*,
|
|
3629
|
-
keep_transform: bool |
|
|
3760
|
+
keep_transform: bool | None = False,
|
|
3630
3761
|
):
|
|
3631
3762
|
"""Set the object's parenting without setting the inverse parent correction
|
|
3632
3763
|
|
|
@@ -3634,7 +3765,7 @@ def parent_no_inverse_set(
|
|
|
3634
3765
|
:type execution_context: int | str | None
|
|
3635
3766
|
:type undo: bool | None
|
|
3636
3767
|
:param keep_transform: Keep Transform, Preserve the world transform throughout parenting
|
|
3637
|
-
:type keep_transform: bool |
|
|
3768
|
+
:type keep_transform: bool | None
|
|
3638
3769
|
"""
|
|
3639
3770
|
|
|
3640
3771
|
...
|
|
@@ -3645,8 +3776,8 @@ def parent_set(
|
|
|
3645
3776
|
undo: bool | None = None,
|
|
3646
3777
|
*,
|
|
3647
3778
|
type: str | None = "OBJECT",
|
|
3648
|
-
xmirror: bool |
|
|
3649
|
-
keep_transform: bool |
|
|
3779
|
+
xmirror: bool | None = False,
|
|
3780
|
+
keep_transform: bool | None = False,
|
|
3650
3781
|
):
|
|
3651
3782
|
"""Set the object's parenting
|
|
3652
3783
|
|
|
@@ -3656,9 +3787,9 @@ def parent_set(
|
|
|
3656
3787
|
:param type: Type
|
|
3657
3788
|
:type type: str | None
|
|
3658
3789
|
:param xmirror: X Mirror, Apply weights symmetrically along X axis, for Envelope/Automatic vertex groups creation
|
|
3659
|
-
:type xmirror: bool |
|
|
3790
|
+
:type xmirror: bool | None
|
|
3660
3791
|
:param keep_transform: Keep Transform, Apply transformation before parenting
|
|
3661
|
-
:type keep_transform: bool |
|
|
3792
|
+
:type keep_transform: bool | None
|
|
3662
3793
|
"""
|
|
3663
3794
|
|
|
3664
3795
|
...
|
|
@@ -3717,7 +3848,7 @@ def paths_clear(
|
|
|
3717
3848
|
execution_context: int | str | None = None,
|
|
3718
3849
|
undo: bool | None = None,
|
|
3719
3850
|
*,
|
|
3720
|
-
only_selected: bool |
|
|
3851
|
+
only_selected: bool | None = False,
|
|
3721
3852
|
):
|
|
3722
3853
|
"""Undocumented, consider contributing.
|
|
3723
3854
|
|
|
@@ -3725,7 +3856,7 @@ def paths_clear(
|
|
|
3725
3856
|
:type execution_context: int | str | None
|
|
3726
3857
|
:type undo: bool | None
|
|
3727
3858
|
:param only_selected: Only Selected, Only clear motion paths of selected objects
|
|
3728
|
-
:type only_selected: bool |
|
|
3859
|
+
:type only_selected: bool | None
|
|
3729
3860
|
"""
|
|
3730
3861
|
|
|
3731
3862
|
...
|
|
@@ -3764,9 +3895,17 @@ def pointcloud_add(
|
|
|
3764
3895
|
undo: bool | None = None,
|
|
3765
3896
|
*,
|
|
3766
3897
|
align: str | None = "WORLD",
|
|
3767
|
-
location:
|
|
3768
|
-
|
|
3769
|
-
|
|
3898
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
3899
|
+
0.0,
|
|
3900
|
+
0.0,
|
|
3901
|
+
0.0,
|
|
3902
|
+
),
|
|
3903
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
3904
|
+
0.0,
|
|
3905
|
+
0.0,
|
|
3906
|
+
0.0,
|
|
3907
|
+
),
|
|
3908
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
3770
3909
|
):
|
|
3771
3910
|
"""Add a point cloud object to the scene
|
|
3772
3911
|
|
|
@@ -3785,11 +3924,11 @@ def pointcloud_add(
|
|
|
3785
3924
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
3786
3925
|
:type align: str | None
|
|
3787
3926
|
:param location: Location, Location for the newly added object
|
|
3788
|
-
:type location:
|
|
3927
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3789
3928
|
:param rotation: Rotation, Rotation for the newly added object
|
|
3790
|
-
:type rotation:
|
|
3929
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
3791
3930
|
:param scale: Scale, Scale for the newly added object
|
|
3792
|
-
:type scale:
|
|
3931
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
3793
3932
|
"""
|
|
3794
3933
|
|
|
3795
3934
|
...
|
|
@@ -3813,17 +3952,17 @@ def quadriflow_remesh(
|
|
|
3813
3952
|
execution_context: int | str | None = None,
|
|
3814
3953
|
undo: bool | None = None,
|
|
3815
3954
|
*,
|
|
3816
|
-
use_mesh_symmetry: bool |
|
|
3817
|
-
use_preserve_sharp: bool |
|
|
3818
|
-
use_preserve_boundary: bool |
|
|
3819
|
-
preserve_attributes: bool |
|
|
3820
|
-
smooth_normals: bool |
|
|
3955
|
+
use_mesh_symmetry: bool | None = True,
|
|
3956
|
+
use_preserve_sharp: bool | None = False,
|
|
3957
|
+
use_preserve_boundary: bool | None = False,
|
|
3958
|
+
preserve_attributes: bool | None = False,
|
|
3959
|
+
smooth_normals: bool | None = False,
|
|
3821
3960
|
mode: str | None = "FACES",
|
|
3822
|
-
target_ratio:
|
|
3823
|
-
target_edge_length:
|
|
3824
|
-
target_faces:
|
|
3825
|
-
mesh_area:
|
|
3826
|
-
seed:
|
|
3961
|
+
target_ratio: float | None = 1.0,
|
|
3962
|
+
target_edge_length: float | None = 0.1,
|
|
3963
|
+
target_faces: int | None = 4000,
|
|
3964
|
+
mesh_area: float | None = -1.0,
|
|
3965
|
+
seed: int | None = 0,
|
|
3827
3966
|
):
|
|
3828
3967
|
"""Create a new quad based mesh using the surface data of the current mesh. All data layers will be lost
|
|
3829
3968
|
|
|
@@ -3831,15 +3970,15 @@ def quadriflow_remesh(
|
|
|
3831
3970
|
:type execution_context: int | str | None
|
|
3832
3971
|
:type undo: bool | None
|
|
3833
3972
|
:param use_mesh_symmetry: Use Mesh Symmetry, Generates a symmetrical mesh using the mesh symmetry configuration
|
|
3834
|
-
:type use_mesh_symmetry: bool |
|
|
3973
|
+
:type use_mesh_symmetry: bool | None
|
|
3835
3974
|
:param use_preserve_sharp: Preserve Sharp, Try to preserve sharp features on the mesh
|
|
3836
|
-
:type use_preserve_sharp: bool |
|
|
3975
|
+
:type use_preserve_sharp: bool | None
|
|
3837
3976
|
:param use_preserve_boundary: Preserve Mesh Boundary, Try to preserve mesh boundary on the mesh
|
|
3838
|
-
:type use_preserve_boundary: bool |
|
|
3977
|
+
:type use_preserve_boundary: bool | None
|
|
3839
3978
|
:param preserve_attributes: Preserve Attributes, Reproject attributes onto the new mesh
|
|
3840
|
-
:type preserve_attributes: bool |
|
|
3979
|
+
:type preserve_attributes: bool | None
|
|
3841
3980
|
:param smooth_normals: Smooth Normals, Set the output mesh normals to smooth
|
|
3842
|
-
:type smooth_normals: bool |
|
|
3981
|
+
:type smooth_normals: bool | None
|
|
3843
3982
|
:param mode: Mode, How to specify the amount of detail for the new mesh
|
|
3844
3983
|
|
|
3845
3984
|
RATIO
|
|
@@ -3852,15 +3991,15 @@ def quadriflow_remesh(
|
|
|
3852
3991
|
Faces -- Input target number of faces in the new mesh.
|
|
3853
3992
|
:type mode: str | None
|
|
3854
3993
|
:param target_ratio: Ratio, Relative number of faces compared to the current mesh
|
|
3855
|
-
:type target_ratio:
|
|
3994
|
+
:type target_ratio: float | None
|
|
3856
3995
|
:param target_edge_length: Edge Length, Target edge length in the new mesh
|
|
3857
|
-
:type target_edge_length:
|
|
3996
|
+
:type target_edge_length: float | None
|
|
3858
3997
|
:param target_faces: Number of Faces, Approximate number of faces (quads) in the new mesh
|
|
3859
|
-
:type target_faces:
|
|
3998
|
+
:type target_faces: int | None
|
|
3860
3999
|
:param mesh_area: Old Object Face Area, This property is only used to cache the object area for later calculations
|
|
3861
|
-
:type mesh_area:
|
|
4000
|
+
:type mesh_area: float | None
|
|
3862
4001
|
:param seed: Seed, Random seed to use with the solver. Different seeds will cause the remesher to come up with different quad layouts on the mesh
|
|
3863
|
-
:type seed:
|
|
4002
|
+
:type seed: int | None
|
|
3864
4003
|
"""
|
|
3865
4004
|
|
|
3866
4005
|
...
|
|
@@ -3871,12 +4010,12 @@ def quick_explode(
|
|
|
3871
4010
|
undo: bool | None = None,
|
|
3872
4011
|
*,
|
|
3873
4012
|
style: str | None = "EXPLODE",
|
|
3874
|
-
amount:
|
|
3875
|
-
frame_duration:
|
|
3876
|
-
frame_start:
|
|
3877
|
-
frame_end:
|
|
3878
|
-
velocity:
|
|
3879
|
-
fade: bool |
|
|
4013
|
+
amount: int | None = 100,
|
|
4014
|
+
frame_duration: int | None = 50,
|
|
4015
|
+
frame_start: int | None = 1,
|
|
4016
|
+
frame_end: int | None = 10,
|
|
4017
|
+
velocity: float | None = 1.0,
|
|
4018
|
+
fade: bool | None = True,
|
|
3880
4019
|
):
|
|
3881
4020
|
"""Make selected objects explode
|
|
3882
4021
|
|
|
@@ -3886,17 +4025,17 @@ def quick_explode(
|
|
|
3886
4025
|
:param style: Explode Style
|
|
3887
4026
|
:type style: str | None
|
|
3888
4027
|
:param amount: Number of Pieces
|
|
3889
|
-
:type amount:
|
|
4028
|
+
:type amount: int | None
|
|
3890
4029
|
:param frame_duration: Duration
|
|
3891
|
-
:type frame_duration:
|
|
4030
|
+
:type frame_duration: int | None
|
|
3892
4031
|
:param frame_start: Start Frame
|
|
3893
|
-
:type frame_start:
|
|
4032
|
+
:type frame_start: int | None
|
|
3894
4033
|
:param frame_end: End Frame
|
|
3895
|
-
:type frame_end:
|
|
4034
|
+
:type frame_end: int | None
|
|
3896
4035
|
:param velocity: Outwards Velocity
|
|
3897
|
-
:type velocity:
|
|
4036
|
+
:type velocity: float | None
|
|
3898
4037
|
:param fade: Fade, Fade the pieces over time
|
|
3899
|
-
:type fade: bool |
|
|
4038
|
+
:type fade: bool | None
|
|
3900
4039
|
"""
|
|
3901
4040
|
|
|
3902
4041
|
...
|
|
@@ -3907,12 +4046,12 @@ def quick_fur(
|
|
|
3907
4046
|
undo: bool | None = None,
|
|
3908
4047
|
*,
|
|
3909
4048
|
density: str | None = "MEDIUM",
|
|
3910
|
-
length:
|
|
3911
|
-
radius:
|
|
3912
|
-
view_percentage:
|
|
3913
|
-
apply_hair_guides: bool |
|
|
3914
|
-
use_noise: bool |
|
|
3915
|
-
use_frizz: bool |
|
|
4049
|
+
length: float | None = 0.1,
|
|
4050
|
+
radius: float | None = 0.001,
|
|
4051
|
+
view_percentage: float | None = 1.0,
|
|
4052
|
+
apply_hair_guides: bool | None = True,
|
|
4053
|
+
use_noise: bool | None = True,
|
|
4054
|
+
use_frizz: bool | None = True,
|
|
3916
4055
|
):
|
|
3917
4056
|
"""Add a fur setup to the selected objects
|
|
3918
4057
|
|
|
@@ -3922,17 +4061,17 @@ def quick_fur(
|
|
|
3922
4061
|
:param density: Density
|
|
3923
4062
|
:type density: str | None
|
|
3924
4063
|
:param length: Length
|
|
3925
|
-
:type length:
|
|
4064
|
+
:type length: float | None
|
|
3926
4065
|
:param radius: Hair Radius
|
|
3927
|
-
:type radius:
|
|
4066
|
+
:type radius: float | None
|
|
3928
4067
|
:param view_percentage: View Percentage
|
|
3929
|
-
:type view_percentage:
|
|
4068
|
+
:type view_percentage: float | None
|
|
3930
4069
|
:param apply_hair_guides: Apply Hair Guides
|
|
3931
|
-
:type apply_hair_guides: bool |
|
|
4070
|
+
:type apply_hair_guides: bool | None
|
|
3932
4071
|
:param use_noise: Noise
|
|
3933
|
-
:type use_noise: bool |
|
|
4072
|
+
:type use_noise: bool | None
|
|
3934
4073
|
:param use_frizz: Frizz
|
|
3935
|
-
:type use_frizz: bool |
|
|
4074
|
+
:type use_frizz: bool | None
|
|
3936
4075
|
"""
|
|
3937
4076
|
|
|
3938
4077
|
...
|
|
@@ -3942,7 +4081,7 @@ def quick_liquid(
|
|
|
3942
4081
|
execution_context: int | str | None = None,
|
|
3943
4082
|
undo: bool | None = None,
|
|
3944
4083
|
*,
|
|
3945
|
-
show_flows: bool |
|
|
4084
|
+
show_flows: bool | None = False,
|
|
3946
4085
|
):
|
|
3947
4086
|
"""Make selected objects liquid
|
|
3948
4087
|
|
|
@@ -3950,7 +4089,7 @@ def quick_liquid(
|
|
|
3950
4089
|
:type execution_context: int | str | None
|
|
3951
4090
|
:type undo: bool | None
|
|
3952
4091
|
:param show_flows: Render Liquid Objects, Keep the liquid objects visible during rendering
|
|
3953
|
-
:type show_flows: bool |
|
|
4092
|
+
:type show_flows: bool | None
|
|
3954
4093
|
"""
|
|
3955
4094
|
|
|
3956
4095
|
...
|
|
@@ -3961,7 +4100,7 @@ def quick_smoke(
|
|
|
3961
4100
|
undo: bool | None = None,
|
|
3962
4101
|
*,
|
|
3963
4102
|
style: str | None = "SMOKE",
|
|
3964
|
-
show_flows: bool |
|
|
4103
|
+
show_flows: bool | None = False,
|
|
3965
4104
|
):
|
|
3966
4105
|
"""Use selected objects as smoke emitters
|
|
3967
4106
|
|
|
@@ -3971,7 +4110,7 @@ def quick_smoke(
|
|
|
3971
4110
|
:param style: Smoke Style
|
|
3972
4111
|
:type style: str | None
|
|
3973
4112
|
:param show_flows: Render Smoke Objects, Keep the smoke objects visible during rendering
|
|
3974
|
-
:type show_flows: bool |
|
|
4113
|
+
:type show_flows: bool | None
|
|
3975
4114
|
"""
|
|
3976
4115
|
|
|
3977
4116
|
...
|
|
@@ -3981,15 +4120,15 @@ def randomize_transform(
|
|
|
3981
4120
|
execution_context: int | str | None = None,
|
|
3982
4121
|
undo: bool | None = None,
|
|
3983
4122
|
*,
|
|
3984
|
-
random_seed:
|
|
3985
|
-
use_delta: bool |
|
|
3986
|
-
use_loc: bool |
|
|
3987
|
-
loc:
|
|
3988
|
-
use_rot: bool |
|
|
3989
|
-
rot:
|
|
3990
|
-
use_scale: bool |
|
|
3991
|
-
scale_even: bool |
|
|
3992
|
-
scale:
|
|
4123
|
+
random_seed: int | None = 0,
|
|
4124
|
+
use_delta: bool | None = False,
|
|
4125
|
+
use_loc: bool | None = True,
|
|
4126
|
+
loc: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4127
|
+
use_rot: bool | None = True,
|
|
4128
|
+
rot: collections.abc.Sequence[float] | mathutils.Euler | None = (0.0, 0.0, 0.0),
|
|
4129
|
+
use_scale: bool | None = True,
|
|
4130
|
+
scale_even: bool | None = False,
|
|
4131
|
+
scale: collections.abc.Iterable[float] | None = (1.0, 1.0, 1.0),
|
|
3993
4132
|
):
|
|
3994
4133
|
"""Randomize objects location, rotation, and scale
|
|
3995
4134
|
|
|
@@ -3997,23 +4136,23 @@ def randomize_transform(
|
|
|
3997
4136
|
:type execution_context: int | str | None
|
|
3998
4137
|
:type undo: bool | None
|
|
3999
4138
|
:param random_seed: Random Seed, Seed value for the random generator
|
|
4000
|
-
:type random_seed:
|
|
4139
|
+
:type random_seed: int | None
|
|
4001
4140
|
:param use_delta: Transform Delta, Randomize delta transform values instead of regular transform
|
|
4002
|
-
:type use_delta: bool |
|
|
4141
|
+
:type use_delta: bool | None
|
|
4003
4142
|
:param use_loc: Randomize Location, Randomize the location values
|
|
4004
|
-
:type use_loc: bool |
|
|
4143
|
+
:type use_loc: bool | None
|
|
4005
4144
|
:param loc: Location, Maximum distance the objects can spread over each axis
|
|
4006
|
-
:type loc:
|
|
4145
|
+
:type loc: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4007
4146
|
:param use_rot: Randomize Rotation, Randomize the rotation values
|
|
4008
|
-
:type use_rot: bool |
|
|
4147
|
+
:type use_rot: bool | None
|
|
4009
4148
|
:param rot: Rotation, Maximum rotation over each axis
|
|
4010
|
-
:type rot:
|
|
4149
|
+
:type rot: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
4011
4150
|
:param use_scale: Randomize Scale, Randomize the scale values
|
|
4012
|
-
:type use_scale: bool |
|
|
4151
|
+
:type use_scale: bool | None
|
|
4013
4152
|
:param scale_even: Scale Even, Use the same scale value for all axis
|
|
4014
|
-
:type scale_even: bool |
|
|
4153
|
+
:type scale_even: bool | None
|
|
4015
4154
|
:param scale: Scale, Maximum scale randomization over each axis
|
|
4016
|
-
:type scale:
|
|
4155
|
+
:type scale: collections.abc.Iterable[float] | None
|
|
4017
4156
|
"""
|
|
4018
4157
|
|
|
4019
4158
|
...
|
|
@@ -4037,7 +4176,7 @@ def rotation_clear(
|
|
|
4037
4176
|
execution_context: int | str | None = None,
|
|
4038
4177
|
undo: bool | None = None,
|
|
4039
4178
|
*,
|
|
4040
|
-
clear_delta: bool |
|
|
4179
|
+
clear_delta: bool | None = False,
|
|
4041
4180
|
):
|
|
4042
4181
|
"""Clear the object's rotation
|
|
4043
4182
|
|
|
@@ -4045,7 +4184,7 @@ def rotation_clear(
|
|
|
4045
4184
|
:type execution_context: int | str | None
|
|
4046
4185
|
:type undo: bool | None
|
|
4047
4186
|
:param clear_delta: Clear Delta, Clear delta rotation in addition to clearing the normal rotation transform
|
|
4048
|
-
:type clear_delta: bool |
|
|
4187
|
+
:type clear_delta: bool | None
|
|
4049
4188
|
"""
|
|
4050
4189
|
|
|
4051
4190
|
...
|
|
@@ -4055,7 +4194,7 @@ def scale_clear(
|
|
|
4055
4194
|
execution_context: int | str | None = None,
|
|
4056
4195
|
undo: bool | None = None,
|
|
4057
4196
|
*,
|
|
4058
|
-
clear_delta: bool |
|
|
4197
|
+
clear_delta: bool | None = False,
|
|
4059
4198
|
):
|
|
4060
4199
|
"""Clear the object's scale
|
|
4061
4200
|
|
|
@@ -4063,7 +4202,7 @@ def scale_clear(
|
|
|
4063
4202
|
:type execution_context: int | str | None
|
|
4064
4203
|
:type undo: bool | None
|
|
4065
4204
|
:param clear_delta: Clear Delta, Clear delta scale in addition to clearing the normal scale transform
|
|
4066
|
-
:type clear_delta: bool |
|
|
4205
|
+
:type clear_delta: bool | None
|
|
4067
4206
|
"""
|
|
4068
4207
|
|
|
4069
4208
|
...
|
|
@@ -4103,7 +4242,7 @@ def select_by_type(
|
|
|
4103
4242
|
execution_context: int | str | None = None,
|
|
4104
4243
|
undo: bool | None = None,
|
|
4105
4244
|
*,
|
|
4106
|
-
extend: bool |
|
|
4245
|
+
extend: bool | None = False,
|
|
4107
4246
|
type: str | None = "MESH",
|
|
4108
4247
|
):
|
|
4109
4248
|
"""Select all visible objects that are of a type
|
|
@@ -4112,7 +4251,7 @@ def select_by_type(
|
|
|
4112
4251
|
:type execution_context: int | str | None
|
|
4113
4252
|
:type undo: bool | None
|
|
4114
4253
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
4115
|
-
:type extend: bool |
|
|
4254
|
+
:type extend: bool | None
|
|
4116
4255
|
:param type: Type
|
|
4117
4256
|
:type type: str | None
|
|
4118
4257
|
"""
|
|
@@ -4124,7 +4263,7 @@ def select_camera(
|
|
|
4124
4263
|
execution_context: int | str | None = None,
|
|
4125
4264
|
undo: bool | None = None,
|
|
4126
4265
|
*,
|
|
4127
|
-
extend: bool |
|
|
4266
|
+
extend: bool | None = False,
|
|
4128
4267
|
):
|
|
4129
4268
|
"""Select the active camera
|
|
4130
4269
|
|
|
@@ -4132,7 +4271,7 @@ def select_camera(
|
|
|
4132
4271
|
:type execution_context: int | str | None
|
|
4133
4272
|
:type undo: bool | None
|
|
4134
4273
|
:param extend: Extend, Extend the selection
|
|
4135
|
-
:type extend: bool |
|
|
4274
|
+
:type extend: bool | None
|
|
4136
4275
|
"""
|
|
4137
4276
|
|
|
4138
4277
|
...
|
|
@@ -4142,7 +4281,7 @@ def select_grouped(
|
|
|
4142
4281
|
execution_context: int | str | None = None,
|
|
4143
4282
|
undo: bool | None = None,
|
|
4144
4283
|
*,
|
|
4145
|
-
extend: bool |
|
|
4284
|
+
extend: bool | None = False,
|
|
4146
4285
|
type: str | None = "CHILDREN_RECURSIVE",
|
|
4147
4286
|
):
|
|
4148
4287
|
"""Select all visible objects grouped by various properties
|
|
@@ -4151,7 +4290,7 @@ def select_grouped(
|
|
|
4151
4290
|
:type execution_context: int | str | None
|
|
4152
4291
|
:type undo: bool | None
|
|
4153
4292
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
4154
|
-
:type extend: bool |
|
|
4293
|
+
:type extend: bool | None
|
|
4155
4294
|
:param type: Type
|
|
4156
4295
|
|
|
4157
4296
|
CHILDREN_RECURSIVE
|
|
@@ -4197,7 +4336,7 @@ def select_hierarchy(
|
|
|
4197
4336
|
undo: bool | None = None,
|
|
4198
4337
|
*,
|
|
4199
4338
|
direction: str | None = "PARENT",
|
|
4200
|
-
extend: bool |
|
|
4339
|
+
extend: bool | None = False,
|
|
4201
4340
|
):
|
|
4202
4341
|
"""Select object relative to the active object's position in the hierarchy
|
|
4203
4342
|
|
|
@@ -4207,7 +4346,7 @@ def select_hierarchy(
|
|
|
4207
4346
|
:param direction: Direction, Direction to select in the hierarchy
|
|
4208
4347
|
:type direction: str | None
|
|
4209
4348
|
:param extend: Extend, Extend the existing selection
|
|
4210
|
-
:type extend: bool |
|
|
4349
|
+
:type extend: bool | None
|
|
4211
4350
|
"""
|
|
4212
4351
|
|
|
4213
4352
|
...
|
|
@@ -4231,7 +4370,7 @@ def select_linked(
|
|
|
4231
4370
|
execution_context: int | str | None = None,
|
|
4232
4371
|
undo: bool | None = None,
|
|
4233
4372
|
*,
|
|
4234
|
-
extend: bool |
|
|
4373
|
+
extend: bool | None = False,
|
|
4235
4374
|
type: str | None = "OBDATA",
|
|
4236
4375
|
):
|
|
4237
4376
|
"""Select all visible objects that are linked
|
|
@@ -4240,7 +4379,7 @@ def select_linked(
|
|
|
4240
4379
|
:type execution_context: int | str | None
|
|
4241
4380
|
:type undo: bool | None
|
|
4242
4381
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
4243
|
-
:type extend: bool |
|
|
4382
|
+
:type extend: bool | None
|
|
4244
4383
|
:param type: Type
|
|
4245
4384
|
:type type: str | None
|
|
4246
4385
|
"""
|
|
@@ -4252,7 +4391,7 @@ def select_mirror(
|
|
|
4252
4391
|
execution_context: int | str | None = None,
|
|
4253
4392
|
undo: bool | None = None,
|
|
4254
4393
|
*,
|
|
4255
|
-
extend: bool |
|
|
4394
|
+
extend: bool | None = False,
|
|
4256
4395
|
):
|
|
4257
4396
|
"""Select the mirror objects of the selected object e.g. "L.sword" and "R.sword"
|
|
4258
4397
|
|
|
@@ -4260,7 +4399,7 @@ def select_mirror(
|
|
|
4260
4399
|
:type execution_context: int | str | None
|
|
4261
4400
|
:type undo: bool | None
|
|
4262
4401
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
4263
|
-
:type extend: bool |
|
|
4402
|
+
:type extend: bool | None
|
|
4264
4403
|
"""
|
|
4265
4404
|
|
|
4266
4405
|
...
|
|
@@ -4284,9 +4423,9 @@ def select_pattern(
|
|
|
4284
4423
|
execution_context: int | str | None = None,
|
|
4285
4424
|
undo: bool | None = None,
|
|
4286
4425
|
*,
|
|
4287
|
-
pattern: str
|
|
4288
|
-
case_sensitive: bool |
|
|
4289
|
-
extend: bool |
|
|
4426
|
+
pattern: str = "*",
|
|
4427
|
+
case_sensitive: bool | None = False,
|
|
4428
|
+
extend: bool | None = True,
|
|
4290
4429
|
):
|
|
4291
4430
|
"""Select objects matching a naming pattern
|
|
4292
4431
|
|
|
@@ -4294,11 +4433,11 @@ def select_pattern(
|
|
|
4294
4433
|
:type execution_context: int | str | None
|
|
4295
4434
|
:type undo: bool | None
|
|
4296
4435
|
:param pattern: Pattern, Name filter using '*', '?' and '[abc]' unix style wildcards
|
|
4297
|
-
:type pattern: str
|
|
4436
|
+
:type pattern: str
|
|
4298
4437
|
:param case_sensitive: Case Sensitive, Do a case sensitive compare
|
|
4299
|
-
:type case_sensitive: bool |
|
|
4438
|
+
:type case_sensitive: bool | None
|
|
4300
4439
|
:param extend: Extend, Extend the existing selection
|
|
4301
|
-
:type extend: bool |
|
|
4440
|
+
:type extend: bool | None
|
|
4302
4441
|
"""
|
|
4303
4442
|
|
|
4304
4443
|
...
|
|
@@ -4308,8 +4447,8 @@ def select_random(
|
|
|
4308
4447
|
execution_context: int | str | None = None,
|
|
4309
4448
|
undo: bool | None = None,
|
|
4310
4449
|
*,
|
|
4311
|
-
ratio:
|
|
4312
|
-
seed:
|
|
4450
|
+
ratio: float | None = 0.5,
|
|
4451
|
+
seed: int | None = 0,
|
|
4313
4452
|
action: str | None = "SELECT",
|
|
4314
4453
|
):
|
|
4315
4454
|
"""Select or deselect random visible objects
|
|
@@ -4318,9 +4457,9 @@ def select_random(
|
|
|
4318
4457
|
:type execution_context: int | str | None
|
|
4319
4458
|
:type undo: bool | None
|
|
4320
4459
|
:param ratio: Ratio, Portion of items to select randomly
|
|
4321
|
-
:type ratio:
|
|
4460
|
+
:type ratio: float | None
|
|
4322
4461
|
:param seed: Random Seed, Seed for the random number generator
|
|
4323
|
-
:type seed:
|
|
4462
|
+
:type seed: int | None
|
|
4324
4463
|
:param action: Action, Selection action to execute
|
|
4325
4464
|
|
|
4326
4465
|
SELECT
|
|
@@ -4338,7 +4477,7 @@ def select_same_collection(
|
|
|
4338
4477
|
execution_context: int | str | None = None,
|
|
4339
4478
|
undo: bool | None = None,
|
|
4340
4479
|
*,
|
|
4341
|
-
collection: str
|
|
4480
|
+
collection: str = "",
|
|
4342
4481
|
):
|
|
4343
4482
|
"""Select object in the same collection
|
|
4344
4483
|
|
|
@@ -4346,7 +4485,7 @@ def select_same_collection(
|
|
|
4346
4485
|
:type execution_context: int | str | None
|
|
4347
4486
|
:type undo: bool | None
|
|
4348
4487
|
:param collection: Collection, Name of the collection to select
|
|
4349
|
-
:type collection: str
|
|
4488
|
+
:type collection: str
|
|
4350
4489
|
"""
|
|
4351
4490
|
|
|
4352
4491
|
...
|
|
@@ -4356,8 +4495,8 @@ def shade_auto_smooth(
|
|
|
4356
4495
|
execution_context: int | str | None = None,
|
|
4357
4496
|
undo: bool | None = None,
|
|
4358
4497
|
*,
|
|
4359
|
-
use_auto_smooth: bool |
|
|
4360
|
-
angle:
|
|
4498
|
+
use_auto_smooth: bool | None = True,
|
|
4499
|
+
angle: float | None = 0.523599,
|
|
4361
4500
|
):
|
|
4362
4501
|
"""Add modifier to automatically set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
4363
4502
|
|
|
@@ -4365,9 +4504,9 @@ def shade_auto_smooth(
|
|
|
4365
4504
|
:type execution_context: int | str | None
|
|
4366
4505
|
:type undo: bool | None
|
|
4367
4506
|
:param use_auto_smooth: Auto Smooth, Add modifier to set edge sharpness automatically
|
|
4368
|
-
:type use_auto_smooth: bool |
|
|
4507
|
+
:type use_auto_smooth: bool | None
|
|
4369
4508
|
:param angle: Angle, Maximum angle between face normals that will be considered as smooth
|
|
4370
|
-
:type angle:
|
|
4509
|
+
:type angle: float | None
|
|
4371
4510
|
"""
|
|
4372
4511
|
|
|
4373
4512
|
...
|
|
@@ -4377,7 +4516,7 @@ def shade_flat(
|
|
|
4377
4516
|
execution_context: int | str | None = None,
|
|
4378
4517
|
undo: bool | None = None,
|
|
4379
4518
|
*,
|
|
4380
|
-
keep_sharp_edges: bool |
|
|
4519
|
+
keep_sharp_edges: bool | None = True,
|
|
4381
4520
|
):
|
|
4382
4521
|
"""Render and display faces uniform, using face normals
|
|
4383
4522
|
|
|
@@ -4385,7 +4524,7 @@ def shade_flat(
|
|
|
4385
4524
|
:type execution_context: int | str | None
|
|
4386
4525
|
:type undo: bool | None
|
|
4387
4526
|
:param keep_sharp_edges: Keep Sharp Edges, Don't remove sharp edges, which are redundant with faces shaded smooth
|
|
4388
|
-
:type keep_sharp_edges: bool |
|
|
4527
|
+
:type keep_sharp_edges: bool | None
|
|
4389
4528
|
"""
|
|
4390
4529
|
|
|
4391
4530
|
...
|
|
@@ -4395,7 +4534,7 @@ def shade_smooth(
|
|
|
4395
4534
|
execution_context: int | str | None = None,
|
|
4396
4535
|
undo: bool | None = None,
|
|
4397
4536
|
*,
|
|
4398
|
-
keep_sharp_edges: bool |
|
|
4537
|
+
keep_sharp_edges: bool | None = True,
|
|
4399
4538
|
):
|
|
4400
4539
|
"""Render and display faces smooth, using interpolated vertex normals
|
|
4401
4540
|
|
|
@@ -4403,7 +4542,7 @@ def shade_smooth(
|
|
|
4403
4542
|
:type execution_context: int | str | None
|
|
4404
4543
|
:type undo: bool | None
|
|
4405
4544
|
:param keep_sharp_edges: Keep Sharp Edges, Don't remove sharp edges. Tagged edges will remain sharp
|
|
4406
|
-
:type keep_sharp_edges: bool |
|
|
4545
|
+
:type keep_sharp_edges: bool | None
|
|
4407
4546
|
"""
|
|
4408
4547
|
|
|
4409
4548
|
...
|
|
@@ -4413,8 +4552,8 @@ def shade_smooth_by_angle(
|
|
|
4413
4552
|
execution_context: int | str | None = None,
|
|
4414
4553
|
undo: bool | None = None,
|
|
4415
4554
|
*,
|
|
4416
|
-
angle:
|
|
4417
|
-
keep_sharp_edges: bool |
|
|
4555
|
+
angle: float | None = 0.523599,
|
|
4556
|
+
keep_sharp_edges: bool | None = True,
|
|
4418
4557
|
):
|
|
4419
4558
|
"""Set the sharpness of mesh edges based on the angle between the neighboring faces
|
|
4420
4559
|
|
|
@@ -4422,9 +4561,9 @@ def shade_smooth_by_angle(
|
|
|
4422
4561
|
:type execution_context: int | str | None
|
|
4423
4562
|
:type undo: bool | None
|
|
4424
4563
|
:param angle: Angle, Maximum angle between face normals that will be considered as smooth
|
|
4425
|
-
:type angle:
|
|
4564
|
+
:type angle: float | None
|
|
4426
4565
|
:param keep_sharp_edges: Keep Sharp Edges, Only add sharp edges instead of clearing existing tags first
|
|
4427
|
-
:type keep_sharp_edges: bool |
|
|
4566
|
+
:type keep_sharp_edges: bool | None
|
|
4428
4567
|
"""
|
|
4429
4568
|
|
|
4430
4569
|
...
|
|
@@ -4452,7 +4591,7 @@ def shaderfx_copy(
|
|
|
4452
4591
|
execution_context: int | str | None = None,
|
|
4453
4592
|
undo: bool | None = None,
|
|
4454
4593
|
*,
|
|
4455
|
-
shaderfx: str
|
|
4594
|
+
shaderfx: str = "",
|
|
4456
4595
|
):
|
|
4457
4596
|
"""Duplicate effect at the same position in the stack
|
|
4458
4597
|
|
|
@@ -4460,7 +4599,7 @@ def shaderfx_copy(
|
|
|
4460
4599
|
:type execution_context: int | str | None
|
|
4461
4600
|
:type undo: bool | None
|
|
4462
4601
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
4463
|
-
:type shaderfx: str
|
|
4602
|
+
:type shaderfx: str
|
|
4464
4603
|
"""
|
|
4465
4604
|
|
|
4466
4605
|
...
|
|
@@ -4470,7 +4609,7 @@ def shaderfx_move_down(
|
|
|
4470
4609
|
execution_context: int | str | None = None,
|
|
4471
4610
|
undo: bool | None = None,
|
|
4472
4611
|
*,
|
|
4473
|
-
shaderfx: str
|
|
4612
|
+
shaderfx: str = "",
|
|
4474
4613
|
):
|
|
4475
4614
|
"""Move effect down in the stack
|
|
4476
4615
|
|
|
@@ -4478,7 +4617,7 @@ def shaderfx_move_down(
|
|
|
4478
4617
|
:type execution_context: int | str | None
|
|
4479
4618
|
:type undo: bool | None
|
|
4480
4619
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
4481
|
-
:type shaderfx: str
|
|
4620
|
+
:type shaderfx: str
|
|
4482
4621
|
"""
|
|
4483
4622
|
|
|
4484
4623
|
...
|
|
@@ -4488,8 +4627,8 @@ def shaderfx_move_to_index(
|
|
|
4488
4627
|
execution_context: int | str | None = None,
|
|
4489
4628
|
undo: bool | None = None,
|
|
4490
4629
|
*,
|
|
4491
|
-
shaderfx: str
|
|
4492
|
-
index:
|
|
4630
|
+
shaderfx: str = "",
|
|
4631
|
+
index: int | None = 0,
|
|
4493
4632
|
):
|
|
4494
4633
|
"""Change the effect's position in the list so it evaluates after the set number of others
|
|
4495
4634
|
|
|
@@ -4497,9 +4636,9 @@ def shaderfx_move_to_index(
|
|
|
4497
4636
|
:type execution_context: int | str | None
|
|
4498
4637
|
:type undo: bool | None
|
|
4499
4638
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
4500
|
-
:type shaderfx: str
|
|
4639
|
+
:type shaderfx: str
|
|
4501
4640
|
:param index: Index, The index to move the effect to
|
|
4502
|
-
:type index:
|
|
4641
|
+
:type index: int | None
|
|
4503
4642
|
"""
|
|
4504
4643
|
|
|
4505
4644
|
...
|
|
@@ -4509,7 +4648,7 @@ def shaderfx_move_up(
|
|
|
4509
4648
|
execution_context: int | str | None = None,
|
|
4510
4649
|
undo: bool | None = None,
|
|
4511
4650
|
*,
|
|
4512
|
-
shaderfx: str
|
|
4651
|
+
shaderfx: str = "",
|
|
4513
4652
|
):
|
|
4514
4653
|
"""Move effect up in the stack
|
|
4515
4654
|
|
|
@@ -4517,7 +4656,7 @@ def shaderfx_move_up(
|
|
|
4517
4656
|
:type execution_context: int | str | None
|
|
4518
4657
|
:type undo: bool | None
|
|
4519
4658
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
4520
|
-
:type shaderfx: str
|
|
4659
|
+
:type shaderfx: str
|
|
4521
4660
|
"""
|
|
4522
4661
|
|
|
4523
4662
|
...
|
|
@@ -4527,8 +4666,8 @@ def shaderfx_remove(
|
|
|
4527
4666
|
execution_context: int | str | None = None,
|
|
4528
4667
|
undo: bool | None = None,
|
|
4529
4668
|
*,
|
|
4530
|
-
shaderfx: str
|
|
4531
|
-
report: bool |
|
|
4669
|
+
shaderfx: str = "",
|
|
4670
|
+
report: bool | None = False,
|
|
4532
4671
|
):
|
|
4533
4672
|
"""Remove a effect from the active grease pencil object
|
|
4534
4673
|
|
|
@@ -4536,9 +4675,9 @@ def shaderfx_remove(
|
|
|
4536
4675
|
:type execution_context: int | str | None
|
|
4537
4676
|
:type undo: bool | None
|
|
4538
4677
|
:param shaderfx: Shader, Name of the shaderfx to edit
|
|
4539
|
-
:type shaderfx: str
|
|
4678
|
+
:type shaderfx: str
|
|
4540
4679
|
:param report: Report, Create a notification after the operation
|
|
4541
|
-
:type report: bool |
|
|
4680
|
+
:type report: bool | None
|
|
4542
4681
|
"""
|
|
4543
4682
|
|
|
4544
4683
|
...
|
|
@@ -4548,7 +4687,7 @@ def shape_key_add(
|
|
|
4548
4687
|
execution_context: int | str | None = None,
|
|
4549
4688
|
undo: bool | None = None,
|
|
4550
4689
|
*,
|
|
4551
|
-
from_mix: bool |
|
|
4690
|
+
from_mix: bool | None = True,
|
|
4552
4691
|
):
|
|
4553
4692
|
"""Add shape key to the object
|
|
4554
4693
|
|
|
@@ -4556,7 +4695,7 @@ def shape_key_add(
|
|
|
4556
4695
|
:type execution_context: int | str | None
|
|
4557
4696
|
:type undo: bool | None
|
|
4558
4697
|
:param from_mix: From Mix, Create the new shape key from the existing mix of keys
|
|
4559
|
-
:type from_mix: bool |
|
|
4698
|
+
:type from_mix: bool | None
|
|
4560
4699
|
"""
|
|
4561
4700
|
|
|
4562
4701
|
...
|
|
@@ -4604,7 +4743,7 @@ def shape_key_mirror(
|
|
|
4604
4743
|
execution_context: int | str | None = None,
|
|
4605
4744
|
undo: bool | None = None,
|
|
4606
4745
|
*,
|
|
4607
|
-
use_topology: bool |
|
|
4746
|
+
use_topology: bool | None = False,
|
|
4608
4747
|
):
|
|
4609
4748
|
"""Mirror the current shape key along the local X axis
|
|
4610
4749
|
|
|
@@ -4612,7 +4751,7 @@ def shape_key_mirror(
|
|
|
4612
4751
|
:type execution_context: int | str | None
|
|
4613
4752
|
:type undo: bool | None
|
|
4614
4753
|
:param use_topology: Topology Mirror, Use topology based mirroring (for when both sides of mesh have matching, unique topology)
|
|
4615
|
-
:type use_topology: bool |
|
|
4754
|
+
:type use_topology: bool | None
|
|
4616
4755
|
"""
|
|
4617
4756
|
|
|
4618
4757
|
...
|
|
@@ -4652,8 +4791,8 @@ def shape_key_remove(
|
|
|
4652
4791
|
execution_context: int | str | None = None,
|
|
4653
4792
|
undo: bool | None = None,
|
|
4654
4793
|
*,
|
|
4655
|
-
all: bool |
|
|
4656
|
-
apply_mix: bool |
|
|
4794
|
+
all: bool | None = False,
|
|
4795
|
+
apply_mix: bool | None = False,
|
|
4657
4796
|
):
|
|
4658
4797
|
"""Remove shape key from the object
|
|
4659
4798
|
|
|
@@ -4661,9 +4800,9 @@ def shape_key_remove(
|
|
|
4661
4800
|
:type execution_context: int | str | None
|
|
4662
4801
|
:type undo: bool | None
|
|
4663
4802
|
:param all: All, Remove all shape keys
|
|
4664
|
-
:type all: bool |
|
|
4803
|
+
:type all: bool | None
|
|
4665
4804
|
:param apply_mix: Apply Mix, Apply current mix of shape keys to the geometry before removing them
|
|
4666
|
-
:type apply_mix: bool |
|
|
4805
|
+
:type apply_mix: bool | None
|
|
4667
4806
|
"""
|
|
4668
4807
|
|
|
4669
4808
|
...
|
|
@@ -4688,7 +4827,7 @@ def shape_key_transfer(
|
|
|
4688
4827
|
undo: bool | None = None,
|
|
4689
4828
|
*,
|
|
4690
4829
|
mode: str | None = "OFFSET",
|
|
4691
|
-
use_clamp: bool |
|
|
4830
|
+
use_clamp: bool | None = False,
|
|
4692
4831
|
):
|
|
4693
4832
|
"""Copy the active shape key of another selected object to this one
|
|
4694
4833
|
|
|
@@ -4707,7 +4846,7 @@ def shape_key_transfer(
|
|
|
4707
4846
|
Relative Edge -- Calculate relative position (using edges).
|
|
4708
4847
|
:type mode: str | None
|
|
4709
4848
|
:param use_clamp: Clamp Offset, Clamp the transformation to the distance each vertex moves in the original shape
|
|
4710
|
-
:type use_clamp: bool |
|
|
4849
|
+
:type use_clamp: bool | None
|
|
4711
4850
|
"""
|
|
4712
4851
|
|
|
4713
4852
|
...
|
|
@@ -4717,7 +4856,7 @@ def simulation_nodes_cache_bake(
|
|
|
4717
4856
|
execution_context: int | str | None = None,
|
|
4718
4857
|
undo: bool | None = None,
|
|
4719
4858
|
*,
|
|
4720
|
-
selected: bool |
|
|
4859
|
+
selected: bool | None = False,
|
|
4721
4860
|
):
|
|
4722
4861
|
"""Bake simulations in geometry nodes modifiers
|
|
4723
4862
|
|
|
@@ -4725,7 +4864,7 @@ def simulation_nodes_cache_bake(
|
|
|
4725
4864
|
:type execution_context: int | str | None
|
|
4726
4865
|
:type undo: bool | None
|
|
4727
4866
|
:param selected: Selected, Bake cache on all selected objects
|
|
4728
|
-
:type selected: bool |
|
|
4867
|
+
:type selected: bool | None
|
|
4729
4868
|
"""
|
|
4730
4869
|
|
|
4731
4870
|
...
|
|
@@ -4735,7 +4874,7 @@ def simulation_nodes_cache_calculate_to_frame(
|
|
|
4735
4874
|
execution_context: int | str | None = None,
|
|
4736
4875
|
undo: bool | None = None,
|
|
4737
4876
|
*,
|
|
4738
|
-
selected: bool |
|
|
4877
|
+
selected: bool | None = False,
|
|
4739
4878
|
):
|
|
4740
4879
|
"""Calculate simulations in geometry nodes modifiers from the start to current frame
|
|
4741
4880
|
|
|
@@ -4743,7 +4882,7 @@ def simulation_nodes_cache_calculate_to_frame(
|
|
|
4743
4882
|
:type execution_context: int | str | None
|
|
4744
4883
|
:type undo: bool | None
|
|
4745
4884
|
:param selected: Selected, Calculate all selected objects instead of just the active object
|
|
4746
|
-
:type selected: bool |
|
|
4885
|
+
:type selected: bool | None
|
|
4747
4886
|
"""
|
|
4748
4887
|
|
|
4749
4888
|
...
|
|
@@ -4753,7 +4892,7 @@ def simulation_nodes_cache_delete(
|
|
|
4753
4892
|
execution_context: int | str | None = None,
|
|
4754
4893
|
undo: bool | None = None,
|
|
4755
4894
|
*,
|
|
4756
|
-
selected: bool |
|
|
4895
|
+
selected: bool | None = False,
|
|
4757
4896
|
):
|
|
4758
4897
|
"""Delete cached/baked simulations in geometry nodes modifiers
|
|
4759
4898
|
|
|
@@ -4761,7 +4900,7 @@ def simulation_nodes_cache_delete(
|
|
|
4761
4900
|
:type execution_context: int | str | None
|
|
4762
4901
|
:type undo: bool | None
|
|
4763
4902
|
:param selected: Selected, Delete cache on all selected objects
|
|
4764
|
-
:type selected: bool |
|
|
4903
|
+
:type selected: bool | None
|
|
4765
4904
|
"""
|
|
4766
4905
|
|
|
4767
4906
|
...
|
|
@@ -4771,7 +4910,7 @@ def skin_armature_create(
|
|
|
4771
4910
|
execution_context: int | str | None = None,
|
|
4772
4911
|
undo: bool | None = None,
|
|
4773
4912
|
*,
|
|
4774
|
-
modifier: str
|
|
4913
|
+
modifier: str = "",
|
|
4775
4914
|
):
|
|
4776
4915
|
"""Create an armature that parallels the skin layout
|
|
4777
4916
|
|
|
@@ -4779,7 +4918,7 @@ def skin_armature_create(
|
|
|
4779
4918
|
:type execution_context: int | str | None
|
|
4780
4919
|
:type undo: bool | None
|
|
4781
4920
|
:param modifier: Modifier, Name of the modifier to edit
|
|
4782
|
-
:type modifier: str
|
|
4921
|
+
:type modifier: str
|
|
4783
4922
|
"""
|
|
4784
4923
|
|
|
4785
4924
|
...
|
|
@@ -4841,11 +4980,19 @@ def speaker_add(
|
|
|
4841
4980
|
execution_context: int | str | None = None,
|
|
4842
4981
|
undo: bool | None = None,
|
|
4843
4982
|
*,
|
|
4844
|
-
enter_editmode: bool |
|
|
4983
|
+
enter_editmode: bool | None = False,
|
|
4845
4984
|
align: str | None = "WORLD",
|
|
4846
|
-
location:
|
|
4847
|
-
|
|
4848
|
-
|
|
4985
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
4986
|
+
0.0,
|
|
4987
|
+
0.0,
|
|
4988
|
+
0.0,
|
|
4989
|
+
),
|
|
4990
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
4991
|
+
0.0,
|
|
4992
|
+
0.0,
|
|
4993
|
+
0.0,
|
|
4994
|
+
),
|
|
4995
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4849
4996
|
):
|
|
4850
4997
|
"""Add a speaker object to the scene
|
|
4851
4998
|
|
|
@@ -4853,7 +5000,7 @@ def speaker_add(
|
|
|
4853
5000
|
:type execution_context: int | str | None
|
|
4854
5001
|
:type undo: bool | None
|
|
4855
5002
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
4856
|
-
:type enter_editmode: bool |
|
|
5003
|
+
:type enter_editmode: bool | None
|
|
4857
5004
|
:param align: Align, The alignment of the new object
|
|
4858
5005
|
|
|
4859
5006
|
WORLD
|
|
@@ -4866,11 +5013,11 @@ def speaker_add(
|
|
|
4866
5013
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
4867
5014
|
:type align: str | None
|
|
4868
5015
|
:param location: Location, Location for the newly added object
|
|
4869
|
-
:type location:
|
|
5016
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4870
5017
|
:param rotation: Rotation, Rotation for the newly added object
|
|
4871
|
-
:type rotation:
|
|
5018
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
4872
5019
|
:param scale: Scale, Scale for the newly added object
|
|
4873
|
-
:type scale:
|
|
5020
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4874
5021
|
"""
|
|
4875
5022
|
|
|
4876
5023
|
...
|
|
@@ -4880,8 +5027,8 @@ def subdivision_set(
|
|
|
4880
5027
|
execution_context: int | str | None = None,
|
|
4881
5028
|
undo: bool | None = None,
|
|
4882
5029
|
*,
|
|
4883
|
-
level:
|
|
4884
|
-
relative: bool |
|
|
5030
|
+
level: int | None = 1,
|
|
5031
|
+
relative: bool | None = False,
|
|
4885
5032
|
):
|
|
4886
5033
|
"""Sets a Subdivision Surface level (1 to 5)
|
|
4887
5034
|
|
|
@@ -4889,9 +5036,9 @@ def subdivision_set(
|
|
|
4889
5036
|
:type execution_context: int | str | None
|
|
4890
5037
|
:type undo: bool | None
|
|
4891
5038
|
:param level: Level
|
|
4892
|
-
:type level:
|
|
5039
|
+
:type level: int | None
|
|
4893
5040
|
:param relative: Relative, Apply the subdivision surface level as an offset relative to the current level
|
|
4894
|
-
:type relative: bool |
|
|
5041
|
+
:type relative: bool | None
|
|
4895
5042
|
"""
|
|
4896
5043
|
|
|
4897
5044
|
...
|
|
@@ -4901,7 +5048,7 @@ def surfacedeform_bind(
|
|
|
4901
5048
|
execution_context: int | str | None = None,
|
|
4902
5049
|
undo: bool | None = None,
|
|
4903
5050
|
*,
|
|
4904
|
-
modifier: str
|
|
5051
|
+
modifier: str = "",
|
|
4905
5052
|
):
|
|
4906
5053
|
"""Bind mesh to target in surface deform modifier
|
|
4907
5054
|
|
|
@@ -4909,7 +5056,7 @@ def surfacedeform_bind(
|
|
|
4909
5056
|
:type execution_context: int | str | None
|
|
4910
5057
|
:type undo: bool | None
|
|
4911
5058
|
:param modifier: Modifier, Name of the modifier to edit
|
|
4912
|
-
:type modifier: str
|
|
5059
|
+
:type modifier: str
|
|
4913
5060
|
"""
|
|
4914
5061
|
|
|
4915
5062
|
...
|
|
@@ -4919,12 +5066,20 @@ def text_add(
|
|
|
4919
5066
|
execution_context: int | str | None = None,
|
|
4920
5067
|
undo: bool | None = None,
|
|
4921
5068
|
*,
|
|
4922
|
-
radius:
|
|
4923
|
-
enter_editmode: bool |
|
|
5069
|
+
radius: float | None = 1.0,
|
|
5070
|
+
enter_editmode: bool | None = False,
|
|
4924
5071
|
align: str | None = "WORLD",
|
|
4925
|
-
location:
|
|
4926
|
-
|
|
4927
|
-
|
|
5072
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
5073
|
+
0.0,
|
|
5074
|
+
0.0,
|
|
5075
|
+
0.0,
|
|
5076
|
+
),
|
|
5077
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
5078
|
+
0.0,
|
|
5079
|
+
0.0,
|
|
5080
|
+
0.0,
|
|
5081
|
+
),
|
|
5082
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
4928
5083
|
):
|
|
4929
5084
|
"""Add a text object to the scene
|
|
4930
5085
|
|
|
@@ -4932,9 +5087,9 @@ def text_add(
|
|
|
4932
5087
|
:type execution_context: int | str | None
|
|
4933
5088
|
:type undo: bool | None
|
|
4934
5089
|
:param radius: Radius
|
|
4935
|
-
:type radius:
|
|
5090
|
+
:type radius: float | None
|
|
4936
5091
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
4937
|
-
:type enter_editmode: bool |
|
|
5092
|
+
:type enter_editmode: bool | None
|
|
4938
5093
|
:param align: Align, The alignment of the new object
|
|
4939
5094
|
|
|
4940
5095
|
WORLD
|
|
@@ -4947,11 +5102,11 @@ def text_add(
|
|
|
4947
5102
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
4948
5103
|
:type align: str | None
|
|
4949
5104
|
:param location: Location, Location for the newly added object
|
|
4950
|
-
:type location:
|
|
5105
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4951
5106
|
:param rotation: Rotation, Rotation for the newly added object
|
|
4952
|
-
:type rotation:
|
|
5107
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
4953
5108
|
:param scale: Scale, Scale for the newly added object
|
|
4954
|
-
:type scale:
|
|
5109
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
4955
5110
|
"""
|
|
4956
5111
|
|
|
4957
5112
|
...
|
|
@@ -4997,7 +5152,7 @@ def transfer_mode(
|
|
|
4997
5152
|
execution_context: int | str | None = None,
|
|
4998
5153
|
undo: bool | None = None,
|
|
4999
5154
|
*,
|
|
5000
|
-
use_flash_on_transfer: bool |
|
|
5155
|
+
use_flash_on_transfer: bool | None = True,
|
|
5001
5156
|
):
|
|
5002
5157
|
"""Switches the active object and assigns the same mode to a new one under the mouse cursor, leaving the active mode in the current one
|
|
5003
5158
|
|
|
@@ -5005,7 +5160,7 @@ def transfer_mode(
|
|
|
5005
5160
|
:type execution_context: int | str | None
|
|
5006
5161
|
:type undo: bool | None
|
|
5007
5162
|
:param use_flash_on_transfer: Flash On Transfer, Flash the target object when transferring the mode
|
|
5008
|
-
:type use_flash_on_transfer: bool |
|
|
5163
|
+
:type use_flash_on_transfer: bool | None
|
|
5009
5164
|
"""
|
|
5010
5165
|
|
|
5011
5166
|
...
|
|
@@ -5015,11 +5170,11 @@ def transform_apply(
|
|
|
5015
5170
|
execution_context: int | str | None = None,
|
|
5016
5171
|
undo: bool | None = None,
|
|
5017
5172
|
*,
|
|
5018
|
-
location: bool |
|
|
5019
|
-
rotation: bool |
|
|
5020
|
-
scale: bool |
|
|
5021
|
-
properties: bool |
|
|
5022
|
-
isolate_users: bool |
|
|
5173
|
+
location: bool | None = True,
|
|
5174
|
+
rotation: bool | None = True,
|
|
5175
|
+
scale: bool | None = True,
|
|
5176
|
+
properties: bool | None = True,
|
|
5177
|
+
isolate_users: bool | None = False,
|
|
5023
5178
|
):
|
|
5024
5179
|
"""Apply the object's transformation to its data
|
|
5025
5180
|
|
|
@@ -5027,15 +5182,15 @@ def transform_apply(
|
|
|
5027
5182
|
:type execution_context: int | str | None
|
|
5028
5183
|
:type undo: bool | None
|
|
5029
5184
|
:param location: Location
|
|
5030
|
-
:type location: bool |
|
|
5185
|
+
:type location: bool | None
|
|
5031
5186
|
:param rotation: Rotation
|
|
5032
|
-
:type rotation: bool |
|
|
5187
|
+
:type rotation: bool | None
|
|
5033
5188
|
:param scale: Scale
|
|
5034
|
-
:type scale: bool |
|
|
5189
|
+
:type scale: bool | None
|
|
5035
5190
|
:param properties: Apply Properties, Modify properties such as curve vertex radius, font size and bone envelope
|
|
5036
|
-
:type properties: bool |
|
|
5191
|
+
:type properties: bool | None
|
|
5037
5192
|
:param isolate_users: Isolate Multi User Data, Create new object-data users if needed
|
|
5038
|
-
:type isolate_users: bool |
|
|
5193
|
+
:type isolate_users: bool | None
|
|
5039
5194
|
"""
|
|
5040
5195
|
|
|
5041
5196
|
...
|
|
@@ -5059,16 +5214,18 @@ def transform_to_mouse(
|
|
|
5059
5214
|
execution_context: int | str | None = None,
|
|
5060
5215
|
undo: bool | None = None,
|
|
5061
5216
|
*,
|
|
5062
|
-
name: str
|
|
5063
|
-
session_uid:
|
|
5064
|
-
matrix:
|
|
5217
|
+
name: str = "",
|
|
5218
|
+
session_uid: int | None = 0,
|
|
5219
|
+
matrix: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
5220
|
+
| mathutils.Matrix
|
|
5221
|
+
| None = (
|
|
5065
5222
|
(0.0, 0.0, 0.0, 0.0),
|
|
5066
5223
|
(0.0, 0.0, 0.0, 0.0),
|
|
5067
5224
|
(0.0, 0.0, 0.0, 0.0),
|
|
5068
5225
|
(0.0, 0.0, 0.0, 0.0),
|
|
5069
5226
|
),
|
|
5070
|
-
drop_x:
|
|
5071
|
-
drop_y:
|
|
5227
|
+
drop_x: int | None = 0,
|
|
5228
|
+
drop_y: int | None = 0,
|
|
5072
5229
|
):
|
|
5073
5230
|
"""Snap selected item(s) to the mouse location
|
|
5074
5231
|
|
|
@@ -5076,15 +5233,15 @@ def transform_to_mouse(
|
|
|
5076
5233
|
:type execution_context: int | str | None
|
|
5077
5234
|
:type undo: bool | None
|
|
5078
5235
|
:param name: Name, Object name to place (uses the active object when this and 'session_uid' are unset)
|
|
5079
|
-
:type name: str
|
|
5236
|
+
:type name: str
|
|
5080
5237
|
:param session_uid: Session UUID, Session UUID of the object to place (uses the active object when this and 'name' are unset)
|
|
5081
|
-
:type session_uid:
|
|
5238
|
+
:type session_uid: int | None
|
|
5082
5239
|
:param matrix: Matrix
|
|
5083
|
-
:type matrix:
|
|
5240
|
+
:type matrix: collections.abc.Sequence[collections.abc.Sequence[float]] | mathutils.Matrix | None
|
|
5084
5241
|
:param drop_x: Drop X, X-coordinate (screen space) to place the new object under
|
|
5085
|
-
:type drop_x:
|
|
5242
|
+
:type drop_x: int | None
|
|
5086
5243
|
:param drop_y: Drop Y, Y-coordinate (screen space) to place the new object under
|
|
5087
|
-
:type drop_y:
|
|
5244
|
+
:type drop_y: int | None
|
|
5088
5245
|
"""
|
|
5089
5246
|
|
|
5090
5247
|
...
|
|
@@ -5095,7 +5252,7 @@ def transforms_to_deltas(
|
|
|
5095
5252
|
undo: bool | None = None,
|
|
5096
5253
|
*,
|
|
5097
5254
|
mode: str | None = "ALL",
|
|
5098
|
-
reset_values: bool |
|
|
5255
|
+
reset_values: bool | None = True,
|
|
5099
5256
|
):
|
|
5100
5257
|
"""Convert normal object transforms to delta transforms, any existing delta transforms will be included as well
|
|
5101
5258
|
|
|
@@ -5117,7 +5274,7 @@ def transforms_to_deltas(
|
|
|
5117
5274
|
Scale -- Transfer scale transforms only.
|
|
5118
5275
|
:type mode: str | None
|
|
5119
5276
|
:param reset_values: Reset Values, Clear transform values after transferring to deltas
|
|
5120
|
-
:type reset_values: bool |
|
|
5277
|
+
:type reset_values: bool | None
|
|
5121
5278
|
"""
|
|
5122
5279
|
|
|
5123
5280
|
...
|
|
@@ -5184,8 +5341,8 @@ def vertex_group_clean(
|
|
|
5184
5341
|
undo: bool | None = None,
|
|
5185
5342
|
*,
|
|
5186
5343
|
group_select_mode: str | None = "",
|
|
5187
|
-
limit:
|
|
5188
|
-
keep_single: bool |
|
|
5344
|
+
limit: float | None = 0.0,
|
|
5345
|
+
keep_single: bool | None = False,
|
|
5189
5346
|
):
|
|
5190
5347
|
"""Remove vertex group assignments which are not required
|
|
5191
5348
|
|
|
@@ -5195,9 +5352,9 @@ def vertex_group_clean(
|
|
|
5195
5352
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5196
5353
|
:type group_select_mode: str | None
|
|
5197
5354
|
:param limit: Limit, Remove vertices which weight is below or equal to this limit
|
|
5198
|
-
:type limit:
|
|
5355
|
+
:type limit: float | None
|
|
5199
5356
|
:param keep_single: Keep Single, Keep verts assigned to at least one group when cleaning
|
|
5200
|
-
:type keep_single: bool |
|
|
5357
|
+
:type keep_single: bool | None
|
|
5201
5358
|
"""
|
|
5202
5359
|
|
|
5203
5360
|
...
|
|
@@ -5250,8 +5407,8 @@ def vertex_group_invert(
|
|
|
5250
5407
|
undo: bool | None = None,
|
|
5251
5408
|
*,
|
|
5252
5409
|
group_select_mode: str | None = "",
|
|
5253
|
-
auto_assign: bool |
|
|
5254
|
-
auto_remove: bool |
|
|
5410
|
+
auto_assign: bool | None = True,
|
|
5411
|
+
auto_remove: bool | None = True,
|
|
5255
5412
|
):
|
|
5256
5413
|
"""Invert active vertex group's weights
|
|
5257
5414
|
|
|
@@ -5261,9 +5418,9 @@ def vertex_group_invert(
|
|
|
5261
5418
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5262
5419
|
:type group_select_mode: str | None
|
|
5263
5420
|
:param auto_assign: Add Weights, Add vertices from groups that have zero weight before inverting
|
|
5264
|
-
:type auto_assign: bool |
|
|
5421
|
+
:type auto_assign: bool | None
|
|
5265
5422
|
:param auto_remove: Remove Weights, Remove vertices from groups that have zero weight after inverting
|
|
5266
|
-
:type auto_remove: bool |
|
|
5423
|
+
:type auto_remove: bool | None
|
|
5267
5424
|
"""
|
|
5268
5425
|
|
|
5269
5426
|
...
|
|
@@ -5274,8 +5431,8 @@ def vertex_group_levels(
|
|
|
5274
5431
|
undo: bool | None = None,
|
|
5275
5432
|
*,
|
|
5276
5433
|
group_select_mode: str | None = "",
|
|
5277
|
-
offset:
|
|
5278
|
-
gain:
|
|
5434
|
+
offset: float | None = 0.0,
|
|
5435
|
+
gain: float | None = 1.0,
|
|
5279
5436
|
):
|
|
5280
5437
|
"""Add some offset and multiply with some gain the weights of the active vertex group
|
|
5281
5438
|
|
|
@@ -5285,9 +5442,9 @@ def vertex_group_levels(
|
|
|
5285
5442
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5286
5443
|
:type group_select_mode: str | None
|
|
5287
5444
|
:param offset: Offset, Value to add to weights
|
|
5288
|
-
:type offset:
|
|
5445
|
+
:type offset: float | None
|
|
5289
5446
|
:param gain: Gain, Value to multiply weights by
|
|
5290
|
-
:type gain:
|
|
5447
|
+
:type gain: float | None
|
|
5291
5448
|
"""
|
|
5292
5449
|
|
|
5293
5450
|
...
|
|
@@ -5298,7 +5455,7 @@ def vertex_group_limit_total(
|
|
|
5298
5455
|
undo: bool | None = None,
|
|
5299
5456
|
*,
|
|
5300
5457
|
group_select_mode: str | None = "",
|
|
5301
|
-
limit:
|
|
5458
|
+
limit: int | None = 4,
|
|
5302
5459
|
):
|
|
5303
5460
|
"""Limit deform weights associated with a vertex to a specified number by removing lowest weights
|
|
5304
5461
|
|
|
@@ -5308,7 +5465,7 @@ def vertex_group_limit_total(
|
|
|
5308
5465
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5309
5466
|
:type group_select_mode: str | None
|
|
5310
5467
|
:param limit: Limit, Maximum number of deform weights
|
|
5311
|
-
:type limit:
|
|
5468
|
+
:type limit: int | None
|
|
5312
5469
|
"""
|
|
5313
5470
|
|
|
5314
5471
|
...
|
|
@@ -5363,10 +5520,10 @@ def vertex_group_mirror(
|
|
|
5363
5520
|
execution_context: int | str | None = None,
|
|
5364
5521
|
undo: bool | None = None,
|
|
5365
5522
|
*,
|
|
5366
|
-
mirror_weights: bool |
|
|
5367
|
-
flip_group_names: bool |
|
|
5368
|
-
all_groups: bool |
|
|
5369
|
-
use_topology: bool |
|
|
5523
|
+
mirror_weights: bool | None = True,
|
|
5524
|
+
flip_group_names: bool | None = True,
|
|
5525
|
+
all_groups: bool | None = False,
|
|
5526
|
+
use_topology: bool | None = False,
|
|
5370
5527
|
):
|
|
5371
5528
|
"""Mirror vertex group, flip weights and/or names, editing only selected vertices, flipping when both sides are selected otherwise copy from unselected
|
|
5372
5529
|
|
|
@@ -5374,13 +5531,13 @@ def vertex_group_mirror(
|
|
|
5374
5531
|
:type execution_context: int | str | None
|
|
5375
5532
|
:type undo: bool | None
|
|
5376
5533
|
:param mirror_weights: Mirror Weights, Mirror weights
|
|
5377
|
-
:type mirror_weights: bool |
|
|
5534
|
+
:type mirror_weights: bool | None
|
|
5378
5535
|
:param flip_group_names: Flip Group Names, Flip vertex group names
|
|
5379
|
-
:type flip_group_names: bool |
|
|
5536
|
+
:type flip_group_names: bool | None
|
|
5380
5537
|
:param all_groups: All Groups, Mirror all vertex groups weights
|
|
5381
|
-
:type all_groups: bool |
|
|
5538
|
+
:type all_groups: bool | None
|
|
5382
5539
|
:param use_topology: Topology Mirror, Use topology based mirroring (for when both sides of mesh have matching, unique topology)
|
|
5383
|
-
:type use_topology: bool |
|
|
5540
|
+
:type use_topology: bool | None
|
|
5384
5541
|
"""
|
|
5385
5542
|
|
|
5386
5543
|
...
|
|
@@ -5423,7 +5580,7 @@ def vertex_group_normalize_all(
|
|
|
5423
5580
|
undo: bool | None = None,
|
|
5424
5581
|
*,
|
|
5425
5582
|
group_select_mode: str | None = "",
|
|
5426
|
-
lock_active: bool |
|
|
5583
|
+
lock_active: bool | None = True,
|
|
5427
5584
|
):
|
|
5428
5585
|
"""Normalize all weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
5429
5586
|
|
|
@@ -5433,7 +5590,7 @@ def vertex_group_normalize_all(
|
|
|
5433
5590
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5434
5591
|
:type group_select_mode: str | None
|
|
5435
5592
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
5436
|
-
:type lock_active: bool |
|
|
5593
|
+
:type lock_active: bool | None
|
|
5437
5594
|
"""
|
|
5438
5595
|
|
|
5439
5596
|
...
|
|
@@ -5444,7 +5601,7 @@ def vertex_group_quantize(
|
|
|
5444
5601
|
undo: bool | None = None,
|
|
5445
5602
|
*,
|
|
5446
5603
|
group_select_mode: str | None = "",
|
|
5447
|
-
steps:
|
|
5604
|
+
steps: int | None = 4,
|
|
5448
5605
|
):
|
|
5449
5606
|
"""Set weights to a fixed number of steps
|
|
5450
5607
|
|
|
@@ -5454,7 +5611,7 @@ def vertex_group_quantize(
|
|
|
5454
5611
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5455
5612
|
:type group_select_mode: str | None
|
|
5456
5613
|
:param steps: Steps, Number of steps between 0 and 1
|
|
5457
|
-
:type steps:
|
|
5614
|
+
:type steps: int | None
|
|
5458
5615
|
"""
|
|
5459
5616
|
|
|
5460
5617
|
...
|
|
@@ -5464,8 +5621,8 @@ def vertex_group_remove(
|
|
|
5464
5621
|
execution_context: int | str | None = None,
|
|
5465
5622
|
undo: bool | None = None,
|
|
5466
5623
|
*,
|
|
5467
|
-
all: bool |
|
|
5468
|
-
all_unlocked: bool |
|
|
5624
|
+
all: bool | None = False,
|
|
5625
|
+
all_unlocked: bool | None = False,
|
|
5469
5626
|
):
|
|
5470
5627
|
"""Delete the active or all vertex groups from the active object
|
|
5471
5628
|
|
|
@@ -5473,9 +5630,9 @@ def vertex_group_remove(
|
|
|
5473
5630
|
:type execution_context: int | str | None
|
|
5474
5631
|
:type undo: bool | None
|
|
5475
5632
|
:param all: All, Remove all vertex groups
|
|
5476
|
-
:type all: bool |
|
|
5633
|
+
:type all: bool | None
|
|
5477
5634
|
:param all_unlocked: All Unlocked, Remove all unlocked vertex groups
|
|
5478
|
-
:type all_unlocked: bool |
|
|
5635
|
+
:type all_unlocked: bool | None
|
|
5479
5636
|
"""
|
|
5480
5637
|
|
|
5481
5638
|
...
|
|
@@ -5485,8 +5642,8 @@ def vertex_group_remove_from(
|
|
|
5485
5642
|
execution_context: int | str | None = None,
|
|
5486
5643
|
undo: bool | None = None,
|
|
5487
5644
|
*,
|
|
5488
|
-
use_all_groups: bool |
|
|
5489
|
-
use_all_verts: bool |
|
|
5645
|
+
use_all_groups: bool | None = False,
|
|
5646
|
+
use_all_verts: bool | None = False,
|
|
5490
5647
|
):
|
|
5491
5648
|
"""Remove the selected vertices from active or all vertex group(s)
|
|
5492
5649
|
|
|
@@ -5494,9 +5651,9 @@ def vertex_group_remove_from(
|
|
|
5494
5651
|
:type execution_context: int | str | None
|
|
5495
5652
|
:type undo: bool | None
|
|
5496
5653
|
:param use_all_groups: All Groups, Remove from all groups
|
|
5497
|
-
:type use_all_groups: bool |
|
|
5654
|
+
:type use_all_groups: bool | None
|
|
5498
5655
|
:param use_all_verts: All Vertices, Clear the active group
|
|
5499
|
-
:type use_all_verts: bool |
|
|
5656
|
+
:type use_all_verts: bool | None
|
|
5500
5657
|
"""
|
|
5501
5658
|
|
|
5502
5659
|
...
|
|
@@ -5539,9 +5696,9 @@ def vertex_group_smooth(
|
|
|
5539
5696
|
undo: bool | None = None,
|
|
5540
5697
|
*,
|
|
5541
5698
|
group_select_mode: str | None = "",
|
|
5542
|
-
factor:
|
|
5543
|
-
repeat:
|
|
5544
|
-
expand:
|
|
5699
|
+
factor: float | None = 0.5,
|
|
5700
|
+
repeat: int | None = 1,
|
|
5701
|
+
expand: float | None = 0.0,
|
|
5545
5702
|
):
|
|
5546
5703
|
"""Smooth weights for selected vertices
|
|
5547
5704
|
|
|
@@ -5551,11 +5708,11 @@ def vertex_group_smooth(
|
|
|
5551
5708
|
:param group_select_mode: Subset, Define which subset of groups shall be used
|
|
5552
5709
|
:type group_select_mode: str | None
|
|
5553
5710
|
:param factor: Factor
|
|
5554
|
-
:type factor:
|
|
5711
|
+
:type factor: float | None
|
|
5555
5712
|
:param repeat: Iterations
|
|
5556
|
-
:type repeat:
|
|
5713
|
+
:type repeat: int | None
|
|
5557
5714
|
:param expand: Expand/Contract, Expand/contract weights
|
|
5558
|
-
:type expand:
|
|
5715
|
+
:type expand: float | None
|
|
5559
5716
|
"""
|
|
5560
5717
|
|
|
5561
5718
|
...
|
|
@@ -5611,7 +5768,7 @@ def vertex_weight_delete(
|
|
|
5611
5768
|
execution_context: int | str | None = None,
|
|
5612
5769
|
undo: bool | None = None,
|
|
5613
5770
|
*,
|
|
5614
|
-
weight_group:
|
|
5771
|
+
weight_group: int | None = -1,
|
|
5615
5772
|
):
|
|
5616
5773
|
"""Delete this weight from the vertex (disabled if vertex group is locked)
|
|
5617
5774
|
|
|
@@ -5619,7 +5776,7 @@ def vertex_weight_delete(
|
|
|
5619
5776
|
:type execution_context: int | str | None
|
|
5620
5777
|
:type undo: bool | None
|
|
5621
5778
|
:param weight_group: Weight Index, Index of source weight in active vertex group
|
|
5622
|
-
:type weight_group:
|
|
5779
|
+
:type weight_group: int | None
|
|
5623
5780
|
"""
|
|
5624
5781
|
|
|
5625
5782
|
...
|
|
@@ -5643,7 +5800,7 @@ def vertex_weight_paste(
|
|
|
5643
5800
|
execution_context: int | str | None = None,
|
|
5644
5801
|
undo: bool | None = None,
|
|
5645
5802
|
*,
|
|
5646
|
-
weight_group:
|
|
5803
|
+
weight_group: int | None = -1,
|
|
5647
5804
|
):
|
|
5648
5805
|
"""Copy this group's weight to other selected vertices (disabled if vertex group is locked)
|
|
5649
5806
|
|
|
@@ -5651,7 +5808,7 @@ def vertex_weight_paste(
|
|
|
5651
5808
|
:type execution_context: int | str | None
|
|
5652
5809
|
:type undo: bool | None
|
|
5653
5810
|
:param weight_group: Weight Index, Index of source weight in active vertex group
|
|
5654
|
-
:type weight_group:
|
|
5811
|
+
:type weight_group: int | None
|
|
5655
5812
|
"""
|
|
5656
5813
|
|
|
5657
5814
|
...
|
|
@@ -5661,7 +5818,7 @@ def vertex_weight_set_active(
|
|
|
5661
5818
|
execution_context: int | str | None = None,
|
|
5662
5819
|
undo: bool | None = None,
|
|
5663
5820
|
*,
|
|
5664
|
-
weight_group:
|
|
5821
|
+
weight_group: int | None = -1,
|
|
5665
5822
|
):
|
|
5666
5823
|
"""Set as active vertex group
|
|
5667
5824
|
|
|
@@ -5669,7 +5826,7 @@ def vertex_weight_set_active(
|
|
|
5669
5826
|
:type execution_context: int | str | None
|
|
5670
5827
|
:type undo: bool | None
|
|
5671
5828
|
:param weight_group: Weight Index, Index of source weight in active vertex group
|
|
5672
|
-
:type weight_group:
|
|
5829
|
+
:type weight_group: int | None
|
|
5673
5830
|
"""
|
|
5674
5831
|
|
|
5675
5832
|
...
|
|
@@ -5694,9 +5851,17 @@ def volume_add(
|
|
|
5694
5851
|
undo: bool | None = None,
|
|
5695
5852
|
*,
|
|
5696
5853
|
align: str | None = "WORLD",
|
|
5697
|
-
location:
|
|
5698
|
-
|
|
5699
|
-
|
|
5854
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
5855
|
+
0.0,
|
|
5856
|
+
0.0,
|
|
5857
|
+
0.0,
|
|
5858
|
+
),
|
|
5859
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
5860
|
+
0.0,
|
|
5861
|
+
0.0,
|
|
5862
|
+
0.0,
|
|
5863
|
+
),
|
|
5864
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
5700
5865
|
):
|
|
5701
5866
|
"""Add a volume object to the scene
|
|
5702
5867
|
|
|
@@ -5715,11 +5880,11 @@ def volume_add(
|
|
|
5715
5880
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
5716
5881
|
:type align: str | None
|
|
5717
5882
|
:param location: Location, Location for the newly added object
|
|
5718
|
-
:type location:
|
|
5883
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5719
5884
|
:param rotation: Rotation, Rotation for the newly added object
|
|
5720
|
-
:type rotation:
|
|
5885
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
5721
5886
|
:param scale: Scale, Scale for the newly added object
|
|
5722
|
-
:type scale:
|
|
5887
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5723
5888
|
"""
|
|
5724
5889
|
|
|
5725
5890
|
...
|
|
@@ -5729,38 +5894,46 @@ def volume_import(
|
|
|
5729
5894
|
execution_context: int | str | None = None,
|
|
5730
5895
|
undo: bool | None = None,
|
|
5731
5896
|
*,
|
|
5732
|
-
filepath: str
|
|
5733
|
-
directory: str
|
|
5897
|
+
filepath: str = "",
|
|
5898
|
+
directory: str = "",
|
|
5734
5899
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
5735
5900
|
| None = None,
|
|
5736
|
-
hide_props_region: bool |
|
|
5737
|
-
check_existing: bool |
|
|
5738
|
-
filter_blender: bool |
|
|
5739
|
-
filter_backup: bool |
|
|
5740
|
-
filter_image: bool |
|
|
5741
|
-
filter_movie: bool |
|
|
5742
|
-
filter_python: bool |
|
|
5743
|
-
filter_font: bool |
|
|
5744
|
-
filter_sound: bool |
|
|
5745
|
-
filter_text: bool |
|
|
5746
|
-
filter_archive: bool |
|
|
5747
|
-
filter_btx: bool |
|
|
5748
|
-
filter_collada: bool |
|
|
5749
|
-
filter_alembic: bool |
|
|
5750
|
-
filter_usd: bool |
|
|
5751
|
-
filter_obj: bool |
|
|
5752
|
-
filter_volume: bool |
|
|
5753
|
-
filter_folder: bool |
|
|
5754
|
-
filter_blenlib: bool |
|
|
5755
|
-
filemode:
|
|
5756
|
-
relative_path: bool |
|
|
5901
|
+
hide_props_region: bool | None = True,
|
|
5902
|
+
check_existing: bool | None = False,
|
|
5903
|
+
filter_blender: bool | None = False,
|
|
5904
|
+
filter_backup: bool | None = False,
|
|
5905
|
+
filter_image: bool | None = False,
|
|
5906
|
+
filter_movie: bool | None = False,
|
|
5907
|
+
filter_python: bool | None = False,
|
|
5908
|
+
filter_font: bool | None = False,
|
|
5909
|
+
filter_sound: bool | None = False,
|
|
5910
|
+
filter_text: bool | None = False,
|
|
5911
|
+
filter_archive: bool | None = False,
|
|
5912
|
+
filter_btx: bool | None = False,
|
|
5913
|
+
filter_collada: bool | None = False,
|
|
5914
|
+
filter_alembic: bool | None = False,
|
|
5915
|
+
filter_usd: bool | None = False,
|
|
5916
|
+
filter_obj: bool | None = False,
|
|
5917
|
+
filter_volume: bool | None = True,
|
|
5918
|
+
filter_folder: bool | None = True,
|
|
5919
|
+
filter_blenlib: bool | None = False,
|
|
5920
|
+
filemode: int | None = 9,
|
|
5921
|
+
relative_path: bool | None = True,
|
|
5757
5922
|
display_type: str | None = "DEFAULT",
|
|
5758
5923
|
sort_method: str | None = "",
|
|
5759
|
-
use_sequence_detection: bool |
|
|
5924
|
+
use_sequence_detection: bool | None = True,
|
|
5760
5925
|
align: str | None = "WORLD",
|
|
5761
|
-
location:
|
|
5762
|
-
|
|
5763
|
-
|
|
5926
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
5927
|
+
0.0,
|
|
5928
|
+
0.0,
|
|
5929
|
+
0.0,
|
|
5930
|
+
),
|
|
5931
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
5932
|
+
0.0,
|
|
5933
|
+
0.0,
|
|
5934
|
+
0.0,
|
|
5935
|
+
),
|
|
5936
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
5764
5937
|
):
|
|
5765
5938
|
"""Import OpenVDB volume file
|
|
5766
5939
|
|
|
@@ -5768,53 +5941,53 @@ def volume_import(
|
|
|
5768
5941
|
:type execution_context: int | str | None
|
|
5769
5942
|
:type undo: bool | None
|
|
5770
5943
|
:param filepath: File Path, Path to file
|
|
5771
|
-
:type filepath: str
|
|
5944
|
+
:type filepath: str
|
|
5772
5945
|
:param directory: Directory, Directory of the file
|
|
5773
|
-
:type directory: str
|
|
5946
|
+
:type directory: str
|
|
5774
5947
|
:param files: Files
|
|
5775
5948
|
:type files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement] | None
|
|
5776
5949
|
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
5777
|
-
:type hide_props_region: bool |
|
|
5950
|
+
:type hide_props_region: bool | None
|
|
5778
5951
|
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
5779
|
-
:type check_existing: bool |
|
|
5952
|
+
:type check_existing: bool | None
|
|
5780
5953
|
:param filter_blender: Filter .blend files
|
|
5781
|
-
:type filter_blender: bool |
|
|
5954
|
+
:type filter_blender: bool | None
|
|
5782
5955
|
:param filter_backup: Filter .blend files
|
|
5783
|
-
:type filter_backup: bool |
|
|
5956
|
+
:type filter_backup: bool | None
|
|
5784
5957
|
:param filter_image: Filter image files
|
|
5785
|
-
:type filter_image: bool |
|
|
5958
|
+
:type filter_image: bool | None
|
|
5786
5959
|
:param filter_movie: Filter movie files
|
|
5787
|
-
:type filter_movie: bool |
|
|
5960
|
+
:type filter_movie: bool | None
|
|
5788
5961
|
:param filter_python: Filter Python files
|
|
5789
|
-
:type filter_python: bool |
|
|
5962
|
+
:type filter_python: bool | None
|
|
5790
5963
|
:param filter_font: Filter font files
|
|
5791
|
-
:type filter_font: bool |
|
|
5964
|
+
:type filter_font: bool | None
|
|
5792
5965
|
:param filter_sound: Filter sound files
|
|
5793
|
-
:type filter_sound: bool |
|
|
5966
|
+
:type filter_sound: bool | None
|
|
5794
5967
|
:param filter_text: Filter text files
|
|
5795
|
-
:type filter_text: bool |
|
|
5968
|
+
:type filter_text: bool | None
|
|
5796
5969
|
:param filter_archive: Filter archive files
|
|
5797
|
-
:type filter_archive: bool |
|
|
5970
|
+
:type filter_archive: bool | None
|
|
5798
5971
|
:param filter_btx: Filter btx files
|
|
5799
|
-
:type filter_btx: bool |
|
|
5972
|
+
:type filter_btx: bool | None
|
|
5800
5973
|
:param filter_collada: Filter COLLADA files
|
|
5801
|
-
:type filter_collada: bool |
|
|
5974
|
+
:type filter_collada: bool | None
|
|
5802
5975
|
:param filter_alembic: Filter Alembic files
|
|
5803
|
-
:type filter_alembic: bool |
|
|
5976
|
+
:type filter_alembic: bool | None
|
|
5804
5977
|
:param filter_usd: Filter USD files
|
|
5805
|
-
:type filter_usd: bool |
|
|
5978
|
+
:type filter_usd: bool | None
|
|
5806
5979
|
:param filter_obj: Filter OBJ files
|
|
5807
|
-
:type filter_obj: bool |
|
|
5980
|
+
:type filter_obj: bool | None
|
|
5808
5981
|
:param filter_volume: Filter OpenVDB volume files
|
|
5809
|
-
:type filter_volume: bool |
|
|
5982
|
+
:type filter_volume: bool | None
|
|
5810
5983
|
:param filter_folder: Filter folders
|
|
5811
|
-
:type filter_folder: bool |
|
|
5984
|
+
:type filter_folder: bool | None
|
|
5812
5985
|
:param filter_blenlib: Filter Blender IDs
|
|
5813
|
-
:type filter_blenlib: bool |
|
|
5986
|
+
:type filter_blenlib: bool | None
|
|
5814
5987
|
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
5815
|
-
:type filemode:
|
|
5988
|
+
:type filemode: int | None
|
|
5816
5989
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
5817
|
-
:type relative_path: bool |
|
|
5990
|
+
:type relative_path: bool | None
|
|
5818
5991
|
:param display_type: Display Type
|
|
5819
5992
|
|
|
5820
5993
|
DEFAULT
|
|
@@ -5832,7 +6005,7 @@ def volume_import(
|
|
|
5832
6005
|
:param sort_method: File sorting mode
|
|
5833
6006
|
:type sort_method: str | None
|
|
5834
6007
|
:param use_sequence_detection: Detect Sequences, Automatically detect animated sequences in selected volume files (based on file names)
|
|
5835
|
-
:type use_sequence_detection: bool |
|
|
6008
|
+
:type use_sequence_detection: bool | None
|
|
5836
6009
|
:param align: Align, The alignment of the new object
|
|
5837
6010
|
|
|
5838
6011
|
WORLD
|
|
@@ -5845,11 +6018,11 @@ def volume_import(
|
|
|
5845
6018
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
5846
6019
|
:type align: str | None
|
|
5847
6020
|
:param location: Location, Location for the newly added object
|
|
5848
|
-
:type location:
|
|
6021
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5849
6022
|
:param rotation: Rotation, Rotation for the newly added object
|
|
5850
|
-
:type rotation:
|
|
6023
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
5851
6024
|
:param scale: Scale, Scale for the newly added object
|
|
5852
|
-
:type scale:
|
|
6025
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
5853
6026
|
"""
|
|
5854
6027
|
|
|
5855
6028
|
...
|