fake-bpy-module 20240321__py3-none-any.whl → 20240322__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +253 -247
- bmesh/utils/__init__.pyi +54 -54
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +330 -428
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86353 -87337
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -1
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/view3d/__init__.pyi
CHANGED
|
@@ -4,196 +4,173 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bone_select_menu(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
15
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
16
|
-
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
name: typing.Union[str, int, typing.Any] = "",
|
|
11
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
12
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
13
|
+
toggle: typing.Union[bool, typing.Any] = False,
|
|
17
14
|
):
|
|
18
15
|
"""Menu bone selection
|
|
19
16
|
|
|
20
|
-
:type override_context: typing.
|
|
21
|
-
:type execution_context: typing.
|
|
22
|
-
:type undo:
|
|
17
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
18
|
+
:type execution_context: typing.Union[str, int]
|
|
19
|
+
:type undo: bool
|
|
23
20
|
:param name: Bone Name
|
|
24
|
-
:type name: typing.
|
|
21
|
+
:type name: typing.Union[str, int, typing.Any]
|
|
25
22
|
:param extend: Extend
|
|
26
|
-
:type extend: typing.
|
|
23
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
27
24
|
:param deselect: Deselect
|
|
28
|
-
:type deselect: typing.
|
|
25
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
29
26
|
:param toggle: Toggle
|
|
30
|
-
:type toggle: typing.
|
|
27
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
31
28
|
"""
|
|
32
29
|
|
|
33
30
|
...
|
|
34
31
|
|
|
35
32
|
def camera_background_image_add(
|
|
36
|
-
override_context: typing.
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
40
|
-
undo: typing.Optional[bool] = None,
|
|
41
|
-
*,
|
|
33
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
34
|
+
execution_context: typing.Union[str, int] = None,
|
|
35
|
+
undo: bool = None,
|
|
42
36
|
filepath: typing.Union[str, typing.Any] = "",
|
|
43
|
-
relative_path: typing.
|
|
37
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
44
38
|
name: typing.Union[str, typing.Any] = "",
|
|
45
|
-
session_uid: typing.
|
|
39
|
+
session_uid: typing.Any = 0,
|
|
46
40
|
):
|
|
47
41
|
"""Add a new background image to the active camera
|
|
48
42
|
|
|
49
|
-
:type override_context: typing.
|
|
50
|
-
:type execution_context: typing.
|
|
51
|
-
:type undo:
|
|
43
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
|
+
:type undo: bool
|
|
52
46
|
:param filepath: Filepath, Path to image file
|
|
53
47
|
:type filepath: typing.Union[str, typing.Any]
|
|
54
48
|
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
55
|
-
:type relative_path: typing.
|
|
49
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
56
50
|
:param name: Name, Name of the data-block to use by the operator
|
|
57
51
|
:type name: typing.Union[str, typing.Any]
|
|
58
52
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
59
|
-
:type session_uid: typing.
|
|
53
|
+
:type session_uid: typing.Any
|
|
60
54
|
"""
|
|
61
55
|
|
|
62
56
|
...
|
|
63
57
|
|
|
64
58
|
def camera_background_image_remove(
|
|
65
|
-
override_context: typing.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
undo: typing.Optional[bool] = None,
|
|
70
|
-
*,
|
|
71
|
-
index: typing.Optional[typing.Any] = 0,
|
|
59
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
60
|
+
execution_context: typing.Union[str, int] = None,
|
|
61
|
+
undo: bool = None,
|
|
62
|
+
index: typing.Any = 0,
|
|
72
63
|
):
|
|
73
64
|
"""Remove a background image from the camera
|
|
74
65
|
|
|
75
|
-
:type override_context: typing.
|
|
76
|
-
:type execution_context: typing.
|
|
77
|
-
:type undo:
|
|
66
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
67
|
+
:type execution_context: typing.Union[str, int]
|
|
68
|
+
:type undo: bool
|
|
78
69
|
:param index: Index, Background image index to remove
|
|
79
|
-
:type index: typing.
|
|
70
|
+
:type index: typing.Any
|
|
80
71
|
"""
|
|
81
72
|
|
|
82
73
|
...
|
|
83
74
|
|
|
84
75
|
def camera_to_view(
|
|
85
|
-
override_context: typing.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
89
|
-
undo: typing.Optional[bool] = None,
|
|
76
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
+
execution_context: typing.Union[str, int] = None,
|
|
78
|
+
undo: bool = None,
|
|
90
79
|
):
|
|
91
80
|
"""Set camera view to active view
|
|
92
81
|
|
|
93
|
-
:type override_context: typing.
|
|
94
|
-
:type execution_context: typing.
|
|
95
|
-
:type undo:
|
|
82
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
83
|
+
:type execution_context: typing.Union[str, int]
|
|
84
|
+
:type undo: bool
|
|
96
85
|
"""
|
|
97
86
|
|
|
98
87
|
...
|
|
99
88
|
|
|
100
89
|
def camera_to_view_selected(
|
|
101
|
-
override_context: typing.
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
105
|
-
undo: typing.Optional[bool] = None,
|
|
90
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
91
|
+
execution_context: typing.Union[str, int] = None,
|
|
92
|
+
undo: bool = None,
|
|
106
93
|
):
|
|
107
94
|
"""Move the camera so selected objects are framed
|
|
108
95
|
|
|
109
|
-
:type override_context: typing.
|
|
110
|
-
:type execution_context: typing.
|
|
111
|
-
:type undo:
|
|
96
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
97
|
+
:type execution_context: typing.Union[str, int]
|
|
98
|
+
:type undo: bool
|
|
112
99
|
"""
|
|
113
100
|
|
|
114
101
|
...
|
|
115
102
|
|
|
116
103
|
def clear_render_border(
|
|
117
|
-
override_context: typing.
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
121
|
-
undo: typing.Optional[bool] = None,
|
|
104
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
105
|
+
execution_context: typing.Union[str, int] = None,
|
|
106
|
+
undo: bool = None,
|
|
122
107
|
):
|
|
123
108
|
"""Clear the boundaries of the border render and disable border render
|
|
124
109
|
|
|
125
|
-
:type override_context: typing.
|
|
126
|
-
:type execution_context: typing.
|
|
127
|
-
:type undo:
|
|
110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
|
+
:type undo: bool
|
|
128
113
|
"""
|
|
129
114
|
|
|
130
115
|
...
|
|
131
116
|
|
|
132
117
|
def clip_border(
|
|
133
|
-
override_context: typing.
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
142
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
143
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
118
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
119
|
+
execution_context: typing.Union[str, int] = None,
|
|
120
|
+
undo: bool = None,
|
|
121
|
+
xmin: typing.Any = 0,
|
|
122
|
+
xmax: typing.Any = 0,
|
|
123
|
+
ymin: typing.Any = 0,
|
|
124
|
+
ymax: typing.Any = 0,
|
|
125
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
144
126
|
):
|
|
145
127
|
"""Set the view clipping region
|
|
146
128
|
|
|
147
|
-
:type override_context: typing.
|
|
148
|
-
:type execution_context: typing.
|
|
149
|
-
:type undo:
|
|
129
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
130
|
+
:type execution_context: typing.Union[str, int]
|
|
131
|
+
:type undo: bool
|
|
150
132
|
:param xmin: X Min
|
|
151
|
-
:type xmin: typing.
|
|
133
|
+
:type xmin: typing.Any
|
|
152
134
|
:param xmax: X Max
|
|
153
|
-
:type xmax: typing.
|
|
135
|
+
:type xmax: typing.Any
|
|
154
136
|
:param ymin: Y Min
|
|
155
|
-
:type ymin: typing.
|
|
137
|
+
:type ymin: typing.Any
|
|
156
138
|
:param ymax: Y Max
|
|
157
|
-
:type ymax: typing.
|
|
139
|
+
:type ymax: typing.Any
|
|
158
140
|
:param wait_for_input: Wait for Input
|
|
159
|
-
:type wait_for_input: typing.
|
|
141
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
160
142
|
"""
|
|
161
143
|
|
|
162
144
|
...
|
|
163
145
|
|
|
164
146
|
def copybuffer(
|
|
165
|
-
override_context: typing.
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
169
|
-
undo: typing.Optional[bool] = None,
|
|
147
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
148
|
+
execution_context: typing.Union[str, int] = None,
|
|
149
|
+
undo: bool = None,
|
|
170
150
|
):
|
|
171
151
|
"""Copy the selected objects to the internal clipboard
|
|
172
152
|
|
|
173
|
-
:type override_context: typing.
|
|
174
|
-
:type execution_context: typing.
|
|
175
|
-
:type undo:
|
|
153
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
154
|
+
:type execution_context: typing.Union[str, int]
|
|
155
|
+
:type undo: bool
|
|
176
156
|
"""
|
|
177
157
|
|
|
178
158
|
...
|
|
179
159
|
|
|
180
160
|
def cursor3d(
|
|
181
|
-
override_context: typing.
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
*,
|
|
187
|
-
use_depth: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
188
|
-
orientation: typing.Optional[typing.Any] = "VIEW",
|
|
161
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
162
|
+
execution_context: typing.Union[str, int] = None,
|
|
163
|
+
undo: bool = None,
|
|
164
|
+
use_depth: typing.Union[bool, typing.Any] = True,
|
|
165
|
+
orientation: typing.Any = "VIEW",
|
|
189
166
|
):
|
|
190
167
|
"""Set the location of the 3D cursor
|
|
191
168
|
|
|
192
|
-
:type override_context: typing.
|
|
193
|
-
:type execution_context: typing.
|
|
194
|
-
:type undo:
|
|
169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
|
+
:type undo: bool
|
|
195
172
|
:param use_depth: Surface Project, Project onto the surface
|
|
196
|
-
:type use_depth: typing.
|
|
173
|
+
:type use_depth: typing.Union[bool, typing.Any]
|
|
197
174
|
:param orientation: Orientation, Preset viewpoint to use
|
|
198
175
|
|
|
199
176
|
NONE
|
|
@@ -207,168 +184,148 @@ def cursor3d(
|
|
|
207
184
|
|
|
208
185
|
GEOM
|
|
209
186
|
Geometry -- Match the surface normal.
|
|
210
|
-
:type orientation: typing.
|
|
187
|
+
:type orientation: typing.Any
|
|
211
188
|
"""
|
|
212
189
|
|
|
213
190
|
...
|
|
214
191
|
|
|
215
192
|
def dolly(
|
|
216
|
-
override_context: typing.
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
my: typing.Optional[typing.Any] = 0,
|
|
224
|
-
delta: typing.Optional[typing.Any] = 0,
|
|
225
|
-
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
193
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
194
|
+
execution_context: typing.Union[str, int] = None,
|
|
195
|
+
undo: bool = None,
|
|
196
|
+
mx: typing.Any = 0,
|
|
197
|
+
my: typing.Any = 0,
|
|
198
|
+
delta: typing.Any = 0,
|
|
199
|
+
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
226
200
|
):
|
|
227
201
|
"""Dolly in/out in the view
|
|
228
202
|
|
|
229
|
-
:type override_context: typing.
|
|
230
|
-
:type execution_context: typing.
|
|
231
|
-
:type undo:
|
|
203
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
204
|
+
:type execution_context: typing.Union[str, int]
|
|
205
|
+
:type undo: bool
|
|
232
206
|
:param mx: Region Position X
|
|
233
|
-
:type mx: typing.
|
|
207
|
+
:type mx: typing.Any
|
|
234
208
|
:param my: Region Position Y
|
|
235
|
-
:type my: typing.
|
|
209
|
+
:type my: typing.Any
|
|
236
210
|
:param delta: Delta
|
|
237
|
-
:type delta: typing.
|
|
211
|
+
:type delta: typing.Any
|
|
238
212
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
239
|
-
:type use_cursor_init: typing.
|
|
213
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
240
214
|
"""
|
|
241
215
|
|
|
242
216
|
...
|
|
243
217
|
|
|
244
218
|
def drop_world(
|
|
245
|
-
override_context: typing.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
249
|
-
undo: typing.Optional[bool] = None,
|
|
250
|
-
*,
|
|
219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
|
+
undo: bool = None,
|
|
251
222
|
name: typing.Union[str, typing.Any] = "",
|
|
252
|
-
session_uid: typing.
|
|
223
|
+
session_uid: typing.Any = 0,
|
|
253
224
|
):
|
|
254
225
|
"""Drop a world into the scene
|
|
255
226
|
|
|
256
|
-
:type override_context: typing.
|
|
257
|
-
:type execution_context: typing.
|
|
258
|
-
:type undo:
|
|
227
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
+
:type execution_context: typing.Union[str, int]
|
|
229
|
+
:type undo: bool
|
|
259
230
|
:param name: Name, Name of the data-block to use by the operator
|
|
260
231
|
:type name: typing.Union[str, typing.Any]
|
|
261
232
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
262
|
-
:type session_uid: typing.
|
|
233
|
+
:type session_uid: typing.Any
|
|
263
234
|
"""
|
|
264
235
|
|
|
265
236
|
...
|
|
266
237
|
|
|
267
238
|
def edit_mesh_extrude_individual_move(
|
|
268
|
-
override_context: typing.
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
272
|
-
undo: typing.Optional[bool] = None,
|
|
239
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
240
|
+
execution_context: typing.Union[str, int] = None,
|
|
241
|
+
undo: bool = None,
|
|
273
242
|
):
|
|
274
243
|
"""Extrude each individual face separately along local normals
|
|
275
244
|
|
|
276
|
-
:type override_context: typing.
|
|
277
|
-
:type execution_context: typing.
|
|
278
|
-
:type undo:
|
|
245
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
246
|
+
:type execution_context: typing.Union[str, int]
|
|
247
|
+
:type undo: bool
|
|
279
248
|
"""
|
|
280
249
|
|
|
281
250
|
...
|
|
282
251
|
|
|
283
252
|
def edit_mesh_extrude_manifold_normal(
|
|
284
|
-
override_context: typing.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
288
|
-
undo: typing.Optional[bool] = None,
|
|
253
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
254
|
+
execution_context: typing.Union[str, int] = None,
|
|
255
|
+
undo: bool = None,
|
|
289
256
|
):
|
|
290
257
|
"""Extrude manifold region along normals
|
|
291
258
|
|
|
292
|
-
:type override_context: typing.
|
|
293
|
-
:type execution_context: typing.
|
|
294
|
-
:type undo:
|
|
259
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
260
|
+
:type execution_context: typing.Union[str, int]
|
|
261
|
+
:type undo: bool
|
|
295
262
|
"""
|
|
296
263
|
|
|
297
264
|
...
|
|
298
265
|
|
|
299
266
|
def edit_mesh_extrude_move_normal(
|
|
300
|
-
override_context: typing.
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
undo: typing.Optional[bool] = None,
|
|
305
|
-
*,
|
|
306
|
-
dissolve_and_intersect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
267
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
268
|
+
execution_context: typing.Union[str, int] = None,
|
|
269
|
+
undo: bool = None,
|
|
270
|
+
dissolve_and_intersect: typing.Union[bool, typing.Any] = False,
|
|
307
271
|
):
|
|
308
272
|
"""Extrude region together along the average normal
|
|
309
273
|
|
|
310
|
-
:type override_context: typing.
|
|
311
|
-
:type execution_context: typing.
|
|
312
|
-
:type undo:
|
|
274
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
275
|
+
:type execution_context: typing.Union[str, int]
|
|
276
|
+
:type undo: bool
|
|
313
277
|
:param dissolve_and_intersect: dissolve_and_intersect, Dissolves adjacent faces and intersects new geometry
|
|
314
|
-
:type dissolve_and_intersect: typing.
|
|
278
|
+
:type dissolve_and_intersect: typing.Union[bool, typing.Any]
|
|
315
279
|
"""
|
|
316
280
|
|
|
317
281
|
...
|
|
318
282
|
|
|
319
283
|
def edit_mesh_extrude_move_shrink_fatten(
|
|
320
|
-
override_context: typing.
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
324
|
-
undo: typing.Optional[bool] = None,
|
|
284
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
285
|
+
execution_context: typing.Union[str, int] = None,
|
|
286
|
+
undo: bool = None,
|
|
325
287
|
):
|
|
326
288
|
"""Extrude region together along local normals
|
|
327
289
|
|
|
328
|
-
:type override_context: typing.
|
|
329
|
-
:type execution_context: typing.
|
|
330
|
-
:type undo:
|
|
290
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
291
|
+
:type execution_context: typing.Union[str, int]
|
|
292
|
+
:type undo: bool
|
|
331
293
|
"""
|
|
332
294
|
|
|
333
295
|
...
|
|
334
296
|
|
|
335
297
|
def fly(
|
|
336
|
-
override_context: typing.
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
340
|
-
undo: typing.Optional[bool] = None,
|
|
298
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
299
|
+
execution_context: typing.Union[str, int] = None,
|
|
300
|
+
undo: bool = None,
|
|
341
301
|
):
|
|
342
302
|
"""Interactively fly around the scene
|
|
343
303
|
|
|
344
|
-
:type override_context: typing.
|
|
345
|
-
:type execution_context: typing.
|
|
346
|
-
:type undo:
|
|
304
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
|
+
:type undo: bool
|
|
347
307
|
"""
|
|
348
308
|
|
|
349
309
|
...
|
|
350
310
|
|
|
351
311
|
def interactive_add(
|
|
352
|
-
override_context: typing.
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
plane_aspect_base: typing.Optional[typing.Any] = "FREE",
|
|
362
|
-
plane_aspect_depth: typing.Optional[typing.Any] = "FREE",
|
|
363
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
312
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
|
+
undo: bool = None,
|
|
315
|
+
primitive_type: typing.Any = "CUBE",
|
|
316
|
+
plane_origin_base: typing.Any = "EDGE",
|
|
317
|
+
plane_origin_depth: typing.Any = "EDGE",
|
|
318
|
+
plane_aspect_base: typing.Any = "FREE",
|
|
319
|
+
plane_aspect_depth: typing.Any = "FREE",
|
|
320
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
364
321
|
):
|
|
365
322
|
"""Interactively add an object
|
|
366
323
|
|
|
367
|
-
:type override_context: typing.
|
|
368
|
-
:type execution_context: typing.
|
|
369
|
-
:type undo:
|
|
324
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
325
|
+
:type execution_context: typing.Union[str, int]
|
|
326
|
+
:type undo: bool
|
|
370
327
|
:param primitive_type: Primitive
|
|
371
|
-
:type primitive_type: typing.
|
|
328
|
+
:type primitive_type: typing.Any
|
|
372
329
|
:param plane_origin_base: Origin, The initial position for placement
|
|
373
330
|
|
|
374
331
|
EDGE
|
|
@@ -376,7 +333,7 @@ def interactive_add(
|
|
|
376
333
|
|
|
377
334
|
CENTER
|
|
378
335
|
Center -- Start placing the center position.
|
|
379
|
-
:type plane_origin_base: typing.
|
|
336
|
+
:type plane_origin_base: typing.Any
|
|
380
337
|
:param plane_origin_depth: Origin, The initial position for placement
|
|
381
338
|
|
|
382
339
|
EDGE
|
|
@@ -384,7 +341,7 @@ def interactive_add(
|
|
|
384
341
|
|
|
385
342
|
CENTER
|
|
386
343
|
Center -- Start placing the center position.
|
|
387
|
-
:type plane_origin_depth: typing.
|
|
344
|
+
:type plane_origin_depth: typing.Any
|
|
388
345
|
:param plane_aspect_base: Aspect, The initial aspect setting
|
|
389
346
|
|
|
390
347
|
FREE
|
|
@@ -392,7 +349,7 @@ def interactive_add(
|
|
|
392
349
|
|
|
393
350
|
FIXED
|
|
394
351
|
Fixed -- Use a fixed 1:1 aspect.
|
|
395
|
-
:type plane_aspect_base: typing.
|
|
352
|
+
:type plane_aspect_base: typing.Any
|
|
396
353
|
:param plane_aspect_depth: Aspect, The initial aspect setting
|
|
397
354
|
|
|
398
355
|
FREE
|
|
@@ -400,361 +357,320 @@ def interactive_add(
|
|
|
400
357
|
|
|
401
358
|
FIXED
|
|
402
359
|
Fixed -- Use a fixed 1:1 aspect.
|
|
403
|
-
:type plane_aspect_depth: typing.
|
|
360
|
+
:type plane_aspect_depth: typing.Any
|
|
404
361
|
:param wait_for_input: Wait for Input
|
|
405
|
-
:type wait_for_input: typing.
|
|
362
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
406
363
|
"""
|
|
407
364
|
|
|
408
365
|
...
|
|
409
366
|
|
|
410
367
|
def localview(
|
|
411
|
-
override_context: typing.
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
undo: typing.Optional[bool] = None,
|
|
416
|
-
*,
|
|
417
|
-
frame_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
368
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
369
|
+
execution_context: typing.Union[str, int] = None,
|
|
370
|
+
undo: bool = None,
|
|
371
|
+
frame_selected: typing.Union[bool, typing.Any] = True,
|
|
418
372
|
):
|
|
419
373
|
"""Toggle display of selected object(s) separately and centered in view
|
|
420
374
|
|
|
421
|
-
:type override_context: typing.
|
|
422
|
-
:type execution_context: typing.
|
|
423
|
-
:type undo:
|
|
375
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
376
|
+
:type execution_context: typing.Union[str, int]
|
|
377
|
+
:type undo: bool
|
|
424
378
|
:param frame_selected: Frame Selected, Move the view to frame the selected objects
|
|
425
|
-
:type frame_selected: typing.
|
|
379
|
+
:type frame_selected: typing.Union[bool, typing.Any]
|
|
426
380
|
"""
|
|
427
381
|
|
|
428
382
|
...
|
|
429
383
|
|
|
430
384
|
def localview_remove_from(
|
|
431
|
-
override_context: typing.
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
435
|
-
undo: typing.Optional[bool] = None,
|
|
385
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
386
|
+
execution_context: typing.Union[str, int] = None,
|
|
387
|
+
undo: bool = None,
|
|
436
388
|
):
|
|
437
389
|
"""Move selected objects out of local view
|
|
438
390
|
|
|
439
|
-
:type override_context: typing.
|
|
440
|
-
:type execution_context: typing.
|
|
441
|
-
:type undo:
|
|
391
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
392
|
+
:type execution_context: typing.Union[str, int]
|
|
393
|
+
:type undo: bool
|
|
442
394
|
"""
|
|
443
395
|
|
|
444
396
|
...
|
|
445
397
|
|
|
446
398
|
def move(
|
|
447
|
-
override_context: typing.
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
undo: typing.Optional[bool] = None,
|
|
452
|
-
*,
|
|
453
|
-
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
399
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
400
|
+
execution_context: typing.Union[str, int] = None,
|
|
401
|
+
undo: bool = None,
|
|
402
|
+
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
454
403
|
):
|
|
455
404
|
"""Move the view
|
|
456
405
|
|
|
457
|
-
:type override_context: typing.
|
|
458
|
-
:type execution_context: typing.
|
|
459
|
-
:type undo:
|
|
406
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
407
|
+
:type execution_context: typing.Union[str, int]
|
|
408
|
+
:type undo: bool
|
|
460
409
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
461
|
-
:type use_cursor_init: typing.
|
|
410
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
462
411
|
"""
|
|
463
412
|
|
|
464
413
|
...
|
|
465
414
|
|
|
466
415
|
def navigate(
|
|
467
|
-
override_context: typing.
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
471
|
-
undo: typing.Optional[bool] = None,
|
|
416
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
417
|
+
execution_context: typing.Union[str, int] = None,
|
|
418
|
+
undo: bool = None,
|
|
472
419
|
):
|
|
473
420
|
"""Interactively navigate around the scene (uses the mode (walk/fly) preference)
|
|
474
421
|
|
|
475
|
-
:type override_context: typing.
|
|
476
|
-
:type execution_context: typing.
|
|
477
|
-
:type undo:
|
|
422
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
|
+
:type undo: bool
|
|
478
425
|
"""
|
|
479
426
|
|
|
480
427
|
...
|
|
481
428
|
|
|
482
429
|
def ndof_all(
|
|
483
|
-
override_context: typing.
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
487
|
-
undo: typing.Optional[bool] = None,
|
|
430
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
431
|
+
execution_context: typing.Union[str, int] = None,
|
|
432
|
+
undo: bool = None,
|
|
488
433
|
):
|
|
489
434
|
"""Pan and rotate the view with the 3D mouse
|
|
490
435
|
|
|
491
|
-
:type override_context: typing.
|
|
492
|
-
:type execution_context: typing.
|
|
493
|
-
:type undo:
|
|
436
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
437
|
+
:type execution_context: typing.Union[str, int]
|
|
438
|
+
:type undo: bool
|
|
494
439
|
"""
|
|
495
440
|
|
|
496
441
|
...
|
|
497
442
|
|
|
498
443
|
def ndof_orbit(
|
|
499
|
-
override_context: typing.
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
503
|
-
undo: typing.Optional[bool] = None,
|
|
444
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
445
|
+
execution_context: typing.Union[str, int] = None,
|
|
446
|
+
undo: bool = None,
|
|
504
447
|
):
|
|
505
448
|
"""Orbit the view using the 3D mouse
|
|
506
449
|
|
|
507
|
-
:type override_context: typing.
|
|
508
|
-
:type execution_context: typing.
|
|
509
|
-
:type undo:
|
|
450
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
451
|
+
:type execution_context: typing.Union[str, int]
|
|
452
|
+
:type undo: bool
|
|
510
453
|
"""
|
|
511
454
|
|
|
512
455
|
...
|
|
513
456
|
|
|
514
457
|
def ndof_orbit_zoom(
|
|
515
|
-
override_context: typing.
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
519
|
-
undo: typing.Optional[bool] = None,
|
|
458
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
459
|
+
execution_context: typing.Union[str, int] = None,
|
|
460
|
+
undo: bool = None,
|
|
520
461
|
):
|
|
521
462
|
"""Orbit and zoom the view using the 3D mouse
|
|
522
463
|
|
|
523
|
-
:type override_context: typing.
|
|
524
|
-
:type execution_context: typing.
|
|
525
|
-
:type undo:
|
|
464
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
465
|
+
:type execution_context: typing.Union[str, int]
|
|
466
|
+
:type undo: bool
|
|
526
467
|
"""
|
|
527
468
|
|
|
528
469
|
...
|
|
529
470
|
|
|
530
471
|
def ndof_pan(
|
|
531
|
-
override_context: typing.
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
535
|
-
undo: typing.Optional[bool] = None,
|
|
472
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
473
|
+
execution_context: typing.Union[str, int] = None,
|
|
474
|
+
undo: bool = None,
|
|
536
475
|
):
|
|
537
476
|
"""Pan the view with the 3D mouse
|
|
538
477
|
|
|
539
|
-
:type override_context: typing.
|
|
540
|
-
:type execution_context: typing.
|
|
541
|
-
:type undo:
|
|
478
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
479
|
+
:type execution_context: typing.Union[str, int]
|
|
480
|
+
:type undo: bool
|
|
542
481
|
"""
|
|
543
482
|
|
|
544
483
|
...
|
|
545
484
|
|
|
546
485
|
def object_as_camera(
|
|
547
|
-
override_context: typing.
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
551
|
-
undo: typing.Optional[bool] = None,
|
|
486
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
487
|
+
execution_context: typing.Union[str, int] = None,
|
|
488
|
+
undo: bool = None,
|
|
552
489
|
):
|
|
553
490
|
"""Set the active object as the active camera for this view or scene
|
|
554
491
|
|
|
555
|
-
:type override_context: typing.
|
|
556
|
-
:type execution_context: typing.
|
|
557
|
-
:type undo:
|
|
492
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
493
|
+
:type execution_context: typing.Union[str, int]
|
|
494
|
+
:type undo: bool
|
|
558
495
|
"""
|
|
559
496
|
|
|
560
497
|
...
|
|
561
498
|
|
|
562
499
|
def object_mode_pie_or_toggle(
|
|
563
|
-
override_context: typing.
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
567
|
-
undo: typing.Optional[bool] = None,
|
|
500
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
501
|
+
execution_context: typing.Union[str, int] = None,
|
|
502
|
+
undo: bool = None,
|
|
568
503
|
):
|
|
569
504
|
"""Undocumented, consider contributing.
|
|
570
505
|
|
|
571
|
-
:type override_context: typing.
|
|
572
|
-
:type execution_context: typing.
|
|
573
|
-
:type undo:
|
|
506
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
507
|
+
:type execution_context: typing.Union[str, int]
|
|
508
|
+
:type undo: bool
|
|
574
509
|
"""
|
|
575
510
|
|
|
576
511
|
...
|
|
577
512
|
|
|
578
513
|
def pastebuffer(
|
|
579
|
-
override_context: typing.
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
*,
|
|
585
|
-
autoselect: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
586
|
-
active_collection: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
514
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
515
|
+
execution_context: typing.Union[str, int] = None,
|
|
516
|
+
undo: bool = None,
|
|
517
|
+
autoselect: typing.Union[bool, typing.Any] = True,
|
|
518
|
+
active_collection: typing.Union[bool, typing.Any] = True,
|
|
587
519
|
):
|
|
588
520
|
"""Paste objects from the internal clipboard
|
|
589
521
|
|
|
590
|
-
:type override_context: typing.
|
|
591
|
-
:type execution_context: typing.
|
|
592
|
-
:type undo:
|
|
522
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
523
|
+
:type execution_context: typing.Union[str, int]
|
|
524
|
+
:type undo: bool
|
|
593
525
|
:param autoselect: Select, Select pasted objects
|
|
594
|
-
:type autoselect: typing.
|
|
526
|
+
:type autoselect: typing.Union[bool, typing.Any]
|
|
595
527
|
:param active_collection: Active Collection, Put pasted objects in the active collection
|
|
596
|
-
:type active_collection: typing.
|
|
528
|
+
:type active_collection: typing.Union[bool, typing.Any]
|
|
597
529
|
"""
|
|
598
530
|
|
|
599
531
|
...
|
|
600
532
|
|
|
601
533
|
def render_border(
|
|
602
|
-
override_context: typing.
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
611
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
612
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
534
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
535
|
+
execution_context: typing.Union[str, int] = None,
|
|
536
|
+
undo: bool = None,
|
|
537
|
+
xmin: typing.Any = 0,
|
|
538
|
+
xmax: typing.Any = 0,
|
|
539
|
+
ymin: typing.Any = 0,
|
|
540
|
+
ymax: typing.Any = 0,
|
|
541
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
613
542
|
):
|
|
614
543
|
"""Set the boundaries of the border render and enable border render
|
|
615
544
|
|
|
616
|
-
:type override_context: typing.
|
|
617
|
-
:type execution_context: typing.
|
|
618
|
-
:type undo:
|
|
545
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
546
|
+
:type execution_context: typing.Union[str, int]
|
|
547
|
+
:type undo: bool
|
|
619
548
|
:param xmin: X Min
|
|
620
|
-
:type xmin: typing.
|
|
549
|
+
:type xmin: typing.Any
|
|
621
550
|
:param xmax: X Max
|
|
622
|
-
:type xmax: typing.
|
|
551
|
+
:type xmax: typing.Any
|
|
623
552
|
:param ymin: Y Min
|
|
624
|
-
:type ymin: typing.
|
|
553
|
+
:type ymin: typing.Any
|
|
625
554
|
:param ymax: Y Max
|
|
626
|
-
:type ymax: typing.
|
|
555
|
+
:type ymax: typing.Any
|
|
627
556
|
:param wait_for_input: Wait for Input
|
|
628
|
-
:type wait_for_input: typing.
|
|
557
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
629
558
|
"""
|
|
630
559
|
|
|
631
560
|
...
|
|
632
561
|
|
|
633
562
|
def rotate(
|
|
634
|
-
override_context: typing.
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
undo: typing.Optional[bool] = None,
|
|
639
|
-
*,
|
|
640
|
-
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
563
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
564
|
+
execution_context: typing.Union[str, int] = None,
|
|
565
|
+
undo: bool = None,
|
|
566
|
+
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
641
567
|
):
|
|
642
568
|
"""Rotate the view
|
|
643
569
|
|
|
644
|
-
:type override_context: typing.
|
|
645
|
-
:type execution_context: typing.
|
|
646
|
-
:type undo:
|
|
570
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
571
|
+
:type execution_context: typing.Union[str, int]
|
|
572
|
+
:type undo: bool
|
|
647
573
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
648
|
-
:type use_cursor_init: typing.
|
|
574
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
649
575
|
"""
|
|
650
576
|
|
|
651
577
|
...
|
|
652
578
|
|
|
653
579
|
def ruler_add(
|
|
654
|
-
override_context: typing.
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
658
|
-
undo: typing.Optional[bool] = None,
|
|
580
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
581
|
+
execution_context: typing.Union[str, int] = None,
|
|
582
|
+
undo: bool = None,
|
|
659
583
|
):
|
|
660
584
|
"""Add ruler
|
|
661
585
|
|
|
662
|
-
:type override_context: typing.
|
|
663
|
-
:type execution_context: typing.
|
|
664
|
-
:type undo:
|
|
586
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
587
|
+
:type execution_context: typing.Union[str, int]
|
|
588
|
+
:type undo: bool
|
|
665
589
|
"""
|
|
666
590
|
|
|
667
591
|
...
|
|
668
592
|
|
|
669
593
|
def ruler_remove(
|
|
670
|
-
override_context: typing.
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
674
|
-
undo: typing.Optional[bool] = None,
|
|
594
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
595
|
+
execution_context: typing.Union[str, int] = None,
|
|
596
|
+
undo: bool = None,
|
|
675
597
|
):
|
|
676
598
|
"""Undocumented, consider contributing.
|
|
677
599
|
|
|
678
|
-
:type override_context: typing.
|
|
679
|
-
:type execution_context: typing.
|
|
680
|
-
:type undo:
|
|
600
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
601
|
+
:type execution_context: typing.Union[str, int]
|
|
602
|
+
:type undo: bool
|
|
681
603
|
"""
|
|
682
604
|
|
|
683
605
|
...
|
|
684
606
|
|
|
685
607
|
def select(
|
|
686
|
-
override_context: typing.
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
enumerate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
699
|
-
object: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
700
|
-
location: typing.Optional[typing.Any] = (0, 0),
|
|
608
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
609
|
+
execution_context: typing.Union[str, int] = None,
|
|
610
|
+
undo: bool = None,
|
|
611
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
612
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
613
|
+
toggle: typing.Union[bool, typing.Any] = False,
|
|
614
|
+
deselect_all: typing.Union[bool, typing.Any] = False,
|
|
615
|
+
select_passthrough: typing.Union[bool, typing.Any] = False,
|
|
616
|
+
center: typing.Union[bool, typing.Any] = False,
|
|
617
|
+
enumerate: typing.Union[bool, typing.Any] = False,
|
|
618
|
+
object: typing.Union[bool, typing.Any] = False,
|
|
619
|
+
location: typing.Any = (0, 0),
|
|
701
620
|
):
|
|
702
621
|
"""Select and activate item(s)
|
|
703
622
|
|
|
704
|
-
:type override_context: typing.
|
|
705
|
-
:type execution_context: typing.
|
|
706
|
-
:type undo:
|
|
623
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
+
:type execution_context: typing.Union[str, int]
|
|
625
|
+
:type undo: bool
|
|
707
626
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
708
|
-
:type extend: typing.
|
|
627
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
709
628
|
:param deselect: Deselect, Remove from selection
|
|
710
|
-
:type deselect: typing.
|
|
629
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
711
630
|
:param toggle: Toggle Selection, Toggle the selection
|
|
712
|
-
:type toggle: typing.
|
|
631
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
713
632
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
714
|
-
:type deselect_all: typing.
|
|
633
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
715
634
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
716
|
-
:type select_passthrough: typing.
|
|
635
|
+
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
717
636
|
:param center: Center, Use the object center when selecting, in edit mode used to extend object selection
|
|
718
|
-
:type center: typing.
|
|
637
|
+
:type center: typing.Union[bool, typing.Any]
|
|
719
638
|
:param enumerate: Enumerate, List objects under the mouse (object mode only)
|
|
720
|
-
:type enumerate: typing.
|
|
639
|
+
:type enumerate: typing.Union[bool, typing.Any]
|
|
721
640
|
:param object: Object, Use object selection (edit mode only)
|
|
722
|
-
:type object: typing.
|
|
641
|
+
:type object: typing.Union[bool, typing.Any]
|
|
723
642
|
:param location: Location, Mouse location
|
|
724
|
-
:type location: typing.
|
|
643
|
+
:type location: typing.Any
|
|
725
644
|
"""
|
|
726
645
|
|
|
727
646
|
...
|
|
728
647
|
|
|
729
648
|
def select_box(
|
|
730
|
-
override_context: typing.
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
740
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
741
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
649
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
650
|
+
execution_context: typing.Union[str, int] = None,
|
|
651
|
+
undo: bool = None,
|
|
652
|
+
xmin: typing.Any = 0,
|
|
653
|
+
xmax: typing.Any = 0,
|
|
654
|
+
ymin: typing.Any = 0,
|
|
655
|
+
ymax: typing.Any = 0,
|
|
656
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
657
|
+
mode: typing.Any = "SET",
|
|
742
658
|
):
|
|
743
659
|
"""Select items using box selection
|
|
744
660
|
|
|
745
|
-
:type override_context: typing.
|
|
746
|
-
:type execution_context: typing.
|
|
747
|
-
:type undo:
|
|
661
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
662
|
+
:type execution_context: typing.Union[str, int]
|
|
663
|
+
:type undo: bool
|
|
748
664
|
:param xmin: X Min
|
|
749
|
-
:type xmin: typing.
|
|
665
|
+
:type xmin: typing.Any
|
|
750
666
|
:param xmax: X Max
|
|
751
|
-
:type xmax: typing.
|
|
667
|
+
:type xmax: typing.Any
|
|
752
668
|
:param ymin: Y Min
|
|
753
|
-
:type ymin: typing.
|
|
669
|
+
:type ymin: typing.Any
|
|
754
670
|
:param ymax: Y Max
|
|
755
|
-
:type ymax: typing.
|
|
671
|
+
:type ymax: typing.Any
|
|
756
672
|
:param wait_for_input: Wait for Input
|
|
757
|
-
:type wait_for_input: typing.
|
|
673
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
758
674
|
:param mode: Mode
|
|
759
675
|
|
|
760
676
|
SET
|
|
@@ -771,37 +687,34 @@ def select_box(
|
|
|
771
687
|
|
|
772
688
|
AND
|
|
773
689
|
Intersect -- Intersect existing selection.
|
|
774
|
-
:type mode: typing.
|
|
690
|
+
:type mode: typing.Any
|
|
775
691
|
"""
|
|
776
692
|
|
|
777
693
|
...
|
|
778
694
|
|
|
779
695
|
def select_circle(
|
|
780
|
-
override_context: typing.
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
radius: typing.Optional[typing.Any] = 25,
|
|
789
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
790
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
696
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
697
|
+
execution_context: typing.Union[str, int] = None,
|
|
698
|
+
undo: bool = None,
|
|
699
|
+
x: typing.Any = 0,
|
|
700
|
+
y: typing.Any = 0,
|
|
701
|
+
radius: typing.Any = 25,
|
|
702
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
703
|
+
mode: typing.Any = "SET",
|
|
791
704
|
):
|
|
792
705
|
"""Select items using circle selection
|
|
793
706
|
|
|
794
|
-
:type override_context: typing.
|
|
795
|
-
:type execution_context: typing.
|
|
796
|
-
:type undo:
|
|
707
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
708
|
+
:type execution_context: typing.Union[str, int]
|
|
709
|
+
:type undo: bool
|
|
797
710
|
:param x: X
|
|
798
|
-
:type x: typing.
|
|
711
|
+
:type x: typing.Any
|
|
799
712
|
:param y: Y
|
|
800
|
-
:type y: typing.
|
|
713
|
+
:type y: typing.Any
|
|
801
714
|
:param radius: Radius
|
|
802
|
-
:type radius: typing.
|
|
715
|
+
:type radius: typing.Any
|
|
803
716
|
:param wait_for_input: Wait for Input
|
|
804
|
-
:type wait_for_input: typing.
|
|
717
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
805
718
|
:param mode: Mode
|
|
806
719
|
|
|
807
720
|
SET
|
|
@@ -812,30 +725,25 @@ def select_circle(
|
|
|
812
725
|
|
|
813
726
|
SUB
|
|
814
727
|
Subtract -- Subtract existing selection.
|
|
815
|
-
:type mode: typing.
|
|
728
|
+
:type mode: typing.Any
|
|
816
729
|
"""
|
|
817
730
|
|
|
818
731
|
...
|
|
819
732
|
|
|
820
733
|
def select_lasso(
|
|
821
|
-
override_context: typing.
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
*,
|
|
827
|
-
path: typing.Optional[
|
|
828
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
829
|
-
] = None,
|
|
830
|
-
mode: typing.Optional[typing.Any] = "SET",
|
|
734
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
735
|
+
execution_context: typing.Union[str, int] = None,
|
|
736
|
+
undo: bool = None,
|
|
737
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
738
|
+
mode: typing.Any = "SET",
|
|
831
739
|
):
|
|
832
740
|
"""Select items using lasso selection
|
|
833
741
|
|
|
834
|
-
:type override_context: typing.
|
|
835
|
-
:type execution_context: typing.
|
|
836
|
-
:type undo:
|
|
742
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
743
|
+
:type execution_context: typing.Union[str, int]
|
|
744
|
+
:type undo: bool
|
|
837
745
|
:param path: Path
|
|
838
|
-
:type path:
|
|
746
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
839
747
|
:param mode: Mode
|
|
840
748
|
|
|
841
749
|
SET
|
|
@@ -852,202 +760,177 @@ def select_lasso(
|
|
|
852
760
|
|
|
853
761
|
AND
|
|
854
762
|
Intersect -- Intersect existing selection.
|
|
855
|
-
:type mode: typing.
|
|
763
|
+
:type mode: typing.Any
|
|
856
764
|
"""
|
|
857
765
|
|
|
858
766
|
...
|
|
859
767
|
|
|
860
768
|
def select_menu(
|
|
861
|
-
override_context: typing.
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
869
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
870
|
-
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
769
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
770
|
+
execution_context: typing.Union[str, int] = None,
|
|
771
|
+
undo: bool = None,
|
|
772
|
+
name: typing.Union[str, int, typing.Any] = "",
|
|
773
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
774
|
+
deselect: typing.Union[bool, typing.Any] = False,
|
|
775
|
+
toggle: typing.Union[bool, typing.Any] = False,
|
|
871
776
|
):
|
|
872
777
|
"""Menu object selection
|
|
873
778
|
|
|
874
|
-
:type override_context: typing.
|
|
875
|
-
:type execution_context: typing.
|
|
876
|
-
:type undo:
|
|
779
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
780
|
+
:type execution_context: typing.Union[str, int]
|
|
781
|
+
:type undo: bool
|
|
877
782
|
:param name: Object Name
|
|
878
|
-
:type name: typing.
|
|
783
|
+
:type name: typing.Union[str, int, typing.Any]
|
|
879
784
|
:param extend: Extend
|
|
880
|
-
:type extend: typing.
|
|
785
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
881
786
|
:param deselect: Deselect
|
|
882
|
-
:type deselect: typing.
|
|
787
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
883
788
|
:param toggle: Toggle
|
|
884
|
-
:type toggle: typing.
|
|
789
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
885
790
|
"""
|
|
886
791
|
|
|
887
792
|
...
|
|
888
793
|
|
|
889
794
|
def smoothview(
|
|
890
|
-
override_context: typing.
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
894
|
-
undo: typing.Optional[bool] = None,
|
|
795
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
796
|
+
execution_context: typing.Union[str, int] = None,
|
|
797
|
+
undo: bool = None,
|
|
895
798
|
):
|
|
896
799
|
"""Undocumented, consider contributing.
|
|
897
800
|
|
|
898
|
-
:type override_context: typing.
|
|
899
|
-
:type execution_context: typing.
|
|
900
|
-
:type undo:
|
|
801
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
802
|
+
:type execution_context: typing.Union[str, int]
|
|
803
|
+
:type undo: bool
|
|
901
804
|
"""
|
|
902
805
|
|
|
903
806
|
...
|
|
904
807
|
|
|
905
808
|
def snap_cursor_to_active(
|
|
906
|
-
override_context: typing.
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
910
|
-
undo: typing.Optional[bool] = None,
|
|
809
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
810
|
+
execution_context: typing.Union[str, int] = None,
|
|
811
|
+
undo: bool = None,
|
|
911
812
|
):
|
|
912
813
|
"""Snap 3D cursor to the active item
|
|
913
814
|
|
|
914
|
-
:type override_context: typing.
|
|
915
|
-
:type execution_context: typing.
|
|
916
|
-
:type undo:
|
|
815
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
816
|
+
:type execution_context: typing.Union[str, int]
|
|
817
|
+
:type undo: bool
|
|
917
818
|
"""
|
|
918
819
|
|
|
919
820
|
...
|
|
920
821
|
|
|
921
822
|
def snap_cursor_to_center(
|
|
922
|
-
override_context: typing.
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
926
|
-
undo: typing.Optional[bool] = None,
|
|
823
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
824
|
+
execution_context: typing.Union[str, int] = None,
|
|
825
|
+
undo: bool = None,
|
|
927
826
|
):
|
|
928
827
|
"""Snap 3D cursor to the world origin
|
|
929
828
|
|
|
930
|
-
:type override_context: typing.
|
|
931
|
-
:type execution_context: typing.
|
|
932
|
-
:type undo:
|
|
829
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
830
|
+
:type execution_context: typing.Union[str, int]
|
|
831
|
+
:type undo: bool
|
|
933
832
|
"""
|
|
934
833
|
|
|
935
834
|
...
|
|
936
835
|
|
|
937
836
|
def snap_cursor_to_grid(
|
|
938
|
-
override_context: typing.
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
942
|
-
undo: typing.Optional[bool] = None,
|
|
837
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
838
|
+
execution_context: typing.Union[str, int] = None,
|
|
839
|
+
undo: bool = None,
|
|
943
840
|
):
|
|
944
841
|
"""Snap 3D cursor to the nearest grid division
|
|
945
842
|
|
|
946
|
-
:type override_context: typing.
|
|
947
|
-
:type execution_context: typing.
|
|
948
|
-
:type undo:
|
|
843
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
844
|
+
:type execution_context: typing.Union[str, int]
|
|
845
|
+
:type undo: bool
|
|
949
846
|
"""
|
|
950
847
|
|
|
951
848
|
...
|
|
952
849
|
|
|
953
850
|
def snap_cursor_to_selected(
|
|
954
|
-
override_context: typing.
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
958
|
-
undo: typing.Optional[bool] = None,
|
|
851
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
852
|
+
execution_context: typing.Union[str, int] = None,
|
|
853
|
+
undo: bool = None,
|
|
959
854
|
):
|
|
960
855
|
"""Snap 3D cursor to the middle of the selected item(s)
|
|
961
856
|
|
|
962
|
-
:type override_context: typing.
|
|
963
|
-
:type execution_context: typing.
|
|
964
|
-
:type undo:
|
|
857
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
858
|
+
:type execution_context: typing.Union[str, int]
|
|
859
|
+
:type undo: bool
|
|
965
860
|
"""
|
|
966
861
|
|
|
967
862
|
...
|
|
968
863
|
|
|
969
864
|
def snap_selected_to_active(
|
|
970
|
-
override_context: typing.
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
974
|
-
undo: typing.Optional[bool] = None,
|
|
865
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
866
|
+
execution_context: typing.Union[str, int] = None,
|
|
867
|
+
undo: bool = None,
|
|
975
868
|
):
|
|
976
869
|
"""Snap selected item(s) to the active item
|
|
977
870
|
|
|
978
|
-
:type override_context: typing.
|
|
979
|
-
:type execution_context: typing.
|
|
980
|
-
:type undo:
|
|
871
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
872
|
+
:type execution_context: typing.Union[str, int]
|
|
873
|
+
:type undo: bool
|
|
981
874
|
"""
|
|
982
875
|
|
|
983
876
|
...
|
|
984
877
|
|
|
985
878
|
def snap_selected_to_cursor(
|
|
986
|
-
override_context: typing.
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
undo: typing.Optional[bool] = None,
|
|
991
|
-
*,
|
|
992
|
-
use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
879
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
880
|
+
execution_context: typing.Union[str, int] = None,
|
|
881
|
+
undo: bool = None,
|
|
882
|
+
use_offset: typing.Union[bool, typing.Any] = True,
|
|
993
883
|
):
|
|
994
884
|
"""Snap selected item(s) to the 3D cursor
|
|
995
885
|
|
|
996
|
-
:type override_context: typing.
|
|
997
|
-
:type execution_context: typing.
|
|
998
|
-
:type undo:
|
|
886
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
887
|
+
:type execution_context: typing.Union[str, int]
|
|
888
|
+
:type undo: bool
|
|
999
889
|
:param use_offset: Offset, If the selection should be snapped as a whole or by each object center
|
|
1000
|
-
:type use_offset: typing.
|
|
890
|
+
:type use_offset: typing.Union[bool, typing.Any]
|
|
1001
891
|
"""
|
|
1002
892
|
|
|
1003
893
|
...
|
|
1004
894
|
|
|
1005
895
|
def snap_selected_to_grid(
|
|
1006
|
-
override_context: typing.
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1010
|
-
undo: typing.Optional[bool] = None,
|
|
896
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
897
|
+
execution_context: typing.Union[str, int] = None,
|
|
898
|
+
undo: bool = None,
|
|
1011
899
|
):
|
|
1012
900
|
"""Snap selected item(s) to their nearest grid division
|
|
1013
901
|
|
|
1014
|
-
:type override_context: typing.
|
|
1015
|
-
:type execution_context: typing.
|
|
1016
|
-
:type undo:
|
|
902
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
903
|
+
:type execution_context: typing.Union[str, int]
|
|
904
|
+
:type undo: bool
|
|
1017
905
|
"""
|
|
1018
906
|
|
|
1019
907
|
...
|
|
1020
908
|
|
|
1021
909
|
def toggle_matcap_flip(
|
|
1022
|
-
override_context: typing.
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1026
|
-
undo: typing.Optional[bool] = None,
|
|
910
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
911
|
+
execution_context: typing.Union[str, int] = None,
|
|
912
|
+
undo: bool = None,
|
|
1027
913
|
):
|
|
1028
914
|
"""Flip MatCap
|
|
1029
915
|
|
|
1030
|
-
:type override_context: typing.
|
|
1031
|
-
:type execution_context: typing.
|
|
1032
|
-
:type undo:
|
|
916
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
917
|
+
:type execution_context: typing.Union[str, int]
|
|
918
|
+
:type undo: bool
|
|
1033
919
|
"""
|
|
1034
920
|
|
|
1035
921
|
...
|
|
1036
922
|
|
|
1037
923
|
def toggle_shading(
|
|
1038
|
-
override_context: typing.
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
undo: typing.Optional[bool] = None,
|
|
1043
|
-
*,
|
|
1044
|
-
type: typing.Optional[typing.Any] = "WIREFRAME",
|
|
924
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
925
|
+
execution_context: typing.Union[str, int] = None,
|
|
926
|
+
undo: bool = None,
|
|
927
|
+
type: typing.Any = "WIREFRAME",
|
|
1045
928
|
):
|
|
1046
929
|
"""Toggle shading type in 3D viewport
|
|
1047
930
|
|
|
1048
|
-
:type override_context: typing.
|
|
1049
|
-
:type execution_context: typing.
|
|
1050
|
-
:type undo:
|
|
931
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
932
|
+
:type execution_context: typing.Union[str, int]
|
|
933
|
+
:type undo: bool
|
|
1051
934
|
:param type: Type, Shading type to toggle
|
|
1052
935
|
|
|
1053
936
|
WIREFRAME
|
|
@@ -1061,89 +944,78 @@ def toggle_shading(
|
|
|
1061
944
|
|
|
1062
945
|
RENDERED
|
|
1063
946
|
Rendered -- Toggle rendered shading.
|
|
1064
|
-
:type type: typing.
|
|
947
|
+
:type type: typing.Any
|
|
1065
948
|
"""
|
|
1066
949
|
|
|
1067
950
|
...
|
|
1068
951
|
|
|
1069
952
|
def toggle_xray(
|
|
1070
|
-
override_context: typing.
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1074
|
-
undo: typing.Optional[bool] = None,
|
|
953
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
954
|
+
execution_context: typing.Union[str, int] = None,
|
|
955
|
+
undo: bool = None,
|
|
1075
956
|
):
|
|
1076
957
|
"""Transparent scene display. Allow selecting through items
|
|
1077
958
|
|
|
1078
|
-
:type override_context: typing.
|
|
1079
|
-
:type execution_context: typing.
|
|
1080
|
-
:type undo:
|
|
959
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
960
|
+
:type execution_context: typing.Union[str, int]
|
|
961
|
+
:type undo: bool
|
|
1081
962
|
"""
|
|
1082
963
|
|
|
1083
964
|
...
|
|
1084
965
|
|
|
1085
966
|
def transform_gizmo_set(
|
|
1086
|
-
override_context: typing.
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
*,
|
|
1092
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1093
|
-
type: typing.Optional[typing.Any] = {},
|
|
967
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
968
|
+
execution_context: typing.Union[str, int] = None,
|
|
969
|
+
undo: bool = None,
|
|
970
|
+
extend: typing.Union[bool, typing.Any] = False,
|
|
971
|
+
type: typing.Any = {},
|
|
1094
972
|
):
|
|
1095
973
|
"""Set the current transform gizmo
|
|
1096
974
|
|
|
1097
|
-
:type override_context: typing.
|
|
1098
|
-
:type execution_context: typing.
|
|
1099
|
-
:type undo:
|
|
975
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
976
|
+
:type execution_context: typing.Union[str, int]
|
|
977
|
+
:type undo: bool
|
|
1100
978
|
:param extend: Extend
|
|
1101
|
-
:type extend: typing.
|
|
979
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
1102
980
|
:param type: Type
|
|
1103
|
-
:type type: typing.
|
|
981
|
+
:type type: typing.Any
|
|
1104
982
|
"""
|
|
1105
983
|
|
|
1106
984
|
...
|
|
1107
985
|
|
|
1108
986
|
def view_all(
|
|
1109
|
-
override_context: typing.
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
*,
|
|
1115
|
-
use_all_regions: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1116
|
-
center: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
987
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
988
|
+
execution_context: typing.Union[str, int] = None,
|
|
989
|
+
undo: bool = None,
|
|
990
|
+
use_all_regions: typing.Union[bool, typing.Any] = False,
|
|
991
|
+
center: typing.Union[bool, typing.Any] = False,
|
|
1117
992
|
):
|
|
1118
993
|
"""View all objects in scene
|
|
1119
994
|
|
|
1120
|
-
:type override_context: typing.
|
|
1121
|
-
:type execution_context: typing.
|
|
1122
|
-
:type undo:
|
|
995
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
996
|
+
:type execution_context: typing.Union[str, int]
|
|
997
|
+
:type undo: bool
|
|
1123
998
|
:param use_all_regions: All Regions, View selected for all regions
|
|
1124
|
-
:type use_all_regions: typing.
|
|
999
|
+
:type use_all_regions: typing.Union[bool, typing.Any]
|
|
1125
1000
|
:param center: Center
|
|
1126
|
-
:type center: typing.
|
|
1001
|
+
:type center: typing.Union[bool, typing.Any]
|
|
1127
1002
|
"""
|
|
1128
1003
|
|
|
1129
1004
|
...
|
|
1130
1005
|
|
|
1131
1006
|
def view_axis(
|
|
1132
|
-
override_context: typing.
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
type: typing.Optional[typing.Any] = "LEFT",
|
|
1139
|
-
align_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1140
|
-
relative: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1007
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1008
|
+
execution_context: typing.Union[str, int] = None,
|
|
1009
|
+
undo: bool = None,
|
|
1010
|
+
type: typing.Any = "LEFT",
|
|
1011
|
+
align_active: typing.Union[bool, typing.Any] = False,
|
|
1012
|
+
relative: typing.Union[bool, typing.Any] = False,
|
|
1141
1013
|
):
|
|
1142
1014
|
"""Use a preset viewpoint
|
|
1143
1015
|
|
|
1144
|
-
:type override_context: typing.
|
|
1145
|
-
:type execution_context: typing.
|
|
1146
|
-
:type undo:
|
|
1016
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1017
|
+
:type execution_context: typing.Union[str, int]
|
|
1018
|
+
:type undo: bool
|
|
1147
1019
|
:param type: View, Preset viewpoint to use
|
|
1148
1020
|
|
|
1149
1021
|
LEFT
|
|
@@ -1163,144 +1035,127 @@ def view_axis(
|
|
|
1163
1035
|
|
|
1164
1036
|
BACK
|
|
1165
1037
|
Back -- View from the back.
|
|
1166
|
-
:type type: typing.
|
|
1038
|
+
:type type: typing.Any
|
|
1167
1039
|
:param align_active: Align Active, Align to the active object's axis
|
|
1168
|
-
:type align_active: typing.
|
|
1040
|
+
:type align_active: typing.Union[bool, typing.Any]
|
|
1169
1041
|
:param relative: Relative, Rotate relative to the current orientation
|
|
1170
|
-
:type relative: typing.
|
|
1042
|
+
:type relative: typing.Union[bool, typing.Any]
|
|
1171
1043
|
"""
|
|
1172
1044
|
|
|
1173
1045
|
...
|
|
1174
1046
|
|
|
1175
1047
|
def view_camera(
|
|
1176
|
-
override_context: typing.
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1180
|
-
undo: typing.Optional[bool] = None,
|
|
1048
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1049
|
+
execution_context: typing.Union[str, int] = None,
|
|
1050
|
+
undo: bool = None,
|
|
1181
1051
|
):
|
|
1182
1052
|
"""Toggle the camera view
|
|
1183
1053
|
|
|
1184
|
-
:type override_context: typing.
|
|
1185
|
-
:type execution_context: typing.
|
|
1186
|
-
:type undo:
|
|
1054
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1055
|
+
:type execution_context: typing.Union[str, int]
|
|
1056
|
+
:type undo: bool
|
|
1187
1057
|
"""
|
|
1188
1058
|
|
|
1189
1059
|
...
|
|
1190
1060
|
|
|
1191
1061
|
def view_center_camera(
|
|
1192
|
-
override_context: typing.
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1196
|
-
undo: typing.Optional[bool] = None,
|
|
1062
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1063
|
+
execution_context: typing.Union[str, int] = None,
|
|
1064
|
+
undo: bool = None,
|
|
1197
1065
|
):
|
|
1198
1066
|
"""Center the camera view, resizing the view to fit its bounds
|
|
1199
1067
|
|
|
1200
|
-
:type override_context: typing.
|
|
1201
|
-
:type execution_context: typing.
|
|
1202
|
-
:type undo:
|
|
1068
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1069
|
+
:type execution_context: typing.Union[str, int]
|
|
1070
|
+
:type undo: bool
|
|
1203
1071
|
"""
|
|
1204
1072
|
|
|
1205
1073
|
...
|
|
1206
1074
|
|
|
1207
1075
|
def view_center_cursor(
|
|
1208
|
-
override_context: typing.
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1212
|
-
undo: typing.Optional[bool] = None,
|
|
1076
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1077
|
+
execution_context: typing.Union[str, int] = None,
|
|
1078
|
+
undo: bool = None,
|
|
1213
1079
|
):
|
|
1214
1080
|
"""Center the view so that the cursor is in the middle of the view
|
|
1215
1081
|
|
|
1216
|
-
:type override_context: typing.
|
|
1217
|
-
:type execution_context: typing.
|
|
1218
|
-
:type undo:
|
|
1082
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1083
|
+
:type execution_context: typing.Union[str, int]
|
|
1084
|
+
:type undo: bool
|
|
1219
1085
|
"""
|
|
1220
1086
|
|
|
1221
1087
|
...
|
|
1222
1088
|
|
|
1223
1089
|
def view_center_lock(
|
|
1224
|
-
override_context: typing.
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1228
|
-
undo: typing.Optional[bool] = None,
|
|
1090
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1091
|
+
execution_context: typing.Union[str, int] = None,
|
|
1092
|
+
undo: bool = None,
|
|
1229
1093
|
):
|
|
1230
1094
|
"""Center the view lock offset
|
|
1231
1095
|
|
|
1232
|
-
:type override_context: typing.
|
|
1233
|
-
:type execution_context: typing.
|
|
1234
|
-
:type undo:
|
|
1096
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1097
|
+
:type execution_context: typing.Union[str, int]
|
|
1098
|
+
:type undo: bool
|
|
1235
1099
|
"""
|
|
1236
1100
|
|
|
1237
1101
|
...
|
|
1238
1102
|
|
|
1239
1103
|
def view_center_pick(
|
|
1240
|
-
override_context: typing.
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1244
|
-
undo: typing.Optional[bool] = None,
|
|
1104
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1105
|
+
execution_context: typing.Union[str, int] = None,
|
|
1106
|
+
undo: bool = None,
|
|
1245
1107
|
):
|
|
1246
1108
|
"""Center the view to the Z-depth position under the mouse cursor
|
|
1247
1109
|
|
|
1248
|
-
:type override_context: typing.
|
|
1249
|
-
:type execution_context: typing.
|
|
1250
|
-
:type undo:
|
|
1110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1111
|
+
:type execution_context: typing.Union[str, int]
|
|
1112
|
+
:type undo: bool
|
|
1251
1113
|
"""
|
|
1252
1114
|
|
|
1253
1115
|
...
|
|
1254
1116
|
|
|
1255
1117
|
def view_lock_clear(
|
|
1256
|
-
override_context: typing.
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1260
|
-
undo: typing.Optional[bool] = None,
|
|
1118
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1119
|
+
execution_context: typing.Union[str, int] = None,
|
|
1120
|
+
undo: bool = None,
|
|
1261
1121
|
):
|
|
1262
1122
|
"""Clear all view locking
|
|
1263
1123
|
|
|
1264
|
-
:type override_context: typing.
|
|
1265
|
-
:type execution_context: typing.
|
|
1266
|
-
:type undo:
|
|
1124
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1125
|
+
:type execution_context: typing.Union[str, int]
|
|
1126
|
+
:type undo: bool
|
|
1267
1127
|
"""
|
|
1268
1128
|
|
|
1269
1129
|
...
|
|
1270
1130
|
|
|
1271
1131
|
def view_lock_to_active(
|
|
1272
|
-
override_context: typing.
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1276
|
-
undo: typing.Optional[bool] = None,
|
|
1132
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1133
|
+
execution_context: typing.Union[str, int] = None,
|
|
1134
|
+
undo: bool = None,
|
|
1277
1135
|
):
|
|
1278
1136
|
"""Lock the view to the active object/bone
|
|
1279
1137
|
|
|
1280
|
-
:type override_context: typing.
|
|
1281
|
-
:type execution_context: typing.
|
|
1282
|
-
:type undo:
|
|
1138
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1139
|
+
:type execution_context: typing.Union[str, int]
|
|
1140
|
+
:type undo: bool
|
|
1283
1141
|
"""
|
|
1284
1142
|
|
|
1285
1143
|
...
|
|
1286
1144
|
|
|
1287
1145
|
def view_orbit(
|
|
1288
|
-
override_context: typing.
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
*,
|
|
1294
|
-
angle: typing.Optional[typing.Any] = 0.0,
|
|
1295
|
-
type: typing.Optional[typing.Any] = "ORBITLEFT",
|
|
1146
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1147
|
+
execution_context: typing.Union[str, int] = None,
|
|
1148
|
+
undo: bool = None,
|
|
1149
|
+
angle: typing.Any = 0.0,
|
|
1150
|
+
type: typing.Any = "ORBITLEFT",
|
|
1296
1151
|
):
|
|
1297
1152
|
"""Orbit the view
|
|
1298
1153
|
|
|
1299
|
-
:type override_context: typing.
|
|
1300
|
-
:type execution_context: typing.
|
|
1301
|
-
:type undo:
|
|
1154
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1155
|
+
:type execution_context: typing.Union[str, int]
|
|
1156
|
+
:type undo: bool
|
|
1302
1157
|
:param angle: Roll
|
|
1303
|
-
:type angle: typing.
|
|
1158
|
+
:type angle: typing.Any
|
|
1304
1159
|
:param type: Orbit, Direction of View Orbit
|
|
1305
1160
|
|
|
1306
1161
|
ORBITLEFT
|
|
@@ -1314,25 +1169,22 @@ def view_orbit(
|
|
|
1314
1169
|
|
|
1315
1170
|
ORBITDOWN
|
|
1316
1171
|
Orbit Down -- Orbit the view down.
|
|
1317
|
-
:type type: typing.
|
|
1172
|
+
:type type: typing.Any
|
|
1318
1173
|
"""
|
|
1319
1174
|
|
|
1320
1175
|
...
|
|
1321
1176
|
|
|
1322
1177
|
def view_pan(
|
|
1323
|
-
override_context: typing.
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
undo: typing.Optional[bool] = None,
|
|
1328
|
-
*,
|
|
1329
|
-
type: typing.Optional[typing.Any] = "PANLEFT",
|
|
1178
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1179
|
+
execution_context: typing.Union[str, int] = None,
|
|
1180
|
+
undo: bool = None,
|
|
1181
|
+
type: typing.Any = "PANLEFT",
|
|
1330
1182
|
):
|
|
1331
1183
|
"""Pan the view in a given direction
|
|
1332
1184
|
|
|
1333
|
-
:type override_context: typing.
|
|
1334
|
-
:type execution_context: typing.
|
|
1335
|
-
:type undo:
|
|
1185
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1186
|
+
:type execution_context: typing.Union[str, int]
|
|
1187
|
+
:type undo: bool
|
|
1336
1188
|
:param type: Pan, Direction of View Pan
|
|
1337
1189
|
|
|
1338
1190
|
PANLEFT
|
|
@@ -1346,44 +1198,39 @@ def view_pan(
|
|
|
1346
1198
|
|
|
1347
1199
|
PANDOWN
|
|
1348
1200
|
Pan Down -- Pan the view down.
|
|
1349
|
-
:type type: typing.
|
|
1201
|
+
:type type: typing.Any
|
|
1350
1202
|
"""
|
|
1351
1203
|
|
|
1352
1204
|
...
|
|
1353
1205
|
|
|
1354
1206
|
def view_persportho(
|
|
1355
|
-
override_context: typing.
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1359
|
-
undo: typing.Optional[bool] = None,
|
|
1207
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1208
|
+
execution_context: typing.Union[str, int] = None,
|
|
1209
|
+
undo: bool = None,
|
|
1360
1210
|
):
|
|
1361
1211
|
"""Switch the current view from perspective/orthographic projection
|
|
1362
1212
|
|
|
1363
|
-
:type override_context: typing.
|
|
1364
|
-
:type execution_context: typing.
|
|
1365
|
-
:type undo:
|
|
1213
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1214
|
+
:type execution_context: typing.Union[str, int]
|
|
1215
|
+
:type undo: bool
|
|
1366
1216
|
"""
|
|
1367
1217
|
|
|
1368
1218
|
...
|
|
1369
1219
|
|
|
1370
1220
|
def view_roll(
|
|
1371
|
-
override_context: typing.
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
*,
|
|
1377
|
-
angle: typing.Optional[typing.Any] = 0.0,
|
|
1378
|
-
type: typing.Optional[typing.Any] = "ANGLE",
|
|
1221
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1222
|
+
execution_context: typing.Union[str, int] = None,
|
|
1223
|
+
undo: bool = None,
|
|
1224
|
+
angle: typing.Any = 0.0,
|
|
1225
|
+
type: typing.Any = "ANGLE",
|
|
1379
1226
|
):
|
|
1380
1227
|
"""Roll the view
|
|
1381
1228
|
|
|
1382
|
-
:type override_context: typing.
|
|
1383
|
-
:type execution_context: typing.
|
|
1384
|
-
:type undo:
|
|
1229
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1230
|
+
:type execution_context: typing.Union[str, int]
|
|
1231
|
+
:type undo: bool
|
|
1385
1232
|
:param angle: Roll
|
|
1386
|
-
:type angle: typing.
|
|
1233
|
+
:type angle: typing.Any
|
|
1387
1234
|
:param type: Roll Angle Source, How roll angle is calculated
|
|
1388
1235
|
|
|
1389
1236
|
ANGLE
|
|
@@ -1394,123 +1241,110 @@ def view_roll(
|
|
|
1394
1241
|
|
|
1395
1242
|
RIGHT
|
|
1396
1243
|
Roll Right -- Roll the view around to the right.
|
|
1397
|
-
:type type: typing.
|
|
1244
|
+
:type type: typing.Any
|
|
1398
1245
|
"""
|
|
1399
1246
|
|
|
1400
1247
|
...
|
|
1401
1248
|
|
|
1402
1249
|
def view_selected(
|
|
1403
|
-
override_context: typing.
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
undo: typing.Optional[bool] = None,
|
|
1408
|
-
*,
|
|
1409
|
-
use_all_regions: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1250
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1251
|
+
execution_context: typing.Union[str, int] = None,
|
|
1252
|
+
undo: bool = None,
|
|
1253
|
+
use_all_regions: typing.Union[bool, typing.Any] = False,
|
|
1410
1254
|
):
|
|
1411
1255
|
"""Move the view to the selection center
|
|
1412
1256
|
|
|
1413
|
-
:type override_context: typing.
|
|
1414
|
-
:type execution_context: typing.
|
|
1415
|
-
:type undo:
|
|
1257
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1258
|
+
:type execution_context: typing.Union[str, int]
|
|
1259
|
+
:type undo: bool
|
|
1416
1260
|
:param use_all_regions: All Regions, View selected for all regions
|
|
1417
|
-
:type use_all_regions: typing.
|
|
1261
|
+
:type use_all_regions: typing.Union[bool, typing.Any]
|
|
1418
1262
|
"""
|
|
1419
1263
|
|
|
1420
1264
|
...
|
|
1421
1265
|
|
|
1422
1266
|
def walk(
|
|
1423
|
-
override_context: typing.
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1427
|
-
undo: typing.Optional[bool] = None,
|
|
1267
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1268
|
+
execution_context: typing.Union[str, int] = None,
|
|
1269
|
+
undo: bool = None,
|
|
1428
1270
|
):
|
|
1429
1271
|
"""Interactively walk around the scene
|
|
1430
1272
|
|
|
1431
|
-
:type override_context: typing.
|
|
1432
|
-
:type execution_context: typing.
|
|
1433
|
-
:type undo:
|
|
1273
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1274
|
+
:type execution_context: typing.Union[str, int]
|
|
1275
|
+
:type undo: bool
|
|
1434
1276
|
"""
|
|
1435
1277
|
|
|
1436
1278
|
...
|
|
1437
1279
|
|
|
1438
1280
|
def zoom(
|
|
1439
|
-
override_context: typing.
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
my: typing.Optional[typing.Any] = 0,
|
|
1447
|
-
delta: typing.Optional[typing.Any] = 0,
|
|
1448
|
-
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1281
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1282
|
+
execution_context: typing.Union[str, int] = None,
|
|
1283
|
+
undo: bool = None,
|
|
1284
|
+
mx: typing.Any = 0,
|
|
1285
|
+
my: typing.Any = 0,
|
|
1286
|
+
delta: typing.Any = 0,
|
|
1287
|
+
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
1449
1288
|
):
|
|
1450
1289
|
"""Zoom in/out in the view
|
|
1451
1290
|
|
|
1452
|
-
:type override_context: typing.
|
|
1453
|
-
:type execution_context: typing.
|
|
1454
|
-
:type undo:
|
|
1291
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1292
|
+
:type execution_context: typing.Union[str, int]
|
|
1293
|
+
:type undo: bool
|
|
1455
1294
|
:param mx: Region Position X
|
|
1456
|
-
:type mx: typing.
|
|
1295
|
+
:type mx: typing.Any
|
|
1457
1296
|
:param my: Region Position Y
|
|
1458
|
-
:type my: typing.
|
|
1297
|
+
:type my: typing.Any
|
|
1459
1298
|
:param delta: Delta
|
|
1460
|
-
:type delta: typing.
|
|
1299
|
+
:type delta: typing.Any
|
|
1461
1300
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
1462
|
-
:type use_cursor_init: typing.
|
|
1301
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
1463
1302
|
"""
|
|
1464
1303
|
|
|
1465
1304
|
...
|
|
1466
1305
|
|
|
1467
1306
|
def zoom_border(
|
|
1468
|
-
override_context: typing.
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
1478
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1479
|
-
zoom_out: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1307
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1308
|
+
execution_context: typing.Union[str, int] = None,
|
|
1309
|
+
undo: bool = None,
|
|
1310
|
+
xmin: typing.Any = 0,
|
|
1311
|
+
xmax: typing.Any = 0,
|
|
1312
|
+
ymin: typing.Any = 0,
|
|
1313
|
+
ymax: typing.Any = 0,
|
|
1314
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
1315
|
+
zoom_out: typing.Union[bool, typing.Any] = False,
|
|
1480
1316
|
):
|
|
1481
1317
|
"""Zoom in the view to the nearest object contained in the border
|
|
1482
1318
|
|
|
1483
|
-
:type override_context: typing.
|
|
1484
|
-
:type execution_context: typing.
|
|
1485
|
-
:type undo:
|
|
1319
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1320
|
+
:type execution_context: typing.Union[str, int]
|
|
1321
|
+
:type undo: bool
|
|
1486
1322
|
:param xmin: X Min
|
|
1487
|
-
:type xmin: typing.
|
|
1323
|
+
:type xmin: typing.Any
|
|
1488
1324
|
:param xmax: X Max
|
|
1489
|
-
:type xmax: typing.
|
|
1325
|
+
:type xmax: typing.Any
|
|
1490
1326
|
:param ymin: Y Min
|
|
1491
|
-
:type ymin: typing.
|
|
1327
|
+
:type ymin: typing.Any
|
|
1492
1328
|
:param ymax: Y Max
|
|
1493
|
-
:type ymax: typing.
|
|
1329
|
+
:type ymax: typing.Any
|
|
1494
1330
|
:param wait_for_input: Wait for Input
|
|
1495
|
-
:type wait_for_input: typing.
|
|
1331
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1496
1332
|
:param zoom_out: Zoom Out
|
|
1497
|
-
:type zoom_out: typing.
|
|
1333
|
+
:type zoom_out: typing.Union[bool, typing.Any]
|
|
1498
1334
|
"""
|
|
1499
1335
|
|
|
1500
1336
|
...
|
|
1501
1337
|
|
|
1502
1338
|
def zoom_camera_1_to_1(
|
|
1503
|
-
override_context: typing.
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
1507
|
-
undo: typing.Optional[bool] = None,
|
|
1339
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1340
|
+
execution_context: typing.Union[str, int] = None,
|
|
1341
|
+
undo: bool = None,
|
|
1508
1342
|
):
|
|
1509
1343
|
"""Match the camera to 1:1 to the render output
|
|
1510
1344
|
|
|
1511
|
-
:type override_context: typing.
|
|
1512
|
-
:type execution_context: typing.
|
|
1513
|
-
:type undo:
|
|
1345
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1346
|
+
:type execution_context: typing.Union[str, int]
|
|
1347
|
+
:type undo: bool
|
|
1514
1348
|
"""
|
|
1515
1349
|
|
|
1516
1350
|
...
|