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