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