fake-bpy-module 20240421__py3-none-any.whl → 20240423__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_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 +52 -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 +580 -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 +2418 -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 +105733 -102298
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +21 -18
- 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-20240423.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.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-20240423.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240421.dist-info → fake_bpy_module-20240423.dist-info}/top_level.txt +0 -0
bpy/ops/curves/__init__.pyi
CHANGED
|
@@ -1,28 +1,29 @@
|
|
|
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_bezier(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
10
|
-
radius: typing.Any = 1.0,
|
|
11
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
12
|
-
align: typing.Any = "WORLD",
|
|
13
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
14
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
15
|
-
scale: typing.Any = (0.0, 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
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
12
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
13
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
14
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
15
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
16
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
16
17
|
):
|
|
17
18
|
"""Add new bezier curve
|
|
18
19
|
|
|
19
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
20
|
-
:type execution_context: typing.Union[str, int]
|
|
21
|
-
:type undo: bool
|
|
20
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
21
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
22
|
+
:type undo: typing.Optional[bool]
|
|
22
23
|
:param radius: Radius
|
|
23
|
-
:type radius: typing.Any
|
|
24
|
+
:type radius: typing.Optional[typing.Any]
|
|
24
25
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
25
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
26
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
26
27
|
:param align: Align, The alignment of the new object
|
|
27
28
|
|
|
28
29
|
WORLD
|
|
@@ -33,37 +34,37 @@ def add_bezier(
|
|
|
33
34
|
|
|
34
35
|
CURSOR
|
|
35
36
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
36
|
-
:type align: typing.Any
|
|
37
|
+
:type align: typing.Optional[typing.Any]
|
|
37
38
|
:param location: Location, Location for the newly added object
|
|
38
|
-
:type location: typing.Any
|
|
39
|
+
:type location: typing.Optional[typing.Any]
|
|
39
40
|
:param rotation: Rotation, Rotation for the newly added object
|
|
40
|
-
:type rotation: typing.Any
|
|
41
|
+
:type rotation: typing.Optional[typing.Any]
|
|
41
42
|
:param scale: Scale, Scale for the newly added object
|
|
42
|
-
:type scale: typing.Any
|
|
43
|
+
:type scale: typing.Optional[typing.Any]
|
|
43
44
|
"""
|
|
44
45
|
|
|
45
46
|
...
|
|
46
47
|
|
|
47
48
|
def add_circle(
|
|
48
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
49
|
-
execution_context: typing.Union[str, int] = None,
|
|
50
|
-
undo: bool = None,
|
|
51
|
-
radius: typing.Any = 1.0,
|
|
52
|
-
enter_editmode: typing.Union[bool, typing.Any] = False,
|
|
53
|
-
align: typing.Any = "WORLD",
|
|
54
|
-
location: typing.Any = (0.0, 0.0, 0.0),
|
|
55
|
-
rotation: typing.Any = (0.0, 0.0, 0.0),
|
|
56
|
-
scale: typing.Any = (0.0, 0.0, 0.0),
|
|
49
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
50
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
51
|
+
undo: typing.Optional[bool] = None,
|
|
52
|
+
radius: typing.Optional[typing.Any] = 1.0,
|
|
53
|
+
enter_editmode: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
54
|
+
align: typing.Optional[typing.Any] = "WORLD",
|
|
55
|
+
location: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
56
|
+
rotation: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
57
|
+
scale: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
57
58
|
):
|
|
58
59
|
"""Add new circle curve
|
|
59
60
|
|
|
60
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
61
|
-
:type execution_context: typing.Union[str, int]
|
|
62
|
-
:type undo: bool
|
|
61
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
62
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
|
+
:type undo: typing.Optional[bool]
|
|
63
64
|
:param radius: Radius
|
|
64
|
-
:type radius: typing.Any
|
|
65
|
+
:type radius: typing.Optional[typing.Any]
|
|
65
66
|
:param enter_editmode: Enter Edit Mode, Enter edit mode when adding this object
|
|
66
|
-
:type enter_editmode: typing.Union[bool, typing.Any]
|
|
67
|
+
:type enter_editmode: typing.Optional[typing.Union[bool, typing.Any]]
|
|
67
68
|
:param align: Align, The alignment of the new object
|
|
68
69
|
|
|
69
70
|
WORLD
|
|
@@ -74,273 +75,275 @@ def add_circle(
|
|
|
74
75
|
|
|
75
76
|
CURSOR
|
|
76
77
|
3D Cursor -- Use the 3D cursor orientation for the new object.
|
|
77
|
-
:type align: typing.Any
|
|
78
|
+
:type align: typing.Optional[typing.Any]
|
|
78
79
|
:param location: Location, Location for the newly added object
|
|
79
|
-
:type location: typing.Any
|
|
80
|
+
:type location: typing.Optional[typing.Any]
|
|
80
81
|
:param rotation: Rotation, Rotation for the newly added object
|
|
81
|
-
:type rotation: typing.Any
|
|
82
|
+
:type rotation: typing.Optional[typing.Any]
|
|
82
83
|
:param scale: Scale, Scale for the newly added object
|
|
83
|
-
:type scale: typing.Any
|
|
84
|
+
:type scale: typing.Optional[typing.Any]
|
|
84
85
|
"""
|
|
85
86
|
|
|
86
87
|
...
|
|
87
88
|
|
|
88
89
|
def attribute_set(
|
|
89
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
90
|
-
execution_context: typing.Union[str, int] = None,
|
|
91
|
-
undo: bool = None,
|
|
92
|
-
value_float: typing.Any = 0.0,
|
|
93
|
-
value_float_vector_2d: typing.Any = (0.0, 0.0),
|
|
94
|
-
value_float_vector_3d: typing.Any = (0.0, 0.0, 0.0),
|
|
95
|
-
value_int: typing.Any = 0,
|
|
96
|
-
value_int_vector_2d: typing.Any = (0, 0),
|
|
97
|
-
value_color: typing.Any = (1.0, 1.0, 1.0, 1.0),
|
|
98
|
-
value_bool: typing.Union[bool, typing.Any] = False,
|
|
90
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
91
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
92
|
+
undo: typing.Optional[bool] = None,
|
|
93
|
+
value_float: typing.Optional[typing.Any] = 0.0,
|
|
94
|
+
value_float_vector_2d: typing.Optional[typing.Any] = (0.0, 0.0),
|
|
95
|
+
value_float_vector_3d: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
96
|
+
value_int: typing.Optional[typing.Any] = 0,
|
|
97
|
+
value_int_vector_2d: typing.Optional[typing.Any] = (0, 0),
|
|
98
|
+
value_color: typing.Optional[typing.Any] = (1.0, 1.0, 1.0, 1.0),
|
|
99
|
+
value_bool: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
99
100
|
):
|
|
100
101
|
"""Set values of the active attribute for selected elements
|
|
101
102
|
|
|
102
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
103
|
-
:type execution_context: typing.Union[str, int]
|
|
104
|
-
:type undo: bool
|
|
103
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
104
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
105
|
+
:type undo: typing.Optional[bool]
|
|
105
106
|
:param value_float: Value
|
|
106
|
-
:type value_float: typing.Any
|
|
107
|
+
:type value_float: typing.Optional[typing.Any]
|
|
107
108
|
:param value_float_vector_2d: Value
|
|
108
|
-
:type value_float_vector_2d: typing.Any
|
|
109
|
+
:type value_float_vector_2d: typing.Optional[typing.Any]
|
|
109
110
|
:param value_float_vector_3d: Value
|
|
110
|
-
:type value_float_vector_3d: typing.Any
|
|
111
|
+
:type value_float_vector_3d: typing.Optional[typing.Any]
|
|
111
112
|
:param value_int: Value
|
|
112
|
-
:type value_int: typing.Any
|
|
113
|
+
:type value_int: typing.Optional[typing.Any]
|
|
113
114
|
:param value_int_vector_2d: Value
|
|
114
|
-
:type value_int_vector_2d: typing.Any
|
|
115
|
+
:type value_int_vector_2d: typing.Optional[typing.Any]
|
|
115
116
|
:param value_color: Value
|
|
116
|
-
:type value_color: typing.Any
|
|
117
|
+
:type value_color: typing.Optional[typing.Any]
|
|
117
118
|
:param value_bool: Value
|
|
118
|
-
:type value_bool: typing.Union[bool, typing.Any]
|
|
119
|
+
:type value_bool: typing.Optional[typing.Union[bool, typing.Any]]
|
|
119
120
|
"""
|
|
120
121
|
|
|
121
122
|
...
|
|
122
123
|
|
|
123
124
|
def convert_from_particle_system(
|
|
124
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
125
|
-
execution_context: typing.Union[str, int] = None,
|
|
126
|
-
undo: bool = None,
|
|
125
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
126
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
127
|
+
undo: typing.Optional[bool] = None,
|
|
127
128
|
):
|
|
128
129
|
"""Add a new curves object based on the current state of the particle system
|
|
129
130
|
|
|
130
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
131
|
-
:type execution_context: typing.Union[str, int]
|
|
132
|
-
:type undo: bool
|
|
131
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
132
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
133
|
+
:type undo: typing.Optional[bool]
|
|
133
134
|
"""
|
|
134
135
|
|
|
135
136
|
...
|
|
136
137
|
|
|
137
138
|
def convert_to_particle_system(
|
|
138
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
139
|
-
execution_context: typing.Union[str, int] = None,
|
|
140
|
-
undo: bool = None,
|
|
139
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
140
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
141
|
+
undo: typing.Optional[bool] = None,
|
|
141
142
|
):
|
|
142
143
|
"""Add a new or update an existing hair particle system on the surface object
|
|
143
144
|
|
|
144
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
145
|
-
:type execution_context: typing.Union[str, int]
|
|
146
|
-
:type undo: bool
|
|
145
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
146
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
147
|
+
:type undo: typing.Optional[bool]
|
|
147
148
|
"""
|
|
148
149
|
|
|
149
150
|
...
|
|
150
151
|
|
|
151
152
|
def curve_type_set(
|
|
152
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
153
|
-
execution_context: typing.Union[str, int] = None,
|
|
154
|
-
undo: bool = None,
|
|
155
|
-
type: typing.Union[str, int] = "POLY",
|
|
153
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
154
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
155
|
+
undo: typing.Optional[bool] = None,
|
|
156
|
+
type: typing.Optional[typing.Union[str, int]] = "POLY",
|
|
156
157
|
):
|
|
157
158
|
"""Set type of selected curves
|
|
158
159
|
|
|
159
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
160
|
-
:type execution_context: typing.Union[str, int]
|
|
161
|
-
:type undo: bool
|
|
160
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
161
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
162
|
+
:type undo: typing.Optional[bool]
|
|
162
163
|
:param type: Type, Curve type
|
|
163
|
-
:type type: typing.Union[str, int]
|
|
164
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
164
165
|
"""
|
|
165
166
|
|
|
166
167
|
...
|
|
167
168
|
|
|
168
169
|
def cyclic_toggle(
|
|
169
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
170
|
-
execution_context: typing.Union[str, int] = None,
|
|
171
|
-
undo: bool = None,
|
|
170
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
171
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
172
|
+
undo: typing.Optional[bool] = None,
|
|
172
173
|
):
|
|
173
174
|
"""Make active curve closed/opened loop
|
|
174
175
|
|
|
175
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
176
|
-
:type execution_context: typing.Union[str, int]
|
|
177
|
-
: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]
|
|
178
179
|
"""
|
|
179
180
|
|
|
180
181
|
...
|
|
181
182
|
|
|
182
183
|
def delete(
|
|
183
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
184
|
-
execution_context: typing.Union[str, int] = None,
|
|
185
|
-
undo: bool = None,
|
|
184
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
185
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
186
|
+
undo: typing.Optional[bool] = None,
|
|
186
187
|
):
|
|
187
188
|
"""Remove selected control points or curves
|
|
188
189
|
|
|
189
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
190
|
-
:type execution_context: typing.Union[str, int]
|
|
191
|
-
:type undo: bool
|
|
190
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
191
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
192
|
+
:type undo: typing.Optional[bool]
|
|
192
193
|
"""
|
|
193
194
|
|
|
194
195
|
...
|
|
195
196
|
|
|
196
197
|
def draw(
|
|
197
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
198
|
-
execution_context: typing.Union[str, int] = None,
|
|
199
|
-
undo: bool = None,
|
|
200
|
-
error_threshold: typing.Any = 0.0,
|
|
201
|
-
fit_method: typing.Union[str, int] = "REFIT",
|
|
202
|
-
corner_angle: typing.Any = 1.22173,
|
|
203
|
-
use_cyclic: typing.Union[bool, typing.Any] = True,
|
|
204
|
-
stroke:
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
198
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
199
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
200
|
+
undo: typing.Optional[bool] = None,
|
|
201
|
+
error_threshold: typing.Optional[typing.Any] = 0.0,
|
|
202
|
+
fit_method: typing.Optional[typing.Union[str, int]] = "REFIT",
|
|
203
|
+
corner_angle: typing.Optional[typing.Any] = 1.22173,
|
|
204
|
+
use_cyclic: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
205
|
+
stroke: typing.Optional[
|
|
206
|
+
bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
207
|
+
] = None,
|
|
208
|
+
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
209
|
+
is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
210
|
+
bezier_as_nurbs: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
208
211
|
):
|
|
209
212
|
"""Draw a freehand curve
|
|
210
213
|
|
|
211
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
212
|
-
:type execution_context: typing.Union[str, int]
|
|
213
|
-
:type undo: bool
|
|
214
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
215
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
216
|
+
:type undo: typing.Optional[bool]
|
|
214
217
|
:param error_threshold: Error, Error distance threshold (in object units)
|
|
215
|
-
:type error_threshold: typing.Any
|
|
218
|
+
:type error_threshold: typing.Optional[typing.Any]
|
|
216
219
|
:param fit_method: Fit Method
|
|
217
|
-
:type fit_method: typing.Union[str, int]
|
|
220
|
+
:type fit_method: typing.Optional[typing.Union[str, int]]
|
|
218
221
|
:param corner_angle: Corner Angle
|
|
219
|
-
:type corner_angle: typing.Any
|
|
222
|
+
:type corner_angle: typing.Optional[typing.Any]
|
|
220
223
|
:param use_cyclic: Cyclic
|
|
221
|
-
:type use_cyclic: typing.Union[bool, typing.Any]
|
|
224
|
+
:type use_cyclic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
222
225
|
:param stroke: Stroke
|
|
223
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
226
|
+
:type stroke: typing.Optional[bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]]
|
|
224
227
|
:param wait_for_input: Wait for Input
|
|
225
|
-
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
228
|
+
:type wait_for_input: typing.Optional[typing.Union[bool, typing.Any]]
|
|
226
229
|
:param is_curve_2d: Curve 2D
|
|
227
|
-
:type is_curve_2d: typing.Union[bool, typing.Any]
|
|
230
|
+
:type is_curve_2d: typing.Optional[typing.Union[bool, typing.Any]]
|
|
228
231
|
:param bezier_as_nurbs: As NURBS
|
|
229
|
-
:type bezier_as_nurbs: typing.Union[bool, typing.Any]
|
|
232
|
+
:type bezier_as_nurbs: typing.Optional[typing.Union[bool, typing.Any]]
|
|
230
233
|
"""
|
|
231
234
|
|
|
232
235
|
...
|
|
233
236
|
|
|
234
237
|
def duplicate(
|
|
235
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
236
|
-
execution_context: typing.Union[str, int] = None,
|
|
237
|
-
undo: bool = None,
|
|
238
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
239
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
240
|
+
undo: typing.Optional[bool] = None,
|
|
238
241
|
):
|
|
239
242
|
"""Copy selected points or curves
|
|
240
243
|
|
|
241
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
242
|
-
:type execution_context: typing.Union[str, int]
|
|
243
|
-
:type undo: bool
|
|
244
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
245
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
246
|
+
:type undo: typing.Optional[bool]
|
|
244
247
|
"""
|
|
245
248
|
|
|
246
249
|
...
|
|
247
250
|
|
|
248
251
|
def duplicate_move(
|
|
249
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
250
|
-
execution_context: typing.Union[str, int] = None,
|
|
251
|
-
undo: bool = None,
|
|
252
|
-
CURVES_OT_duplicate: typing.
|
|
253
|
-
TRANSFORM_OT_translate: typing.
|
|
252
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
253
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
254
|
+
undo: typing.Optional[bool] = None,
|
|
255
|
+
CURVES_OT_duplicate: typing.Optional[duplicate] = None,
|
|
256
|
+
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
254
257
|
):
|
|
255
258
|
"""Make copies of selected elements and move them
|
|
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
|
:param CURVES_OT_duplicate: Duplicate, Copy selected points or curves
|
|
261
|
-
:type CURVES_OT_duplicate: typing.
|
|
264
|
+
:type CURVES_OT_duplicate: typing.Optional[duplicate]
|
|
262
265
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
263
|
-
:type TRANSFORM_OT_translate: typing.
|
|
266
|
+
:type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
|
|
264
267
|
"""
|
|
265
268
|
|
|
266
269
|
...
|
|
267
270
|
|
|
268
271
|
def extrude(
|
|
269
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
270
|
-
execution_context: typing.Union[str, int] = None,
|
|
271
|
-
undo: bool = None,
|
|
272
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
273
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
274
|
+
undo: typing.Optional[bool] = None,
|
|
272
275
|
):
|
|
273
276
|
"""Extrude selected control point(s)
|
|
274
277
|
|
|
275
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
276
|
-
:type execution_context: typing.Union[str, int]
|
|
277
|
-
:type undo: bool
|
|
278
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
279
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
280
|
+
:type undo: typing.Optional[bool]
|
|
278
281
|
"""
|
|
279
282
|
|
|
280
283
|
...
|
|
281
284
|
|
|
282
285
|
def extrude_move(
|
|
283
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
284
|
-
execution_context: typing.Union[str, int] = None,
|
|
285
|
-
undo: bool = None,
|
|
286
|
-
CURVES_OT_extrude: typing.
|
|
287
|
-
TRANSFORM_OT_translate: typing.
|
|
286
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
287
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
288
|
+
undo: typing.Optional[bool] = None,
|
|
289
|
+
CURVES_OT_extrude: typing.Optional[extrude] = None,
|
|
290
|
+
TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate] = None,
|
|
288
291
|
):
|
|
289
292
|
"""Extrude curve and move result
|
|
290
293
|
|
|
291
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
292
|
-
:type execution_context: typing.Union[str, int]
|
|
293
|
-
:type undo: bool
|
|
294
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
295
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
296
|
+
:type undo: typing.Optional[bool]
|
|
294
297
|
:param CURVES_OT_extrude: Extrude, Extrude selected control point(s)
|
|
295
|
-
:type CURVES_OT_extrude: typing.
|
|
298
|
+
:type CURVES_OT_extrude: typing.Optional[extrude]
|
|
296
299
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
297
|
-
:type TRANSFORM_OT_translate: typing.
|
|
300
|
+
:type TRANSFORM_OT_translate: typing.Optional[bpy.ops.transform.translate]
|
|
298
301
|
"""
|
|
299
302
|
|
|
300
303
|
...
|
|
301
304
|
|
|
302
305
|
def handle_type_set(
|
|
303
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
304
|
-
execution_context: typing.Union[str, int] = None,
|
|
305
|
-
undo: bool = None,
|
|
306
|
-
type: typing.Union[str, int] = "AUTO",
|
|
306
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
307
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
308
|
+
undo: typing.Optional[bool] = None,
|
|
309
|
+
type: typing.Optional[typing.Union[str, int]] = "AUTO",
|
|
307
310
|
):
|
|
308
311
|
"""Set the handle type for bezier curves
|
|
309
312
|
|
|
310
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
311
|
-
:type execution_context: typing.Union[str, int]
|
|
312
|
-
:type undo: bool
|
|
313
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
314
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
315
|
+
:type undo: typing.Optional[bool]
|
|
313
316
|
:param type: Type
|
|
314
|
-
:type type: typing.Union[str, int]
|
|
317
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
315
318
|
"""
|
|
316
319
|
|
|
317
320
|
...
|
|
318
321
|
|
|
319
322
|
def sculptmode_toggle(
|
|
320
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
321
|
-
execution_context: typing.Union[str, int] = None,
|
|
322
|
-
undo: bool = None,
|
|
323
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
324
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
325
|
+
undo: typing.Optional[bool] = None,
|
|
323
326
|
):
|
|
324
327
|
"""Enter/Exit sculpt mode for curves
|
|
325
328
|
|
|
326
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
327
|
-
:type execution_context: typing.Union[str, int]
|
|
328
|
-
:type undo: bool
|
|
329
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
330
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
331
|
+
:type undo: typing.Optional[bool]
|
|
329
332
|
"""
|
|
330
333
|
|
|
331
334
|
...
|
|
332
335
|
|
|
333
336
|
def select_all(
|
|
334
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
335
|
-
execution_context: typing.Union[str, int] = None,
|
|
336
|
-
undo: bool = None,
|
|
337
|
-
action: typing.Any = "TOGGLE",
|
|
337
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
338
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
339
|
+
undo: typing.Optional[bool] = None,
|
|
340
|
+
action: typing.Optional[typing.Any] = "TOGGLE",
|
|
338
341
|
):
|
|
339
342
|
"""(De)select all control points
|
|
340
343
|
|
|
341
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
342
|
-
:type execution_context: typing.Union[str, int]
|
|
343
|
-
:type undo: bool
|
|
344
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
345
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
346
|
+
:type undo: typing.Optional[bool]
|
|
344
347
|
:param action: Action, Selection action to execute
|
|
345
348
|
|
|
346
349
|
TOGGLE
|
|
@@ -354,121 +357,121 @@ def select_all(
|
|
|
354
357
|
|
|
355
358
|
INVERT
|
|
356
359
|
Invert -- Invert selection of all elements.
|
|
357
|
-
:type action: typing.Any
|
|
360
|
+
:type action: typing.Optional[typing.Any]
|
|
358
361
|
"""
|
|
359
362
|
|
|
360
363
|
...
|
|
361
364
|
|
|
362
365
|
def select_ends(
|
|
363
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
364
|
-
execution_context: typing.Union[str, int] = None,
|
|
365
|
-
undo: bool = None,
|
|
366
|
-
amount_start: typing.Any = 0,
|
|
367
|
-
amount_end: typing.Any = 1,
|
|
366
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
367
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
368
|
+
undo: typing.Optional[bool] = None,
|
|
369
|
+
amount_start: typing.Optional[typing.Any] = 0,
|
|
370
|
+
amount_end: typing.Optional[typing.Any] = 1,
|
|
368
371
|
):
|
|
369
372
|
"""Select end points of curves
|
|
370
373
|
|
|
371
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
372
|
-
:type execution_context: typing.Union[str, int]
|
|
373
|
-
:type undo: bool
|
|
374
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
375
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
376
|
+
:type undo: typing.Optional[bool]
|
|
374
377
|
:param amount_start: Amount Front, Number of points to select from the front
|
|
375
|
-
:type amount_start: typing.Any
|
|
378
|
+
:type amount_start: typing.Optional[typing.Any]
|
|
376
379
|
:param amount_end: Amount Back, Number of points to select from the back
|
|
377
|
-
:type amount_end: typing.Any
|
|
380
|
+
:type amount_end: typing.Optional[typing.Any]
|
|
378
381
|
"""
|
|
379
382
|
|
|
380
383
|
...
|
|
381
384
|
|
|
382
385
|
def select_less(
|
|
383
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
384
|
-
execution_context: typing.Union[str, int] = None,
|
|
385
|
-
undo: bool = None,
|
|
386
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
387
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
388
|
+
undo: typing.Optional[bool] = None,
|
|
386
389
|
):
|
|
387
390
|
"""Shrink the selection by one point
|
|
388
391
|
|
|
389
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
390
|
-
:type execution_context: typing.Union[str, int]
|
|
391
|
-
:type undo: bool
|
|
392
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
393
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
394
|
+
:type undo: typing.Optional[bool]
|
|
392
395
|
"""
|
|
393
396
|
|
|
394
397
|
...
|
|
395
398
|
|
|
396
399
|
def select_linked(
|
|
397
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
398
|
-
execution_context: typing.Union[str, int] = None,
|
|
399
|
-
undo: bool = None,
|
|
400
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
401
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
402
|
+
undo: typing.Optional[bool] = None,
|
|
400
403
|
):
|
|
401
404
|
"""Select all points in curves with any point selection
|
|
402
405
|
|
|
403
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
404
|
-
:type execution_context: typing.Union[str, int]
|
|
405
|
-
:type undo: bool
|
|
406
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
407
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
408
|
+
:type undo: typing.Optional[bool]
|
|
406
409
|
"""
|
|
407
410
|
|
|
408
411
|
...
|
|
409
412
|
|
|
410
413
|
def select_more(
|
|
411
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
412
|
-
execution_context: typing.Union[str, int] = None,
|
|
413
|
-
undo: bool = None,
|
|
414
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
415
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
416
|
+
undo: typing.Optional[bool] = None,
|
|
414
417
|
):
|
|
415
418
|
"""Grow the selection by one point
|
|
416
419
|
|
|
417
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
418
|
-
:type execution_context: typing.Union[str, int]
|
|
419
|
-
:type undo: bool
|
|
420
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
421
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
422
|
+
:type undo: typing.Optional[bool]
|
|
420
423
|
"""
|
|
421
424
|
|
|
422
425
|
...
|
|
423
426
|
|
|
424
427
|
def select_random(
|
|
425
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
426
|
-
execution_context: typing.Union[str, int] = None,
|
|
427
|
-
undo: bool = None,
|
|
428
|
-
seed: typing.Any = 0,
|
|
429
|
-
probability: typing.Any = 0.5,
|
|
428
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
429
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
430
|
+
undo: typing.Optional[bool] = None,
|
|
431
|
+
seed: typing.Optional[typing.Any] = 0,
|
|
432
|
+
probability: typing.Optional[typing.Any] = 0.5,
|
|
430
433
|
):
|
|
431
434
|
"""Randomizes existing selection or create new random selection
|
|
432
435
|
|
|
433
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
434
|
-
:type execution_context: typing.Union[str, int]
|
|
435
|
-
:type undo: bool
|
|
436
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
437
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
438
|
+
:type undo: typing.Optional[bool]
|
|
436
439
|
:param seed: Seed, Source of randomness
|
|
437
|
-
:type seed: typing.Any
|
|
440
|
+
:type seed: typing.Optional[typing.Any]
|
|
438
441
|
:param probability: Probability, Chance of every point or curve being included in the selection
|
|
439
|
-
:type probability: typing.Any
|
|
442
|
+
:type probability: typing.Optional[typing.Any]
|
|
440
443
|
"""
|
|
441
444
|
|
|
442
445
|
...
|
|
443
446
|
|
|
444
447
|
def set_selection_domain(
|
|
445
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
446
|
-
execution_context: typing.Union[str, int] = None,
|
|
447
|
-
undo: bool = None,
|
|
448
|
-
domain: typing.Union[str, int] = "POINT",
|
|
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
|
+
domain: typing.Optional[typing.Union[str, int]] = "POINT",
|
|
449
452
|
):
|
|
450
453
|
"""Change the mode used for selection masking in curves sculpt mode
|
|
451
454
|
|
|
452
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
453
|
-
:type execution_context: typing.Union[str, int]
|
|
454
|
-
:type undo: bool
|
|
455
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
456
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
457
|
+
:type undo: typing.Optional[bool]
|
|
455
458
|
:param domain: Domain
|
|
456
|
-
:type domain: typing.Union[str, int]
|
|
459
|
+
:type domain: typing.Optional[typing.Union[str, int]]
|
|
457
460
|
"""
|
|
458
461
|
|
|
459
462
|
...
|
|
460
463
|
|
|
461
464
|
def snap_curves_to_surface(
|
|
462
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
463
|
-
execution_context: typing.Union[str, int] = None,
|
|
464
|
-
undo: bool = None,
|
|
465
|
-
attach_mode: typing.Any = "NEAREST",
|
|
465
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
466
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
467
|
+
undo: typing.Optional[bool] = None,
|
|
468
|
+
attach_mode: typing.Optional[typing.Any] = "NEAREST",
|
|
466
469
|
):
|
|
467
470
|
"""Move curves so that the first point is exactly on the surface mesh
|
|
468
471
|
|
|
469
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
470
|
-
:type execution_context: typing.Union[str, int]
|
|
471
|
-
:type undo: bool
|
|
472
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
473
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
474
|
+
:type undo: typing.Optional[bool]
|
|
472
475
|
:param attach_mode: Attach Mode, How to find the point on the surface to attach to
|
|
473
476
|
|
|
474
477
|
NEAREST
|
|
@@ -476,66 +479,66 @@ def snap_curves_to_surface(
|
|
|
476
479
|
|
|
477
480
|
DEFORM
|
|
478
481
|
Deform -- Re-attach curves to a deformed surface using the existing attachment information. This only works when the topology of the surface mesh has not changed.
|
|
479
|
-
:type attach_mode: typing.Any
|
|
482
|
+
:type attach_mode: typing.Optional[typing.Any]
|
|
480
483
|
"""
|
|
481
484
|
|
|
482
485
|
...
|
|
483
486
|
|
|
484
487
|
def subdivide(
|
|
485
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
486
|
-
execution_context: typing.Union[str, int] = None,
|
|
487
|
-
undo: bool = None,
|
|
488
|
-
number_cuts: typing.Any = 1,
|
|
488
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
489
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
490
|
+
undo: typing.Optional[bool] = None,
|
|
491
|
+
number_cuts: typing.Optional[typing.Any] = 1,
|
|
489
492
|
):
|
|
490
493
|
"""Subdivide selected curve segments
|
|
491
494
|
|
|
492
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
493
|
-
:type execution_context: typing.Union[str, int]
|
|
494
|
-
:type undo: bool
|
|
495
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
496
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
497
|
+
:type undo: typing.Optional[bool]
|
|
495
498
|
:param number_cuts: Number of Cuts
|
|
496
|
-
:type number_cuts: typing.Any
|
|
499
|
+
:type number_cuts: typing.Optional[typing.Any]
|
|
497
500
|
"""
|
|
498
501
|
|
|
499
502
|
...
|
|
500
503
|
|
|
501
504
|
def surface_set(
|
|
502
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
503
|
-
execution_context: typing.Union[str, int] = None,
|
|
504
|
-
undo: bool = None,
|
|
505
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
506
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
507
|
+
undo: typing.Optional[bool] = None,
|
|
505
508
|
):
|
|
506
509
|
"""Use the active object as surface for selected curves objects and set it as the parent
|
|
507
510
|
|
|
508
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
509
|
-
:type execution_context: typing.Union[str, int]
|
|
510
|
-
:type undo: bool
|
|
511
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
512
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
513
|
+
:type undo: typing.Optional[bool]
|
|
511
514
|
"""
|
|
512
515
|
|
|
513
516
|
...
|
|
514
517
|
|
|
515
518
|
def switch_direction(
|
|
516
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
517
|
-
execution_context: typing.Union[str, int] = None,
|
|
518
|
-
undo: bool = None,
|
|
519
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
520
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
521
|
+
undo: typing.Optional[bool] = None,
|
|
519
522
|
):
|
|
520
523
|
"""Reverse the direction of the selected curves
|
|
521
524
|
|
|
522
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
523
|
-
:type execution_context: typing.Union[str, int]
|
|
524
|
-
:type undo: bool
|
|
525
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
526
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
527
|
+
:type undo: typing.Optional[bool]
|
|
525
528
|
"""
|
|
526
529
|
|
|
527
530
|
...
|
|
528
531
|
|
|
529
532
|
def tilt_clear(
|
|
530
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
531
|
-
execution_context: typing.Union[str, int] = None,
|
|
532
|
-
undo: bool = None,
|
|
533
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
534
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
535
|
+
undo: typing.Optional[bool] = None,
|
|
533
536
|
):
|
|
534
537
|
"""Clear the tilt of selected control points
|
|
535
538
|
|
|
536
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
537
|
-
:type execution_context: typing.Union[str, int]
|
|
538
|
-
:type undo: bool
|
|
539
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
540
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
541
|
+
:type undo: typing.Optional[bool]
|
|
539
542
|
"""
|
|
540
543
|
|
|
541
544
|
...
|