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/transform/__init__.pyi
CHANGED
|
@@ -1,1480 +1,1364 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
6
|
def bbone_resize(
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
17
|
-
(0.0, 0.0, 0.0),
|
|
18
|
-
(0.0, 0.0, 0.0),
|
|
19
|
-
(0.0, 0.0, 0.0),
|
|
20
|
-
),
|
|
21
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
22
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
value: typing.Any = (1.0, 1.0, 1.0),
|
|
11
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
12
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
13
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
14
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
23
15
|
False,
|
|
24
16
|
False,
|
|
25
17
|
False,
|
|
26
18
|
),
|
|
27
|
-
mirror: typing.
|
|
28
|
-
release_confirm: typing.
|
|
29
|
-
use_accurate: typing.
|
|
19
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
20
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
21
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
30
22
|
):
|
|
31
23
|
"""Scale selected bendy bones display size
|
|
32
24
|
|
|
33
|
-
:type override_context: typing.
|
|
34
|
-
:type execution_context: typing.
|
|
35
|
-
:type undo:
|
|
25
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
26
|
+
:type execution_context: typing.Union[str, int]
|
|
27
|
+
:type undo: bool
|
|
36
28
|
:param value: Display Size
|
|
37
|
-
:type value: typing.
|
|
29
|
+
:type value: typing.Any
|
|
38
30
|
:param orient_type: Orientation, Transformation orientation
|
|
39
|
-
:type orient_type: typing.
|
|
31
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
40
32
|
:param orient_matrix: Matrix
|
|
41
|
-
:type orient_matrix: typing.
|
|
33
|
+
:type orient_matrix: typing.Any
|
|
42
34
|
:param orient_matrix_type: Matrix Orientation
|
|
43
|
-
:type orient_matrix_type: typing.
|
|
35
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
44
36
|
:param constraint_axis: Constraint Axis
|
|
45
|
-
:type constraint_axis: typing.
|
|
37
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
46
38
|
:param mirror: Mirror Editing
|
|
47
|
-
:type mirror: typing.
|
|
39
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
48
40
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
49
|
-
:type release_confirm: typing.
|
|
41
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
50
42
|
:param use_accurate: Accurate, Use accurate transformation
|
|
51
|
-
:type use_accurate: typing.
|
|
43
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
52
44
|
"""
|
|
53
45
|
|
|
54
46
|
...
|
|
55
47
|
|
|
56
48
|
def bend(
|
|
57
|
-
override_context: typing.
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
center_override: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
73
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
74
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
49
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
+
execution_context: typing.Union[str, int] = None,
|
|
51
|
+
undo: bool = None,
|
|
52
|
+
value: typing.Any = 0.0,
|
|
53
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
54
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
55
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
56
|
+
proportional_size: typing.Any = 1.0,
|
|
57
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
58
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
59
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
60
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
61
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
62
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
63
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
75
64
|
):
|
|
76
65
|
"""Bend selected items between the 3D cursor and the mouse
|
|
77
66
|
|
|
78
|
-
:type override_context: typing.
|
|
79
|
-
:type execution_context: typing.
|
|
80
|
-
:type undo:
|
|
67
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
68
|
+
:type execution_context: typing.Union[str, int]
|
|
69
|
+
:type undo: bool
|
|
81
70
|
:param value: Angle
|
|
82
|
-
:type value: typing.
|
|
71
|
+
:type value: typing.Any
|
|
83
72
|
:param mirror: Mirror Editing
|
|
84
|
-
:type mirror: typing.
|
|
73
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
85
74
|
:param use_proportional_edit: Proportional Editing
|
|
86
|
-
:type use_proportional_edit: typing.
|
|
75
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
87
76
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
88
|
-
:type proportional_edit_falloff: typing.
|
|
77
|
+
:type proportional_edit_falloff: typing.Any
|
|
89
78
|
:param proportional_size: Proportional Size
|
|
90
|
-
:type proportional_size: typing.
|
|
79
|
+
:type proportional_size: typing.Any
|
|
91
80
|
:param use_proportional_connected: Connected
|
|
92
|
-
:type use_proportional_connected: typing.
|
|
81
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
93
82
|
:param use_proportional_projected: Projected (2D)
|
|
94
|
-
:type use_proportional_projected: typing.
|
|
83
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
95
84
|
:param snap: Use Snapping Options
|
|
96
|
-
:type snap: typing.
|
|
85
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
97
86
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
98
|
-
:type gpencil_strokes: typing.
|
|
87
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
99
88
|
:param center_override: Center Override, Force using this center value (when set)
|
|
100
|
-
:type center_override: typing.
|
|
89
|
+
:type center_override: typing.Any
|
|
101
90
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
102
|
-
:type release_confirm: typing.
|
|
91
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
103
92
|
:param use_accurate: Accurate, Use accurate transformation
|
|
104
|
-
:type use_accurate: typing.
|
|
93
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
105
94
|
"""
|
|
106
95
|
|
|
107
96
|
...
|
|
108
97
|
|
|
109
98
|
def create_orientation(
|
|
110
|
-
override_context: typing.
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
114
|
-
undo: typing.Optional[bool] = None,
|
|
115
|
-
*,
|
|
99
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
100
|
+
execution_context: typing.Union[str, int] = None,
|
|
101
|
+
undo: bool = None,
|
|
116
102
|
name: typing.Union[str, typing.Any] = "",
|
|
117
|
-
use_view: typing.
|
|
118
|
-
use: typing.
|
|
119
|
-
overwrite: typing.
|
|
103
|
+
use_view: typing.Union[bool, typing.Any] = False,
|
|
104
|
+
use: typing.Union[bool, typing.Any] = False,
|
|
105
|
+
overwrite: typing.Union[bool, typing.Any] = False,
|
|
120
106
|
):
|
|
121
107
|
"""Create transformation orientation from selection
|
|
122
108
|
|
|
123
|
-
:type override_context: typing.
|
|
124
|
-
:type execution_context: typing.
|
|
125
|
-
:type undo:
|
|
109
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
110
|
+
:type execution_context: typing.Union[str, int]
|
|
111
|
+
:type undo: bool
|
|
126
112
|
:param name: Name, Name of the new custom orientation
|
|
127
113
|
:type name: typing.Union[str, typing.Any]
|
|
128
114
|
:param use_view: Use View, Use the current view instead of the active object to create the new orientation
|
|
129
|
-
:type use_view: typing.
|
|
115
|
+
:type use_view: typing.Union[bool, typing.Any]
|
|
130
116
|
:param use: Use After Creation, Select orientation after its creation
|
|
131
|
-
:type use: typing.
|
|
117
|
+
:type use: typing.Union[bool, typing.Any]
|
|
132
118
|
:param overwrite: Overwrite Previous, Overwrite previously created orientation with same name
|
|
133
|
-
:type overwrite: typing.
|
|
119
|
+
:type overwrite: typing.Union[bool, typing.Any]
|
|
134
120
|
"""
|
|
135
121
|
|
|
136
122
|
...
|
|
137
123
|
|
|
138
124
|
def delete_orientation(
|
|
139
|
-
override_context: typing.
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
143
|
-
undo: typing.Optional[bool] = None,
|
|
125
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
126
|
+
execution_context: typing.Union[str, int] = None,
|
|
127
|
+
undo: bool = None,
|
|
144
128
|
):
|
|
145
129
|
"""Delete transformation orientation
|
|
146
130
|
|
|
147
|
-
:type override_context: typing.
|
|
148
|
-
:type execution_context: typing.
|
|
149
|
-
:type undo:
|
|
131
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
132
|
+
:type execution_context: typing.Union[str, int]
|
|
133
|
+
:type undo: bool
|
|
150
134
|
"""
|
|
151
135
|
|
|
152
136
|
...
|
|
153
137
|
|
|
154
138
|
def edge_bevelweight(
|
|
155
|
-
override_context: typing.
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
163
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
164
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
139
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
140
|
+
execution_context: typing.Union[str, int] = None,
|
|
141
|
+
undo: bool = None,
|
|
142
|
+
value: typing.Any = 0.0,
|
|
143
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
144
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
145
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
165
146
|
):
|
|
166
147
|
"""Change the bevel weight of edges
|
|
167
148
|
|
|
168
|
-
:type override_context: typing.
|
|
169
|
-
:type execution_context: typing.
|
|
170
|
-
:type undo:
|
|
149
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
+
:type execution_context: typing.Union[str, int]
|
|
151
|
+
:type undo: bool
|
|
171
152
|
:param value: Factor
|
|
172
|
-
:type value: typing.
|
|
153
|
+
:type value: typing.Any
|
|
173
154
|
:param snap: Use Snapping Options
|
|
174
|
-
:type snap: typing.
|
|
155
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
175
156
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
176
|
-
:type release_confirm: typing.
|
|
157
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
177
158
|
:param use_accurate: Accurate, Use accurate transformation
|
|
178
|
-
:type use_accurate: typing.
|
|
159
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
179
160
|
"""
|
|
180
161
|
|
|
181
162
|
...
|
|
182
163
|
|
|
183
164
|
def edge_crease(
|
|
184
|
-
override_context: typing.
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
192
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
193
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
165
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
166
|
+
execution_context: typing.Union[str, int] = None,
|
|
167
|
+
undo: bool = None,
|
|
168
|
+
value: typing.Any = 0.0,
|
|
169
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
170
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
171
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
194
172
|
):
|
|
195
173
|
"""Change the crease of edges
|
|
196
174
|
|
|
197
|
-
:type override_context: typing.
|
|
198
|
-
:type execution_context: typing.
|
|
199
|
-
:type undo:
|
|
175
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
176
|
+
:type execution_context: typing.Union[str, int]
|
|
177
|
+
:type undo: bool
|
|
200
178
|
:param value: Factor
|
|
201
|
-
:type value: typing.
|
|
179
|
+
:type value: typing.Any
|
|
202
180
|
:param snap: Use Snapping Options
|
|
203
|
-
:type snap: typing.
|
|
181
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
204
182
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
205
|
-
:type release_confirm: typing.
|
|
183
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
206
184
|
:param use_accurate: Accurate, Use accurate transformation
|
|
207
|
-
:type use_accurate: typing.
|
|
185
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
208
186
|
"""
|
|
209
187
|
|
|
210
188
|
...
|
|
211
189
|
|
|
212
190
|
def edge_slide(
|
|
213
|
-
override_context: typing.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
correct_uv: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
235
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
236
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
191
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
192
|
+
execution_context: typing.Union[str, int] = None,
|
|
193
|
+
undo: bool = None,
|
|
194
|
+
value: typing.Any = 0.0,
|
|
195
|
+
single_side: typing.Union[bool, typing.Any] = False,
|
|
196
|
+
use_even: typing.Union[bool, typing.Any] = False,
|
|
197
|
+
flipped: typing.Union[bool, typing.Any] = False,
|
|
198
|
+
use_clamp: typing.Union[bool, typing.Any] = True,
|
|
199
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
200
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
201
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
202
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
203
|
+
snap_target: typing.Any = "CLOSEST",
|
|
204
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
205
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
206
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
207
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
208
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
209
|
+
correct_uv: typing.Union[bool, typing.Any] = True,
|
|
210
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
211
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
237
212
|
):
|
|
238
213
|
"""Slide an edge loop along a mesh
|
|
239
214
|
|
|
240
|
-
:type override_context: typing.
|
|
241
|
-
:type execution_context: typing.
|
|
242
|
-
:type undo:
|
|
215
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
216
|
+
:type execution_context: typing.Union[str, int]
|
|
217
|
+
:type undo: bool
|
|
243
218
|
:param value: Factor
|
|
244
|
-
:type value: typing.
|
|
219
|
+
:type value: typing.Any
|
|
245
220
|
:param single_side: Single Side
|
|
246
|
-
:type single_side: typing.
|
|
221
|
+
:type single_side: typing.Union[bool, typing.Any]
|
|
247
222
|
:param use_even: Even, Make the edge loop match the shape of the adjacent edge loop
|
|
248
|
-
:type use_even: typing.
|
|
223
|
+
:type use_even: typing.Union[bool, typing.Any]
|
|
249
224
|
:param flipped: Flipped, When Even mode is active, flips between the two adjacent edge loops
|
|
250
|
-
:type flipped: typing.
|
|
225
|
+
:type flipped: typing.Union[bool, typing.Any]
|
|
251
226
|
:param use_clamp: Clamp, Clamp within the edge extents
|
|
252
|
-
:type use_clamp: typing.
|
|
227
|
+
:type use_clamp: typing.Union[bool, typing.Any]
|
|
253
228
|
:param mirror: Mirror Editing
|
|
254
|
-
:type mirror: typing.
|
|
229
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
255
230
|
:param snap: Use Snapping Options
|
|
256
|
-
:type snap: typing.
|
|
231
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
257
232
|
:param snap_elements: Snap to Elements
|
|
258
|
-
:type snap_elements: typing.
|
|
233
|
+
:type snap_elements: typing.Any
|
|
259
234
|
:param use_snap_project: Project Individual Elements
|
|
260
|
-
:type use_snap_project: typing.
|
|
261
|
-
:param snap_target: Snap
|
|
262
|
-
:type snap_target: typing.
|
|
263
|
-
:param use_snap_self: Include Active
|
|
264
|
-
:type use_snap_self: typing.
|
|
265
|
-
:param use_snap_edit: Include Edit
|
|
266
|
-
:type use_snap_edit: typing.
|
|
267
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
268
|
-
:type use_snap_nonedit: typing.
|
|
269
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
270
|
-
:type use_snap_selectable: typing.
|
|
235
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
236
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
237
|
+
:type snap_target: typing.Any
|
|
238
|
+
:param use_snap_self: Target: Include Active
|
|
239
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
240
|
+
:param use_snap_edit: Target: Include Edit
|
|
241
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
242
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
243
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
244
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
245
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
271
246
|
:param snap_point: Point
|
|
272
|
-
:type snap_point: typing.
|
|
247
|
+
:type snap_point: typing.Any
|
|
273
248
|
:param correct_uv: Correct UVs, Correct UV coordinates when transforming
|
|
274
|
-
:type correct_uv: typing.
|
|
249
|
+
:type correct_uv: typing.Union[bool, typing.Any]
|
|
275
250
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
276
|
-
:type release_confirm: typing.
|
|
251
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
277
252
|
:param use_accurate: Accurate, Use accurate transformation
|
|
278
|
-
:type use_accurate: typing.
|
|
253
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
279
254
|
"""
|
|
280
255
|
|
|
281
256
|
...
|
|
282
257
|
|
|
283
258
|
def from_gizmo(
|
|
284
|
-
override_context: typing.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
288
|
-
undo: typing.Optional[bool] = None,
|
|
259
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
260
|
+
execution_context: typing.Union[str, int] = None,
|
|
261
|
+
undo: bool = None,
|
|
289
262
|
):
|
|
290
263
|
"""Transform selected items by mode type
|
|
291
264
|
|
|
292
|
-
:type override_context: typing.
|
|
293
|
-
:type execution_context: typing.
|
|
294
|
-
:type undo:
|
|
265
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
266
|
+
:type execution_context: typing.Union[str, int]
|
|
267
|
+
:type undo: bool
|
|
295
268
|
"""
|
|
296
269
|
|
|
297
270
|
...
|
|
298
271
|
|
|
299
272
|
def mirror(
|
|
300
|
-
override_context: typing.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
308
|
-
(0.0, 0.0, 0.0),
|
|
309
|
-
(0.0, 0.0, 0.0),
|
|
310
|
-
(0.0, 0.0, 0.0),
|
|
311
|
-
),
|
|
312
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
313
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
273
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
274
|
+
execution_context: typing.Union[str, int] = None,
|
|
275
|
+
undo: bool = None,
|
|
276
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
277
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
278
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
279
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
314
280
|
False,
|
|
315
281
|
False,
|
|
316
282
|
False,
|
|
317
283
|
),
|
|
318
|
-
gpencil_strokes: typing.
|
|
319
|
-
center_override: typing.
|
|
320
|
-
release_confirm: typing.
|
|
321
|
-
use_accurate: typing.
|
|
284
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
285
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
286
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
287
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
322
288
|
):
|
|
323
289
|
"""Mirror selected items around one or more axes
|
|
324
290
|
|
|
325
|
-
:type override_context: typing.
|
|
326
|
-
:type execution_context: typing.
|
|
327
|
-
:type undo:
|
|
291
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
292
|
+
:type execution_context: typing.Union[str, int]
|
|
293
|
+
:type undo: bool
|
|
328
294
|
:param orient_type: Orientation, Transformation orientation
|
|
329
|
-
:type orient_type: typing.
|
|
295
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
330
296
|
:param orient_matrix: Matrix
|
|
331
|
-
:type orient_matrix: typing.
|
|
297
|
+
:type orient_matrix: typing.Any
|
|
332
298
|
:param orient_matrix_type: Matrix Orientation
|
|
333
|
-
:type orient_matrix_type: typing.
|
|
299
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
334
300
|
:param constraint_axis: Constraint Axis
|
|
335
|
-
:type constraint_axis: typing.
|
|
301
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
336
302
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
337
|
-
:type gpencil_strokes: typing.
|
|
303
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
338
304
|
:param center_override: Center Override, Force using this center value (when set)
|
|
339
|
-
:type center_override: typing.
|
|
305
|
+
:type center_override: typing.Any
|
|
340
306
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
341
|
-
:type release_confirm: typing.
|
|
307
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
342
308
|
:param use_accurate: Accurate, Use accurate transformation
|
|
343
|
-
:type use_accurate: typing.
|
|
309
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
344
310
|
"""
|
|
345
311
|
|
|
346
312
|
...
|
|
347
313
|
|
|
348
314
|
def push_pull(
|
|
349
|
-
override_context: typing.
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
center_override: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
364
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
365
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
315
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
316
|
+
execution_context: typing.Union[str, int] = None,
|
|
317
|
+
undo: bool = None,
|
|
318
|
+
value: typing.Any = 0.0,
|
|
319
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
320
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
321
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
322
|
+
proportional_size: typing.Any = 1.0,
|
|
323
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
324
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
325
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
326
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
327
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
328
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
366
329
|
):
|
|
367
330
|
"""Push/Pull selected items
|
|
368
331
|
|
|
369
|
-
:type override_context: typing.
|
|
370
|
-
:type execution_context: typing.
|
|
371
|
-
:type undo:
|
|
332
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
333
|
+
:type execution_context: typing.Union[str, int]
|
|
334
|
+
:type undo: bool
|
|
372
335
|
:param value: Distance
|
|
373
|
-
:type value: typing.
|
|
336
|
+
:type value: typing.Any
|
|
374
337
|
:param mirror: Mirror Editing
|
|
375
|
-
:type mirror: typing.
|
|
338
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
376
339
|
:param use_proportional_edit: Proportional Editing
|
|
377
|
-
:type use_proportional_edit: typing.
|
|
340
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
378
341
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
379
|
-
:type proportional_edit_falloff: typing.
|
|
342
|
+
:type proportional_edit_falloff: typing.Any
|
|
380
343
|
:param proportional_size: Proportional Size
|
|
381
|
-
:type proportional_size: typing.
|
|
344
|
+
:type proportional_size: typing.Any
|
|
382
345
|
:param use_proportional_connected: Connected
|
|
383
|
-
:type use_proportional_connected: typing.
|
|
346
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
384
347
|
:param use_proportional_projected: Projected (2D)
|
|
385
|
-
:type use_proportional_projected: typing.
|
|
348
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
386
349
|
:param snap: Use Snapping Options
|
|
387
|
-
:type snap: typing.
|
|
350
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
388
351
|
:param center_override: Center Override, Force using this center value (when set)
|
|
389
|
-
:type center_override: typing.
|
|
352
|
+
:type center_override: typing.Any
|
|
390
353
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
391
|
-
:type release_confirm: typing.
|
|
354
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
392
355
|
:param use_accurate: Accurate, Use accurate transformation
|
|
393
|
-
:type use_accurate: typing.
|
|
356
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
394
357
|
"""
|
|
395
358
|
|
|
396
359
|
...
|
|
397
360
|
|
|
398
361
|
def resize(
|
|
399
|
-
override_context: typing.
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
409
|
-
(0.0, 0.0, 0.0),
|
|
410
|
-
(0.0, 0.0, 0.0),
|
|
411
|
-
(0.0, 0.0, 0.0),
|
|
412
|
-
),
|
|
413
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
414
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
362
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
363
|
+
execution_context: typing.Union[str, int] = None,
|
|
364
|
+
undo: bool = None,
|
|
365
|
+
value: typing.Any = (1.0, 1.0, 1.0),
|
|
366
|
+
mouse_dir_constraint: typing.Any = (0.0, 0.0, 0.0),
|
|
367
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
368
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
369
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
370
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
415
371
|
False,
|
|
416
372
|
False,
|
|
417
373
|
False,
|
|
418
374
|
),
|
|
419
|
-
mirror: typing.
|
|
420
|
-
use_proportional_edit: typing.
|
|
421
|
-
proportional_edit_falloff: typing.
|
|
422
|
-
proportional_size: typing.
|
|
423
|
-
use_proportional_connected: typing.
|
|
424
|
-
use_proportional_projected: typing.
|
|
425
|
-
snap: typing.
|
|
426
|
-
snap_elements: typing.
|
|
427
|
-
use_snap_project: typing.
|
|
428
|
-
snap_target: typing.
|
|
429
|
-
use_snap_self: typing.
|
|
430
|
-
use_snap_edit: typing.
|
|
431
|
-
use_snap_nonedit: typing.
|
|
432
|
-
use_snap_selectable: typing.
|
|
433
|
-
snap_point: typing.
|
|
434
|
-
gpencil_strokes: typing.
|
|
435
|
-
texture_space: typing.
|
|
436
|
-
remove_on_cancel: typing.
|
|
437
|
-
use_duplicated_keyframes: typing.
|
|
438
|
-
center_override: typing.
|
|
439
|
-
release_confirm: typing.
|
|
440
|
-
use_accurate: typing.
|
|
375
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
376
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
377
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
378
|
+
proportional_size: typing.Any = 1.0,
|
|
379
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
380
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
381
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
382
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
383
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
384
|
+
snap_target: typing.Any = "CLOSEST",
|
|
385
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
386
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
387
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
388
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
389
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
390
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
391
|
+
texture_space: typing.Union[bool, typing.Any] = False,
|
|
392
|
+
remove_on_cancel: typing.Union[bool, typing.Any] = False,
|
|
393
|
+
use_duplicated_keyframes: typing.Union[bool, typing.Any] = False,
|
|
394
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
395
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
396
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
441
397
|
):
|
|
442
398
|
"""Scale (resize) selected items
|
|
443
399
|
|
|
444
|
-
:type override_context: typing.
|
|
445
|
-
:type execution_context: typing.
|
|
446
|
-
:type undo:
|
|
400
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
401
|
+
:type execution_context: typing.Union[str, int]
|
|
402
|
+
:type undo: bool
|
|
447
403
|
:param value: Scale
|
|
448
|
-
:type value: typing.
|
|
404
|
+
:type value: typing.Any
|
|
449
405
|
:param mouse_dir_constraint: Mouse Directional Constraint
|
|
450
|
-
:type mouse_dir_constraint: typing.
|
|
406
|
+
:type mouse_dir_constraint: typing.Any
|
|
451
407
|
:param orient_type: Orientation, Transformation orientation
|
|
452
|
-
:type orient_type: typing.
|
|
408
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
453
409
|
:param orient_matrix: Matrix
|
|
454
|
-
:type orient_matrix: typing.
|
|
410
|
+
:type orient_matrix: typing.Any
|
|
455
411
|
:param orient_matrix_type: Matrix Orientation
|
|
456
|
-
:type orient_matrix_type: typing.
|
|
412
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
457
413
|
:param constraint_axis: Constraint Axis
|
|
458
|
-
:type constraint_axis: typing.
|
|
414
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
459
415
|
:param mirror: Mirror Editing
|
|
460
|
-
:type mirror: typing.
|
|
416
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
461
417
|
:param use_proportional_edit: Proportional Editing
|
|
462
|
-
:type use_proportional_edit: typing.
|
|
418
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
463
419
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
464
|
-
:type proportional_edit_falloff: typing.
|
|
420
|
+
:type proportional_edit_falloff: typing.Any
|
|
465
421
|
:param proportional_size: Proportional Size
|
|
466
|
-
:type proportional_size: typing.
|
|
422
|
+
:type proportional_size: typing.Any
|
|
467
423
|
:param use_proportional_connected: Connected
|
|
468
|
-
:type use_proportional_connected: typing.
|
|
424
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
469
425
|
:param use_proportional_projected: Projected (2D)
|
|
470
|
-
:type use_proportional_projected: typing.
|
|
426
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
471
427
|
:param snap: Use Snapping Options
|
|
472
|
-
:type snap: typing.
|
|
428
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
473
429
|
:param snap_elements: Snap to Elements
|
|
474
|
-
:type snap_elements: typing.
|
|
430
|
+
:type snap_elements: typing.Any
|
|
475
431
|
:param use_snap_project: Project Individual Elements
|
|
476
|
-
:type use_snap_project: typing.
|
|
477
|
-
:param snap_target: Snap
|
|
478
|
-
:type snap_target: typing.
|
|
479
|
-
:param use_snap_self: Include Active
|
|
480
|
-
:type use_snap_self: typing.
|
|
481
|
-
:param use_snap_edit: Include Edit
|
|
482
|
-
:type use_snap_edit: typing.
|
|
483
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
484
|
-
:type use_snap_nonedit: typing.
|
|
485
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
486
|
-
:type use_snap_selectable: typing.
|
|
432
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
433
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
434
|
+
:type snap_target: typing.Any
|
|
435
|
+
:param use_snap_self: Target: Include Active
|
|
436
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
437
|
+
:param use_snap_edit: Target: Include Edit
|
|
438
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
439
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
440
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
441
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
442
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
487
443
|
:param snap_point: Point
|
|
488
|
-
:type snap_point: typing.
|
|
444
|
+
:type snap_point: typing.Any
|
|
489
445
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
490
|
-
:type gpencil_strokes: typing.
|
|
446
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
491
447
|
:param texture_space: Edit Texture Space, Edit object data texture space
|
|
492
|
-
:type texture_space: typing.
|
|
448
|
+
:type texture_space: typing.Union[bool, typing.Any]
|
|
493
449
|
:param remove_on_cancel: Remove on Cancel, Remove elements on cancel
|
|
494
|
-
:type remove_on_cancel: typing.
|
|
450
|
+
:type remove_on_cancel: typing.Union[bool, typing.Any]
|
|
495
451
|
:param use_duplicated_keyframes: Duplicated Keyframes, Transform duplicated keyframes
|
|
496
|
-
:type use_duplicated_keyframes: typing.
|
|
452
|
+
:type use_duplicated_keyframes: typing.Union[bool, typing.Any]
|
|
497
453
|
:param center_override: Center Override, Force using this center value (when set)
|
|
498
|
-
:type center_override: typing.
|
|
454
|
+
:type center_override: typing.Any
|
|
499
455
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
500
|
-
:type release_confirm: typing.
|
|
456
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
501
457
|
:param use_accurate: Accurate, Use accurate transformation
|
|
502
|
-
:type use_accurate: typing.
|
|
458
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
503
459
|
"""
|
|
504
460
|
|
|
505
461
|
...
|
|
506
462
|
|
|
507
463
|
def rotate(
|
|
508
|
-
override_context: typing.
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
518
|
-
(0.0, 0.0, 0.0),
|
|
519
|
-
(0.0, 0.0, 0.0),
|
|
520
|
-
(0.0, 0.0, 0.0),
|
|
521
|
-
),
|
|
522
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
523
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
464
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
465
|
+
execution_context: typing.Union[str, int] = None,
|
|
466
|
+
undo: bool = None,
|
|
467
|
+
value: typing.Any = 0.0,
|
|
468
|
+
orient_axis: typing.Any = "Z",
|
|
469
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
470
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
471
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
472
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
524
473
|
False,
|
|
525
474
|
False,
|
|
526
475
|
False,
|
|
527
476
|
),
|
|
528
|
-
mirror: typing.
|
|
529
|
-
use_proportional_edit: typing.
|
|
530
|
-
proportional_edit_falloff: typing.
|
|
531
|
-
proportional_size: typing.
|
|
532
|
-
use_proportional_connected: typing.
|
|
533
|
-
use_proportional_projected: typing.
|
|
534
|
-
snap: typing.
|
|
535
|
-
snap_elements: typing.
|
|
536
|
-
use_snap_project: typing.
|
|
537
|
-
snap_target: typing.
|
|
538
|
-
use_snap_self: typing.
|
|
539
|
-
use_snap_edit: typing.
|
|
540
|
-
use_snap_nonedit: typing.
|
|
541
|
-
use_snap_selectable: typing.
|
|
542
|
-
snap_point: typing.
|
|
543
|
-
gpencil_strokes: typing.
|
|
544
|
-
center_override: typing.
|
|
545
|
-
release_confirm: typing.
|
|
546
|
-
use_accurate: typing.
|
|
477
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
478
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
479
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
480
|
+
proportional_size: typing.Any = 1.0,
|
|
481
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
482
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
483
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
484
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
485
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
486
|
+
snap_target: typing.Any = "CLOSEST",
|
|
487
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
488
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
489
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
490
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
491
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
492
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
493
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
494
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
495
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
547
496
|
):
|
|
548
497
|
"""Rotate selected items
|
|
549
498
|
|
|
550
|
-
:type override_context: typing.
|
|
551
|
-
:type execution_context: typing.
|
|
552
|
-
:type undo:
|
|
499
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
500
|
+
:type execution_context: typing.Union[str, int]
|
|
501
|
+
:type undo: bool
|
|
553
502
|
:param value: Angle
|
|
554
|
-
:type value: typing.
|
|
503
|
+
:type value: typing.Any
|
|
555
504
|
:param orient_axis: Axis
|
|
556
|
-
:type orient_axis: typing.
|
|
505
|
+
:type orient_axis: typing.Any
|
|
557
506
|
:param orient_type: Orientation, Transformation orientation
|
|
558
|
-
:type orient_type: typing.
|
|
507
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
559
508
|
:param orient_matrix: Matrix
|
|
560
|
-
:type orient_matrix: typing.
|
|
509
|
+
:type orient_matrix: typing.Any
|
|
561
510
|
:param orient_matrix_type: Matrix Orientation
|
|
562
|
-
:type orient_matrix_type: typing.
|
|
511
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
563
512
|
:param constraint_axis: Constraint Axis
|
|
564
|
-
:type constraint_axis: typing.
|
|
513
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
565
514
|
:param mirror: Mirror Editing
|
|
566
|
-
:type mirror: typing.
|
|
515
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
567
516
|
:param use_proportional_edit: Proportional Editing
|
|
568
|
-
:type use_proportional_edit: typing.
|
|
517
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
569
518
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
570
|
-
:type proportional_edit_falloff: typing.
|
|
519
|
+
:type proportional_edit_falloff: typing.Any
|
|
571
520
|
:param proportional_size: Proportional Size
|
|
572
|
-
:type proportional_size: typing.
|
|
521
|
+
:type proportional_size: typing.Any
|
|
573
522
|
:param use_proportional_connected: Connected
|
|
574
|
-
:type use_proportional_connected: typing.
|
|
523
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
575
524
|
:param use_proportional_projected: Projected (2D)
|
|
576
|
-
:type use_proportional_projected: typing.
|
|
525
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
577
526
|
:param snap: Use Snapping Options
|
|
578
|
-
:type snap: typing.
|
|
527
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
579
528
|
:param snap_elements: Snap to Elements
|
|
580
|
-
:type snap_elements: typing.
|
|
529
|
+
:type snap_elements: typing.Any
|
|
581
530
|
:param use_snap_project: Project Individual Elements
|
|
582
|
-
:type use_snap_project: typing.
|
|
583
|
-
:param snap_target: Snap
|
|
584
|
-
:type snap_target: typing.
|
|
585
|
-
:param use_snap_self: Include Active
|
|
586
|
-
:type use_snap_self: typing.
|
|
587
|
-
:param use_snap_edit: Include Edit
|
|
588
|
-
:type use_snap_edit: typing.
|
|
589
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
590
|
-
:type use_snap_nonedit: typing.
|
|
591
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
592
|
-
:type use_snap_selectable: typing.
|
|
531
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
532
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
533
|
+
:type snap_target: typing.Any
|
|
534
|
+
:param use_snap_self: Target: Include Active
|
|
535
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
536
|
+
:param use_snap_edit: Target: Include Edit
|
|
537
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
538
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
539
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
540
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
541
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
593
542
|
:param snap_point: Point
|
|
594
|
-
:type snap_point: typing.
|
|
543
|
+
:type snap_point: typing.Any
|
|
595
544
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
596
|
-
:type gpencil_strokes: typing.
|
|
545
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
597
546
|
:param center_override: Center Override, Force using this center value (when set)
|
|
598
|
-
:type center_override: typing.
|
|
547
|
+
:type center_override: typing.Any
|
|
599
548
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
600
|
-
:type release_confirm: typing.
|
|
549
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
601
550
|
:param use_accurate: Accurate, Use accurate transformation
|
|
602
|
-
:type use_accurate: typing.
|
|
551
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
603
552
|
"""
|
|
604
553
|
|
|
605
554
|
...
|
|
606
555
|
|
|
607
556
|
def rotate_normal(
|
|
608
|
-
override_context: typing.
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
618
|
-
(0.0, 0.0, 0.0),
|
|
619
|
-
(0.0, 0.0, 0.0),
|
|
620
|
-
(0.0, 0.0, 0.0),
|
|
621
|
-
),
|
|
622
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
623
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
557
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
558
|
+
execution_context: typing.Union[str, int] = None,
|
|
559
|
+
undo: bool = None,
|
|
560
|
+
value: typing.Any = 0.0,
|
|
561
|
+
orient_axis: typing.Any = "Z",
|
|
562
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
563
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
564
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
565
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
624
566
|
False,
|
|
625
567
|
False,
|
|
626
568
|
False,
|
|
627
569
|
),
|
|
628
|
-
mirror: typing.
|
|
629
|
-
release_confirm: typing.
|
|
630
|
-
use_accurate: typing.
|
|
570
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
571
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
572
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
631
573
|
):
|
|
632
574
|
"""Rotate split normal of selected items
|
|
633
575
|
|
|
634
|
-
:type override_context: typing.
|
|
635
|
-
:type execution_context: typing.
|
|
636
|
-
:type undo:
|
|
576
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
577
|
+
:type execution_context: typing.Union[str, int]
|
|
578
|
+
:type undo: bool
|
|
637
579
|
:param value: Angle
|
|
638
|
-
:type value: typing.
|
|
580
|
+
:type value: typing.Any
|
|
639
581
|
:param orient_axis: Axis
|
|
640
|
-
:type orient_axis: typing.
|
|
582
|
+
:type orient_axis: typing.Any
|
|
641
583
|
:param orient_type: Orientation, Transformation orientation
|
|
642
|
-
:type orient_type: typing.
|
|
584
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
643
585
|
:param orient_matrix: Matrix
|
|
644
|
-
:type orient_matrix: typing.
|
|
586
|
+
:type orient_matrix: typing.Any
|
|
645
587
|
:param orient_matrix_type: Matrix Orientation
|
|
646
|
-
:type orient_matrix_type: typing.
|
|
588
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
647
589
|
:param constraint_axis: Constraint Axis
|
|
648
|
-
:type constraint_axis: typing.
|
|
590
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
649
591
|
:param mirror: Mirror Editing
|
|
650
|
-
:type mirror: typing.
|
|
592
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
651
593
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
652
|
-
:type release_confirm: typing.
|
|
594
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
653
595
|
:param use_accurate: Accurate, Use accurate transformation
|
|
654
|
-
:type use_accurate: typing.
|
|
596
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
655
597
|
"""
|
|
656
598
|
|
|
657
599
|
...
|
|
658
600
|
|
|
659
601
|
def select_orientation(
|
|
660
|
-
override_context: typing.
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
undo: typing.Optional[bool] = None,
|
|
665
|
-
*,
|
|
666
|
-
orientation: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
602
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
603
|
+
execution_context: typing.Union[str, int] = None,
|
|
604
|
+
undo: bool = None,
|
|
605
|
+
orientation: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
667
606
|
):
|
|
668
607
|
"""Select transformation orientation
|
|
669
608
|
|
|
670
|
-
:type override_context: typing.
|
|
671
|
-
:type execution_context: typing.
|
|
672
|
-
:type undo:
|
|
609
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
+
:type execution_context: typing.Union[str, int]
|
|
611
|
+
:type undo: bool
|
|
673
612
|
:param orientation: Orientation, Transformation orientation
|
|
674
|
-
:type orientation: typing.
|
|
613
|
+
:type orientation: typing.Union[str, int, typing.Any]
|
|
675
614
|
"""
|
|
676
615
|
|
|
677
616
|
...
|
|
678
617
|
|
|
679
618
|
def seq_slide(
|
|
680
|
-
override_context: typing.
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
view2d_edge_pan: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
689
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
690
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
619
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
620
|
+
execution_context: typing.Union[str, int] = None,
|
|
621
|
+
undo: bool = None,
|
|
622
|
+
value: typing.Any = (0.0, 0.0),
|
|
623
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
624
|
+
view2d_edge_pan: typing.Union[bool, typing.Any] = False,
|
|
625
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
626
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
691
627
|
):
|
|
692
628
|
"""Slide a sequence strip in time
|
|
693
629
|
|
|
694
|
-
:type override_context: typing.
|
|
695
|
-
:type execution_context: typing.
|
|
696
|
-
:type undo:
|
|
630
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
631
|
+
:type execution_context: typing.Union[str, int]
|
|
632
|
+
:type undo: bool
|
|
697
633
|
:param value: Offset
|
|
698
|
-
:type value: typing.
|
|
634
|
+
:type value: typing.Any
|
|
699
635
|
:param snap: Use Snapping Options
|
|
700
|
-
:type snap: typing.
|
|
636
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
701
637
|
:param view2d_edge_pan: Edge Pan, Enable edge panning in 2D view
|
|
702
|
-
:type view2d_edge_pan: typing.
|
|
638
|
+
:type view2d_edge_pan: typing.Union[bool, typing.Any]
|
|
703
639
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
704
|
-
:type release_confirm: typing.
|
|
640
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
705
641
|
:param use_accurate: Accurate, Use accurate transformation
|
|
706
|
-
:type use_accurate: typing.
|
|
642
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
707
643
|
"""
|
|
708
644
|
|
|
709
645
|
...
|
|
710
646
|
|
|
711
647
|
def shear(
|
|
712
|
-
override_context: typing.
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
proportional_size: typing.Optional[typing.Any] = 1.0,
|
|
732
|
-
use_proportional_connected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
733
|
-
use_proportional_projected: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
734
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
735
|
-
gpencil_strokes: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
736
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
737
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
648
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
649
|
+
execution_context: typing.Union[str, int] = None,
|
|
650
|
+
undo: bool = None,
|
|
651
|
+
value: typing.Any = 0.0,
|
|
652
|
+
orient_axis: typing.Any = "Z",
|
|
653
|
+
orient_axis_ortho: typing.Any = "X",
|
|
654
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
655
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
656
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
657
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
658
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
659
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
660
|
+
proportional_size: typing.Any = 1.0,
|
|
661
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
662
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
663
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
664
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
665
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
666
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
738
667
|
):
|
|
739
668
|
"""Shear selected items along the given axis
|
|
740
669
|
|
|
741
|
-
:type override_context: typing.
|
|
742
|
-
:type execution_context: typing.
|
|
743
|
-
:type undo:
|
|
670
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
671
|
+
:type execution_context: typing.Union[str, int]
|
|
672
|
+
:type undo: bool
|
|
744
673
|
:param value: Offset
|
|
745
|
-
:type value: typing.
|
|
674
|
+
:type value: typing.Any
|
|
746
675
|
:param orient_axis: Axis
|
|
747
|
-
:type orient_axis: typing.
|
|
676
|
+
:type orient_axis: typing.Any
|
|
748
677
|
:param orient_axis_ortho: Axis Ortho
|
|
749
|
-
:type orient_axis_ortho: typing.
|
|
678
|
+
:type orient_axis_ortho: typing.Any
|
|
750
679
|
:param orient_type: Orientation, Transformation orientation
|
|
751
|
-
:type orient_type: typing.
|
|
680
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
752
681
|
:param orient_matrix: Matrix
|
|
753
|
-
:type orient_matrix: typing.
|
|
682
|
+
:type orient_matrix: typing.Any
|
|
754
683
|
:param orient_matrix_type: Matrix Orientation
|
|
755
|
-
:type orient_matrix_type: typing.
|
|
684
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
756
685
|
:param mirror: Mirror Editing
|
|
757
|
-
:type mirror: typing.
|
|
686
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
758
687
|
:param use_proportional_edit: Proportional Editing
|
|
759
|
-
:type use_proportional_edit: typing.
|
|
688
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
760
689
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
761
|
-
:type proportional_edit_falloff: typing.
|
|
690
|
+
:type proportional_edit_falloff: typing.Any
|
|
762
691
|
:param proportional_size: Proportional Size
|
|
763
|
-
:type proportional_size: typing.
|
|
692
|
+
:type proportional_size: typing.Any
|
|
764
693
|
:param use_proportional_connected: Connected
|
|
765
|
-
:type use_proportional_connected: typing.
|
|
694
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
766
695
|
:param use_proportional_projected: Projected (2D)
|
|
767
|
-
:type use_proportional_projected: typing.
|
|
696
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
768
697
|
:param snap: Use Snapping Options
|
|
769
|
-
:type snap: typing.
|
|
698
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
770
699
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
771
|
-
:type gpencil_strokes: typing.
|
|
700
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
772
701
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
773
|
-
:type release_confirm: typing.
|
|
702
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
774
703
|
:param use_accurate: Accurate, Use accurate transformation
|
|
775
|
-
:type use_accurate: typing.
|
|
704
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
776
705
|
"""
|
|
777
706
|
|
|
778
707
|
...
|
|
779
708
|
|
|
780
709
|
def shrink_fatten(
|
|
781
|
-
override_context: typing.
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
796
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
797
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
710
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
711
|
+
execution_context: typing.Union[str, int] = None,
|
|
712
|
+
undo: bool = None,
|
|
713
|
+
value: typing.Any = 0.0,
|
|
714
|
+
use_even_offset: typing.Union[bool, typing.Any] = False,
|
|
715
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
716
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
717
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
718
|
+
proportional_size: typing.Any = 1.0,
|
|
719
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
720
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
721
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
722
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
723
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
798
724
|
):
|
|
799
725
|
"""Shrink/fatten selected vertices along normals
|
|
800
726
|
|
|
801
|
-
:type override_context: typing.
|
|
802
|
-
:type execution_context: typing.
|
|
803
|
-
:type undo:
|
|
727
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
728
|
+
:type execution_context: typing.Union[str, int]
|
|
729
|
+
:type undo: bool
|
|
804
730
|
:param value: Offset
|
|
805
|
-
:type value: typing.
|
|
731
|
+
:type value: typing.Any
|
|
806
732
|
:param use_even_offset: Offset Even, Scale the offset to give more even thickness
|
|
807
|
-
:type use_even_offset: typing.
|
|
733
|
+
:type use_even_offset: typing.Union[bool, typing.Any]
|
|
808
734
|
:param mirror: Mirror Editing
|
|
809
|
-
:type mirror: typing.
|
|
735
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
810
736
|
:param use_proportional_edit: Proportional Editing
|
|
811
|
-
:type use_proportional_edit: typing.
|
|
737
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
812
738
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
813
|
-
:type proportional_edit_falloff: typing.
|
|
739
|
+
:type proportional_edit_falloff: typing.Any
|
|
814
740
|
:param proportional_size: Proportional Size
|
|
815
|
-
:type proportional_size: typing.
|
|
741
|
+
:type proportional_size: typing.Any
|
|
816
742
|
:param use_proportional_connected: Connected
|
|
817
|
-
:type use_proportional_connected: typing.
|
|
743
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
818
744
|
:param use_proportional_projected: Projected (2D)
|
|
819
|
-
:type use_proportional_projected: typing.
|
|
745
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
820
746
|
:param snap: Use Snapping Options
|
|
821
|
-
:type snap: typing.
|
|
747
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
822
748
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
823
|
-
:type release_confirm: typing.
|
|
749
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
824
750
|
:param use_accurate: Accurate, Use accurate transformation
|
|
825
|
-
:type use_accurate: typing.
|
|
751
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
826
752
|
"""
|
|
827
753
|
|
|
828
754
|
...
|
|
829
755
|
|
|
830
756
|
def skin_resize(
|
|
831
|
-
override_context: typing.
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
840
|
-
(0.0, 0.0, 0.0),
|
|
841
|
-
(0.0, 0.0, 0.0),
|
|
842
|
-
(0.0, 0.0, 0.0),
|
|
843
|
-
),
|
|
844
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int, typing.Any]] = "GLOBAL",
|
|
845
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
757
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
758
|
+
execution_context: typing.Union[str, int] = None,
|
|
759
|
+
undo: bool = None,
|
|
760
|
+
value: typing.Any = (1.0, 1.0, 1.0),
|
|
761
|
+
orient_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
762
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
763
|
+
orient_matrix_type: typing.Union[str, int, typing.Any] = "GLOBAL",
|
|
764
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
846
765
|
False,
|
|
847
766
|
False,
|
|
848
767
|
False,
|
|
849
768
|
),
|
|
850
|
-
mirror: typing.
|
|
851
|
-
use_proportional_edit: typing.
|
|
852
|
-
proportional_edit_falloff: typing.
|
|
853
|
-
proportional_size: typing.
|
|
854
|
-
use_proportional_connected: typing.
|
|
855
|
-
use_proportional_projected: typing.
|
|
856
|
-
snap: typing.
|
|
857
|
-
snap_elements: typing.
|
|
858
|
-
use_snap_project: typing.
|
|
859
|
-
snap_target: typing.
|
|
860
|
-
use_snap_self: typing.
|
|
861
|
-
use_snap_edit: typing.
|
|
862
|
-
use_snap_nonedit: typing.
|
|
863
|
-
use_snap_selectable: typing.
|
|
864
|
-
snap_point: typing.
|
|
865
|
-
release_confirm: typing.
|
|
866
|
-
use_accurate: typing.
|
|
769
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
770
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
771
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
772
|
+
proportional_size: typing.Any = 1.0,
|
|
773
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
774
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
775
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
776
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
777
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
778
|
+
snap_target: typing.Any = "CLOSEST",
|
|
779
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
780
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
781
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
782
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
783
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
784
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
785
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
867
786
|
):
|
|
868
787
|
"""Scale selected vertices' skin radii
|
|
869
788
|
|
|
870
|
-
:type override_context: typing.
|
|
871
|
-
:type execution_context: typing.
|
|
872
|
-
:type undo:
|
|
789
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
790
|
+
:type execution_context: typing.Union[str, int]
|
|
791
|
+
:type undo: bool
|
|
873
792
|
:param value: Scale
|
|
874
|
-
:type value: typing.
|
|
793
|
+
:type value: typing.Any
|
|
875
794
|
:param orient_type: Orientation, Transformation orientation
|
|
876
|
-
:type orient_type: typing.
|
|
795
|
+
:type orient_type: typing.Union[str, int, typing.Any]
|
|
877
796
|
:param orient_matrix: Matrix
|
|
878
|
-
:type orient_matrix: typing.
|
|
797
|
+
:type orient_matrix: typing.Any
|
|
879
798
|
:param orient_matrix_type: Matrix Orientation
|
|
880
|
-
:type orient_matrix_type: typing.
|
|
799
|
+
:type orient_matrix_type: typing.Union[str, int, typing.Any]
|
|
881
800
|
:param constraint_axis: Constraint Axis
|
|
882
|
-
:type constraint_axis: typing.
|
|
801
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
883
802
|
:param mirror: Mirror Editing
|
|
884
|
-
:type mirror: typing.
|
|
803
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
885
804
|
:param use_proportional_edit: Proportional Editing
|
|
886
|
-
:type use_proportional_edit: typing.
|
|
805
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
887
806
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
888
|
-
:type proportional_edit_falloff: typing.
|
|
807
|
+
:type proportional_edit_falloff: typing.Any
|
|
889
808
|
:param proportional_size: Proportional Size
|
|
890
|
-
:type proportional_size: typing.
|
|
809
|
+
:type proportional_size: typing.Any
|
|
891
810
|
:param use_proportional_connected: Connected
|
|
892
|
-
:type use_proportional_connected: typing.
|
|
811
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
893
812
|
:param use_proportional_projected: Projected (2D)
|
|
894
|
-
:type use_proportional_projected: typing.
|
|
813
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
895
814
|
:param snap: Use Snapping Options
|
|
896
|
-
:type snap: typing.
|
|
815
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
897
816
|
:param snap_elements: Snap to Elements
|
|
898
|
-
:type snap_elements: typing.
|
|
817
|
+
:type snap_elements: typing.Any
|
|
899
818
|
:param use_snap_project: Project Individual Elements
|
|
900
|
-
:type use_snap_project: typing.
|
|
901
|
-
:param snap_target: Snap
|
|
902
|
-
:type snap_target: typing.
|
|
903
|
-
:param use_snap_self: Include Active
|
|
904
|
-
:type use_snap_self: typing.
|
|
905
|
-
:param use_snap_edit: Include Edit
|
|
906
|
-
:type use_snap_edit: typing.
|
|
907
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
908
|
-
:type use_snap_nonedit: typing.
|
|
909
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
910
|
-
:type use_snap_selectable: typing.
|
|
819
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
820
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
821
|
+
:type snap_target: typing.Any
|
|
822
|
+
:param use_snap_self: Target: Include Active
|
|
823
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
824
|
+
:param use_snap_edit: Target: Include Edit
|
|
825
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
826
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
827
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
828
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
829
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
911
830
|
:param snap_point: Point
|
|
912
|
-
:type snap_point: typing.
|
|
831
|
+
:type snap_point: typing.Any
|
|
913
832
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
914
|
-
:type release_confirm: typing.
|
|
833
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
915
834
|
:param use_accurate: Accurate, Use accurate transformation
|
|
916
|
-
:type use_accurate: typing.
|
|
835
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
917
836
|
"""
|
|
918
837
|
|
|
919
838
|
...
|
|
920
839
|
|
|
921
840
|
def tilt(
|
|
922
|
-
override_context: typing.
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
936
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
937
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
841
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
842
|
+
execution_context: typing.Union[str, int] = None,
|
|
843
|
+
undo: bool = None,
|
|
844
|
+
value: typing.Any = 0.0,
|
|
845
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
846
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
847
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
848
|
+
proportional_size: typing.Any = 1.0,
|
|
849
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
850
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
851
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
852
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
853
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
938
854
|
):
|
|
939
855
|
"""Tilt selected control vertices of 3D curve
|
|
940
856
|
|
|
941
|
-
:type override_context: typing.
|
|
942
|
-
:type execution_context: typing.
|
|
943
|
-
:type undo:
|
|
857
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
858
|
+
:type execution_context: typing.Union[str, int]
|
|
859
|
+
:type undo: bool
|
|
944
860
|
:param value: Angle
|
|
945
|
-
:type value: typing.
|
|
861
|
+
:type value: typing.Any
|
|
946
862
|
:param mirror: Mirror Editing
|
|
947
|
-
:type mirror: typing.
|
|
863
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
948
864
|
:param use_proportional_edit: Proportional Editing
|
|
949
|
-
:type use_proportional_edit: typing.
|
|
865
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
950
866
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
951
|
-
:type proportional_edit_falloff: typing.
|
|
867
|
+
:type proportional_edit_falloff: typing.Any
|
|
952
868
|
:param proportional_size: Proportional Size
|
|
953
|
-
:type proportional_size: typing.
|
|
869
|
+
:type proportional_size: typing.Any
|
|
954
870
|
:param use_proportional_connected: Connected
|
|
955
|
-
:type use_proportional_connected: typing.
|
|
871
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
956
872
|
:param use_proportional_projected: Projected (2D)
|
|
957
|
-
:type use_proportional_projected: typing.
|
|
873
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
958
874
|
:param snap: Use Snapping Options
|
|
959
|
-
:type snap: typing.
|
|
875
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
960
876
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
961
|
-
:type release_confirm: typing.
|
|
877
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
962
878
|
:param use_accurate: Accurate, Use accurate transformation
|
|
963
|
-
:type use_accurate: typing.
|
|
879
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
964
880
|
"""
|
|
965
881
|
|
|
966
882
|
...
|
|
967
883
|
|
|
968
884
|
def tosphere(
|
|
969
|
-
override_context: typing.
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
center_override: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
985
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
986
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
885
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
886
|
+
execution_context: typing.Union[str, int] = None,
|
|
887
|
+
undo: bool = None,
|
|
888
|
+
value: typing.Any = 0.0,
|
|
889
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
890
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
891
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
892
|
+
proportional_size: typing.Any = 1.0,
|
|
893
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
894
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
895
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
896
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
897
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
898
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
899
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
987
900
|
):
|
|
988
901
|
"""Move selected items outward in a spherical shape around geometric center
|
|
989
902
|
|
|
990
|
-
:type override_context: typing.
|
|
991
|
-
:type execution_context: typing.
|
|
992
|
-
:type undo:
|
|
903
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
904
|
+
:type execution_context: typing.Union[str, int]
|
|
905
|
+
:type undo: bool
|
|
993
906
|
:param value: Factor
|
|
994
|
-
:type value: typing.
|
|
907
|
+
:type value: typing.Any
|
|
995
908
|
:param mirror: Mirror Editing
|
|
996
|
-
:type mirror: typing.
|
|
909
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
997
910
|
:param use_proportional_edit: Proportional Editing
|
|
998
|
-
:type use_proportional_edit: typing.
|
|
911
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
999
912
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
1000
|
-
:type proportional_edit_falloff: typing.
|
|
913
|
+
:type proportional_edit_falloff: typing.Any
|
|
1001
914
|
:param proportional_size: Proportional Size
|
|
1002
|
-
:type proportional_size: typing.
|
|
915
|
+
:type proportional_size: typing.Any
|
|
1003
916
|
:param use_proportional_connected: Connected
|
|
1004
|
-
:type use_proportional_connected: typing.
|
|
917
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
1005
918
|
:param use_proportional_projected: Projected (2D)
|
|
1006
|
-
:type use_proportional_projected: typing.
|
|
919
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
1007
920
|
:param snap: Use Snapping Options
|
|
1008
|
-
:type snap: typing.
|
|
921
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
1009
922
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
1010
|
-
:type gpencil_strokes: typing.
|
|
923
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
1011
924
|
:param center_override: Center Override, Force using this center value (when set)
|
|
1012
|
-
:type center_override: typing.
|
|
925
|
+
:type center_override: typing.Any
|
|
1013
926
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
1014
|
-
:type release_confirm: typing.
|
|
927
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
1015
928
|
:param use_accurate: Accurate, Use accurate transformation
|
|
1016
|
-
:type use_accurate: typing.
|
|
929
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
1017
930
|
"""
|
|
1018
931
|
|
|
1019
932
|
...
|
|
1020
933
|
|
|
1021
934
|
def trackball(
|
|
1022
|
-
override_context: typing.
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
center_override: typing.Optional[typing.Any] = (0.0, 0.0, 0.0),
|
|
1038
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1039
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
935
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
936
|
+
execution_context: typing.Union[str, int] = None,
|
|
937
|
+
undo: bool = None,
|
|
938
|
+
value: typing.Any = (0.0, 0.0),
|
|
939
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
940
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
941
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
942
|
+
proportional_size: typing.Any = 1.0,
|
|
943
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
944
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
945
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
946
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
947
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
948
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
949
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
1040
950
|
):
|
|
1041
951
|
"""Trackball style rotation of selected items
|
|
1042
952
|
|
|
1043
|
-
:type override_context: typing.
|
|
1044
|
-
:type execution_context: typing.
|
|
1045
|
-
:type undo:
|
|
953
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
954
|
+
:type execution_context: typing.Union[str, int]
|
|
955
|
+
:type undo: bool
|
|
1046
956
|
:param value: Angle
|
|
1047
|
-
:type value: typing.
|
|
957
|
+
:type value: typing.Any
|
|
1048
958
|
:param mirror: Mirror Editing
|
|
1049
|
-
:type mirror: typing.
|
|
959
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
1050
960
|
:param use_proportional_edit: Proportional Editing
|
|
1051
|
-
:type use_proportional_edit: typing.
|
|
961
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
1052
962
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
1053
|
-
:type proportional_edit_falloff: typing.
|
|
963
|
+
:type proportional_edit_falloff: typing.Any
|
|
1054
964
|
:param proportional_size: Proportional Size
|
|
1055
|
-
:type proportional_size: typing.
|
|
965
|
+
:type proportional_size: typing.Any
|
|
1056
966
|
:param use_proportional_connected: Connected
|
|
1057
|
-
:type use_proportional_connected: typing.
|
|
967
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
1058
968
|
:param use_proportional_projected: Projected (2D)
|
|
1059
|
-
:type use_proportional_projected: typing.
|
|
969
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
1060
970
|
:param snap: Use Snapping Options
|
|
1061
|
-
:type snap: typing.
|
|
971
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
1062
972
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
1063
|
-
:type gpencil_strokes: typing.
|
|
973
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
1064
974
|
:param center_override: Center Override, Force using this center value (when set)
|
|
1065
|
-
:type center_override: typing.
|
|
975
|
+
:type center_override: typing.Any
|
|
1066
976
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
1067
|
-
:type release_confirm: typing.
|
|
977
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
1068
978
|
:param use_accurate: Accurate, Use accurate transformation
|
|
1069
|
-
:type use_accurate: typing.
|
|
979
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
1070
980
|
"""
|
|
1071
981
|
|
|
1072
982
|
...
|
|
1073
983
|
|
|
1074
984
|
def transform(
|
|
1075
|
-
override_context: typing.
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
1086
|
-
(0.0, 0.0, 0.0),
|
|
1087
|
-
(0.0, 0.0, 0.0),
|
|
1088
|
-
(0.0, 0.0, 0.0),
|
|
1089
|
-
),
|
|
1090
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int]] = "GLOBAL",
|
|
1091
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
985
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
986
|
+
execution_context: typing.Union[str, int] = None,
|
|
987
|
+
undo: bool = None,
|
|
988
|
+
mode: typing.Any = "TRANSLATION",
|
|
989
|
+
value: typing.Any = (0.0, 0.0, 0.0, 0.0),
|
|
990
|
+
orient_axis: typing.Any = "Z",
|
|
991
|
+
orient_type: typing.Any = "GLOBAL",
|
|
992
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
993
|
+
orient_matrix_type: typing.Any = "GLOBAL",
|
|
994
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
1092
995
|
False,
|
|
1093
996
|
False,
|
|
1094
997
|
False,
|
|
1095
998
|
),
|
|
1096
|
-
mirror: typing.
|
|
1097
|
-
use_proportional_edit: typing.
|
|
1098
|
-
proportional_edit_falloff: typing.
|
|
1099
|
-
proportional_size: typing.
|
|
1100
|
-
use_proportional_connected: typing.
|
|
1101
|
-
use_proportional_projected: typing.
|
|
1102
|
-
snap: typing.
|
|
1103
|
-
snap_elements: typing.
|
|
1104
|
-
use_snap_project: typing.
|
|
1105
|
-
snap_target: typing.
|
|
1106
|
-
use_snap_self: typing.
|
|
1107
|
-
use_snap_edit: typing.
|
|
1108
|
-
use_snap_nonedit: typing.
|
|
1109
|
-
use_snap_selectable: typing.
|
|
1110
|
-
snap_point: typing.
|
|
1111
|
-
snap_align: typing.
|
|
1112
|
-
snap_normal: typing.
|
|
1113
|
-
gpencil_strokes: typing.
|
|
1114
|
-
texture_space: typing.
|
|
1115
|
-
remove_on_cancel: typing.
|
|
1116
|
-
use_duplicated_keyframes: typing.
|
|
1117
|
-
center_override: typing.
|
|
1118
|
-
release_confirm: typing.
|
|
1119
|
-
use_accurate: typing.
|
|
1120
|
-
use_automerge_and_split: typing.
|
|
999
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
1000
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
1001
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
1002
|
+
proportional_size: typing.Any = 1.0,
|
|
1003
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
1004
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
1005
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
1006
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
1007
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
1008
|
+
snap_target: typing.Any = "CLOSEST",
|
|
1009
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
1010
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
1011
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
1012
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
1013
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
1014
|
+
snap_align: typing.Union[bool, typing.Any] = False,
|
|
1015
|
+
snap_normal: typing.Any = (0.0, 0.0, 0.0),
|
|
1016
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
1017
|
+
texture_space: typing.Union[bool, typing.Any] = False,
|
|
1018
|
+
remove_on_cancel: typing.Union[bool, typing.Any] = False,
|
|
1019
|
+
use_duplicated_keyframes: typing.Union[bool, typing.Any] = False,
|
|
1020
|
+
center_override: typing.Any = (0.0, 0.0, 0.0),
|
|
1021
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
1022
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
1023
|
+
use_automerge_and_split: typing.Union[bool, typing.Any] = False,
|
|
1121
1024
|
):
|
|
1122
1025
|
"""Transform selected items by mode type
|
|
1123
1026
|
|
|
1124
|
-
:type override_context: typing.
|
|
1125
|
-
:type execution_context: typing.
|
|
1126
|
-
:type undo:
|
|
1027
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1028
|
+
:type execution_context: typing.Union[str, int]
|
|
1029
|
+
:type undo: bool
|
|
1127
1030
|
:param mode: Mode
|
|
1128
|
-
:type mode: typing.
|
|
1031
|
+
:type mode: typing.Any
|
|
1129
1032
|
:param value: Values
|
|
1130
|
-
:type value: typing.
|
|
1033
|
+
:type value: typing.Any
|
|
1131
1034
|
:param orient_axis: Axis
|
|
1132
|
-
:type orient_axis: typing.
|
|
1035
|
+
:type orient_axis: typing.Any
|
|
1133
1036
|
:param orient_type: Orientation, Transformation orientation
|
|
1134
|
-
:type orient_type: typing.
|
|
1037
|
+
:type orient_type: typing.Any
|
|
1135
1038
|
:param orient_matrix: Matrix
|
|
1136
|
-
:type orient_matrix: typing.
|
|
1039
|
+
:type orient_matrix: typing.Any
|
|
1137
1040
|
:param orient_matrix_type: Matrix Orientation
|
|
1138
|
-
:type orient_matrix_type: typing.
|
|
1041
|
+
:type orient_matrix_type: typing.Any
|
|
1139
1042
|
:param constraint_axis: Constraint Axis
|
|
1140
|
-
:type constraint_axis: typing.
|
|
1043
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
1141
1044
|
:param mirror: Mirror Editing
|
|
1142
|
-
:type mirror: typing.
|
|
1045
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
1143
1046
|
:param use_proportional_edit: Proportional Editing
|
|
1144
|
-
:type use_proportional_edit: typing.
|
|
1047
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
1145
1048
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
1146
|
-
:type proportional_edit_falloff: typing.
|
|
1049
|
+
:type proportional_edit_falloff: typing.Any
|
|
1147
1050
|
:param proportional_size: Proportional Size
|
|
1148
|
-
:type proportional_size: typing.
|
|
1051
|
+
:type proportional_size: typing.Any
|
|
1149
1052
|
:param use_proportional_connected: Connected
|
|
1150
|
-
:type use_proportional_connected: typing.
|
|
1053
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
1151
1054
|
:param use_proportional_projected: Projected (2D)
|
|
1152
|
-
:type use_proportional_projected: typing.
|
|
1055
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
1153
1056
|
:param snap: Use Snapping Options
|
|
1154
|
-
:type snap: typing.
|
|
1057
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
1155
1058
|
:param snap_elements: Snap to Elements
|
|
1156
|
-
:type snap_elements: typing.
|
|
1059
|
+
:type snap_elements: typing.Any
|
|
1157
1060
|
:param use_snap_project: Project Individual Elements
|
|
1158
|
-
:type use_snap_project: typing.
|
|
1159
|
-
:param snap_target: Snap
|
|
1160
|
-
:type snap_target: typing.
|
|
1161
|
-
:param use_snap_self: Include Active
|
|
1162
|
-
:type use_snap_self: typing.
|
|
1163
|
-
:param use_snap_edit: Include Edit
|
|
1164
|
-
:type use_snap_edit: typing.
|
|
1165
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
1166
|
-
:type use_snap_nonedit: typing.
|
|
1167
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
1168
|
-
:type use_snap_selectable: typing.
|
|
1061
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
1062
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
1063
|
+
:type snap_target: typing.Any
|
|
1064
|
+
:param use_snap_self: Target: Include Active
|
|
1065
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
1066
|
+
:param use_snap_edit: Target: Include Edit
|
|
1067
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
1068
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
1069
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
1070
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
1071
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
1169
1072
|
:param snap_point: Point
|
|
1170
|
-
:type snap_point: typing.
|
|
1073
|
+
:type snap_point: typing.Any
|
|
1171
1074
|
:param snap_align: Align with Point Normal
|
|
1172
|
-
:type snap_align: typing.
|
|
1075
|
+
:type snap_align: typing.Union[bool, typing.Any]
|
|
1173
1076
|
:param snap_normal: Normal
|
|
1174
|
-
:type snap_normal: typing.
|
|
1077
|
+
:type snap_normal: typing.Any
|
|
1175
1078
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
1176
|
-
:type gpencil_strokes: typing.
|
|
1079
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
1177
1080
|
:param texture_space: Edit Texture Space, Edit object data texture space
|
|
1178
|
-
:type texture_space: typing.
|
|
1081
|
+
:type texture_space: typing.Union[bool, typing.Any]
|
|
1179
1082
|
:param remove_on_cancel: Remove on Cancel, Remove elements on cancel
|
|
1180
|
-
:type remove_on_cancel: typing.
|
|
1083
|
+
:type remove_on_cancel: typing.Union[bool, typing.Any]
|
|
1181
1084
|
:param use_duplicated_keyframes: Duplicated Keyframes, Transform duplicated keyframes
|
|
1182
|
-
:type use_duplicated_keyframes: typing.
|
|
1085
|
+
:type use_duplicated_keyframes: typing.Union[bool, typing.Any]
|
|
1183
1086
|
:param center_override: Center Override, Force using this center value (when set)
|
|
1184
|
-
:type center_override: typing.
|
|
1087
|
+
:type center_override: typing.Any
|
|
1185
1088
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
1186
|
-
:type release_confirm: typing.
|
|
1089
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
1187
1090
|
:param use_accurate: Accurate, Use accurate transformation
|
|
1188
|
-
:type use_accurate: typing.
|
|
1091
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
1189
1092
|
:param use_automerge_and_split: Auto Merge & Split, Forces the use of Auto Merge and Split
|
|
1190
|
-
:type use_automerge_and_split: typing.
|
|
1093
|
+
:type use_automerge_and_split: typing.Union[bool, typing.Any]
|
|
1191
1094
|
"""
|
|
1192
1095
|
|
|
1193
1096
|
...
|
|
1194
1097
|
|
|
1195
1098
|
def translate(
|
|
1196
|
-
override_context: typing.
|
|
1197
|
-
|
|
1198
|
-
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
orient_matrix: typing.Optional[typing.Any] = (
|
|
1205
|
-
(0.0, 0.0, 0.0),
|
|
1206
|
-
(0.0, 0.0, 0.0),
|
|
1207
|
-
(0.0, 0.0, 0.0),
|
|
1208
|
-
),
|
|
1209
|
-
orient_matrix_type: typing.Optional[typing.Union[str, int]] = "GLOBAL",
|
|
1210
|
-
constraint_axis: typing.Optional[typing.Union[typing.List[bool], typing.Any]] = (
|
|
1099
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1100
|
+
execution_context: typing.Union[str, int] = None,
|
|
1101
|
+
undo: bool = None,
|
|
1102
|
+
value: typing.Any = (0.0, 0.0, 0.0),
|
|
1103
|
+
orient_type: typing.Any = "GLOBAL",
|
|
1104
|
+
orient_matrix: typing.Any = ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)),
|
|
1105
|
+
orient_matrix_type: typing.Any = "GLOBAL",
|
|
1106
|
+
constraint_axis: typing.Union[typing.List[bool], typing.Any] = (
|
|
1211
1107
|
False,
|
|
1212
1108
|
False,
|
|
1213
1109
|
False,
|
|
1214
1110
|
),
|
|
1215
|
-
mirror: typing.
|
|
1216
|
-
use_proportional_edit: typing.
|
|
1217
|
-
proportional_edit_falloff: typing.
|
|
1218
|
-
proportional_size: typing.
|
|
1219
|
-
use_proportional_connected: typing.
|
|
1220
|
-
use_proportional_projected: typing.
|
|
1221
|
-
snap: typing.
|
|
1222
|
-
snap_elements: typing.
|
|
1223
|
-
use_snap_project: typing.
|
|
1224
|
-
snap_target: typing.
|
|
1225
|
-
use_snap_self: typing.
|
|
1226
|
-
use_snap_edit: typing.
|
|
1227
|
-
use_snap_nonedit: typing.
|
|
1228
|
-
use_snap_selectable: typing.
|
|
1229
|
-
snap_point: typing.
|
|
1230
|
-
snap_align: typing.
|
|
1231
|
-
snap_normal: typing.
|
|
1232
|
-
gpencil_strokes: typing.
|
|
1233
|
-
cursor_transform: typing.
|
|
1234
|
-
texture_space: typing.
|
|
1235
|
-
remove_on_cancel: typing.
|
|
1236
|
-
use_duplicated_keyframes: typing.
|
|
1237
|
-
view2d_edge_pan: typing.
|
|
1238
|
-
release_confirm: typing.
|
|
1239
|
-
use_accurate: typing.
|
|
1240
|
-
use_automerge_and_split: typing.
|
|
1111
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
1112
|
+
use_proportional_edit: typing.Union[bool, typing.Any] = False,
|
|
1113
|
+
proportional_edit_falloff: typing.Any = "SMOOTH",
|
|
1114
|
+
proportional_size: typing.Any = 1.0,
|
|
1115
|
+
use_proportional_connected: typing.Union[bool, typing.Any] = False,
|
|
1116
|
+
use_proportional_projected: typing.Union[bool, typing.Any] = False,
|
|
1117
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
1118
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
1119
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
1120
|
+
snap_target: typing.Any = "CLOSEST",
|
|
1121
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
1122
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
1123
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
1124
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
1125
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
1126
|
+
snap_align: typing.Union[bool, typing.Any] = False,
|
|
1127
|
+
snap_normal: typing.Any = (0.0, 0.0, 0.0),
|
|
1128
|
+
gpencil_strokes: typing.Union[bool, typing.Any] = False,
|
|
1129
|
+
cursor_transform: typing.Union[bool, typing.Any] = False,
|
|
1130
|
+
texture_space: typing.Union[bool, typing.Any] = False,
|
|
1131
|
+
remove_on_cancel: typing.Union[bool, typing.Any] = False,
|
|
1132
|
+
use_duplicated_keyframes: typing.Union[bool, typing.Any] = False,
|
|
1133
|
+
view2d_edge_pan: typing.Union[bool, typing.Any] = False,
|
|
1134
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
1135
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
1136
|
+
use_automerge_and_split: typing.Union[bool, typing.Any] = False,
|
|
1241
1137
|
):
|
|
1242
1138
|
"""Move selected items
|
|
1243
1139
|
|
|
1244
|
-
:type override_context: typing.
|
|
1245
|
-
:type execution_context: typing.
|
|
1246
|
-
:type undo:
|
|
1140
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1141
|
+
:type execution_context: typing.Union[str, int]
|
|
1142
|
+
:type undo: bool
|
|
1247
1143
|
:param value: Move
|
|
1248
|
-
:type value: typing.
|
|
1144
|
+
:type value: typing.Any
|
|
1249
1145
|
:param orient_type: Orientation, Transformation orientation
|
|
1250
|
-
:type orient_type: typing.
|
|
1146
|
+
:type orient_type: typing.Any
|
|
1251
1147
|
:param orient_matrix: Matrix
|
|
1252
|
-
:type orient_matrix: typing.
|
|
1148
|
+
:type orient_matrix: typing.Any
|
|
1253
1149
|
:param orient_matrix_type: Matrix Orientation
|
|
1254
|
-
:type orient_matrix_type: typing.
|
|
1150
|
+
:type orient_matrix_type: typing.Any
|
|
1255
1151
|
:param constraint_axis: Constraint Axis
|
|
1256
|
-
:type constraint_axis: typing.
|
|
1152
|
+
:type constraint_axis: typing.Union[typing.List[bool], typing.Any]
|
|
1257
1153
|
:param mirror: Mirror Editing
|
|
1258
|
-
:type mirror: typing.
|
|
1154
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
1259
1155
|
:param use_proportional_edit: Proportional Editing
|
|
1260
|
-
:type use_proportional_edit: typing.
|
|
1156
|
+
:type use_proportional_edit: typing.Union[bool, typing.Any]
|
|
1261
1157
|
:param proportional_edit_falloff: Proportional Falloff, Falloff type for proportional editing mode
|
|
1262
|
-
:type proportional_edit_falloff: typing.
|
|
1158
|
+
:type proportional_edit_falloff: typing.Any
|
|
1263
1159
|
:param proportional_size: Proportional Size
|
|
1264
|
-
:type proportional_size: typing.
|
|
1160
|
+
:type proportional_size: typing.Any
|
|
1265
1161
|
:param use_proportional_connected: Connected
|
|
1266
|
-
:type use_proportional_connected: typing.
|
|
1162
|
+
:type use_proportional_connected: typing.Union[bool, typing.Any]
|
|
1267
1163
|
:param use_proportional_projected: Projected (2D)
|
|
1268
|
-
:type use_proportional_projected: typing.
|
|
1164
|
+
:type use_proportional_projected: typing.Union[bool, typing.Any]
|
|
1269
1165
|
:param snap: Use Snapping Options
|
|
1270
|
-
:type snap: typing.
|
|
1166
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
1271
1167
|
:param snap_elements: Snap to Elements
|
|
1272
|
-
:type snap_elements: typing.
|
|
1168
|
+
:type snap_elements: typing.Any
|
|
1273
1169
|
:param use_snap_project: Project Individual Elements
|
|
1274
|
-
:type use_snap_project: typing.
|
|
1275
|
-
:param snap_target: Snap
|
|
1276
|
-
:type snap_target: typing.
|
|
1277
|
-
:param use_snap_self: Include Active
|
|
1278
|
-
:type use_snap_self: typing.
|
|
1279
|
-
:param use_snap_edit: Include Edit
|
|
1280
|
-
:type use_snap_edit: typing.
|
|
1281
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
1282
|
-
:type use_snap_nonedit: typing.
|
|
1283
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
1284
|
-
:type use_snap_selectable: typing.
|
|
1170
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
1171
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
1172
|
+
:type snap_target: typing.Any
|
|
1173
|
+
:param use_snap_self: Target: Include Active
|
|
1174
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
1175
|
+
:param use_snap_edit: Target: Include Edit
|
|
1176
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
1177
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
1178
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
1179
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
1180
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
1285
1181
|
:param snap_point: Point
|
|
1286
|
-
:type snap_point: typing.
|
|
1182
|
+
:type snap_point: typing.Any
|
|
1287
1183
|
:param snap_align: Align with Point Normal
|
|
1288
|
-
:type snap_align: typing.
|
|
1184
|
+
:type snap_align: typing.Union[bool, typing.Any]
|
|
1289
1185
|
:param snap_normal: Normal
|
|
1290
|
-
:type snap_normal: typing.
|
|
1186
|
+
:type snap_normal: typing.Any
|
|
1291
1187
|
:param gpencil_strokes: Edit Grease Pencil, Edit selected Grease Pencil strokes
|
|
1292
|
-
:type gpencil_strokes: typing.
|
|
1188
|
+
:type gpencil_strokes: typing.Union[bool, typing.Any]
|
|
1293
1189
|
:param cursor_transform: Transform Cursor
|
|
1294
|
-
:type cursor_transform: typing.
|
|
1190
|
+
:type cursor_transform: typing.Union[bool, typing.Any]
|
|
1295
1191
|
:param texture_space: Edit Texture Space, Edit object data texture space
|
|
1296
|
-
:type texture_space: typing.
|
|
1192
|
+
:type texture_space: typing.Union[bool, typing.Any]
|
|
1297
1193
|
:param remove_on_cancel: Remove on Cancel, Remove elements on cancel
|
|
1298
|
-
:type remove_on_cancel: typing.
|
|
1194
|
+
:type remove_on_cancel: typing.Union[bool, typing.Any]
|
|
1299
1195
|
:param use_duplicated_keyframes: Duplicated Keyframes, Transform duplicated keyframes
|
|
1300
|
-
:type use_duplicated_keyframes: typing.
|
|
1196
|
+
:type use_duplicated_keyframes: typing.Union[bool, typing.Any]
|
|
1301
1197
|
:param view2d_edge_pan: Edge Pan, Enable edge panning in 2D view
|
|
1302
|
-
:type view2d_edge_pan: typing.
|
|
1198
|
+
:type view2d_edge_pan: typing.Union[bool, typing.Any]
|
|
1303
1199
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
1304
|
-
:type release_confirm: typing.
|
|
1200
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
1305
1201
|
:param use_accurate: Accurate, Use accurate transformation
|
|
1306
|
-
:type use_accurate: typing.
|
|
1202
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
1307
1203
|
:param use_automerge_and_split: Auto Merge & Split, Forces the use of Auto Merge and Split
|
|
1308
|
-
:type use_automerge_and_split: typing.
|
|
1204
|
+
:type use_automerge_and_split: typing.Union[bool, typing.Any]
|
|
1309
1205
|
"""
|
|
1310
1206
|
|
|
1311
1207
|
...
|
|
1312
1208
|
|
|
1313
1209
|
def vert_crease(
|
|
1314
|
-
override_context: typing.
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
snap: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1322
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1323
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1210
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1211
|
+
execution_context: typing.Union[str, int] = None,
|
|
1212
|
+
undo: bool = None,
|
|
1213
|
+
value: typing.Any = 0.0,
|
|
1214
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
1215
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
1216
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
1324
1217
|
):
|
|
1325
1218
|
"""Change the crease of vertices
|
|
1326
1219
|
|
|
1327
|
-
:type override_context: typing.
|
|
1328
|
-
:type execution_context: typing.
|
|
1329
|
-
:type undo:
|
|
1220
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1221
|
+
:type execution_context: typing.Union[str, int]
|
|
1222
|
+
:type undo: bool
|
|
1330
1223
|
:param value: Factor
|
|
1331
|
-
:type value: typing.
|
|
1224
|
+
:type value: typing.Any
|
|
1332
1225
|
:param snap: Use Snapping Options
|
|
1333
|
-
:type snap: typing.
|
|
1226
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
1334
1227
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
1335
|
-
:type release_confirm: typing.
|
|
1228
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
1336
1229
|
:param use_accurate: Accurate, Use accurate transformation
|
|
1337
|
-
:type use_accurate: typing.
|
|
1230
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
1338
1231
|
"""
|
|
1339
1232
|
|
|
1340
1233
|
...
|
|
1341
1234
|
|
|
1342
1235
|
def vert_slide(
|
|
1343
|
-
override_context: typing.
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
correct_uv: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1364
|
-
release_confirm: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1365
|
-
use_accurate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1236
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1237
|
+
execution_context: typing.Union[str, int] = None,
|
|
1238
|
+
undo: bool = None,
|
|
1239
|
+
value: typing.Any = 0.0,
|
|
1240
|
+
use_even: typing.Union[bool, typing.Any] = False,
|
|
1241
|
+
flipped: typing.Union[bool, typing.Any] = False,
|
|
1242
|
+
use_clamp: typing.Union[bool, typing.Any] = True,
|
|
1243
|
+
mirror: typing.Union[bool, typing.Any] = False,
|
|
1244
|
+
snap: typing.Union[bool, typing.Any] = False,
|
|
1245
|
+
snap_elements: typing.Any = {'"INCREMENT"'},
|
|
1246
|
+
use_snap_project: typing.Union[bool, typing.Any] = False,
|
|
1247
|
+
snap_target: typing.Any = "CLOSEST",
|
|
1248
|
+
use_snap_self: typing.Union[bool, typing.Any] = True,
|
|
1249
|
+
use_snap_edit: typing.Union[bool, typing.Any] = True,
|
|
1250
|
+
use_snap_nonedit: typing.Union[bool, typing.Any] = True,
|
|
1251
|
+
use_snap_selectable: typing.Union[bool, typing.Any] = False,
|
|
1252
|
+
snap_point: typing.Any = (0.0, 0.0, 0.0),
|
|
1253
|
+
correct_uv: typing.Union[bool, typing.Any] = True,
|
|
1254
|
+
release_confirm: typing.Union[bool, typing.Any] = False,
|
|
1255
|
+
use_accurate: typing.Union[bool, typing.Any] = False,
|
|
1366
1256
|
):
|
|
1367
1257
|
"""Slide a vertex along a mesh
|
|
1368
1258
|
|
|
1369
|
-
:type override_context: typing.
|
|
1370
|
-
:type execution_context: typing.
|
|
1371
|
-
:type undo:
|
|
1259
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1260
|
+
:type execution_context: typing.Union[str, int]
|
|
1261
|
+
:type undo: bool
|
|
1372
1262
|
:param value: Factor
|
|
1373
|
-
:type value: typing.
|
|
1263
|
+
:type value: typing.Any
|
|
1374
1264
|
:param use_even: Even, Make the edge loop match the shape of the adjacent edge loop
|
|
1375
|
-
:type use_even: typing.
|
|
1265
|
+
:type use_even: typing.Union[bool, typing.Any]
|
|
1376
1266
|
:param flipped: Flipped, When Even mode is active, flips between the two adjacent edge loops
|
|
1377
|
-
:type flipped: typing.
|
|
1267
|
+
:type flipped: typing.Union[bool, typing.Any]
|
|
1378
1268
|
:param use_clamp: Clamp, Clamp within the edge extents
|
|
1379
|
-
:type use_clamp: typing.
|
|
1269
|
+
:type use_clamp: typing.Union[bool, typing.Any]
|
|
1380
1270
|
:param mirror: Mirror Editing
|
|
1381
|
-
:type mirror: typing.
|
|
1271
|
+
:type mirror: typing.Union[bool, typing.Any]
|
|
1382
1272
|
:param snap: Use Snapping Options
|
|
1383
|
-
:type snap: typing.
|
|
1273
|
+
:type snap: typing.Union[bool, typing.Any]
|
|
1384
1274
|
:param snap_elements: Snap to Elements
|
|
1385
|
-
:type snap_elements: typing.
|
|
1275
|
+
:type snap_elements: typing.Any
|
|
1386
1276
|
:param use_snap_project: Project Individual Elements
|
|
1387
|
-
:type use_snap_project: typing.
|
|
1388
|
-
:param snap_target: Snap
|
|
1389
|
-
:type snap_target: typing.
|
|
1390
|
-
:param use_snap_self: Include Active
|
|
1391
|
-
:type use_snap_self: typing.
|
|
1392
|
-
:param use_snap_edit: Include Edit
|
|
1393
|
-
:type use_snap_edit: typing.
|
|
1394
|
-
:param use_snap_nonedit: Include Non-Edited
|
|
1395
|
-
:type use_snap_nonedit: typing.
|
|
1396
|
-
:param use_snap_selectable: Exclude Non-Selectable
|
|
1397
|
-
:type use_snap_selectable: typing.
|
|
1277
|
+
:type use_snap_project: typing.Union[bool, typing.Any]
|
|
1278
|
+
:param snap_target: Snap Base, Point on source that will snap to target
|
|
1279
|
+
:type snap_target: typing.Any
|
|
1280
|
+
:param use_snap_self: Target: Include Active
|
|
1281
|
+
:type use_snap_self: typing.Union[bool, typing.Any]
|
|
1282
|
+
:param use_snap_edit: Target: Include Edit
|
|
1283
|
+
:type use_snap_edit: typing.Union[bool, typing.Any]
|
|
1284
|
+
:param use_snap_nonedit: Target: Include Non-Edited
|
|
1285
|
+
:type use_snap_nonedit: typing.Union[bool, typing.Any]
|
|
1286
|
+
:param use_snap_selectable: Target: Exclude Non-Selectable
|
|
1287
|
+
:type use_snap_selectable: typing.Union[bool, typing.Any]
|
|
1398
1288
|
:param snap_point: Point
|
|
1399
|
-
:type snap_point: typing.
|
|
1289
|
+
:type snap_point: typing.Any
|
|
1400
1290
|
:param correct_uv: Correct UVs, Correct UV coordinates when transforming
|
|
1401
|
-
:type correct_uv: typing.
|
|
1291
|
+
:type correct_uv: typing.Union[bool, typing.Any]
|
|
1402
1292
|
:param release_confirm: Confirm on Release, Always confirm operation when releasing button
|
|
1403
|
-
:type release_confirm: typing.
|
|
1293
|
+
:type release_confirm: typing.Union[bool, typing.Any]
|
|
1404
1294
|
:param use_accurate: Accurate, Use accurate transformation
|
|
1405
|
-
:type use_accurate: typing.
|
|
1295
|
+
:type use_accurate: typing.Union[bool, typing.Any]
|
|
1406
1296
|
"""
|
|
1407
1297
|
|
|
1408
1298
|
...
|
|
1409
1299
|
|
|
1410
1300
|
def vertex_random(
|
|
1411
|
-
override_context: typing.
|
|
1412
|
-
|
|
1413
|
-
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
normal: typing.Optional[typing.Any] = 0.0,
|
|
1420
|
-
seed: typing.Optional[typing.Any] = 0,
|
|
1421
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1301
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1302
|
+
execution_context: typing.Union[str, int] = None,
|
|
1303
|
+
undo: bool = None,
|
|
1304
|
+
offset: typing.Any = 0.0,
|
|
1305
|
+
uniform: typing.Any = 0.0,
|
|
1306
|
+
normal: typing.Any = 0.0,
|
|
1307
|
+
seed: typing.Any = 0,
|
|
1308
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
1422
1309
|
):
|
|
1423
1310
|
"""Randomize vertices
|
|
1424
1311
|
|
|
1425
|
-
:type override_context: typing.
|
|
1426
|
-
:type execution_context: typing.
|
|
1427
|
-
:type undo:
|
|
1312
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1313
|
+
:type execution_context: typing.Union[str, int]
|
|
1314
|
+
:type undo: bool
|
|
1428
1315
|
:param offset: Amount, Distance to offset
|
|
1429
|
-
:type offset: typing.
|
|
1316
|
+
:type offset: typing.Any
|
|
1430
1317
|
:param uniform: Uniform, Increase for uniform offset distance
|
|
1431
|
-
:type uniform: typing.
|
|
1318
|
+
:type uniform: typing.Any
|
|
1432
1319
|
:param normal: Normal, Align offset direction to normals
|
|
1433
|
-
:type normal: typing.
|
|
1320
|
+
:type normal: typing.Any
|
|
1434
1321
|
:param seed: Random Seed, Seed for the random number generator
|
|
1435
|
-
:type seed: typing.
|
|
1322
|
+
:type seed: typing.Any
|
|
1436
1323
|
:param wait_for_input: Wait for Input
|
|
1437
|
-
:type wait_for_input: typing.
|
|
1324
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1438
1325
|
"""
|
|
1439
1326
|
|
|
1440
1327
|
...
|
|
1441
1328
|
|
|
1442
1329
|
def vertex_warp(
|
|
1443
|
-
override_context: typing.
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
min: typing.Optional[typing.Any] = -1.0,
|
|
1452
|
-
max: typing.Optional[typing.Any] = 1.0,
|
|
1453
|
-
viewmat: typing.Optional[typing.Any] = (
|
|
1330
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1331
|
+
execution_context: typing.Union[str, int] = None,
|
|
1332
|
+
undo: bool = None,
|
|
1333
|
+
warp_angle: typing.Any = 6.28319,
|
|
1334
|
+
offset_angle: typing.Any = 0.0,
|
|
1335
|
+
min: typing.Any = -1.0,
|
|
1336
|
+
max: typing.Any = 1.0,
|
|
1337
|
+
viewmat: typing.Any = (
|
|
1454
1338
|
(0.0, 0.0, 0.0, 0.0),
|
|
1455
1339
|
(0.0, 0.0, 0.0, 0.0),
|
|
1456
1340
|
(0.0, 0.0, 0.0, 0.0),
|
|
1457
1341
|
(0.0, 0.0, 0.0, 0.0),
|
|
1458
1342
|
),
|
|
1459
|
-
center: typing.
|
|
1343
|
+
center: typing.Any = (0.0, 0.0, 0.0),
|
|
1460
1344
|
):
|
|
1461
1345
|
"""Warp vertices around the cursor
|
|
1462
1346
|
|
|
1463
|
-
:type override_context: typing.
|
|
1464
|
-
:type execution_context: typing.
|
|
1465
|
-
:type undo:
|
|
1347
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1348
|
+
:type execution_context: typing.Union[str, int]
|
|
1349
|
+
:type undo: bool
|
|
1466
1350
|
:param warp_angle: Warp Angle, Amount to warp about the cursor
|
|
1467
|
-
:type warp_angle: typing.
|
|
1351
|
+
:type warp_angle: typing.Any
|
|
1468
1352
|
:param offset_angle: Offset Angle, Angle to use as the basis for warping
|
|
1469
|
-
:type offset_angle: typing.
|
|
1353
|
+
:type offset_angle: typing.Any
|
|
1470
1354
|
:param min: Min
|
|
1471
|
-
:type min: typing.
|
|
1355
|
+
:type min: typing.Any
|
|
1472
1356
|
:param max: Max
|
|
1473
|
-
:type max: typing.
|
|
1357
|
+
:type max: typing.Any
|
|
1474
1358
|
:param viewmat: Matrix
|
|
1475
|
-
:type viewmat: typing.
|
|
1359
|
+
:type viewmat: typing.Any
|
|
1476
1360
|
:param center: Center
|
|
1477
|
-
:type center: typing.
|
|
1361
|
+
:type center: typing.Any
|
|
1478
1362
|
"""
|
|
1479
1363
|
|
|
1480
1364
|
...
|