fake-bpy-module 20240620__py3-none-any.whl → 20240622__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 +8 -8
- 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 +893 -790
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1013 -840
- 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 +628 -566
- 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 +1813 -1806
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +1614 -1805
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/METADATA +3 -5
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/RECORD +77 -77
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240620.dist-info → fake_bpy_module-20240622.dist-info}/top_level.txt +0 -0
bpy/ops/curve/__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")
|
|
@@ -57,7 +58,7 @@ def decimate(
|
|
|
57
58
|
execution_context: int | str | None = None,
|
|
58
59
|
undo: bool | None = None,
|
|
59
60
|
*,
|
|
60
|
-
ratio:
|
|
61
|
+
ratio: float | None = 1.0,
|
|
61
62
|
):
|
|
62
63
|
"""Simplify selected curves
|
|
63
64
|
|
|
@@ -65,7 +66,7 @@ def decimate(
|
|
|
65
66
|
:type execution_context: int | str | None
|
|
66
67
|
:type undo: bool | None
|
|
67
68
|
:param ratio: Ratio
|
|
68
|
-
:type ratio:
|
|
69
|
+
:type ratio: float | None
|
|
69
70
|
"""
|
|
70
71
|
|
|
71
72
|
...
|
|
@@ -107,13 +108,13 @@ def draw(
|
|
|
107
108
|
execution_context: int | str | None = None,
|
|
108
109
|
undo: bool | None = None,
|
|
109
110
|
*,
|
|
110
|
-
error_threshold:
|
|
111
|
+
error_threshold: float | None = 0.0,
|
|
111
112
|
fit_method: str | None = "REFIT",
|
|
112
|
-
corner_angle:
|
|
113
|
-
use_cyclic: bool |
|
|
113
|
+
corner_angle: float | None = 1.22173,
|
|
114
|
+
use_cyclic: bool | None = True,
|
|
114
115
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
115
116
|
| None = None,
|
|
116
|
-
wait_for_input: bool |
|
|
117
|
+
wait_for_input: bool | None = True,
|
|
117
118
|
):
|
|
118
119
|
"""Draw a freehand spline
|
|
119
120
|
|
|
@@ -121,17 +122,17 @@ def draw(
|
|
|
121
122
|
:type execution_context: int | str | None
|
|
122
123
|
:type undo: bool | None
|
|
123
124
|
:param error_threshold: Error, Error distance threshold (in object units)
|
|
124
|
-
:type error_threshold:
|
|
125
|
+
:type error_threshold: float | None
|
|
125
126
|
:param fit_method: Fit Method
|
|
126
127
|
:type fit_method: str | None
|
|
127
128
|
:param corner_angle: Corner Angle
|
|
128
|
-
:type corner_angle:
|
|
129
|
+
:type corner_angle: float | None
|
|
129
130
|
:param use_cyclic: Cyclic
|
|
130
|
-
:type use_cyclic: bool |
|
|
131
|
+
:type use_cyclic: bool | None
|
|
131
132
|
:param stroke: Stroke
|
|
132
133
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
133
134
|
:param wait_for_input: Wait for Input
|
|
134
|
-
:type wait_for_input: bool |
|
|
135
|
+
:type wait_for_input: bool | None
|
|
135
136
|
"""
|
|
136
137
|
|
|
137
138
|
...
|
|
@@ -233,7 +234,7 @@ def hide(
|
|
|
233
234
|
execution_context: int | str | None = None,
|
|
234
235
|
undo: bool | None = None,
|
|
235
236
|
*,
|
|
236
|
-
unselected: bool |
|
|
237
|
+
unselected: bool | None = False,
|
|
237
238
|
):
|
|
238
239
|
"""Hide (un)selected control points
|
|
239
240
|
|
|
@@ -241,7 +242,7 @@ def hide(
|
|
|
241
242
|
:type execution_context: int | str | None
|
|
242
243
|
:type undo: bool | None
|
|
243
244
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
244
|
-
:type unselected: bool |
|
|
245
|
+
:type unselected: bool | None
|
|
245
246
|
"""
|
|
246
247
|
|
|
247
248
|
...
|
|
@@ -279,7 +280,7 @@ def normals_make_consistent(
|
|
|
279
280
|
execution_context: int | str | None = None,
|
|
280
281
|
undo: bool | None = None,
|
|
281
282
|
*,
|
|
282
|
-
calc_length: bool |
|
|
283
|
+
calc_length: bool | None = False,
|
|
283
284
|
):
|
|
284
285
|
"""Recalculate the direction of selected handles
|
|
285
286
|
|
|
@@ -287,7 +288,7 @@ def normals_make_consistent(
|
|
|
287
288
|
:type execution_context: int | str | None
|
|
288
289
|
:type undo: bool | None
|
|
289
290
|
:param calc_length: Length, Recalculate handle length
|
|
290
|
-
:type calc_length: bool |
|
|
291
|
+
:type calc_length: bool | None
|
|
291
292
|
"""
|
|
292
293
|
|
|
293
294
|
...
|
|
@@ -297,22 +298,22 @@ def pen(
|
|
|
297
298
|
execution_context: int | str | None = None,
|
|
298
299
|
undo: bool | None = None,
|
|
299
300
|
*,
|
|
300
|
-
extend: bool |
|
|
301
|
-
deselect: bool |
|
|
302
|
-
toggle: bool |
|
|
303
|
-
deselect_all: bool |
|
|
304
|
-
select_passthrough: bool |
|
|
305
|
-
extrude_point: bool |
|
|
301
|
+
extend: bool | None = False,
|
|
302
|
+
deselect: bool | None = False,
|
|
303
|
+
toggle: bool | None = False,
|
|
304
|
+
deselect_all: bool | None = False,
|
|
305
|
+
select_passthrough: bool | None = False,
|
|
306
|
+
extrude_point: bool | None = False,
|
|
306
307
|
extrude_handle: str | None = "VECTOR",
|
|
307
|
-
delete_point: bool |
|
|
308
|
-
insert_point: bool |
|
|
309
|
-
move_segment: bool |
|
|
310
|
-
select_point: bool |
|
|
311
|
-
move_point: bool |
|
|
312
|
-
close_spline: bool |
|
|
308
|
+
delete_point: bool | None = False,
|
|
309
|
+
insert_point: bool | None = False,
|
|
310
|
+
move_segment: bool | None = False,
|
|
311
|
+
select_point: bool | None = False,
|
|
312
|
+
move_point: bool | None = False,
|
|
313
|
+
close_spline: bool | None = True,
|
|
313
314
|
close_spline_method: str | None = "OFF",
|
|
314
|
-
toggle_vector: bool |
|
|
315
|
-
cycle_handle_type: bool |
|
|
315
|
+
toggle_vector: bool | None = False,
|
|
316
|
+
cycle_handle_type: bool | None = False,
|
|
316
317
|
):
|
|
317
318
|
"""Construct and edit splines
|
|
318
319
|
|
|
@@ -320,31 +321,31 @@ def pen(
|
|
|
320
321
|
:type execution_context: int | str | None
|
|
321
322
|
:type undo: bool | None
|
|
322
323
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
323
|
-
:type extend: bool |
|
|
324
|
+
:type extend: bool | None
|
|
324
325
|
:param deselect: Deselect, Remove from selection
|
|
325
|
-
:type deselect: bool |
|
|
326
|
+
:type deselect: bool | None
|
|
326
327
|
:param toggle: Toggle Selection, Toggle the selection
|
|
327
|
-
:type toggle: bool |
|
|
328
|
+
:type toggle: bool | None
|
|
328
329
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
329
|
-
:type deselect_all: bool |
|
|
330
|
+
:type deselect_all: bool | None
|
|
330
331
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
331
|
-
:type select_passthrough: bool |
|
|
332
|
+
:type select_passthrough: bool | None
|
|
332
333
|
:param extrude_point: Extrude Point, Add a point connected to the last selected point
|
|
333
|
-
:type extrude_point: bool |
|
|
334
|
+
:type extrude_point: bool | None
|
|
334
335
|
:param extrude_handle: Extrude Handle Type, Type of the extruded handle
|
|
335
336
|
:type extrude_handle: str | None
|
|
336
337
|
:param delete_point: Delete Point, Delete an existing point
|
|
337
|
-
:type delete_point: bool |
|
|
338
|
+
:type delete_point: bool | None
|
|
338
339
|
:param insert_point: Insert Point, Insert Point into a curve segment
|
|
339
|
-
:type insert_point: bool |
|
|
340
|
+
:type insert_point: bool | None
|
|
340
341
|
:param move_segment: Move Segment, Delete an existing point
|
|
341
|
-
:type move_segment: bool |
|
|
342
|
+
:type move_segment: bool | None
|
|
342
343
|
:param select_point: Select Point, Select a point or its handles
|
|
343
|
-
:type select_point: bool |
|
|
344
|
+
:type select_point: bool | None
|
|
344
345
|
:param move_point: Move Point, Move a point or its handles
|
|
345
|
-
:type move_point: bool |
|
|
346
|
+
:type move_point: bool | None
|
|
346
347
|
:param close_spline: Close Spline, Make a spline cyclic by clicking endpoints
|
|
347
|
-
:type close_spline: bool |
|
|
348
|
+
:type close_spline: bool | None
|
|
348
349
|
:param close_spline_method: Close Spline Method, The condition for close spline to activate
|
|
349
350
|
|
|
350
351
|
OFF
|
|
@@ -357,9 +358,9 @@ def pen(
|
|
|
357
358
|
On Click -- Spline closes on release if not dragged.
|
|
358
359
|
:type close_spline_method: str | None
|
|
359
360
|
:param toggle_vector: Toggle Vector, Toggle between Vector and Auto handles
|
|
360
|
-
:type toggle_vector: bool |
|
|
361
|
+
:type toggle_vector: bool | None
|
|
361
362
|
:param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
|
|
362
|
-
:type cycle_handle_type: bool |
|
|
363
|
+
:type cycle_handle_type: bool | None
|
|
363
364
|
"""
|
|
364
365
|
|
|
365
366
|
...
|
|
@@ -369,12 +370,20 @@ def primitive_bezier_circle_add(
|
|
|
369
370
|
execution_context: int | str | None = None,
|
|
370
371
|
undo: bool | None = None,
|
|
371
372
|
*,
|
|
372
|
-
radius:
|
|
373
|
-
enter_editmode: bool |
|
|
373
|
+
radius: float | None = 1.0,
|
|
374
|
+
enter_editmode: bool | None = False,
|
|
374
375
|
align: str | None = "WORLD",
|
|
375
|
-
location:
|
|
376
|
-
|
|
377
|
-
|
|
376
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
377
|
+
0.0,
|
|
378
|
+
0.0,
|
|
379
|
+
0.0,
|
|
380
|
+
),
|
|
381
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
382
|
+
0.0,
|
|
383
|
+
0.0,
|
|
384
|
+
0.0,
|
|
385
|
+
),
|
|
386
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
378
387
|
):
|
|
379
388
|
"""Construct a Bézier Circle
|
|
380
389
|
|
|
@@ -382,9 +391,9 @@ def primitive_bezier_circle_add(
|
|
|
382
391
|
:type execution_context: int | str | None
|
|
383
392
|
:type undo: bool | None
|
|
384
393
|
:param radius: Radius
|
|
385
|
-
:type radius:
|
|
394
|
+
:type radius: float | None
|
|
386
395
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
387
|
-
:type enter_editmode: bool |
|
|
396
|
+
:type enter_editmode: bool | None
|
|
388
397
|
:param align: Align, The alignment of the new object
|
|
389
398
|
|
|
390
399
|
WORLD
|
|
@@ -397,11 +406,11 @@ def primitive_bezier_circle_add(
|
|
|
397
406
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
398
407
|
:type align: str | None
|
|
399
408
|
:param location: Location, Location for the newly added object
|
|
400
|
-
:type location:
|
|
409
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
401
410
|
:param rotation: Rotation, Rotation for the newly added object
|
|
402
|
-
:type rotation:
|
|
411
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
403
412
|
:param scale: Scale, Scale for the newly added object
|
|
404
|
-
:type scale:
|
|
413
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
405
414
|
"""
|
|
406
415
|
|
|
407
416
|
...
|
|
@@ -411,12 +420,20 @@ def primitive_bezier_curve_add(
|
|
|
411
420
|
execution_context: int | str | None = None,
|
|
412
421
|
undo: bool | None = None,
|
|
413
422
|
*,
|
|
414
|
-
radius:
|
|
415
|
-
enter_editmode: bool |
|
|
423
|
+
radius: float | None = 1.0,
|
|
424
|
+
enter_editmode: bool | None = False,
|
|
416
425
|
align: str | None = "WORLD",
|
|
417
|
-
location:
|
|
418
|
-
|
|
419
|
-
|
|
426
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
427
|
+
0.0,
|
|
428
|
+
0.0,
|
|
429
|
+
0.0,
|
|
430
|
+
),
|
|
431
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
432
|
+
0.0,
|
|
433
|
+
0.0,
|
|
434
|
+
0.0,
|
|
435
|
+
),
|
|
436
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
420
437
|
):
|
|
421
438
|
"""Construct a Bézier Curve
|
|
422
439
|
|
|
@@ -424,9 +441,9 @@ def primitive_bezier_curve_add(
|
|
|
424
441
|
:type execution_context: int | str | None
|
|
425
442
|
:type undo: bool | None
|
|
426
443
|
:param radius: Radius
|
|
427
|
-
:type radius:
|
|
444
|
+
:type radius: float | None
|
|
428
445
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
429
|
-
:type enter_editmode: bool |
|
|
446
|
+
:type enter_editmode: bool | None
|
|
430
447
|
:param align: Align, The alignment of the new object
|
|
431
448
|
|
|
432
449
|
WORLD
|
|
@@ -439,11 +456,11 @@ def primitive_bezier_curve_add(
|
|
|
439
456
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
440
457
|
:type align: str | None
|
|
441
458
|
:param location: Location, Location for the newly added object
|
|
442
|
-
:type location:
|
|
459
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
443
460
|
:param rotation: Rotation, Rotation for the newly added object
|
|
444
|
-
:type rotation:
|
|
461
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
445
462
|
:param scale: Scale, Scale for the newly added object
|
|
446
|
-
:type scale:
|
|
463
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
447
464
|
"""
|
|
448
465
|
|
|
449
466
|
...
|
|
@@ -453,12 +470,20 @@ def primitive_nurbs_circle_add(
|
|
|
453
470
|
execution_context: int | str | None = None,
|
|
454
471
|
undo: bool | None = None,
|
|
455
472
|
*,
|
|
456
|
-
radius:
|
|
457
|
-
enter_editmode: bool |
|
|
473
|
+
radius: float | None = 1.0,
|
|
474
|
+
enter_editmode: bool | None = False,
|
|
458
475
|
align: str | None = "WORLD",
|
|
459
|
-
location:
|
|
460
|
-
|
|
461
|
-
|
|
476
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
477
|
+
0.0,
|
|
478
|
+
0.0,
|
|
479
|
+
0.0,
|
|
480
|
+
),
|
|
481
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
482
|
+
0.0,
|
|
483
|
+
0.0,
|
|
484
|
+
0.0,
|
|
485
|
+
),
|
|
486
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
462
487
|
):
|
|
463
488
|
"""Construct a Nurbs Circle
|
|
464
489
|
|
|
@@ -466,9 +491,9 @@ def primitive_nurbs_circle_add(
|
|
|
466
491
|
:type execution_context: int | str | None
|
|
467
492
|
:type undo: bool | None
|
|
468
493
|
:param radius: Radius
|
|
469
|
-
:type radius:
|
|
494
|
+
:type radius: float | None
|
|
470
495
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
471
|
-
:type enter_editmode: bool |
|
|
496
|
+
:type enter_editmode: bool | None
|
|
472
497
|
:param align: Align, The alignment of the new object
|
|
473
498
|
|
|
474
499
|
WORLD
|
|
@@ -481,11 +506,11 @@ def primitive_nurbs_circle_add(
|
|
|
481
506
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
482
507
|
:type align: str | None
|
|
483
508
|
:param location: Location, Location for the newly added object
|
|
484
|
-
:type location:
|
|
509
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
485
510
|
:param rotation: Rotation, Rotation for the newly added object
|
|
486
|
-
:type rotation:
|
|
511
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
487
512
|
:param scale: Scale, Scale for the newly added object
|
|
488
|
-
:type scale:
|
|
513
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
489
514
|
"""
|
|
490
515
|
|
|
491
516
|
...
|
|
@@ -495,12 +520,20 @@ def primitive_nurbs_curve_add(
|
|
|
495
520
|
execution_context: int | str | None = None,
|
|
496
521
|
undo: bool | None = None,
|
|
497
522
|
*,
|
|
498
|
-
radius:
|
|
499
|
-
enter_editmode: bool |
|
|
523
|
+
radius: float | None = 1.0,
|
|
524
|
+
enter_editmode: bool | None = False,
|
|
500
525
|
align: str | None = "WORLD",
|
|
501
|
-
location:
|
|
502
|
-
|
|
503
|
-
|
|
526
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
527
|
+
0.0,
|
|
528
|
+
0.0,
|
|
529
|
+
0.0,
|
|
530
|
+
),
|
|
531
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
532
|
+
0.0,
|
|
533
|
+
0.0,
|
|
534
|
+
0.0,
|
|
535
|
+
),
|
|
536
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
504
537
|
):
|
|
505
538
|
"""Construct a Nurbs Curve
|
|
506
539
|
|
|
@@ -508,9 +541,9 @@ def primitive_nurbs_curve_add(
|
|
|
508
541
|
:type execution_context: int | str | None
|
|
509
542
|
:type undo: bool | None
|
|
510
543
|
:param radius: Radius
|
|
511
|
-
:type radius:
|
|
544
|
+
:type radius: float | None
|
|
512
545
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
513
|
-
:type enter_editmode: bool |
|
|
546
|
+
:type enter_editmode: bool | None
|
|
514
547
|
:param align: Align, The alignment of the new object
|
|
515
548
|
|
|
516
549
|
WORLD
|
|
@@ -523,11 +556,11 @@ def primitive_nurbs_curve_add(
|
|
|
523
556
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
524
557
|
:type align: str | None
|
|
525
558
|
:param location: Location, Location for the newly added object
|
|
526
|
-
:type location:
|
|
559
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
527
560
|
:param rotation: Rotation, Rotation for the newly added object
|
|
528
|
-
:type rotation:
|
|
561
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
529
562
|
:param scale: Scale, Scale for the newly added object
|
|
530
|
-
:type scale:
|
|
563
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
531
564
|
"""
|
|
532
565
|
|
|
533
566
|
...
|
|
@@ -537,12 +570,20 @@ def primitive_nurbs_path_add(
|
|
|
537
570
|
execution_context: int | str | None = None,
|
|
538
571
|
undo: bool | None = None,
|
|
539
572
|
*,
|
|
540
|
-
radius:
|
|
541
|
-
enter_editmode: bool |
|
|
573
|
+
radius: float | None = 1.0,
|
|
574
|
+
enter_editmode: bool | None = False,
|
|
542
575
|
align: str | None = "WORLD",
|
|
543
|
-
location:
|
|
544
|
-
|
|
545
|
-
|
|
576
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
577
|
+
0.0,
|
|
578
|
+
0.0,
|
|
579
|
+
0.0,
|
|
580
|
+
),
|
|
581
|
+
rotation: collections.abc.Sequence[float] | mathutils.Euler | None = (
|
|
582
|
+
0.0,
|
|
583
|
+
0.0,
|
|
584
|
+
0.0,
|
|
585
|
+
),
|
|
586
|
+
scale: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
546
587
|
):
|
|
547
588
|
"""Construct a Path
|
|
548
589
|
|
|
@@ -550,9 +591,9 @@ def primitive_nurbs_path_add(
|
|
|
550
591
|
:type execution_context: int | str | None
|
|
551
592
|
:type undo: bool | None
|
|
552
593
|
:param radius: Radius
|
|
553
|
-
:type radius:
|
|
594
|
+
:type radius: float | None
|
|
554
595
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
555
|
-
:type enter_editmode: bool |
|
|
596
|
+
:type enter_editmode: bool | None
|
|
556
597
|
:param align: Align, The alignment of the new object
|
|
557
598
|
|
|
558
599
|
WORLD
|
|
@@ -565,11 +606,11 @@ def primitive_nurbs_path_add(
|
|
|
565
606
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
566
607
|
:type align: str | None
|
|
567
608
|
:param location: Location, Location for the newly added object
|
|
568
|
-
:type location:
|
|
609
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
569
610
|
:param rotation: Rotation, Rotation for the newly added object
|
|
570
|
-
:type rotation:
|
|
611
|
+
:type rotation: collections.abc.Sequence[float] | mathutils.Euler | None
|
|
571
612
|
:param scale: Scale, Scale for the newly added object
|
|
572
|
-
:type scale:
|
|
613
|
+
:type scale: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
573
614
|
"""
|
|
574
615
|
|
|
575
616
|
...
|
|
@@ -579,7 +620,7 @@ def radius_set(
|
|
|
579
620
|
execution_context: int | str | None = None,
|
|
580
621
|
undo: bool | None = None,
|
|
581
622
|
*,
|
|
582
|
-
radius:
|
|
623
|
+
radius: float | None = 1.0,
|
|
583
624
|
):
|
|
584
625
|
"""Set per-point radius which is used for bevel tapering
|
|
585
626
|
|
|
@@ -587,7 +628,7 @@ def radius_set(
|
|
|
587
628
|
:type execution_context: int | str | None
|
|
588
629
|
:type undo: bool | None
|
|
589
630
|
:param radius: Radius
|
|
590
|
-
:type radius:
|
|
631
|
+
:type radius: float | None
|
|
591
632
|
"""
|
|
592
633
|
|
|
593
634
|
...
|
|
@@ -597,7 +638,7 @@ def reveal(
|
|
|
597
638
|
execution_context: int | str | None = None,
|
|
598
639
|
undo: bool | None = None,
|
|
599
640
|
*,
|
|
600
|
-
select: bool |
|
|
641
|
+
select: bool | None = True,
|
|
601
642
|
):
|
|
602
643
|
"""Reveal hidden control points
|
|
603
644
|
|
|
@@ -605,7 +646,7 @@ def reveal(
|
|
|
605
646
|
:type execution_context: int | str | None
|
|
606
647
|
:type undo: bool | None
|
|
607
648
|
:param select: Select
|
|
608
|
-
:type select: bool |
|
|
649
|
+
:type select: bool | None
|
|
609
650
|
"""
|
|
610
651
|
|
|
611
652
|
...
|
|
@@ -673,7 +714,7 @@ def select_linked_pick(
|
|
|
673
714
|
execution_context: int | str | None = None,
|
|
674
715
|
undo: bool | None = None,
|
|
675
716
|
*,
|
|
676
|
-
deselect: bool |
|
|
717
|
+
deselect: bool | None = False,
|
|
677
718
|
):
|
|
678
719
|
"""Select all control points linked to already selected ones
|
|
679
720
|
|
|
@@ -681,7 +722,7 @@ def select_linked_pick(
|
|
|
681
722
|
:type execution_context: int | str | None
|
|
682
723
|
:type undo: bool | None
|
|
683
724
|
:param deselect: Deselect, Deselect linked control points rather than selecting them
|
|
684
|
-
:type deselect: bool |
|
|
725
|
+
:type deselect: bool | None
|
|
685
726
|
"""
|
|
686
727
|
|
|
687
728
|
...
|
|
@@ -719,9 +760,9 @@ def select_nth(
|
|
|
719
760
|
execution_context: int | str | None = None,
|
|
720
761
|
undo: bool | None = None,
|
|
721
762
|
*,
|
|
722
|
-
skip:
|
|
723
|
-
nth:
|
|
724
|
-
offset:
|
|
763
|
+
skip: int | None = 1,
|
|
764
|
+
nth: int | None = 1,
|
|
765
|
+
offset: int | None = 0,
|
|
725
766
|
):
|
|
726
767
|
"""Deselect every Nth point starting from the active one
|
|
727
768
|
|
|
@@ -729,11 +770,11 @@ def select_nth(
|
|
|
729
770
|
:type execution_context: int | str | None
|
|
730
771
|
:type undo: bool | None
|
|
731
772
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
732
|
-
:type skip:
|
|
773
|
+
:type skip: int | None
|
|
733
774
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
734
|
-
:type nth:
|
|
775
|
+
:type nth: int | None
|
|
735
776
|
:param offset: Offset, Offset from the starting point
|
|
736
|
-
:type offset:
|
|
777
|
+
:type offset: int | None
|
|
737
778
|
"""
|
|
738
779
|
|
|
739
780
|
...
|
|
@@ -757,8 +798,8 @@ def select_random(
|
|
|
757
798
|
execution_context: int | str | None = None,
|
|
758
799
|
undo: bool | None = None,
|
|
759
800
|
*,
|
|
760
|
-
ratio:
|
|
761
|
-
seed:
|
|
801
|
+
ratio: float | None = 0.5,
|
|
802
|
+
seed: int | None = 0,
|
|
762
803
|
action: str | None = "SELECT",
|
|
763
804
|
):
|
|
764
805
|
"""Randomly select some control points
|
|
@@ -767,9 +808,9 @@ def select_random(
|
|
|
767
808
|
:type execution_context: int | str | None
|
|
768
809
|
:type undo: bool | None
|
|
769
810
|
:param ratio: Ratio, Portion of items to select randomly
|
|
770
|
-
:type ratio:
|
|
811
|
+
:type ratio: float | None
|
|
771
812
|
:param seed: Random Seed, Seed for the random number generator
|
|
772
|
-
:type seed:
|
|
813
|
+
:type seed: int | None
|
|
773
814
|
:param action: Action, Selection action to execute
|
|
774
815
|
|
|
775
816
|
SELECT
|
|
@@ -803,7 +844,7 @@ def select_similar(
|
|
|
803
844
|
*,
|
|
804
845
|
type: str | None = "WEIGHT",
|
|
805
846
|
compare: str | None = "EQUAL",
|
|
806
|
-
threshold:
|
|
847
|
+
threshold: float | None = 0.1,
|
|
807
848
|
):
|
|
808
849
|
"""Select similar curve points by property type
|
|
809
850
|
|
|
@@ -815,7 +856,7 @@ def select_similar(
|
|
|
815
856
|
:param compare: Compare
|
|
816
857
|
:type compare: str | None
|
|
817
858
|
:param threshold: Threshold
|
|
818
|
-
:type threshold:
|
|
859
|
+
:type threshold: float | None
|
|
819
860
|
"""
|
|
820
861
|
|
|
821
862
|
...
|
|
@@ -937,8 +978,8 @@ def spin(
|
|
|
937
978
|
execution_context: int | str | None = None,
|
|
938
979
|
undo: bool | None = None,
|
|
939
980
|
*,
|
|
940
|
-
center:
|
|
941
|
-
axis:
|
|
981
|
+
center: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
982
|
+
axis: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0, 0.0),
|
|
942
983
|
):
|
|
943
984
|
"""Extrude selected boundary row around pivot point and current view axis
|
|
944
985
|
|
|
@@ -946,9 +987,9 @@ def spin(
|
|
|
946
987
|
:type execution_context: int | str | None
|
|
947
988
|
:type undo: bool | None
|
|
948
989
|
:param center: Center, Center in global view space
|
|
949
|
-
:type center:
|
|
990
|
+
:type center: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
950
991
|
:param axis: Axis, Axis in global view space
|
|
951
|
-
:type axis:
|
|
992
|
+
:type axis: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
952
993
|
"""
|
|
953
994
|
|
|
954
995
|
...
|
|
@@ -959,7 +1000,7 @@ def spline_type_set(
|
|
|
959
1000
|
undo: bool | None = None,
|
|
960
1001
|
*,
|
|
961
1002
|
type: str | None = "POLY",
|
|
962
|
-
use_handles: bool |
|
|
1003
|
+
use_handles: bool | None = False,
|
|
963
1004
|
):
|
|
964
1005
|
"""Set type of active spline
|
|
965
1006
|
|
|
@@ -969,7 +1010,7 @@ def spline_type_set(
|
|
|
969
1010
|
:param type: Type, Spline type
|
|
970
1011
|
:type type: str | None
|
|
971
1012
|
:param use_handles: Handles, Use handles when converting Bézier curves into polygons
|
|
972
|
-
:type use_handles: bool |
|
|
1013
|
+
:type use_handles: bool | None
|
|
973
1014
|
"""
|
|
974
1015
|
|
|
975
1016
|
...
|
|
@@ -979,7 +1020,7 @@ def spline_weight_set(
|
|
|
979
1020
|
execution_context: int | str | None = None,
|
|
980
1021
|
undo: bool | None = None,
|
|
981
1022
|
*,
|
|
982
|
-
weight:
|
|
1023
|
+
weight: float | None = 1.0,
|
|
983
1024
|
):
|
|
984
1025
|
"""Set softbody goal weight for selected points
|
|
985
1026
|
|
|
@@ -987,7 +1028,7 @@ def spline_weight_set(
|
|
|
987
1028
|
:type execution_context: int | str | None
|
|
988
1029
|
:type undo: bool | None
|
|
989
1030
|
:param weight: Weight
|
|
990
|
-
:type weight:
|
|
1031
|
+
:type weight: float | None
|
|
991
1032
|
"""
|
|
992
1033
|
|
|
993
1034
|
...
|
|
@@ -1011,7 +1052,7 @@ def subdivide(
|
|
|
1011
1052
|
execution_context: int | str | None = None,
|
|
1012
1053
|
undo: bool | None = None,
|
|
1013
1054
|
*,
|
|
1014
|
-
number_cuts:
|
|
1055
|
+
number_cuts: int | None = 1,
|
|
1015
1056
|
):
|
|
1016
1057
|
"""Subdivide selected segments
|
|
1017
1058
|
|
|
@@ -1019,7 +1060,7 @@ def subdivide(
|
|
|
1019
1060
|
:type execution_context: int | str | None
|
|
1020
1061
|
:type undo: bool | None
|
|
1021
1062
|
:param number_cuts: Number of Cuts
|
|
1022
|
-
:type number_cuts:
|
|
1063
|
+
:type number_cuts: int | None
|
|
1023
1064
|
"""
|
|
1024
1065
|
|
|
1025
1066
|
...
|
|
@@ -1057,7 +1098,11 @@ def vertex_add(
|
|
|
1057
1098
|
execution_context: int | str | None = None,
|
|
1058
1099
|
undo: bool | None = None,
|
|
1059
1100
|
*,
|
|
1060
|
-
location:
|
|
1101
|
+
location: collections.abc.Sequence[float] | mathutils.Vector | None = (
|
|
1102
|
+
0.0,
|
|
1103
|
+
0.0,
|
|
1104
|
+
0.0,
|
|
1105
|
+
),
|
|
1061
1106
|
):
|
|
1062
1107
|
"""Add a new control point (linked to only selected end-curve one, if any)
|
|
1063
1108
|
|
|
@@ -1065,7 +1110,7 @@ def vertex_add(
|
|
|
1065
1110
|
:type execution_context: int | str | None
|
|
1066
1111
|
:type undo: bool | None
|
|
1067
1112
|
:param location: Location, Location to add new vertex at
|
|
1068
|
-
:type location:
|
|
1113
|
+
:type location: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1069
1114
|
"""
|
|
1070
1115
|
|
|
1071
1116
|
...
|