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