fake-bpy-module 20240420__py3-none-any.whl → 20240422__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +336 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +441 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2412 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +103670 -100517
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/curve/__init__.pyi
CHANGED
|
@@ -1,335 +1,338 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.ops.transform
|
|
2
3
|
import bpy.types
|
|
3
4
|
|
|
4
5
|
GenericType = typing.TypeVar("GenericType")
|
|
5
6
|
|
|
6
7
|
def cyclic_toggle(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
direction: typing.Any = "CYCLIC_U",
|
|
8
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
9
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
10
|
+
undo: typing.Optional[bool] = None,
|
|
11
|
+
direction: typing.Optional[typing.Any] = "CYCLIC_U",
|
|
11
12
|
):
|
|
12
13
|
"""Make active spline closed/opened loop
|
|
13
14
|
|
|
14
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
15
|
-
:type execution_context: typing.Union[str, int]
|
|
16
|
-
:type undo: bool
|
|
15
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
16
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
17
|
+
:type undo: typing.Optional[bool]
|
|
17
18
|
:param direction: Direction, Direction to make surface cyclic in
|
|
18
|
-
:type direction: typing.Any
|
|
19
|
+
:type direction: typing.Optional[typing.Any]
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
...
|
|
22
23
|
|
|
23
24
|
def de_select_first(
|
|
24
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
-
execution_context: typing.Union[str, int] = None,
|
|
26
|
-
undo: bool = None,
|
|
25
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
26
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
27
|
+
undo: typing.Optional[bool] = None,
|
|
27
28
|
):
|
|
28
29
|
"""(De)select first of visible part of each NURBS
|
|
29
30
|
|
|
30
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
31
|
-
:type execution_context: typing.Union[str, int]
|
|
32
|
-
:type undo: bool
|
|
31
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
32
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
33
|
+
:type undo: typing.Optional[bool]
|
|
33
34
|
"""
|
|
34
35
|
|
|
35
36
|
...
|
|
36
37
|
|
|
37
38
|
def de_select_last(
|
|
38
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
-
execution_context: typing.Union[str, int] = None,
|
|
40
|
-
undo: bool = None,
|
|
39
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
40
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
41
|
+
undo: typing.Optional[bool] = None,
|
|
41
42
|
):
|
|
42
43
|
"""(De)select last of visible part of each NURBS
|
|
43
44
|
|
|
44
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
45
|
-
:type execution_context: typing.Union[str, int]
|
|
46
|
-
:type undo: bool
|
|
45
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
46
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
|
+
:type undo: typing.Optional[bool]
|
|
47
48
|
"""
|
|
48
49
|
|
|
49
50
|
...
|
|
50
51
|
|
|
51
52
|
def decimate(
|
|
52
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
53
|
-
execution_context: typing.Union[str, int] = None,
|
|
54
|
-
undo: bool = None,
|
|
55
|
-
ratio: typing.Any = 1.0,
|
|
53
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
54
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
55
|
+
undo: typing.Optional[bool] = None,
|
|
56
|
+
ratio: typing.Optional[typing.Any] = 1.0,
|
|
56
57
|
):
|
|
57
58
|
"""Simplify selected curves
|
|
58
59
|
|
|
59
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
60
|
-
:type execution_context: typing.Union[str, int]
|
|
61
|
-
:type undo: bool
|
|
60
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
61
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
62
|
+
:type undo: typing.Optional[bool]
|
|
62
63
|
:param ratio: Ratio
|
|
63
|
-
:type ratio: typing.Any
|
|
64
|
+
:type ratio: typing.Optional[typing.Any]
|
|
64
65
|
"""
|
|
65
66
|
|
|
66
67
|
...
|
|
67
68
|
|
|
68
69
|
def delete(
|
|
69
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
-
execution_context: typing.Union[str, int] = None,
|
|
71
|
-
undo: bool = None,
|
|
72
|
-
type: typing.Any = "VERT",
|
|
70
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
71
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
72
|
+
undo: typing.Optional[bool] = None,
|
|
73
|
+
type: typing.Optional[typing.Any] = "VERT",
|
|
73
74
|
):
|
|
74
75
|
"""Delete selected control points or segments
|
|
75
76
|
|
|
76
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
77
|
-
:type execution_context: typing.Union[str, int]
|
|
78
|
-
:type undo: bool
|
|
77
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
78
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
79
|
+
:type undo: typing.Optional[bool]
|
|
79
80
|
:param type: Type, Which elements to delete
|
|
80
|
-
:type type: typing.Any
|
|
81
|
+
:type type: typing.Optional[typing.Any]
|
|
81
82
|
"""
|
|
82
83
|
|
|
83
84
|
...
|
|
84
85
|
|
|
85
86
|
def dissolve_verts(
|
|
86
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
87
|
-
execution_context: typing.Union[str, int] = None,
|
|
88
|
-
undo: bool = None,
|
|
87
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
88
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
89
|
+
undo: typing.Optional[bool] = None,
|
|
89
90
|
):
|
|
90
91
|
"""Delete selected control points, correcting surrounding handles
|
|
91
92
|
|
|
92
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
93
|
-
:type execution_context: typing.Union[str, int]
|
|
94
|
-
:type undo: bool
|
|
93
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
94
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
95
|
+
:type undo: typing.Optional[bool]
|
|
95
96
|
"""
|
|
96
97
|
|
|
97
98
|
...
|
|
98
99
|
|
|
99
100
|
def draw(
|
|
100
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
101
|
-
execution_context: typing.Union[str, int] = None,
|
|
102
|
-
undo: bool = None,
|
|
103
|
-
error_threshold: typing.Any = 0.0,
|
|
104
|
-
fit_method: typing.Union[str, int] = "REFIT",
|
|
105
|
-
corner_angle: typing.Any = 1.22173,
|
|
106
|
-
use_cyclic: typing.Union[bool, typing.Any] = True,
|
|
107
|
-
stroke:
|
|
108
|
-
|
|
101
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
102
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
103
|
+
undo: typing.Optional[bool] = None,
|
|
104
|
+
error_threshold: typing.Optional[typing.Any] = 0.0,
|
|
105
|
+
fit_method: typing.Optional[typing.Union[str, int]] = "REFIT",
|
|
106
|
+
corner_angle: typing.Optional[typing.Any] = 1.22173,
|
|
107
|
+
use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
108
|
+
stroke: typing.Optional[
|
|
109
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
110
|
+
] = None,
|
|
111
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
109
112
|
):
|
|
110
113
|
"""Draw a freehand spline
|
|
111
114
|
|
|
112
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
113
|
-
:type execution_context: typing.Union[str, int]
|
|
114
|
-
:type undo: bool
|
|
115
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
116
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
117
|
+
:type undo: typing.Optional[bool]
|
|
115
118
|
:param error_threshold: Error, Error distance threshold (in object units)
|
|
116
|
-
:type error_threshold: typing.Any
|
|
119
|
+
:type error_threshold: typing.Optional[typing.Any]
|
|
117
120
|
:param fit_method: Fit Method
|
|
118
|
-
:type fit_method: typing.Union[str, int]
|
|
121
|
+
:type fit_method: typing.Optional[typing.Union[str, int]]
|
|
119
122
|
:param corner_angle: Corner Angle
|
|
120
|
-
:type corner_angle: typing.Any
|
|
123
|
+
:type corner_angle: typing.Optional[typing.Any]
|
|
121
124
|
:param use_cyclic: Cyclic
|
|
122
|
-
:type use_cyclic: typing.Union[bool, typing.Any]
|
|
125
|
+
:type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
123
126
|
:param stroke: Stroke
|
|
124
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
127
|
+
:type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
|
|
125
128
|
:param wait_for_input: Wait for Input
|
|
126
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
129
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
127
130
|
"""
|
|
128
131
|
|
|
129
132
|
...
|
|
130
133
|
|
|
131
134
|
def duplicate(
|
|
132
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
133
|
-
execution_context: typing.Union[str, int] = None,
|
|
134
|
-
undo: bool = None,
|
|
135
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
136
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
137
|
+
undo: typing.Optional[bool] = None,
|
|
135
138
|
):
|
|
136
139
|
"""Duplicate selected control points
|
|
137
140
|
|
|
138
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
139
|
-
:type execution_context: typing.Union[str, int]
|
|
140
|
-
:type undo: bool
|
|
141
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
142
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
143
|
+
:type undo: typing.Optional[bool]
|
|
141
144
|
"""
|
|
142
145
|
|
|
143
146
|
...
|
|
144
147
|
|
|
145
148
|
def duplicate_move(
|
|
146
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
147
|
-
execution_context: typing.Union[str, int] = None,
|
|
148
|
-
undo: bool = None,
|
|
149
|
-
CURVE_OT_duplicate: typing.
|
|
150
|
-
TRANSFORM_OT_translate: typing.
|
|
149
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
150
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
151
|
+
undo: typing.Optional[bool] = None,
|
|
152
|
+
CURVE_OT_duplicate: typing.Optional[duplicate] = None,
|
|
153
|
+
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
151
154
|
):
|
|
152
155
|
"""Duplicate curve and move
|
|
153
156
|
|
|
154
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
155
|
-
:type execution_context: typing.Union[str, int]
|
|
156
|
-
:type undo: bool
|
|
157
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
158
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
159
|
+
:type undo: typing.Optional[bool]
|
|
157
160
|
:param CURVE_OT_duplicate: Duplicate Curve, Duplicate selected control points
|
|
158
|
-
:type CURVE_OT_duplicate: typing.
|
|
161
|
+
:type CURVE_OT_duplicate: typing.Optional[duplicate]
|
|
159
162
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
160
|
-
:type TRANSFORM_OT_translate: typing.
|
|
163
|
+
:type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
|
|
161
164
|
"""
|
|
162
165
|
|
|
163
166
|
...
|
|
164
167
|
|
|
165
168
|
def extrude(
|
|
166
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
167
|
-
execution_context: typing.Union[str, int] = None,
|
|
168
|
-
undo: bool = None,
|
|
169
|
-
mode: typing.Union[str, int] = "TRANSLATION",
|
|
169
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
170
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
171
|
+
undo: typing.Optional[bool] = None,
|
|
172
|
+
mode: typing.Optional[typing.Union[str, int]] = "TRANSLATION",
|
|
170
173
|
):
|
|
171
174
|
"""Extrude selected control point(s)
|
|
172
175
|
|
|
173
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
174
|
-
:type execution_context: typing.Union[str, int]
|
|
175
|
-
:type undo: bool
|
|
176
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
177
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
178
|
+
:type undo: typing.Optional[bool]
|
|
176
179
|
:param mode: Mode
|
|
177
|
-
:type mode: typing.Union[str, int]
|
|
180
|
+
:type mode: typing.Optional[typing.Union[str, int]]
|
|
178
181
|
"""
|
|
179
182
|
|
|
180
183
|
...
|
|
181
184
|
|
|
182
185
|
def extrude_move(
|
|
183
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
184
|
-
execution_context: typing.Union[str, int] = None,
|
|
185
|
-
undo: bool = None,
|
|
186
|
-
CURVE_OT_extrude: typing.
|
|
187
|
-
TRANSFORM_OT_translate: typing.
|
|
186
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
187
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
188
|
+
undo: typing.Optional[bool] = None,
|
|
189
|
+
CURVE_OT_extrude: typing.Optional[extrude] = None,
|
|
190
|
+
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
188
191
|
):
|
|
189
192
|
"""Extrude curve and move result
|
|
190
193
|
|
|
191
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
192
|
-
:type execution_context: typing.Union[str, int]
|
|
193
|
-
:type undo: bool
|
|
194
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
195
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
196
|
+
:type undo: typing.Optional[bool]
|
|
194
197
|
:param CURVE_OT_extrude: Extrude, Extrude selected control point(s)
|
|
195
|
-
:type CURVE_OT_extrude: typing.
|
|
198
|
+
:type CURVE_OT_extrude: typing.Optional[extrude]
|
|
196
199
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
197
|
-
:type TRANSFORM_OT_translate: typing.
|
|
200
|
+
:type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
|
|
198
201
|
"""
|
|
199
202
|
|
|
200
203
|
...
|
|
201
204
|
|
|
202
205
|
def handle_type_set(
|
|
203
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
204
|
-
execution_context: typing.Union[str, int] = None,
|
|
205
|
-
undo: bool = None,
|
|
206
|
-
type: typing.Any = "AUTOMATIC",
|
|
206
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
207
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
208
|
+
undo: typing.Optional[bool] = None,
|
|
209
|
+
type: typing.Optional[typing.Any] = "AUTOMATIC",
|
|
207
210
|
):
|
|
208
211
|
"""Set type of handles for selected control points
|
|
209
212
|
|
|
210
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
211
|
-
:type execution_context: typing.Union[str, int]
|
|
212
|
-
:type undo: bool
|
|
213
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
214
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
215
|
+
:type undo: typing.Optional[bool]
|
|
213
216
|
:param type: Type, Spline type
|
|
214
|
-
:type type: typing.Any
|
|
217
|
+
:type type: typing.Optional[typing.Any]
|
|
215
218
|
"""
|
|
216
219
|
|
|
217
220
|
...
|
|
218
221
|
|
|
219
222
|
def hide(
|
|
220
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
221
|
-
execution_context: typing.Union[str, int] = None,
|
|
222
|
-
undo: bool = None,
|
|
223
|
-
unselected: typing.Union[bool, typing.Any] = False,
|
|
223
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
224
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
225
|
+
undo: typing.Optional[bool] = None,
|
|
226
|
+
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
224
227
|
):
|
|
225
228
|
"""Hide (un)selected control points
|
|
226
229
|
|
|
227
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
-
:type execution_context: typing.Union[str, int]
|
|
229
|
-
:type undo: bool
|
|
230
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
231
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
232
|
+
:type undo: typing.Optional[bool]
|
|
230
233
|
:param unselected: Unselected, Hide unselected rather than selected
|
|
231
|
-
:type unselected: typing.Union[bool, typing.Any]
|
|
234
|
+
:type unselected: typing.Optional[typing.Union[bool, typing.Any]]
|
|
232
235
|
"""
|
|
233
236
|
|
|
234
237
|
...
|
|
235
238
|
|
|
236
239
|
def make_segment(
|
|
237
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
238
|
-
execution_context: typing.Union[str, int] = None,
|
|
239
|
-
undo: bool = None,
|
|
240
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
241
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
242
|
+
undo: typing.Optional[bool] = None,
|
|
240
243
|
):
|
|
241
244
|
"""Join two curves by their selected ends
|
|
242
245
|
|
|
243
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
244
|
-
:type execution_context: typing.Union[str, int]
|
|
245
|
-
:type undo: bool
|
|
246
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
247
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
248
|
+
:type undo: typing.Optional[bool]
|
|
246
249
|
"""
|
|
247
250
|
|
|
248
251
|
...
|
|
249
252
|
|
|
250
253
|
def match_texture_space(
|
|
251
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
252
|
-
execution_context: typing.Union[str, int] = None,
|
|
253
|
-
undo: bool = None,
|
|
254
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
255
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
256
|
+
undo: typing.Optional[bool] = None,
|
|
254
257
|
):
|
|
255
258
|
"""Match texture space to object's bounding box
|
|
256
259
|
|
|
257
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
258
|
-
:type execution_context: typing.Union[str, int]
|
|
259
|
-
:type undo: bool
|
|
260
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
261
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
262
|
+
:type undo: typing.Optional[bool]
|
|
260
263
|
"""
|
|
261
264
|
|
|
262
265
|
...
|
|
263
266
|
|
|
264
267
|
def normals_make_consistent(
|
|
265
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
266
|
-
execution_context: typing.Union[str, int] = None,
|
|
267
|
-
undo: bool = None,
|
|
268
|
-
calc_length: typing.Union[bool, typing.Any] = False,
|
|
268
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
269
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
270
|
+
undo: typing.Optional[bool] = None,
|
|
271
|
+
calc_length: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
269
272
|
):
|
|
270
273
|
"""Recalculate the direction of selected handles
|
|
271
274
|
|
|
272
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
273
|
-
:type execution_context: typing.Union[str, int]
|
|
274
|
-
:type undo: bool
|
|
275
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
276
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
277
|
+
:type undo: typing.Optional[bool]
|
|
275
278
|
:param calc_length: Length, Recalculate handle length
|
|
276
|
-
:type calc_length: typing.Union[bool, typing.Any]
|
|
279
|
+
:type calc_length: typing.Optional[typing.Union[bool, typing.Any]]
|
|
277
280
|
"""
|
|
278
281
|
|
|
279
282
|
...
|
|
280
283
|
|
|
281
284
|
def pen(
|
|
282
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
283
|
-
execution_context: typing.Union[str, int] = None,
|
|
284
|
-
undo: bool = None,
|
|
285
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
286
|
-
deselect: typing.Union[bool, typing.Any] = False,
|
|
287
|
-
toggle: typing.Union[bool, typing.Any] = False,
|
|
288
|
-
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
289
|
-
select_passthrough: typing.Union[bool, typing.Any] = False,
|
|
290
|
-
extrude_point: typing.Union[bool, typing.Any] = False,
|
|
291
|
-
extrude_handle: typing.Any = "VECTOR",
|
|
292
|
-
delete_point: typing.Union[bool, typing.Any] = False,
|
|
293
|
-
insert_point: typing.Union[bool, typing.Any] = False,
|
|
294
|
-
move_segment: typing.Union[bool, typing.Any] = False,
|
|
295
|
-
select_point: typing.Union[bool, typing.Any] = False,
|
|
296
|
-
move_point: typing.Union[bool, typing.Any] = False,
|
|
297
|
-
close_spline: typing.Union[bool, typing.Any] = True,
|
|
298
|
-
close_spline_method: typing.Any = "OFF",
|
|
299
|
-
toggle_vector: typing.Union[bool, typing.Any] = False,
|
|
300
|
-
cycle_handle_type: typing.Union[bool, typing.Any] = False,
|
|
285
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
286
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
287
|
+
undo: typing.Optional[bool] = None,
|
|
288
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
289
|
+
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
290
|
+
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
291
|
+
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
292
|
+
select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
293
|
+
extrude_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
294
|
+
extrude_handle: typing.Optional[typing.Any] = "VECTOR",
|
|
295
|
+
delete_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
296
|
+
insert_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
297
|
+
move_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
298
|
+
select_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
299
|
+
move_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
300
|
+
close_spline: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
301
|
+
close_spline_method: typing.Optional[typing.Any] = "OFF",
|
|
302
|
+
toggle_vector: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
303
|
+
cycle_handle_type: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
301
304
|
):
|
|
302
305
|
"""Construct and edit splines
|
|
303
306
|
|
|
304
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
-
:type execution_context: typing.Union[str, int]
|
|
306
|
-
:type undo: bool
|
|
307
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
308
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
309
|
+
:type undo: typing.Optional[bool]
|
|
307
310
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
308
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
311
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
309
312
|
:param deselect: Deselect, Remove from selection
|
|
310
|
-
:type deselect: typing.Union[bool, typing.Any]
|
|
313
|
+
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
311
314
|
:param toggle: Toggle Selection, Toggle the selection
|
|
312
|
-
:type toggle: typing.Union[bool, typing.Any]
|
|
315
|
+
:type toggle: typing.Optional[typing.Union[bool, typing.Any]]
|
|
313
316
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
314
|
-
:type deselect_all: typing.Union[bool, typing.Any]
|
|
317
|
+
:type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
315
318
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
316
|
-
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
319
|
+
:type select_passthrough: typing.Optional[typing.Union[bool, typing.Any]]
|
|
317
320
|
:param extrude_point: Extrude Point, Add a point connected to the last selected point
|
|
318
|
-
:type extrude_point: typing.Union[bool, typing.Any]
|
|
321
|
+
:type extrude_point: typing.Optional[typing.Union[bool, typing.Any]]
|
|
319
322
|
:param extrude_handle: Extrude Handle Type, Type of the extruded handle
|
|
320
|
-
:type extrude_handle: typing.Any
|
|
323
|
+
:type extrude_handle: typing.Optional[typing.Any]
|
|
321
324
|
:param delete_point: Delete Point, Delete an existing point
|
|
322
|
-
:type delete_point: typing.Union[bool, typing.Any]
|
|
325
|
+
:type delete_point: typing.Optional[typing.Union[bool, typing.Any]]
|
|
323
326
|
:param insert_point: Insert Point, Insert Point into a curve segment
|
|
324
|
-
:type insert_point: typing.Union[bool, typing.Any]
|
|
327
|
+
:type insert_point: typing.Optional[typing.Union[bool, typing.Any]]
|
|
325
328
|
:param move_segment: Move Segment, Delete an existing point
|
|
326
|
-
:type move_segment: typing.Union[bool, typing.Any]
|
|
329
|
+
:type move_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
327
330
|
:param select_point: Select Point, Select a point or its handles
|
|
328
|
-
:type select_point: typing.Union[bool, typing.Any]
|
|
331
|
+
:type select_point: typing.Optional[typing.Union[bool, typing.Any]]
|
|
329
332
|
:param move_point: Move Point, Move a point or its handles
|
|
330
|
-
:type move_point: typing.Union[bool, typing.Any]
|
|
333
|
+
:type move_point: typing.Optional[typing.Union[bool, typing.Any]]
|
|
331
334
|
:param close_spline: Close Spline, Make a spline cyclic by clicking endpoints
|
|
332
|
-
:type close_spline: typing.Union[bool, typing.Any]
|
|
335
|
+
:type close_spline: typing.Optional[typing.Union[bool, typing.Any]]
|
|
333
336
|
:param close_spline_method: Close Spline Method, The condition for close spline to activate
|
|
334
337
|
|
|
335
338
|
OFF
|
|
@@ -340,35 +343,35 @@ def pen(
|
|
|
340
343
|
|
|
341
344
|
ON_CLICK
|
|
342
345
|
On Click -- Spline closes on release if not dragged.
|
|
343
|
-
:type close_spline_method: typing.Any
|
|
346
|
+
:type close_spline_method: typing.Optional[typing.Any]
|
|
344
347
|
:param toggle_vector: Toggle Vector, Toggle between Vector and Auto handles
|
|
345
|
-
:type toggle_vector: typing.Union[bool, typing.Any]
|
|
348
|
+
:type toggle_vector: typing.Optional[typing.Union[bool, typing.Any]]
|
|
346
349
|
:param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
|
|
347
|
-
:type cycle_handle_type: typing.Union[bool, typing.Any]
|
|
350
|
+
:type cycle_handle_type: typing.Optional[typing.Union[bool, typing.Any]]
|
|
348
351
|
"""
|
|
349
352
|
|
|
350
353
|
...
|
|
351
354
|
|
|
352
355
|
def primitive_bezier_circle_add(
|
|
353
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
354
|
-
execution_context: typing.Union[str, int] = None,
|
|
355
|
-
undo: bool = None,
|
|
356
|
-
radius: typing.Any = 1.0,
|
|
357
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
358
|
-
align: typing.Any = "WORLD",
|
|
359
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
360
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
361
|
-
scale: typing.Any = (0.0, 0.0, 0.0),
|
|
356
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
357
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
358
|
+
undo: typing.Optional[bool] = None,
|
|
359
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
360
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
361
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
362
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
363
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
364
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
362
365
|
):
|
|
363
366
|
"""Construct a Bézier Circle
|
|
364
367
|
|
|
365
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
366
|
-
:type execution_context: typing.Union[str, int]
|
|
367
|
-
:type undo: bool
|
|
368
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
369
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
370
|
+
:type undo: typing.Optional[bool]
|
|
368
371
|
:param radius: Radius
|
|
369
|
-
:type radius: typing.Any
|
|
372
|
+
:type radius: typing.Optional[typing.Any]
|
|
370
373
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
371
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
374
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
372
375
|
:param align: Align, The alignment of the new object
|
|
373
376
|
|
|
374
377
|
WORLD
|
|
@@ -379,37 +382,37 @@ def primitive_bezier_circle_add(
|
|
|
379
382
|
|
|
380
383
|
CURSOR
|
|
381
384
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
382
|
-
:type align: typing.Any
|
|
385
|
+
:type align: typing.Optional[typing.Any]
|
|
383
386
|
:param location: Location, Location for the newly added object
|
|
384
|
-
:type location: typing.Any
|
|
387
|
+
:type location: typing.Optional[typing.Any]
|
|
385
388
|
:param rotation: Rotation, Rotation for the newly added object
|
|
386
|
-
:type rotation: typing.Any
|
|
389
|
+
:type rotation: typing.Optional[typing.Any]
|
|
387
390
|
:param scale: Scale, Scale for the newly added object
|
|
388
|
-
:type scale: typing.Any
|
|
391
|
+
:type scale: typing.Optional[typing.Any]
|
|
389
392
|
"""
|
|
390
393
|
|
|
391
394
|
...
|
|
392
395
|
|
|
393
396
|
def primitive_bezier_curve_add(
|
|
394
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
-
execution_context: typing.Union[str, int] = None,
|
|
396
|
-
undo: bool = None,
|
|
397
|
-
radius: typing.Any = 1.0,
|
|
398
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
399
|
-
align: typing.Any = "WORLD",
|
|
400
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
401
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
402
|
-
scale: typing.Any = (0.0, 0.0, 0.0),
|
|
397
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
398
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
399
|
+
undo: typing.Optional[bool] = None,
|
|
400
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
401
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
402
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
403
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
404
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
405
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
403
406
|
):
|
|
404
407
|
"""Construct a Bézier Curve
|
|
405
408
|
|
|
406
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
407
|
-
:type execution_context: typing.Union[str, int]
|
|
408
|
-
:type undo: bool
|
|
409
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
410
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
411
|
+
:type undo: typing.Optional[bool]
|
|
409
412
|
:param radius: Radius
|
|
410
|
-
:type radius: typing.Any
|
|
413
|
+
:type radius: typing.Optional[typing.Any]
|
|
411
414
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
412
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
415
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
413
416
|
:param align: Align, The alignment of the new object
|
|
414
417
|
|
|
415
418
|
WORLD
|
|
@@ -420,37 +423,37 @@ def primitive_bezier_curve_add(
|
|
|
420
423
|
|
|
421
424
|
CURSOR
|
|
422
425
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
423
|
-
:type align: typing.Any
|
|
426
|
+
:type align: typing.Optional[typing.Any]
|
|
424
427
|
:param location: Location, Location for the newly added object
|
|
425
|
-
:type location: typing.Any
|
|
428
|
+
:type location: typing.Optional[typing.Any]
|
|
426
429
|
:param rotation: Rotation, Rotation for the newly added object
|
|
427
|
-
:type rotation: typing.Any
|
|
430
|
+
:type rotation: typing.Optional[typing.Any]
|
|
428
431
|
:param scale: Scale, Scale for the newly added object
|
|
429
|
-
:type scale: typing.Any
|
|
432
|
+
:type scale: typing.Optional[typing.Any]
|
|
430
433
|
"""
|
|
431
434
|
|
|
432
435
|
...
|
|
433
436
|
|
|
434
437
|
def primitive_nurbs_circle_add(
|
|
435
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
436
|
-
execution_context: typing.Union[str, int] = None,
|
|
437
|
-
undo: bool = None,
|
|
438
|
-
radius: typing.Any = 1.0,
|
|
439
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
440
|
-
align: typing.Any = "WORLD",
|
|
441
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
442
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
443
|
-
scale: typing.Any = (0.0, 0.0, 0.0),
|
|
438
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
439
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
440
|
+
undo: typing.Optional[bool] = None,
|
|
441
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
442
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
443
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
444
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
445
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
446
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
444
447
|
):
|
|
445
448
|
"""Construct a Nurbs Circle
|
|
446
449
|
|
|
447
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
448
|
-
:type execution_context: typing.Union[str, int]
|
|
449
|
-
:type undo: bool
|
|
450
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
451
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
452
|
+
:type undo: typing.Optional[bool]
|
|
450
453
|
:param radius: Radius
|
|
451
|
-
:type radius: typing.Any
|
|
454
|
+
:type radius: typing.Optional[typing.Any]
|
|
452
455
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
453
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
456
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
454
457
|
:param align: Align, The alignment of the new object
|
|
455
458
|
|
|
456
459
|
WORLD
|
|
@@ -461,37 +464,37 @@ def primitive_nurbs_circle_add(
|
|
|
461
464
|
|
|
462
465
|
CURSOR
|
|
463
466
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
464
|
-
:type align: typing.Any
|
|
467
|
+
:type align: typing.Optional[typing.Any]
|
|
465
468
|
:param location: Location, Location for the newly added object
|
|
466
|
-
:type location: typing.Any
|
|
469
|
+
:type location: typing.Optional[typing.Any]
|
|
467
470
|
:param rotation: Rotation, Rotation for the newly added object
|
|
468
|
-
:type rotation: typing.Any
|
|
471
|
+
:type rotation: typing.Optional[typing.Any]
|
|
469
472
|
:param scale: Scale, Scale for the newly added object
|
|
470
|
-
:type scale: typing.Any
|
|
473
|
+
:type scale: typing.Optional[typing.Any]
|
|
471
474
|
"""
|
|
472
475
|
|
|
473
476
|
...
|
|
474
477
|
|
|
475
478
|
def primitive_nurbs_curve_add(
|
|
476
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
477
|
-
execution_context: typing.Union[str, int] = None,
|
|
478
|
-
undo: bool = None,
|
|
479
|
-
radius: typing.Any = 1.0,
|
|
480
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
481
|
-
align: typing.Any = "WORLD",
|
|
482
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
483
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
484
|
-
scale: typing.Any = (0.0, 0.0, 0.0),
|
|
479
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
480
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
481
|
+
undo: typing.Optional[bool] = None,
|
|
482
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
483
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
484
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
485
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
486
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
487
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
485
488
|
):
|
|
486
489
|
"""Construct a Nurbs Curve
|
|
487
490
|
|
|
488
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
489
|
-
:type execution_context: typing.Union[str, int]
|
|
490
|
-
:type undo: bool
|
|
491
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
492
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
493
|
+
:type undo: typing.Optional[bool]
|
|
491
494
|
:param radius: Radius
|
|
492
|
-
:type radius: typing.Any
|
|
495
|
+
:type radius: typing.Optional[typing.Any]
|
|
493
496
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
494
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
497
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
495
498
|
:param align: Align, The alignment of the new object
|
|
496
499
|
|
|
497
500
|
WORLD
|
|
@@ -502,37 +505,37 @@ def primitive_nurbs_curve_add(
|
|
|
502
505
|
|
|
503
506
|
CURSOR
|
|
504
507
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
505
|
-
:type align: typing.Any
|
|
508
|
+
:type align: typing.Optional[typing.Any]
|
|
506
509
|
:param location: Location, Location for the newly added object
|
|
507
|
-
:type location: typing.Any
|
|
510
|
+
:type location: typing.Optional[typing.Any]
|
|
508
511
|
:param rotation: Rotation, Rotation for the newly added object
|
|
509
|
-
:type rotation: typing.Any
|
|
512
|
+
:type rotation: typing.Optional[typing.Any]
|
|
510
513
|
:param scale: Scale, Scale for the newly added object
|
|
511
|
-
:type scale: typing.Any
|
|
514
|
+
:type scale: typing.Optional[typing.Any]
|
|
512
515
|
"""
|
|
513
516
|
|
|
514
517
|
...
|
|
515
518
|
|
|
516
519
|
def primitive_nurbs_path_add(
|
|
517
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
518
|
-
execution_context: typing.Union[str, int] = None,
|
|
519
|
-
undo: bool = None,
|
|
520
|
-
radius: typing.Any = 1.0,
|
|
521
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
522
|
-
align: typing.Any = "WORLD",
|
|
523
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
524
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
525
|
-
scale: typing.Any = (0.0, 0.0, 0.0),
|
|
520
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
521
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
522
|
+
undo: typing.Optional[bool] = None,
|
|
523
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
524
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
525
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
526
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
527
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
528
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
526
529
|
):
|
|
527
530
|
"""Construct a Path
|
|
528
531
|
|
|
529
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
530
|
-
:type execution_context: typing.Union[str, int]
|
|
531
|
-
:type undo: bool
|
|
532
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
533
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
534
|
+
:type undo: typing.Optional[bool]
|
|
532
535
|
:param radius: Radius
|
|
533
|
-
:type radius: typing.Any
|
|
536
|
+
:type radius: typing.Optional[typing.Any]
|
|
534
537
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
535
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
538
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
536
539
|
:param align: Align, The alignment of the new object
|
|
537
540
|
|
|
538
541
|
WORLD
|
|
@@ -543,62 +546,62 @@ def primitive_nurbs_path_add(
|
|
|
543
546
|
|
|
544
547
|
CURSOR
|
|
545
548
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
546
|
-
:type align: typing.Any
|
|
549
|
+
:type align: typing.Optional[typing.Any]
|
|
547
550
|
:param location: Location, Location for the newly added object
|
|
548
|
-
:type location: typing.Any
|
|
551
|
+
:type location: typing.Optional[typing.Any]
|
|
549
552
|
:param rotation: Rotation, Rotation for the newly added object
|
|
550
|
-
:type rotation: typing.Any
|
|
553
|
+
:type rotation: typing.Optional[typing.Any]
|
|
551
554
|
:param scale: Scale, Scale for the newly added object
|
|
552
|
-
:type scale: typing.Any
|
|
555
|
+
:type scale: typing.Optional[typing.Any]
|
|
553
556
|
"""
|
|
554
557
|
|
|
555
558
|
...
|
|
556
559
|
|
|
557
560
|
def radius_set(
|
|
558
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
559
|
-
execution_context: typing.Union[str, int] = None,
|
|
560
|
-
undo: bool = None,
|
|
561
|
-
radius: typing.Any = 1.0,
|
|
561
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
562
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
563
|
+
undo: typing.Optional[bool] = None,
|
|
564
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
562
565
|
):
|
|
563
566
|
"""Set per-point radius which is used for bevel tapering
|
|
564
567
|
|
|
565
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
566
|
-
:type execution_context: typing.Union[str, int]
|
|
567
|
-
:type undo: bool
|
|
568
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
569
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
570
|
+
:type undo: typing.Optional[bool]
|
|
568
571
|
:param radius: Radius
|
|
569
|
-
:type radius: typing.Any
|
|
572
|
+
:type radius: typing.Optional[typing.Any]
|
|
570
573
|
"""
|
|
571
574
|
|
|
572
575
|
...
|
|
573
576
|
|
|
574
577
|
def reveal(
|
|
575
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
576
|
-
execution_context: typing.Union[str, int] = None,
|
|
577
|
-
undo: bool = None,
|
|
578
|
-
select: typing.Union[bool, typing.Any] = True,
|
|
578
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
579
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
580
|
+
undo: typing.Optional[bool] = None,
|
|
581
|
+
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
579
582
|
):
|
|
580
583
|
"""Reveal hidden control points
|
|
581
584
|
|
|
582
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
583
|
-
:type execution_context: typing.Union[str, int]
|
|
584
|
-
:type undo: bool
|
|
585
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
586
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
587
|
+
:type undo: typing.Optional[bool]
|
|
585
588
|
:param select: Select
|
|
586
|
-
:type select: typing.Union[bool, typing.Any]
|
|
589
|
+
:type select: typing.Optional[typing.Union[bool, typing.Any]]
|
|
587
590
|
"""
|
|
588
591
|
|
|
589
592
|
...
|
|
590
593
|
|
|
591
594
|
def select_all(
|
|
592
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
593
|
-
execution_context: typing.Union[str, int] = None,
|
|
594
|
-
undo: bool = None,
|
|
595
|
-
action: typing.Any = "TOGGLE",
|
|
595
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
596
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
597
|
+
undo: typing.Optional[bool] = None,
|
|
598
|
+
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
596
599
|
):
|
|
597
600
|
"""(De)select all control points
|
|
598
601
|
|
|
599
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
600
|
-
:type execution_context: typing.Union[str, int]
|
|
601
|
-
:type undo: bool
|
|
602
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
603
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
604
|
+
:type undo: typing.Optional[bool]
|
|
602
605
|
:param action: Action, Selection action to execute
|
|
603
606
|
|
|
604
607
|
TOGGLE
|
|
@@ -612,138 +615,138 @@ def select_all(
|
|
|
612
615
|
|
|
613
616
|
INVERT
|
|
614
617
|
Invert -- Invert selection of all elements.
|
|
615
|
-
:type action: typing.Any
|
|
618
|
+
:type action: typing.Optional[typing.Any]
|
|
616
619
|
"""
|
|
617
620
|
|
|
618
621
|
...
|
|
619
622
|
|
|
620
623
|
def select_less(
|
|
621
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
622
|
-
execution_context: typing.Union[str, int] = None,
|
|
623
|
-
undo: bool = None,
|
|
624
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
625
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
626
|
+
undo: typing.Optional[bool] = None,
|
|
624
627
|
):
|
|
625
628
|
"""Deselect control points at the boundary of each selection region
|
|
626
629
|
|
|
627
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
628
|
-
:type execution_context: typing.Union[str, int]
|
|
629
|
-
:type undo: bool
|
|
630
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
631
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
632
|
+
:type undo: typing.Optional[bool]
|
|
630
633
|
"""
|
|
631
634
|
|
|
632
635
|
...
|
|
633
636
|
|
|
634
637
|
def select_linked(
|
|
635
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
636
|
-
execution_context: typing.Union[str, int] = None,
|
|
637
|
-
undo: bool = None,
|
|
638
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
639
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
640
|
+
undo: typing.Optional[bool] = None,
|
|
638
641
|
):
|
|
639
642
|
"""Select all control points linked to the current selection
|
|
640
643
|
|
|
641
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
642
|
-
:type execution_context: typing.Union[str, int]
|
|
643
|
-
:type undo: bool
|
|
644
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
645
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
646
|
+
:type undo: typing.Optional[bool]
|
|
644
647
|
"""
|
|
645
648
|
|
|
646
649
|
...
|
|
647
650
|
|
|
648
651
|
def select_linked_pick(
|
|
649
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
650
|
-
execution_context: typing.Union[str, int] = None,
|
|
651
|
-
undo: bool = None,
|
|
652
|
-
deselect: typing.Union[bool, typing.Any] = False,
|
|
652
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
653
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
654
|
+
undo: typing.Optional[bool] = None,
|
|
655
|
+
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
653
656
|
):
|
|
654
657
|
"""Select all control points linked to already selected ones
|
|
655
658
|
|
|
656
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
657
|
-
:type execution_context: typing.Union[str, int]
|
|
658
|
-
:type undo: bool
|
|
659
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
660
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
661
|
+
:type undo: typing.Optional[bool]
|
|
659
662
|
:param deselect: Deselect, Deselect linked control points rather than selecting them
|
|
660
|
-
:type deselect: typing.Union[bool, typing.Any]
|
|
663
|
+
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
661
664
|
"""
|
|
662
665
|
|
|
663
666
|
...
|
|
664
667
|
|
|
665
668
|
def select_more(
|
|
666
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
667
|
-
execution_context: typing.Union[str, int] = None,
|
|
668
|
-
undo: bool = None,
|
|
669
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
670
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
671
|
+
undo: typing.Optional[bool] = None,
|
|
669
672
|
):
|
|
670
673
|
"""Select control points at the boundary of each selection region
|
|
671
674
|
|
|
672
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
673
|
-
:type execution_context: typing.Union[str, int]
|
|
674
|
-
:type undo: bool
|
|
675
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
676
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
677
|
+
:type undo: typing.Optional[bool]
|
|
675
678
|
"""
|
|
676
679
|
|
|
677
680
|
...
|
|
678
681
|
|
|
679
682
|
def select_next(
|
|
680
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
681
|
-
execution_context: typing.Union[str, int] = None,
|
|
682
|
-
undo: bool = None,
|
|
683
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
684
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
685
|
+
undo: typing.Optional[bool] = None,
|
|
683
686
|
):
|
|
684
687
|
"""Select control points following already selected ones along the curves
|
|
685
688
|
|
|
686
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
687
|
-
:type execution_context: typing.Union[str, int]
|
|
688
|
-
:type undo: bool
|
|
689
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
690
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
691
|
+
:type undo: typing.Optional[bool]
|
|
689
692
|
"""
|
|
690
693
|
|
|
691
694
|
...
|
|
692
695
|
|
|
693
696
|
def select_nth(
|
|
694
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
695
|
-
execution_context: typing.Union[str, int] = None,
|
|
696
|
-
undo: bool = None,
|
|
697
|
-
skip: typing.Any = 1,
|
|
698
|
-
nth: typing.Any = 1,
|
|
699
|
-
offset: typing.Any = 0,
|
|
697
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
698
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
699
|
+
undo: typing.Optional[bool] = None,
|
|
700
|
+
skip: typing.Optional[typing.Any] = 1,
|
|
701
|
+
nth: typing.Optional[typing.Any] = 1,
|
|
702
|
+
offset: typing.Optional[typing.Any] = 0,
|
|
700
703
|
):
|
|
701
704
|
"""Deselect every Nth point starting from the active one
|
|
702
705
|
|
|
703
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
704
|
-
:type execution_context: typing.Union[str, int]
|
|
705
|
-
:type undo: bool
|
|
706
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
707
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
708
|
+
:type undo: typing.Optional[bool]
|
|
706
709
|
:param skip: Deselected, Number of deselected elements in the repetitive sequence
|
|
707
|
-
:type skip: typing.Any
|
|
710
|
+
:type skip: typing.Optional[typing.Any]
|
|
708
711
|
:param nth: Selected, Number of selected elements in the repetitive sequence
|
|
709
|
-
:type nth: typing.Any
|
|
712
|
+
:type nth: typing.Optional[typing.Any]
|
|
710
713
|
:param offset: Offset, Offset from the starting point
|
|
711
|
-
:type offset: typing.Any
|
|
714
|
+
:type offset: typing.Optional[typing.Any]
|
|
712
715
|
"""
|
|
713
716
|
|
|
714
717
|
...
|
|
715
718
|
|
|
716
719
|
def select_previous(
|
|
717
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
718
|
-
execution_context: typing.Union[str, int] = None,
|
|
719
|
-
undo: bool = None,
|
|
720
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
721
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
722
|
+
undo: typing.Optional[bool] = None,
|
|
720
723
|
):
|
|
721
724
|
"""Select control points preceding already selected ones along the curves
|
|
722
725
|
|
|
723
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
724
|
-
:type execution_context: typing.Union[str, int]
|
|
725
|
-
:type undo: bool
|
|
726
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
727
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
728
|
+
:type undo: typing.Optional[bool]
|
|
726
729
|
"""
|
|
727
730
|
|
|
728
731
|
...
|
|
729
732
|
|
|
730
733
|
def select_random(
|
|
731
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
732
|
-
execution_context: typing.Union[str, int] = None,
|
|
733
|
-
undo: bool = None,
|
|
734
|
-
ratio: typing.Any = 0.5,
|
|
735
|
-
seed: typing.Any = 0,
|
|
736
|
-
action: typing.Any = "SELECT",
|
|
734
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
735
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
736
|
+
undo: typing.Optional[bool] = None,
|
|
737
|
+
ratio: typing.Optional[typing.Any] = 0.5,
|
|
738
|
+
seed: typing.Optional[typing.Any] = 0,
|
|
739
|
+
action: typing.Optional[typing.Any] = "SELECT",
|
|
737
740
|
):
|
|
738
741
|
"""Randomly select some control points
|
|
739
742
|
|
|
740
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
741
|
-
:type execution_context: typing.Union[str, int]
|
|
742
|
-
:type undo: bool
|
|
743
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
744
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
745
|
+
:type undo: typing.Optional[bool]
|
|
743
746
|
:param ratio: Ratio, Portion of items to select randomly
|
|
744
|
-
:type ratio: typing.Any
|
|
747
|
+
:type ratio: typing.Optional[typing.Any]
|
|
745
748
|
:param seed: Random Seed, Seed for the random number generator
|
|
746
|
-
:type seed: typing.Any
|
|
749
|
+
:type seed: typing.Optional[typing.Any]
|
|
747
750
|
:param action: Action, Selection action to execute
|
|
748
751
|
|
|
749
752
|
SELECT
|
|
@@ -751,289 +754,289 @@ def select_random(
|
|
|
751
754
|
|
|
752
755
|
DESELECT
|
|
753
756
|
Deselect -- Deselect all elements.
|
|
754
|
-
:type action: typing.Any
|
|
757
|
+
:type action: typing.Optional[typing.Any]
|
|
755
758
|
"""
|
|
756
759
|
|
|
757
760
|
...
|
|
758
761
|
|
|
759
762
|
def select_row(
|
|
760
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
761
|
-
execution_context: typing.Union[str, int] = None,
|
|
762
|
-
undo: bool = None,
|
|
763
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
764
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
765
|
+
undo: typing.Optional[bool] = None,
|
|
763
766
|
):
|
|
764
767
|
"""Select a row of control points including active one
|
|
765
768
|
|
|
766
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
767
|
-
:type execution_context: typing.Union[str, int]
|
|
768
|
-
:type undo: bool
|
|
769
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
770
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
771
|
+
:type undo: typing.Optional[bool]
|
|
769
772
|
"""
|
|
770
773
|
|
|
771
774
|
...
|
|
772
775
|
|
|
773
776
|
def select_similar(
|
|
774
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
775
|
-
execution_context: typing.Union[str, int] = None,
|
|
776
|
-
undo: bool = None,
|
|
777
|
-
type: typing.Any = "WEIGHT",
|
|
778
|
-
compare: typing.Any = "EQUAL",
|
|
779
|
-
threshold: typing.Any = 0.1,
|
|
777
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
778
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
779
|
+
undo: typing.Optional[bool] = None,
|
|
780
|
+
type: typing.Optional[typing.Any] = "WEIGHT",
|
|
781
|
+
compare: typing.Optional[typing.Any] = "EQUAL",
|
|
782
|
+
threshold: typing.Optional[typing.Any] = 0.1,
|
|
780
783
|
):
|
|
781
784
|
"""Select similar curve points by property type
|
|
782
785
|
|
|
783
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
784
|
-
:type execution_context: typing.Union[str, int]
|
|
785
|
-
:type undo: bool
|
|
786
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
787
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
788
|
+
:type undo: typing.Optional[bool]
|
|
786
789
|
:param type: Type
|
|
787
|
-
:type type: typing.Any
|
|
790
|
+
:type type: typing.Optional[typing.Any]
|
|
788
791
|
:param compare: Compare
|
|
789
|
-
:type compare: typing.Any
|
|
792
|
+
:type compare: typing.Optional[typing.Any]
|
|
790
793
|
:param threshold: Threshold
|
|
791
|
-
:type threshold: typing.Any
|
|
794
|
+
:type threshold: typing.Optional[typing.Any]
|
|
792
795
|
"""
|
|
793
796
|
|
|
794
797
|
...
|
|
795
798
|
|
|
796
799
|
def separate(
|
|
797
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
798
|
-
execution_context: typing.Union[str, int] = None,
|
|
799
|
-
undo: bool = None,
|
|
800
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
801
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
802
|
+
undo: typing.Optional[bool] = None,
|
|
800
803
|
):
|
|
801
804
|
"""Separate selected points from connected unselected points into a new object
|
|
802
805
|
|
|
803
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
804
|
-
:type execution_context: typing.Union[str, int]
|
|
805
|
-
:type undo: bool
|
|
806
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
807
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
808
|
+
:type undo: typing.Optional[bool]
|
|
806
809
|
"""
|
|
807
810
|
|
|
808
811
|
...
|
|
809
812
|
|
|
810
813
|
def shade_flat(
|
|
811
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
812
|
-
execution_context: typing.Union[str, int] = None,
|
|
813
|
-
undo: bool = None,
|
|
814
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
815
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
816
|
+
undo: typing.Optional[bool] = None,
|
|
814
817
|
):
|
|
815
818
|
"""Set shading to flat
|
|
816
819
|
|
|
817
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
818
|
-
:type execution_context: typing.Union[str, int]
|
|
819
|
-
:type undo: bool
|
|
820
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
821
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
822
|
+
:type undo: typing.Optional[bool]
|
|
820
823
|
"""
|
|
821
824
|
|
|
822
825
|
...
|
|
823
826
|
|
|
824
827
|
def shade_smooth(
|
|
825
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
826
|
-
execution_context: typing.Union[str, int] = None,
|
|
827
|
-
undo: bool = None,
|
|
828
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
829
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
830
|
+
undo: typing.Optional[bool] = None,
|
|
828
831
|
):
|
|
829
832
|
"""Set shading to smooth
|
|
830
833
|
|
|
831
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
832
|
-
:type execution_context: typing.Union[str, int]
|
|
833
|
-
:type undo: bool
|
|
834
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
835
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
836
|
+
:type undo: typing.Optional[bool]
|
|
834
837
|
"""
|
|
835
838
|
|
|
836
839
|
...
|
|
837
840
|
|
|
838
841
|
def shortest_path_pick(
|
|
839
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
840
|
-
execution_context: typing.Union[str, int] = None,
|
|
841
|
-
undo: bool = None,
|
|
842
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
843
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
844
|
+
undo: typing.Optional[bool] = None,
|
|
842
845
|
):
|
|
843
846
|
"""Select shortest path between two selections
|
|
844
847
|
|
|
845
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
846
|
-
:type execution_context: typing.Union[str, int]
|
|
847
|
-
:type undo: bool
|
|
848
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
849
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
850
|
+
:type undo: typing.Optional[bool]
|
|
848
851
|
"""
|
|
849
852
|
|
|
850
853
|
...
|
|
851
854
|
|
|
852
855
|
def smooth(
|
|
853
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
854
|
-
execution_context: typing.Union[str, int] = None,
|
|
855
|
-
undo: bool = None,
|
|
856
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
857
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
858
|
+
undo: typing.Optional[bool] = None,
|
|
856
859
|
):
|
|
857
860
|
"""Flatten angles of selected points
|
|
858
861
|
|
|
859
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
860
|
-
:type execution_context: typing.Union[str, int]
|
|
861
|
-
:type undo: bool
|
|
862
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
863
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
864
|
+
:type undo: typing.Optional[bool]
|
|
862
865
|
"""
|
|
863
866
|
|
|
864
867
|
...
|
|
865
868
|
|
|
866
869
|
def smooth_radius(
|
|
867
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
868
|
-
execution_context: typing.Union[str, int] = None,
|
|
869
|
-
undo: bool = None,
|
|
870
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
871
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
872
|
+
undo: typing.Optional[bool] = None,
|
|
870
873
|
):
|
|
871
874
|
"""Interpolate radii of selected points
|
|
872
875
|
|
|
873
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
874
|
-
:type execution_context: typing.Union[str, int]
|
|
875
|
-
:type undo: bool
|
|
876
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
877
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
878
|
+
:type undo: typing.Optional[bool]
|
|
876
879
|
"""
|
|
877
880
|
|
|
878
881
|
...
|
|
879
882
|
|
|
880
883
|
def smooth_tilt(
|
|
881
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
882
|
-
execution_context: typing.Union[str, int] = None,
|
|
883
|
-
undo: bool = None,
|
|
884
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
885
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
886
|
+
undo: typing.Optional[bool] = None,
|
|
884
887
|
):
|
|
885
888
|
"""Interpolate tilt of selected points
|
|
886
889
|
|
|
887
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
888
|
-
:type execution_context: typing.Union[str, int]
|
|
889
|
-
:type undo: bool
|
|
890
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
891
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
892
|
+
:type undo: typing.Optional[bool]
|
|
890
893
|
"""
|
|
891
894
|
|
|
892
895
|
...
|
|
893
896
|
|
|
894
897
|
def smooth_weight(
|
|
895
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
896
|
-
execution_context: typing.Union[str, int] = None,
|
|
897
|
-
undo: bool = None,
|
|
898
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
899
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
900
|
+
undo: typing.Optional[bool] = None,
|
|
898
901
|
):
|
|
899
902
|
"""Interpolate weight of selected points
|
|
900
903
|
|
|
901
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
902
|
-
:type execution_context: typing.Union[str, int]
|
|
903
|
-
:type undo: bool
|
|
904
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
905
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
906
|
+
:type undo: typing.Optional[bool]
|
|
904
907
|
"""
|
|
905
908
|
|
|
906
909
|
...
|
|
907
910
|
|
|
908
911
|
def spin(
|
|
909
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
910
|
-
execution_context: typing.Union[str, int] = None,
|
|
911
|
-
undo: bool = None,
|
|
912
|
-
center: typing.Any = (0.0, 0.0, 0.0),
|
|
913
|
-
axis: typing.Any = (0.0, 0.0, 0.0),
|
|
912
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
913
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
914
|
+
undo: typing.Optional[bool] = None,
|
|
915
|
+
center: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
916
|
+
axis: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
914
917
|
):
|
|
915
918
|
"""Extrude selected boundary row around pivot point and current view axis
|
|
916
919
|
|
|
917
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
918
|
-
:type execution_context: typing.Union[str, int]
|
|
919
|
-
:type undo: bool
|
|
920
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
921
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
922
|
+
:type undo: typing.Optional[bool]
|
|
920
923
|
:param center: Center, Center in global view space
|
|
921
|
-
:type center: typing.Any
|
|
924
|
+
:type center: typing.Optional[typing.Any]
|
|
922
925
|
:param axis: Axis, Axis in global view space
|
|
923
|
-
:type axis: typing.Any
|
|
926
|
+
:type axis: typing.Optional[typing.Any]
|
|
924
927
|
"""
|
|
925
928
|
|
|
926
929
|
...
|
|
927
930
|
|
|
928
931
|
def spline_type_set(
|
|
929
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
930
|
-
execution_context: typing.Union[str, int] = None,
|
|
931
|
-
undo: bool = None,
|
|
932
|
-
type: typing.Any = "POLY",
|
|
933
|
-
use_handles: typing.Union[bool, typing.Any] = False,
|
|
932
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
933
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
934
|
+
undo: typing.Optional[bool] = None,
|
|
935
|
+
type: typing.Optional[typing.Any] = "POLY",
|
|
936
|
+
use_handles: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
934
937
|
):
|
|
935
938
|
"""Set type of active spline
|
|
936
939
|
|
|
937
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
938
|
-
:type execution_context: typing.Union[str, int]
|
|
939
|
-
:type undo: bool
|
|
940
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
941
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
942
|
+
:type undo: typing.Optional[bool]
|
|
940
943
|
:param type: Type, Spline type
|
|
941
|
-
:type type: typing.Any
|
|
944
|
+
:type type: typing.Optional[typing.Any]
|
|
942
945
|
:param use_handles: Handles, Use handles when converting Bézier curves into polygons
|
|
943
|
-
:type use_handles: typing.Union[bool, typing.Any]
|
|
946
|
+
:type use_handles: typing.Optional[typing.Union[bool, typing.Any]]
|
|
944
947
|
"""
|
|
945
948
|
|
|
946
949
|
...
|
|
947
950
|
|
|
948
951
|
def spline_weight_set(
|
|
949
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
950
|
-
execution_context: typing.Union[str, int] = None,
|
|
951
|
-
undo: bool = None,
|
|
952
|
-
weight: typing.Any = 1.0,
|
|
952
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
953
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
954
|
+
undo: typing.Optional[bool] = None,
|
|
955
|
+
weight: typing.Optional[typing.Any] = 1.0,
|
|
953
956
|
):
|
|
954
957
|
"""Set softbody goal weight for selected points
|
|
955
958
|
|
|
956
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
957
|
-
:type execution_context: typing.Union[str, int]
|
|
958
|
-
:type undo: bool
|
|
959
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
960
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
961
|
+
:type undo: typing.Optional[bool]
|
|
959
962
|
:param weight: Weight
|
|
960
|
-
:type weight: typing.Any
|
|
963
|
+
:type weight: typing.Optional[typing.Any]
|
|
961
964
|
"""
|
|
962
965
|
|
|
963
966
|
...
|
|
964
967
|
|
|
965
968
|
def split(
|
|
966
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
967
|
-
execution_context: typing.Union[str, int] = None,
|
|
968
|
-
undo: bool = None,
|
|
969
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
970
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
971
|
+
undo: typing.Optional[bool] = None,
|
|
969
972
|
):
|
|
970
973
|
"""Split off selected points from connected unselected points
|
|
971
974
|
|
|
972
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
973
|
-
:type execution_context: typing.Union[str, int]
|
|
974
|
-
:type undo: bool
|
|
975
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
976
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
977
|
+
:type undo: typing.Optional[bool]
|
|
975
978
|
"""
|
|
976
979
|
|
|
977
980
|
...
|
|
978
981
|
|
|
979
982
|
def subdivide(
|
|
980
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
981
|
-
execution_context: typing.Union[str, int] = None,
|
|
982
|
-
undo: bool = None,
|
|
983
|
-
number_cuts: typing.Any = 1,
|
|
983
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
984
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
985
|
+
undo: typing.Optional[bool] = None,
|
|
986
|
+
number_cuts: typing.Optional[typing.Any] = 1,
|
|
984
987
|
):
|
|
985
988
|
"""Subdivide selected segments
|
|
986
989
|
|
|
987
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
988
|
-
:type execution_context: typing.Union[str, int]
|
|
989
|
-
:type undo: bool
|
|
990
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
991
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
992
|
+
:type undo: typing.Optional[bool]
|
|
990
993
|
:param number_cuts: Number of Cuts
|
|
991
|
-
:type number_cuts: typing.Any
|
|
994
|
+
:type number_cuts: typing.Optional[typing.Any]
|
|
992
995
|
"""
|
|
993
996
|
|
|
994
997
|
...
|
|
995
998
|
|
|
996
999
|
def switch_direction(
|
|
997
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
998
|
-
execution_context: typing.Union[str, int] = None,
|
|
999
|
-
undo: bool = None,
|
|
1000
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1001
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1002
|
+
undo: typing.Optional[bool] = None,
|
|
1000
1003
|
):
|
|
1001
1004
|
"""Switch direction of selected splines
|
|
1002
1005
|
|
|
1003
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1004
|
-
:type execution_context: typing.Union[str, int]
|
|
1005
|
-
:type undo: bool
|
|
1006
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1007
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1008
|
+
:type undo: typing.Optional[bool]
|
|
1006
1009
|
"""
|
|
1007
1010
|
|
|
1008
1011
|
...
|
|
1009
1012
|
|
|
1010
1013
|
def tilt_clear(
|
|
1011
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1012
|
-
execution_context: typing.Union[str, int] = None,
|
|
1013
|
-
undo: bool = None,
|
|
1014
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1015
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1016
|
+
undo: typing.Optional[bool] = None,
|
|
1014
1017
|
):
|
|
1015
1018
|
"""Clear the tilt of selected control points
|
|
1016
1019
|
|
|
1017
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1018
|
-
:type execution_context: typing.Union[str, int]
|
|
1019
|
-
:type undo: bool
|
|
1020
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1021
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1022
|
+
:type undo: typing.Optional[bool]
|
|
1020
1023
|
"""
|
|
1021
1024
|
|
|
1022
1025
|
...
|
|
1023
1026
|
|
|
1024
1027
|
def vertex_add(
|
|
1025
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1026
|
-
execution_context: typing.Union[str, int] = None,
|
|
1027
|
-
undo: bool = None,
|
|
1028
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
1028
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
1029
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1030
|
+
undo: typing.Optional[bool] = None,
|
|
1031
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
1029
1032
|
):
|
|
1030
1033
|
"""Add a new control point (linked to only selected end-curve one, if any)
|
|
1031
1034
|
|
|
1032
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1033
|
-
:type execution_context: typing.Union[str, int]
|
|
1034
|
-
:type undo: bool
|
|
1035
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
1036
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1037
|
+
:type undo: typing.Optional[bool]
|
|
1035
1038
|
:param location: Location, Location to add new vertex at
|
|
1036
|
-
:type location: typing.Any
|
|
1039
|
+
:type location: typing.Optional[typing.Any]
|
|
1037
1040
|
"""
|
|
1038
1041
|
|
|
1039
1042
|
...
|