fake-bpy-module 20240421__py3-none-any.whl → 20240422__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +333 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +441 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +330 -329
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2412 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +106351 -103198
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/mask/__init__.pyi
CHANGED
|
@@ -1,254 +1,255 @@
|
|
|
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 add_feather_vertex(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
location: typing.Any = (0.0, 0.0),
|
|
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
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
11
12
|
):
|
|
12
13
|
"""Add vertex to feather
|
|
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 location: Location, Location of vertex in normalized space
|
|
18
|
-
:type location: typing.Any
|
|
19
|
+
:type location: typing.Optional[typing.Any]
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
...
|
|
22
23
|
|
|
23
24
|
def add_feather_vertex_slide(
|
|
24
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
25
|
-
execution_context: typing.Union[str, int] = None,
|
|
26
|
-
undo: bool = None,
|
|
27
|
-
MASK_OT_add_feather_vertex: typing.
|
|
28
|
-
MASK_OT_slide_point: typing.
|
|
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,
|
|
28
|
+
MASK_OT_add_feather_vertex: typing.Optional[add_feather_vertex] = None,
|
|
29
|
+
MASK_OT_slide_point: typing.Optional[slide_point] = None,
|
|
29
30
|
):
|
|
30
31
|
"""Add new vertex to feather and slide it
|
|
31
32
|
|
|
32
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
33
|
-
:type execution_context: typing.Union[str, int]
|
|
34
|
-
:type undo: bool
|
|
33
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
34
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
35
|
+
:type undo: typing.Optional[bool]
|
|
35
36
|
:param MASK_OT_add_feather_vertex: Add Feather Vertex, Add vertex to feather
|
|
36
|
-
:type MASK_OT_add_feather_vertex: typing.
|
|
37
|
+
:type MASK_OT_add_feather_vertex: typing.Optional[add_feather_vertex]
|
|
37
38
|
:param MASK_OT_slide_point: Slide Point, Slide control points
|
|
38
|
-
:type MASK_OT_slide_point: typing.
|
|
39
|
+
:type MASK_OT_slide_point: typing.Optional[slide_point]
|
|
39
40
|
"""
|
|
40
41
|
|
|
41
42
|
...
|
|
42
43
|
|
|
43
44
|
def add_vertex(
|
|
44
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
45
|
-
execution_context: typing.Union[str, int] = None,
|
|
46
|
-
undo: bool = None,
|
|
47
|
-
location: typing.Any = (0.0, 0.0),
|
|
45
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
46
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
47
|
+
undo: typing.Optional[bool] = None,
|
|
48
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
48
49
|
):
|
|
49
50
|
"""Add vertex to active spline
|
|
50
51
|
|
|
51
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
52
|
-
:type execution_context: typing.Union[str, int]
|
|
53
|
-
:type undo: bool
|
|
52
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
53
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
54
|
+
:type undo: typing.Optional[bool]
|
|
54
55
|
:param location: Location, Location of vertex in normalized space
|
|
55
|
-
:type location: typing.Any
|
|
56
|
+
:type location: typing.Optional[typing.Any]
|
|
56
57
|
"""
|
|
57
58
|
|
|
58
59
|
...
|
|
59
60
|
|
|
60
61
|
def add_vertex_slide(
|
|
61
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
62
|
-
execution_context: typing.Union[str, int] = None,
|
|
63
|
-
undo: bool = None,
|
|
64
|
-
MASK_OT_add_vertex: typing.
|
|
65
|
-
MASK_OT_slide_point: typing.
|
|
62
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
63
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
64
|
+
undo: typing.Optional[bool] = None,
|
|
65
|
+
MASK_OT_add_vertex: typing.Optional[add_vertex] = None,
|
|
66
|
+
MASK_OT_slide_point: typing.Optional[slide_point] = None,
|
|
66
67
|
):
|
|
67
68
|
"""Add new vertex and slide it
|
|
68
69
|
|
|
69
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
70
|
-
:type execution_context: typing.Union[str, int]
|
|
71
|
-
:type undo: bool
|
|
70
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
71
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
72
|
+
:type undo: typing.Optional[bool]
|
|
72
73
|
:param MASK_OT_add_vertex: Add Vertex, Add vertex to active spline
|
|
73
|
-
:type MASK_OT_add_vertex: typing.
|
|
74
|
+
:type MASK_OT_add_vertex: typing.Optional[add_vertex]
|
|
74
75
|
:param MASK_OT_slide_point: Slide Point, Slide control points
|
|
75
|
-
:type MASK_OT_slide_point: typing.
|
|
76
|
+
:type MASK_OT_slide_point: typing.Optional[slide_point]
|
|
76
77
|
"""
|
|
77
78
|
|
|
78
79
|
...
|
|
79
80
|
|
|
80
81
|
def copy_splines(
|
|
81
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
82
|
-
execution_context: typing.Union[str, int] = None,
|
|
83
|
-
undo: bool = None,
|
|
82
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
83
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
84
|
+
undo: typing.Optional[bool] = None,
|
|
84
85
|
):
|
|
85
86
|
"""Copy the selected splines to the internal clipboard
|
|
86
87
|
|
|
87
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
88
|
-
:type execution_context: typing.Union[str, int]
|
|
89
|
-
:type undo: bool
|
|
88
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
89
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
90
|
+
:type undo: typing.Optional[bool]
|
|
90
91
|
"""
|
|
91
92
|
|
|
92
93
|
...
|
|
93
94
|
|
|
94
95
|
def cyclic_toggle(
|
|
95
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
96
|
-
execution_context: typing.Union[str, int] = None,
|
|
97
|
-
undo: bool = None,
|
|
96
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
97
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
98
|
+
undo: typing.Optional[bool] = None,
|
|
98
99
|
):
|
|
99
100
|
"""Toggle cyclic for selected splines
|
|
100
101
|
|
|
101
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
102
|
-
:type execution_context: typing.Union[str, int]
|
|
103
|
-
:type undo: bool
|
|
102
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
103
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
104
|
+
:type undo: typing.Optional[bool]
|
|
104
105
|
"""
|
|
105
106
|
|
|
106
107
|
...
|
|
107
108
|
|
|
108
109
|
def delete(
|
|
109
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
110
|
-
execution_context: typing.Union[str, int] = None,
|
|
111
|
-
undo: bool = None,
|
|
112
|
-
confirm: typing.Union[bool, typing.Any] = True,
|
|
110
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
111
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
112
|
+
undo: typing.Optional[bool] = None,
|
|
113
|
+
confirm: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
113
114
|
):
|
|
114
115
|
"""Delete selected control points or splines
|
|
115
116
|
|
|
116
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
117
|
-
:type execution_context: typing.Union[str, int]
|
|
118
|
-
:type undo: bool
|
|
117
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
118
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
119
|
+
:type undo: typing.Optional[bool]
|
|
119
120
|
:param confirm: Confirm, Prompt for confirmation
|
|
120
|
-
:type confirm: typing.Union[bool, typing.Any]
|
|
121
|
+
:type confirm: typing.Optional[typing.Union[bool, typing.Any]]
|
|
121
122
|
"""
|
|
122
123
|
|
|
123
124
|
...
|
|
124
125
|
|
|
125
126
|
def duplicate(
|
|
126
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
127
|
-
execution_context: typing.Union[str, int] = None,
|
|
128
|
-
undo: bool = None,
|
|
127
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
128
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
129
|
+
undo: typing.Optional[bool] = None,
|
|
129
130
|
):
|
|
130
131
|
"""Duplicate selected control points and segments between them
|
|
131
132
|
|
|
132
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
133
|
-
:type execution_context: typing.Union[str, int]
|
|
134
|
-
:type undo: bool
|
|
133
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
134
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
135
|
+
:type undo: typing.Optional[bool]
|
|
135
136
|
"""
|
|
136
137
|
|
|
137
138
|
...
|
|
138
139
|
|
|
139
140
|
def duplicate_move(
|
|
140
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
141
|
-
execution_context: typing.Union[str, int] = None,
|
|
142
|
-
undo: bool = None,
|
|
143
|
-
MASK_OT_duplicate: typing.
|
|
144
|
-
TRANSFORM_OT_translate: typing.
|
|
141
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
142
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
143
|
+
undo: typing.Optional[bool] = None,
|
|
144
|
+
MASK_OT_duplicate: typing.Optional[duplicate] = None,
|
|
145
|
+
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
145
146
|
):
|
|
146
147
|
"""Duplicate mask and move
|
|
147
148
|
|
|
148
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
149
|
-
:type execution_context: typing.Union[str, int]
|
|
150
|
-
:type undo: bool
|
|
149
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
150
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
151
|
+
:type undo: typing.Optional[bool]
|
|
151
152
|
:param MASK_OT_duplicate: Duplicate Mask, Duplicate selected control points and segments between them
|
|
152
|
-
:type MASK_OT_duplicate: typing.
|
|
153
|
+
:type MASK_OT_duplicate: typing.Optional[duplicate]
|
|
153
154
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
154
|
-
:type TRANSFORM_OT_translate: typing.
|
|
155
|
+
:type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
|
|
155
156
|
"""
|
|
156
157
|
|
|
157
158
|
...
|
|
158
159
|
|
|
159
160
|
def feather_weight_clear(
|
|
160
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
161
|
-
execution_context: typing.Union[str, int] = None,
|
|
162
|
-
undo: bool = None,
|
|
161
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
162
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
163
|
+
undo: typing.Optional[bool] = None,
|
|
163
164
|
):
|
|
164
165
|
"""Reset the feather weight to zero
|
|
165
166
|
|
|
166
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
167
|
-
:type execution_context: typing.Union[str, int]
|
|
168
|
-
:type undo: bool
|
|
167
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
168
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
169
|
+
:type undo: typing.Optional[bool]
|
|
169
170
|
"""
|
|
170
171
|
|
|
171
172
|
...
|
|
172
173
|
|
|
173
174
|
def handle_type_set(
|
|
174
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
-
execution_context: typing.Union[str, int] = None,
|
|
176
|
-
undo: bool = None,
|
|
177
|
-
type: typing.Any = "AUTO",
|
|
175
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
176
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
177
|
+
undo: typing.Optional[bool] = None,
|
|
178
|
+
type: typing.Optional[typing.Any] = "AUTO",
|
|
178
179
|
):
|
|
179
180
|
"""Set type of handles for selected control points
|
|
180
181
|
|
|
181
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
182
|
-
:type execution_context: typing.Union[str, int]
|
|
183
|
-
:type undo: bool
|
|
182
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
183
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
184
|
+
:type undo: typing.Optional[bool]
|
|
184
185
|
:param type: Type, Spline type
|
|
185
|
-
:type type: typing.Any
|
|
186
|
+
:type type: typing.Optional[typing.Any]
|
|
186
187
|
"""
|
|
187
188
|
|
|
188
189
|
...
|
|
189
190
|
|
|
190
191
|
def hide_view_clear(
|
|
191
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
192
|
-
execution_context: typing.Union[str, int] = None,
|
|
193
|
-
undo: bool = None,
|
|
194
|
-
select: typing.Union[bool, typing.Any] = True,
|
|
192
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
193
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
194
|
+
undo: typing.Optional[bool] = None,
|
|
195
|
+
select: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
195
196
|
):
|
|
196
197
|
"""Reveal temporarily hidden mask layers
|
|
197
198
|
|
|
198
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
199
|
-
:type execution_context: typing.Union[str, int]
|
|
200
|
-
:type undo: bool
|
|
199
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
200
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
201
|
+
:type undo: typing.Optional[bool]
|
|
201
202
|
:param select: Select
|
|
202
|
-
:type select: typing.Union[bool, typing.Any]
|
|
203
|
+
:type select: typing.Optional[typing.Union[bool, typing.Any]]
|
|
203
204
|
"""
|
|
204
205
|
|
|
205
206
|
...
|
|
206
207
|
|
|
207
208
|
def hide_view_set(
|
|
208
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
209
|
-
execution_context: typing.Union[str, int] = None,
|
|
210
|
-
undo: bool = None,
|
|
211
|
-
unselected: typing.Union[bool, typing.Any] = False,
|
|
209
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
210
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
211
|
+
undo: typing.Optional[bool] = None,
|
|
212
|
+
unselected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
212
213
|
):
|
|
213
214
|
"""Temporarily hide mask layers
|
|
214
215
|
|
|
215
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
216
|
-
:type execution_context: typing.Union[str, int]
|
|
217
|
-
:type undo: bool
|
|
216
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
217
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
218
|
+
:type undo: typing.Optional[bool]
|
|
218
219
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
219
|
-
:type unselected: typing.Union[bool, typing.Any]
|
|
220
|
+
:type unselected: typing.Optional[typing.Union[bool, typing.Any]]
|
|
220
221
|
"""
|
|
221
222
|
|
|
222
223
|
...
|
|
223
224
|
|
|
224
225
|
def layer_move(
|
|
225
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
226
|
-
execution_context: typing.Union[str, int] = None,
|
|
227
|
-
undo: bool = None,
|
|
228
|
-
direction: typing.Any = "UP",
|
|
226
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
227
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
228
|
+
undo: typing.Optional[bool] = None,
|
|
229
|
+
direction: typing.Optional[typing.Any] = "UP",
|
|
229
230
|
):
|
|
230
231
|
"""Move the active layer up/down in the list
|
|
231
232
|
|
|
232
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
233
|
-
:type execution_context: typing.Union[str, int]
|
|
234
|
-
:type undo: bool
|
|
233
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
234
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
235
|
+
:type undo: typing.Optional[bool]
|
|
235
236
|
:param direction: Direction, Direction to move the active layer
|
|
236
|
-
:type direction: typing.Any
|
|
237
|
+
:type direction: typing.Optional[typing.Any]
|
|
237
238
|
"""
|
|
238
239
|
|
|
239
240
|
...
|
|
240
241
|
|
|
241
242
|
def layer_new(
|
|
242
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
243
|
-
execution_context: typing.Union[str, int] = None,
|
|
244
|
-
undo: bool = None,
|
|
243
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
244
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
245
|
+
undo: typing.Optional[bool] = None,
|
|
245
246
|
name: typing.Union[str, typing.Any] = "",
|
|
246
247
|
):
|
|
247
248
|
"""Add new mask layer for masking
|
|
248
249
|
|
|
249
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
250
|
-
:type execution_context: typing.Union[str, int]
|
|
251
|
-
:type undo: bool
|
|
250
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
251
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
252
|
+
:type undo: typing.Optional[bool]
|
|
252
253
|
:param name: Name, Name of new mask layer
|
|
253
254
|
:type name: typing.Union[str, typing.Any]
|
|
254
255
|
"""
|
|
@@ -256,30 +257,30 @@ def layer_new(
|
|
|
256
257
|
...
|
|
257
258
|
|
|
258
259
|
def layer_remove(
|
|
259
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
260
|
-
execution_context: typing.Union[str, int] = None,
|
|
261
|
-
undo: bool = None,
|
|
260
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
261
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
262
|
+
undo: typing.Optional[bool] = None,
|
|
262
263
|
):
|
|
263
264
|
"""Remove mask layer
|
|
264
265
|
|
|
265
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
266
|
-
:type execution_context: typing.Union[str, int]
|
|
267
|
-
:type undo: bool
|
|
266
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
267
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
268
|
+
:type undo: typing.Optional[bool]
|
|
268
269
|
"""
|
|
269
270
|
|
|
270
271
|
...
|
|
271
272
|
|
|
272
273
|
def new(
|
|
273
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
-
execution_context: typing.Union[str, int] = None,
|
|
275
|
-
undo: bool = None,
|
|
274
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
275
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
276
|
+
undo: typing.Optional[bool] = None,
|
|
276
277
|
name: typing.Union[str, typing.Any] = "",
|
|
277
278
|
):
|
|
278
279
|
"""Create new mask
|
|
279
280
|
|
|
280
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
281
|
-
:type execution_context: typing.Union[str, int]
|
|
282
|
-
:type undo: bool
|
|
281
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
282
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
283
|
+
:type undo: typing.Optional[bool]
|
|
283
284
|
:param name: Name, Name of new mask
|
|
284
285
|
:type name: typing.Union[str, typing.Any]
|
|
285
286
|
"""
|
|
@@ -287,144 +288,144 @@ def new(
|
|
|
287
288
|
...
|
|
288
289
|
|
|
289
290
|
def normals_make_consistent(
|
|
290
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
291
|
-
execution_context: typing.Union[str, int] = None,
|
|
292
|
-
undo: bool = None,
|
|
291
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
292
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
293
|
+
undo: typing.Optional[bool] = None,
|
|
293
294
|
):
|
|
294
295
|
"""Recalculate the direction of selected handles
|
|
295
296
|
|
|
296
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
297
|
-
:type execution_context: typing.Union[str, int]
|
|
298
|
-
:type undo: bool
|
|
297
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
298
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
299
|
+
:type undo: typing.Optional[bool]
|
|
299
300
|
"""
|
|
300
301
|
|
|
301
302
|
...
|
|
302
303
|
|
|
303
304
|
def parent_clear(
|
|
304
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
305
|
-
execution_context: typing.Union[str, int] = None,
|
|
306
|
-
undo: bool = None,
|
|
305
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
306
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
307
|
+
undo: typing.Optional[bool] = None,
|
|
307
308
|
):
|
|
308
309
|
"""Clear the mask's parenting
|
|
309
310
|
|
|
310
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
311
|
-
:type execution_context: typing.Union[str, int]
|
|
312
|
-
:type undo: bool
|
|
311
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
312
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
313
|
+
:type undo: typing.Optional[bool]
|
|
313
314
|
"""
|
|
314
315
|
|
|
315
316
|
...
|
|
316
317
|
|
|
317
318
|
def parent_set(
|
|
318
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
319
|
-
execution_context: typing.Union[str, int] = None,
|
|
320
|
-
undo: bool = None,
|
|
319
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
320
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
321
|
+
undo: typing.Optional[bool] = None,
|
|
321
322
|
):
|
|
322
323
|
"""Set the mask's parenting
|
|
323
324
|
|
|
324
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
325
|
-
:type execution_context: typing.Union[str, int]
|
|
326
|
-
:type undo: bool
|
|
325
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
326
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
327
|
+
:type undo: typing.Optional[bool]
|
|
327
328
|
"""
|
|
328
329
|
|
|
329
330
|
...
|
|
330
331
|
|
|
331
332
|
def paste_splines(
|
|
332
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
333
|
-
execution_context: typing.Union[str, int] = None,
|
|
334
|
-
undo: bool = None,
|
|
333
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
334
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
335
|
+
undo: typing.Optional[bool] = None,
|
|
335
336
|
):
|
|
336
337
|
"""Paste splines from the internal clipboard
|
|
337
338
|
|
|
338
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
339
|
-
:type execution_context: typing.Union[str, int]
|
|
340
|
-
:type undo: bool
|
|
339
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
340
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
341
|
+
:type undo: typing.Optional[bool]
|
|
341
342
|
"""
|
|
342
343
|
|
|
343
344
|
...
|
|
344
345
|
|
|
345
346
|
def primitive_circle_add(
|
|
346
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
347
|
-
execution_context: typing.Union[str, int] = None,
|
|
348
|
-
undo: bool = None,
|
|
349
|
-
size: typing.Any = 100.0,
|
|
350
|
-
location: typing.Any = (0.0, 0.0),
|
|
347
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
348
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
349
|
+
undo: typing.Optional[bool] = None,
|
|
350
|
+
size: typing.Optional[typing.Any] = 100.0,
|
|
351
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
351
352
|
):
|
|
352
353
|
"""Add new circle-shaped spline
|
|
353
354
|
|
|
354
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
355
|
-
:type execution_context: typing.Union[str, int]
|
|
356
|
-
:type undo: bool
|
|
355
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
356
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
357
|
+
:type undo: typing.Optional[bool]
|
|
357
358
|
:param size: Size, Size of new circle
|
|
358
|
-
:type size: typing.Any
|
|
359
|
+
:type size: typing.Optional[typing.Any]
|
|
359
360
|
:param location: Location, Location of new circle
|
|
360
|
-
:type location: typing.Any
|
|
361
|
+
:type location: typing.Optional[typing.Any]
|
|
361
362
|
"""
|
|
362
363
|
|
|
363
364
|
...
|
|
364
365
|
|
|
365
366
|
def primitive_square_add(
|
|
366
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
367
|
-
execution_context: typing.Union[str, int] = None,
|
|
368
|
-
undo: bool = None,
|
|
369
|
-
size: typing.Any = 100.0,
|
|
370
|
-
location: typing.Any = (0.0, 0.0),
|
|
367
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
368
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
369
|
+
undo: typing.Optional[bool] = None,
|
|
370
|
+
size: typing.Optional[typing.Any] = 100.0,
|
|
371
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
371
372
|
):
|
|
372
373
|
"""Add new square-shaped spline
|
|
373
374
|
|
|
374
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
375
|
-
:type execution_context: typing.Union[str, int]
|
|
376
|
-
:type undo: bool
|
|
375
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
376
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
377
|
+
:type undo: typing.Optional[bool]
|
|
377
378
|
:param size: Size, Size of new circle
|
|
378
|
-
:type size: typing.Any
|
|
379
|
+
:type size: typing.Optional[typing.Any]
|
|
379
380
|
:param location: Location, Location of new circle
|
|
380
|
-
:type location: typing.Any
|
|
381
|
+
:type location: typing.Optional[typing.Any]
|
|
381
382
|
"""
|
|
382
383
|
|
|
383
384
|
...
|
|
384
385
|
|
|
385
386
|
def select(
|
|
386
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
387
|
-
execution_context: typing.Union[str, int] = None,
|
|
388
|
-
undo: bool = None,
|
|
389
|
-
extend: typing.Union[bool, typing.Any] = False,
|
|
390
|
-
deselect: typing.Union[bool, typing.Any] = False,
|
|
391
|
-
toggle: typing.Union[bool, typing.Any] = False,
|
|
392
|
-
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
393
|
-
select_passthrough: typing.Union[bool, typing.Any] = False,
|
|
394
|
-
location: typing.Any = (0.0, 0.0),
|
|
387
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
388
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
389
|
+
undo: typing.Optional[bool] = None,
|
|
390
|
+
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
391
|
+
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
392
|
+
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
393
|
+
deselect_all: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
394
|
+
select_passthrough: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
395
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
395
396
|
):
|
|
396
397
|
"""Select spline points
|
|
397
398
|
|
|
398
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
399
|
-
:type execution_context: typing.Union[str, int]
|
|
400
|
-
:type undo: bool
|
|
399
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
400
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
401
|
+
:type undo: typing.Optional[bool]
|
|
401
402
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
402
|
-
:type extend: typing.Union[bool, typing.Any]
|
|
403
|
+
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
403
404
|
:param deselect: Deselect, Remove from selection
|
|
404
|
-
:type deselect: typing.Union[bool, typing.Any]
|
|
405
|
+
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
405
406
|
:param toggle: Toggle Selection, Toggle the selection
|
|
406
|
-
:type toggle: typing.Union[bool, typing.Any]
|
|
407
|
+
:type toggle: typing.Optional[typing.Union[bool, typing.Any]]
|
|
407
408
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
408
|
-
:type deselect_all: typing.Union[bool, typing.Any]
|
|
409
|
+
:type deselect_all: typing.Optional[typing.Union[bool, typing.Any]]
|
|
409
410
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
410
|
-
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
411
|
+
:type select_passthrough: typing.Optional[typing.Union[bool, typing.Any]]
|
|
411
412
|
:param location: Location, Location of vertex in normalized space
|
|
412
|
-
:type location: typing.Any
|
|
413
|
+
:type location: typing.Optional[typing.Any]
|
|
413
414
|
"""
|
|
414
415
|
|
|
415
416
|
...
|
|
416
417
|
|
|
417
418
|
def select_all(
|
|
418
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
419
|
-
execution_context: typing.Union[str, int] = None,
|
|
420
|
-
undo: bool = None,
|
|
421
|
-
action: typing.Any = "TOGGLE",
|
|
419
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
420
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
421
|
+
undo: typing.Optional[bool] = None,
|
|
422
|
+
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
422
423
|
):
|
|
423
424
|
"""Change selection of all curve points
|
|
424
425
|
|
|
425
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
426
|
-
:type execution_context: typing.Union[str, int]
|
|
427
|
-
:type undo: bool
|
|
426
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
427
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
428
|
+
:type undo: typing.Optional[bool]
|
|
428
429
|
:param action: Action, Selection action to execute
|
|
429
430
|
|
|
430
431
|
TOGGLE
|
|
@@ -438,37 +439,37 @@ def select_all(
|
|
|
438
439
|
|
|
439
440
|
INVERT
|
|
440
441
|
Invert -- Invert selection of all elements.
|
|
441
|
-
:type action: typing.Any
|
|
442
|
+
:type action: typing.Optional[typing.Any]
|
|
442
443
|
"""
|
|
443
444
|
|
|
444
445
|
...
|
|
445
446
|
|
|
446
447
|
def select_box(
|
|
447
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
448
|
-
execution_context: typing.Union[str, int] = None,
|
|
449
|
-
undo: bool = None,
|
|
450
|
-
xmin: typing.Any = 0,
|
|
451
|
-
xmax: typing.Any = 0,
|
|
452
|
-
ymin: typing.Any = 0,
|
|
453
|
-
ymax: typing.Any = 0,
|
|
454
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
455
|
-
mode: typing.Any = "SET",
|
|
448
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
449
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
450
|
+
undo: typing.Optional[bool] = None,
|
|
451
|
+
xmin: typing.Optional[typing.Any] = 0,
|
|
452
|
+
xmax: typing.Optional[typing.Any] = 0,
|
|
453
|
+
ymin: typing.Optional[typing.Any] = 0,
|
|
454
|
+
ymax: typing.Optional[typing.Any] = 0,
|
|
455
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
456
|
+
mode: typing.Optional[typing.Any] = "SET",
|
|
456
457
|
):
|
|
457
458
|
"""Select curve points using box selection
|
|
458
459
|
|
|
459
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
460
|
-
:type execution_context: typing.Union[str, int]
|
|
461
|
-
:type undo: bool
|
|
460
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
461
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
462
|
+
:type undo: typing.Optional[bool]
|
|
462
463
|
:param xmin: X Min
|
|
463
|
-
:type xmin: typing.Any
|
|
464
|
+
:type xmin: typing.Optional[typing.Any]
|
|
464
465
|
:param xmax: X Max
|
|
465
|
-
:type xmax: typing.Any
|
|
466
|
+
:type xmax: typing.Optional[typing.Any]
|
|
466
467
|
:param ymin: Y Min
|
|
467
|
-
:type ymin: typing.Any
|
|
468
|
+
:type ymin: typing.Optional[typing.Any]
|
|
468
469
|
:param ymax: Y Max
|
|
469
|
-
:type ymax: typing.Any
|
|
470
|
+
:type ymax: typing.Optional[typing.Any]
|
|
470
471
|
:param wait_for_input: Wait for Input
|
|
471
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
472
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
472
473
|
:param mode: Mode
|
|
473
474
|
|
|
474
475
|
SET
|
|
@@ -479,34 +480,34 @@ def select_box(
|
|
|
479
480
|
|
|
480
481
|
SUB
|
|
481
482
|
Subtract -- Subtract existing selection.
|
|
482
|
-
:type mode: typing.Any
|
|
483
|
+
:type mode: typing.Optional[typing.Any]
|
|
483
484
|
"""
|
|
484
485
|
|
|
485
486
|
...
|
|
486
487
|
|
|
487
488
|
def select_circle(
|
|
488
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
489
|
-
execution_context: typing.Union[str, int] = None,
|
|
490
|
-
undo: bool = None,
|
|
491
|
-
x: typing.Any = 0,
|
|
492
|
-
y: typing.Any = 0,
|
|
493
|
-
radius: typing.Any = 25,
|
|
494
|
-
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
495
|
-
mode: typing.Any = "SET",
|
|
489
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
490
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
491
|
+
undo: typing.Optional[bool] = None,
|
|
492
|
+
x: typing.Optional[typing.Any] = 0,
|
|
493
|
+
y: typing.Optional[typing.Any] = 0,
|
|
494
|
+
radius: typing.Optional[typing.Any] = 25,
|
|
495
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
496
|
+
mode: typing.Optional[typing.Any] = "SET",
|
|
496
497
|
):
|
|
497
498
|
"""Select curve points using circle selection
|
|
498
499
|
|
|
499
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
500
|
-
:type execution_context: typing.Union[str, int]
|
|
501
|
-
:type undo: bool
|
|
500
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
501
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
502
|
+
:type undo: typing.Optional[bool]
|
|
502
503
|
:param x: X
|
|
503
|
-
:type x: typing.Any
|
|
504
|
+
:type x: typing.Optional[typing.Any]
|
|
504
505
|
:param y: Y
|
|
505
|
-
:type y: typing.Any
|
|
506
|
+
:type y: typing.Optional[typing.Any]
|
|
506
507
|
:param radius: Radius
|
|
507
|
-
:type radius: typing.Any
|
|
508
|
+
:type radius: typing.Optional[typing.Any]
|
|
508
509
|
:param wait_for_input: Wait for Input
|
|
509
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
510
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
510
511
|
:param mode: Mode
|
|
511
512
|
|
|
512
513
|
SET
|
|
@@ -517,25 +518,27 @@ def select_circle(
|
|
|
517
518
|
|
|
518
519
|
SUB
|
|
519
520
|
Subtract -- Subtract existing selection.
|
|
520
|
-
:type mode: typing.Any
|
|
521
|
+
:type mode: typing.Optional[typing.Any]
|
|
521
522
|
"""
|
|
522
523
|
|
|
523
524
|
...
|
|
524
525
|
|
|
525
526
|
def select_lasso(
|
|
526
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
527
|
-
execution_context: typing.Union[str, int] = None,
|
|
528
|
-
undo: bool = None,
|
|
529
|
-
path:
|
|
530
|
-
|
|
527
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
528
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
529
|
+
undo: typing.Optional[bool] = None,
|
|
530
|
+
path: typing.Optional[
|
|
531
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
532
|
+
] = None,
|
|
533
|
+
mode: typing.Optional[typing.Any] = "SET",
|
|
531
534
|
):
|
|
532
535
|
"""Select curve points using lasso selection
|
|
533
536
|
|
|
534
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
535
|
-
:type execution_context: typing.Union[str, int]
|
|
536
|
-
:type undo: bool
|
|
537
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
538
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
539
|
+
:type undo: typing.Optional[bool]
|
|
537
540
|
:param path: Path
|
|
538
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
541
|
+
:type path: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]]
|
|
539
542
|
:param mode: Mode
|
|
540
543
|
|
|
541
544
|
SET
|
|
@@ -546,176 +549,176 @@ def select_lasso(
|
|
|
546
549
|
|
|
547
550
|
SUB
|
|
548
551
|
Subtract -- Subtract existing selection.
|
|
549
|
-
:type mode: typing.Any
|
|
552
|
+
:type mode: typing.Optional[typing.Any]
|
|
550
553
|
"""
|
|
551
554
|
|
|
552
555
|
...
|
|
553
556
|
|
|
554
557
|
def select_less(
|
|
555
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
556
|
-
execution_context: typing.Union[str, int] = None,
|
|
557
|
-
undo: bool = None,
|
|
558
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
559
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
560
|
+
undo: typing.Optional[bool] = None,
|
|
558
561
|
):
|
|
559
562
|
"""Deselect spline points at the boundary of each selection region
|
|
560
563
|
|
|
561
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
562
|
-
:type execution_context: typing.Union[str, int]
|
|
563
|
-
:type undo: bool
|
|
564
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
565
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
566
|
+
:type undo: typing.Optional[bool]
|
|
564
567
|
"""
|
|
565
568
|
|
|
566
569
|
...
|
|
567
570
|
|
|
568
571
|
def select_linked(
|
|
569
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
570
|
-
execution_context: typing.Union[str, int] = None,
|
|
571
|
-
undo: bool = None,
|
|
572
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
573
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
574
|
+
undo: typing.Optional[bool] = None,
|
|
572
575
|
):
|
|
573
576
|
"""Select all curve points linked to already selected ones
|
|
574
577
|
|
|
575
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
576
|
-
:type execution_context: typing.Union[str, int]
|
|
577
|
-
:type undo: bool
|
|
578
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
579
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
580
|
+
:type undo: typing.Optional[bool]
|
|
578
581
|
"""
|
|
579
582
|
|
|
580
583
|
...
|
|
581
584
|
|
|
582
585
|
def select_linked_pick(
|
|
583
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
584
|
-
execution_context: typing.Union[str, int] = None,
|
|
585
|
-
undo: bool = None,
|
|
586
|
-
deselect: typing.Union[bool, typing.Any] = False,
|
|
586
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
587
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
588
|
+
undo: typing.Optional[bool] = None,
|
|
589
|
+
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
587
590
|
):
|
|
588
591
|
"""(De)select all points linked to the curve under the mouse cursor
|
|
589
592
|
|
|
590
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
591
|
-
:type execution_context: typing.Union[str, int]
|
|
592
|
-
:type undo: bool
|
|
593
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
594
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
595
|
+
:type undo: typing.Optional[bool]
|
|
593
596
|
:param deselect: Deselect
|
|
594
|
-
:type deselect: typing.Union[bool, typing.Any]
|
|
597
|
+
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
595
598
|
"""
|
|
596
599
|
|
|
597
600
|
...
|
|
598
601
|
|
|
599
602
|
def select_more(
|
|
600
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
601
|
-
execution_context: typing.Union[str, int] = None,
|
|
602
|
-
undo: bool = None,
|
|
603
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
604
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
605
|
+
undo: typing.Optional[bool] = None,
|
|
603
606
|
):
|
|
604
607
|
"""Select more spline points connected to initial selection
|
|
605
608
|
|
|
606
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
607
|
-
:type execution_context: typing.Union[str, int]
|
|
608
|
-
:type undo: bool
|
|
609
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
610
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
611
|
+
:type undo: typing.Optional[bool]
|
|
609
612
|
"""
|
|
610
613
|
|
|
611
614
|
...
|
|
612
615
|
|
|
613
616
|
def shape_key_clear(
|
|
614
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
615
|
-
execution_context: typing.Union[str, int] = None,
|
|
616
|
-
undo: bool = None,
|
|
617
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
618
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
619
|
+
undo: typing.Optional[bool] = None,
|
|
617
620
|
):
|
|
618
621
|
"""Remove mask shape keyframe for active mask layer at the current frame
|
|
619
622
|
|
|
620
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
621
|
-
:type execution_context: typing.Union[str, int]
|
|
622
|
-
:type undo: bool
|
|
623
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
624
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
625
|
+
:type undo: typing.Optional[bool]
|
|
623
626
|
"""
|
|
624
627
|
|
|
625
628
|
...
|
|
626
629
|
|
|
627
630
|
def shape_key_feather_reset(
|
|
628
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
629
|
-
execution_context: typing.Union[str, int] = None,
|
|
630
|
-
undo: bool = None,
|
|
631
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
632
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
633
|
+
undo: typing.Optional[bool] = None,
|
|
631
634
|
):
|
|
632
635
|
"""Reset feather weights on all selected points animation values
|
|
633
636
|
|
|
634
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
635
|
-
:type execution_context: typing.Union[str, int]
|
|
636
|
-
:type undo: bool
|
|
637
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
638
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
639
|
+
:type undo: typing.Optional[bool]
|
|
637
640
|
"""
|
|
638
641
|
|
|
639
642
|
...
|
|
640
643
|
|
|
641
644
|
def shape_key_insert(
|
|
642
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
643
|
-
execution_context: typing.Union[str, int] = None,
|
|
644
|
-
undo: bool = None,
|
|
645
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
646
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
647
|
+
undo: typing.Optional[bool] = None,
|
|
645
648
|
):
|
|
646
649
|
"""Insert mask shape keyframe for active mask layer at the current frame
|
|
647
650
|
|
|
648
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
649
|
-
:type execution_context: typing.Union[str, int]
|
|
650
|
-
:type undo: bool
|
|
651
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
652
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
653
|
+
:type undo: typing.Optional[bool]
|
|
651
654
|
"""
|
|
652
655
|
|
|
653
656
|
...
|
|
654
657
|
|
|
655
658
|
def shape_key_rekey(
|
|
656
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
657
|
-
execution_context: typing.Union[str, int] = None,
|
|
658
|
-
undo: bool = None,
|
|
659
|
-
location: typing.Union[bool, typing.Any] = True,
|
|
660
|
-
feather: typing.Union[bool, typing.Any] = True,
|
|
659
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
660
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
661
|
+
undo: typing.Optional[bool] = None,
|
|
662
|
+
location: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
663
|
+
feather: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
661
664
|
):
|
|
662
665
|
"""Recalculate animation data on selected points for frames selected in the dopesheet
|
|
663
666
|
|
|
664
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
665
|
-
:type execution_context: typing.Union[str, int]
|
|
666
|
-
:type undo: bool
|
|
667
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
668
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
669
|
+
:type undo: typing.Optional[bool]
|
|
667
670
|
:param location: Location
|
|
668
|
-
:type location: typing.Union[bool, typing.Any]
|
|
671
|
+
:type location: typing.Optional[typing.Union[bool, typing.Any]]
|
|
669
672
|
:param feather: Feather
|
|
670
|
-
:type feather: typing.Union[bool, typing.Any]
|
|
673
|
+
:type feather: typing.Optional[typing.Union[bool, typing.Any]]
|
|
671
674
|
"""
|
|
672
675
|
|
|
673
676
|
...
|
|
674
677
|
|
|
675
678
|
def slide_point(
|
|
676
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
677
|
-
execution_context: typing.Union[str, int] = None,
|
|
678
|
-
undo: bool = None,
|
|
679
|
-
slide_feather: typing.Union[bool, typing.Any] = False,
|
|
680
|
-
is_new_point: typing.Union[bool, typing.Any] = False,
|
|
679
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
680
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
681
|
+
undo: typing.Optional[bool] = None,
|
|
682
|
+
slide_feather: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
683
|
+
is_new_point: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
681
684
|
):
|
|
682
685
|
"""Slide control points
|
|
683
686
|
|
|
684
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
685
|
-
:type execution_context: typing.Union[str, int]
|
|
686
|
-
:type undo: bool
|
|
687
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
688
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
689
|
+
:type undo: typing.Optional[bool]
|
|
687
690
|
:param slide_feather: Slide Feather, First try to slide feather instead of vertex
|
|
688
|
-
:type slide_feather: typing.Union[bool, typing.Any]
|
|
691
|
+
:type slide_feather: typing.Optional[typing.Union[bool, typing.Any]]
|
|
689
692
|
:param is_new_point: Slide New Point, Newly created vertex is being slid
|
|
690
|
-
:type is_new_point: typing.Union[bool, typing.Any]
|
|
693
|
+
:type is_new_point: typing.Optional[typing.Union[bool, typing.Any]]
|
|
691
694
|
"""
|
|
692
695
|
|
|
693
696
|
...
|
|
694
697
|
|
|
695
698
|
def slide_spline_curvature(
|
|
696
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
697
|
-
execution_context: typing.Union[str, int] = None,
|
|
698
|
-
undo: bool = None,
|
|
699
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
700
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
701
|
+
undo: typing.Optional[bool] = None,
|
|
699
702
|
):
|
|
700
703
|
"""Slide a point on the spline to define its curvature
|
|
701
704
|
|
|
702
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
703
|
-
:type execution_context: typing.Union[str, int]
|
|
704
|
-
:type undo: bool
|
|
705
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
706
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
707
|
+
:type undo: typing.Optional[bool]
|
|
705
708
|
"""
|
|
706
709
|
|
|
707
710
|
...
|
|
708
711
|
|
|
709
712
|
def switch_direction(
|
|
710
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
711
|
-
execution_context: typing.Union[str, int] = None,
|
|
712
|
-
undo: bool = None,
|
|
713
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
714
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
715
|
+
undo: typing.Optional[bool] = None,
|
|
713
716
|
):
|
|
714
717
|
"""Switch direction of selected splines
|
|
715
718
|
|
|
716
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
717
|
-
:type execution_context: typing.Union[str, int]
|
|
718
|
-
:type undo: bool
|
|
719
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
720
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
721
|
+
:type undo: typing.Optional[bool]
|
|
719
722
|
"""
|
|
720
723
|
|
|
721
724
|
...
|