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/view3d/__init__.pyi
CHANGED
|
@@ -1,1451 +1,1350 @@
|
|
|
1
|
-
import sys
|
|
2
1
|
import typing
|
|
3
2
|
import bpy.types
|
|
4
3
|
|
|
5
4
|
GenericType = typing.TypeVar("GenericType")
|
|
6
5
|
|
|
7
|
-
def
|
|
8
|
-
override_context: typing.
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
filter_collada: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
30
|
-
filter_alembic: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
31
|
-
filter_usd: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
32
|
-
filter_obj: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
33
|
-
filter_volume: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
34
|
-
filter_folder: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
35
|
-
filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
36
|
-
filemode: typing.Optional[typing.Any] = 9,
|
|
37
|
-
relative_path: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
38
|
-
show_multiview: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
39
|
-
use_multiview: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
40
|
-
display_type: typing.Optional[typing.Any] = "DEFAULT",
|
|
41
|
-
sort_method: typing.Optional[typing.Any] = "",
|
|
42
|
-
):
|
|
43
|
-
"""Add a new background image
|
|
44
|
-
|
|
45
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
46
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
|
-
:type undo: typing.Optional[bool]
|
|
48
|
-
:param name: Name, Name of the data-block to use by the operator
|
|
49
|
-
:type name: typing.Union[str, typing.Any]
|
|
50
|
-
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
51
|
-
:type session_uid: typing.Optional[typing.Any]
|
|
52
|
-
:param filepath: File Path, Path to file
|
|
53
|
-
:type filepath: typing.Union[str, typing.Any]
|
|
54
|
-
:param hide_props_region: Hide Operator Properties, Collapse the region displaying the operator settings
|
|
55
|
-
:type hide_props_region: typing.Optional[typing.Union[bool, typing.Any]]
|
|
56
|
-
:param check_existing: Check Existing, Check and warn on overwriting existing files
|
|
57
|
-
:type check_existing: typing.Optional[typing.Union[bool, typing.Any]]
|
|
58
|
-
:param filter_blender: Filter .blend files
|
|
59
|
-
:type filter_blender: typing.Optional[typing.Union[bool, typing.Any]]
|
|
60
|
-
:param filter_backup: Filter .blend files
|
|
61
|
-
:type filter_backup: typing.Optional[typing.Union[bool, typing.Any]]
|
|
62
|
-
:param filter_image: Filter image files
|
|
63
|
-
:type filter_image: typing.Optional[typing.Union[bool, typing.Any]]
|
|
64
|
-
:param filter_movie: Filter movie files
|
|
65
|
-
:type filter_movie: typing.Optional[typing.Union[bool, typing.Any]]
|
|
66
|
-
:param filter_python: Filter Python files
|
|
67
|
-
:type filter_python: typing.Optional[typing.Union[bool, typing.Any]]
|
|
68
|
-
:param filter_font: Filter font files
|
|
69
|
-
:type filter_font: typing.Optional[typing.Union[bool, typing.Any]]
|
|
70
|
-
:param filter_sound: Filter sound files
|
|
71
|
-
:type filter_sound: typing.Optional[typing.Union[bool, typing.Any]]
|
|
72
|
-
:param filter_text: Filter text files
|
|
73
|
-
:type filter_text: typing.Optional[typing.Union[bool, typing.Any]]
|
|
74
|
-
:param filter_archive: Filter archive files
|
|
75
|
-
:type filter_archive: typing.Optional[typing.Union[bool, typing.Any]]
|
|
76
|
-
:param filter_btx: Filter btx files
|
|
77
|
-
:type filter_btx: typing.Optional[typing.Union[bool, typing.Any]]
|
|
78
|
-
:param filter_collada: Filter COLLADA files
|
|
79
|
-
:type filter_collada: typing.Optional[typing.Union[bool, typing.Any]]
|
|
80
|
-
:param filter_alembic: Filter Alembic files
|
|
81
|
-
:type filter_alembic: typing.Optional[typing.Union[bool, typing.Any]]
|
|
82
|
-
:param filter_usd: Filter USD files
|
|
83
|
-
:type filter_usd: typing.Optional[typing.Union[bool, typing.Any]]
|
|
84
|
-
:param filter_obj: Filter OBJ files
|
|
85
|
-
:type filter_obj: typing.Optional[typing.Union[bool, typing.Any]]
|
|
86
|
-
:param filter_volume: Filter OpenVDB volume files
|
|
87
|
-
:type filter_volume: typing.Optional[typing.Union[bool, typing.Any]]
|
|
88
|
-
:param filter_folder: Filter folders
|
|
89
|
-
:type filter_folder: typing.Optional[typing.Union[bool, typing.Any]]
|
|
90
|
-
:param filter_blenlib: Filter Blender IDs
|
|
91
|
-
:type filter_blenlib: typing.Optional[typing.Union[bool, typing.Any]]
|
|
92
|
-
:param filemode: File Browser Mode, The setting for the file browser mode to load a .blend file, a library or a special file
|
|
93
|
-
:type filemode: typing.Optional[typing.Any]
|
|
94
|
-
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
95
|
-
:type relative_path: typing.Optional[typing.Union[bool, typing.Any]]
|
|
96
|
-
:param show_multiview: Enable Multi-View
|
|
97
|
-
:type show_multiview: typing.Optional[typing.Union[bool, typing.Any]]
|
|
98
|
-
:param use_multiview: Use Multi-View
|
|
99
|
-
:type use_multiview: typing.Optional[typing.Union[bool, typing.Any]]
|
|
100
|
-
:param display_type: Display Type * ``DEFAULT`` Default -- Automatically determine display type for files. * ``LIST_VERTICAL`` Short List -- Display files as short list. * ``LIST_HORIZONTAL`` Long List -- Display files as a detailed list. * ``THUMBNAIL`` Thumbnails -- Display files as thumbnails.
|
|
101
|
-
:type display_type: typing.Optional[typing.Any]
|
|
102
|
-
:param sort_method: File sorting mode * ``DEFAULT`` Default -- Automatically determine sort method for files. * ``FILE_SORT_ALPHA`` Name -- Sort the file list alphabetically. * ``FILE_SORT_EXTENSION`` Extension -- Sort the file list by extension/type. * ``FILE_SORT_TIME`` Modified Date -- Sort files by modification time. * ``FILE_SORT_SIZE`` Size -- Sort files by size.
|
|
103
|
-
:type sort_method: typing.Optional[typing.Any]
|
|
6
|
+
def bone_select_menu(
|
|
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,
|
|
14
|
+
):
|
|
15
|
+
"""Menu bone selection
|
|
16
|
+
|
|
17
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
18
|
+
:type execution_context: typing.Union[str, int]
|
|
19
|
+
:type undo: bool
|
|
20
|
+
:param name: Bone Name
|
|
21
|
+
:type name: typing.Union[str, int, typing.Any]
|
|
22
|
+
:param extend: Extend
|
|
23
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
24
|
+
:param deselect: Deselect
|
|
25
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
26
|
+
:param toggle: Toggle
|
|
27
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
104
28
|
"""
|
|
105
29
|
|
|
106
30
|
...
|
|
107
31
|
|
|
108
|
-
def
|
|
109
|
-
override_context: typing.
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
32
|
+
def camera_background_image_add(
|
|
33
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
34
|
+
execution_context: typing.Union[str, int] = None,
|
|
35
|
+
undo: bool = None,
|
|
36
|
+
filepath: typing.Union[str, typing.Any] = "",
|
|
37
|
+
relative_path: typing.Union[bool, typing.Any] = True,
|
|
38
|
+
name: typing.Union[str, typing.Any] = "",
|
|
39
|
+
session_uid: typing.Any = 0,
|
|
116
40
|
):
|
|
117
|
-
"""
|
|
41
|
+
"""Add a new background image to the active camera
|
|
118
42
|
|
|
119
|
-
:type override_context: typing.
|
|
120
|
-
:type execution_context: typing.
|
|
121
|
-
:type undo:
|
|
122
|
-
:param
|
|
123
|
-
:type
|
|
43
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
|
+
:type undo: bool
|
|
46
|
+
:param filepath: Filepath, Path to image file
|
|
47
|
+
:type filepath: typing.Union[str, typing.Any]
|
|
48
|
+
:param relative_path: Relative Path, Select the file relative to the blend file
|
|
49
|
+
:type relative_path: typing.Union[bool, typing.Any]
|
|
50
|
+
:param name: Name, Name of the data-block to use by the operator
|
|
51
|
+
:type name: typing.Union[str, typing.Any]
|
|
52
|
+
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
53
|
+
:type session_uid: typing.Any
|
|
124
54
|
"""
|
|
125
55
|
|
|
126
56
|
...
|
|
127
57
|
|
|
128
|
-
def
|
|
129
|
-
override_context: typing.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
undo: typing.Optional[bool] = None,
|
|
134
|
-
*,
|
|
135
|
-
name: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
136
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
137
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
138
|
-
toggle: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
58
|
+
def camera_background_image_remove(
|
|
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,
|
|
139
63
|
):
|
|
140
|
-
"""
|
|
64
|
+
"""Remove a background image from the camera
|
|
141
65
|
|
|
142
|
-
:type override_context: typing.
|
|
143
|
-
:type execution_context: typing.
|
|
144
|
-
:type undo:
|
|
145
|
-
:param
|
|
146
|
-
:type
|
|
147
|
-
:param extend: Extend
|
|
148
|
-
:type extend: typing.Optional[typing.Union[bool, typing.Any]]
|
|
149
|
-
:param deselect: Deselect
|
|
150
|
-
:type deselect: typing.Optional[typing.Union[bool, typing.Any]]
|
|
151
|
-
:param toggle: Toggle
|
|
152
|
-
:type toggle: typing.Optional[typing.Union[bool, typing.Any]]
|
|
66
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
67
|
+
:type execution_context: typing.Union[str, int]
|
|
68
|
+
:type undo: bool
|
|
69
|
+
:param index: Index, Background image index to remove
|
|
70
|
+
:type index: typing.Any
|
|
153
71
|
"""
|
|
154
72
|
|
|
155
73
|
...
|
|
156
74
|
|
|
157
75
|
def camera_to_view(
|
|
158
|
-
override_context: typing.
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
162
|
-
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,
|
|
163
79
|
):
|
|
164
80
|
"""Set camera view to active view
|
|
165
81
|
|
|
166
|
-
:type override_context: typing.
|
|
167
|
-
:type execution_context: typing.
|
|
168
|
-
:type undo:
|
|
82
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
83
|
+
:type execution_context: typing.Union[str, int]
|
|
84
|
+
:type undo: bool
|
|
169
85
|
"""
|
|
170
86
|
|
|
171
87
|
...
|
|
172
88
|
|
|
173
89
|
def camera_to_view_selected(
|
|
174
|
-
override_context: typing.
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
178
|
-
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,
|
|
179
93
|
):
|
|
180
94
|
"""Move the camera so selected objects are framed
|
|
181
95
|
|
|
182
|
-
:type override_context: typing.
|
|
183
|
-
:type execution_context: typing.
|
|
184
|
-
:type undo:
|
|
96
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
97
|
+
:type execution_context: typing.Union[str, int]
|
|
98
|
+
:type undo: bool
|
|
185
99
|
"""
|
|
186
100
|
|
|
187
101
|
...
|
|
188
102
|
|
|
189
103
|
def clear_render_border(
|
|
190
|
-
override_context: typing.
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
194
|
-
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,
|
|
195
107
|
):
|
|
196
108
|
"""Clear the boundaries of the border render and disable border render
|
|
197
109
|
|
|
198
|
-
:type override_context: typing.
|
|
199
|
-
:type execution_context: typing.
|
|
200
|
-
:type undo:
|
|
110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
|
+
:type undo: bool
|
|
201
113
|
"""
|
|
202
114
|
|
|
203
115
|
...
|
|
204
116
|
|
|
205
117
|
def clip_border(
|
|
206
|
-
override_context: typing.
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
215
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
216
|
-
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,
|
|
217
126
|
):
|
|
218
127
|
"""Set the view clipping region
|
|
219
128
|
|
|
220
|
-
:type override_context: typing.
|
|
221
|
-
:type execution_context: typing.
|
|
222
|
-
:type undo:
|
|
129
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
130
|
+
:type execution_context: typing.Union[str, int]
|
|
131
|
+
:type undo: bool
|
|
223
132
|
:param xmin: X Min
|
|
224
|
-
:type xmin: typing.
|
|
133
|
+
:type xmin: typing.Any
|
|
225
134
|
:param xmax: X Max
|
|
226
|
-
:type xmax: typing.
|
|
135
|
+
:type xmax: typing.Any
|
|
227
136
|
:param ymin: Y Min
|
|
228
|
-
:type ymin: typing.
|
|
137
|
+
:type ymin: typing.Any
|
|
229
138
|
:param ymax: Y Max
|
|
230
|
-
:type ymax: typing.
|
|
139
|
+
:type ymax: typing.Any
|
|
231
140
|
:param wait_for_input: Wait for Input
|
|
232
|
-
:type wait_for_input: typing.
|
|
141
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
233
142
|
"""
|
|
234
143
|
|
|
235
144
|
...
|
|
236
145
|
|
|
237
146
|
def copybuffer(
|
|
238
|
-
override_context: typing.
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
242
|
-
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,
|
|
243
150
|
):
|
|
244
151
|
"""Copy the selected objects to the internal clipboard
|
|
245
152
|
|
|
246
|
-
:type override_context: typing.
|
|
247
|
-
:type execution_context: typing.
|
|
248
|
-
:type undo:
|
|
153
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
154
|
+
:type execution_context: typing.Union[str, int]
|
|
155
|
+
:type undo: bool
|
|
249
156
|
"""
|
|
250
157
|
|
|
251
158
|
...
|
|
252
159
|
|
|
253
160
|
def cursor3d(
|
|
254
|
-
override_context: typing.
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
*,
|
|
260
|
-
use_depth: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
261
|
-
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",
|
|
262
166
|
):
|
|
263
167
|
"""Set the location of the 3D cursor
|
|
264
168
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
169
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
|
+
:type undo: bool
|
|
172
|
+
:param use_depth: Surface Project, Project onto the surface
|
|
173
|
+
:type use_depth: typing.Union[bool, typing.Any]
|
|
174
|
+
:param orientation: Orientation, Preset viewpoint to use
|
|
175
|
+
|
|
176
|
+
NONE
|
|
177
|
+
None -- Leave orientation unchanged.
|
|
178
|
+
|
|
179
|
+
VIEW
|
|
180
|
+
View -- Orient to the viewport.
|
|
181
|
+
|
|
182
|
+
XFORM
|
|
183
|
+
Transform -- Orient to the current transform setting.
|
|
184
|
+
|
|
185
|
+
GEOM
|
|
186
|
+
Geometry -- Match the surface normal.
|
|
187
|
+
:type orientation: typing.Any
|
|
272
188
|
"""
|
|
273
189
|
|
|
274
190
|
...
|
|
275
191
|
|
|
276
192
|
def dolly(
|
|
277
|
-
override_context: typing.
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
my: typing.Optional[typing.Any] = 0,
|
|
285
|
-
delta: typing.Optional[typing.Any] = 0,
|
|
286
|
-
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,
|
|
287
200
|
):
|
|
288
201
|
"""Dolly in/out in the view
|
|
289
202
|
|
|
290
|
-
:type override_context: typing.
|
|
291
|
-
:type execution_context: typing.
|
|
292
|
-
:type undo:
|
|
203
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
204
|
+
:type execution_context: typing.Union[str, int]
|
|
205
|
+
:type undo: bool
|
|
293
206
|
:param mx: Region Position X
|
|
294
|
-
:type mx: typing.
|
|
207
|
+
:type mx: typing.Any
|
|
295
208
|
:param my: Region Position Y
|
|
296
|
-
:type my: typing.
|
|
209
|
+
:type my: typing.Any
|
|
297
210
|
:param delta: Delta
|
|
298
|
-
:type delta: typing.
|
|
211
|
+
:type delta: typing.Any
|
|
299
212
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
300
|
-
:type use_cursor_init: typing.
|
|
213
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
301
214
|
"""
|
|
302
215
|
|
|
303
216
|
...
|
|
304
217
|
|
|
305
218
|
def drop_world(
|
|
306
|
-
override_context: typing.
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
310
|
-
undo: typing.Optional[bool] = None,
|
|
311
|
-
*,
|
|
219
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
|
+
undo: bool = None,
|
|
312
222
|
name: typing.Union[str, typing.Any] = "",
|
|
313
|
-
session_uid: typing.
|
|
223
|
+
session_uid: typing.Any = 0,
|
|
314
224
|
):
|
|
315
225
|
"""Drop a world into the scene
|
|
316
226
|
|
|
317
|
-
:type override_context: typing.
|
|
318
|
-
:type execution_context: typing.
|
|
319
|
-
:type undo:
|
|
227
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
+
:type execution_context: typing.Union[str, int]
|
|
229
|
+
:type undo: bool
|
|
320
230
|
:param name: Name, Name of the data-block to use by the operator
|
|
321
231
|
:type name: typing.Union[str, typing.Any]
|
|
322
232
|
:param session_uid: Session UID, Session UID of the data-block to use by the operator
|
|
323
|
-
:type session_uid: typing.
|
|
233
|
+
:type session_uid: typing.Any
|
|
324
234
|
"""
|
|
325
235
|
|
|
326
236
|
...
|
|
327
237
|
|
|
328
238
|
def edit_mesh_extrude_individual_move(
|
|
329
|
-
override_context: typing.
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
333
|
-
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,
|
|
334
242
|
):
|
|
335
|
-
"""Extrude each individual face separately along local normals
|
|
243
|
+
"""Extrude each individual face separately along local normals
|
|
336
244
|
|
|
337
|
-
:type override_context: typing.
|
|
338
|
-
:type execution_context: typing.
|
|
339
|
-
:type undo:
|
|
245
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
246
|
+
:type execution_context: typing.Union[str, int]
|
|
247
|
+
:type undo: bool
|
|
340
248
|
"""
|
|
341
249
|
|
|
342
250
|
...
|
|
343
251
|
|
|
344
252
|
def edit_mesh_extrude_manifold_normal(
|
|
345
|
-
override_context: typing.
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
349
|
-
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,
|
|
350
256
|
):
|
|
351
|
-
"""Extrude manifold region along normals
|
|
257
|
+
"""Extrude manifold region along normals
|
|
352
258
|
|
|
353
|
-
:type override_context: typing.
|
|
354
|
-
:type execution_context: typing.
|
|
355
|
-
:type undo:
|
|
259
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
260
|
+
:type execution_context: typing.Union[str, int]
|
|
261
|
+
:type undo: bool
|
|
356
262
|
"""
|
|
357
263
|
|
|
358
264
|
...
|
|
359
265
|
|
|
360
266
|
def edit_mesh_extrude_move_normal(
|
|
361
|
-
override_context: typing.
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
372
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
373
|
-
:type undo: typing.Optional[bool]
|
|
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,
|
|
271
|
+
):
|
|
272
|
+
"""Extrude region together along the average normal
|
|
273
|
+
|
|
274
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
275
|
+
:type execution_context: typing.Union[str, int]
|
|
276
|
+
:type undo: bool
|
|
374
277
|
:param dissolve_and_intersect: dissolve_and_intersect, Dissolves adjacent faces and intersects new geometry
|
|
375
|
-
:type dissolve_and_intersect: typing.
|
|
278
|
+
:type dissolve_and_intersect: typing.Union[bool, typing.Any]
|
|
376
279
|
"""
|
|
377
280
|
|
|
378
281
|
...
|
|
379
282
|
|
|
380
283
|
def edit_mesh_extrude_move_shrink_fatten(
|
|
381
|
-
override_context: typing.
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
385
|
-
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,
|
|
386
287
|
):
|
|
387
|
-
"""Extrude region together along local normals
|
|
288
|
+
"""Extrude region together along local normals
|
|
388
289
|
|
|
389
|
-
:type override_context: typing.
|
|
390
|
-
:type execution_context: typing.
|
|
391
|
-
:type undo:
|
|
290
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
291
|
+
:type execution_context: typing.Union[str, int]
|
|
292
|
+
:type undo: bool
|
|
392
293
|
"""
|
|
393
294
|
|
|
394
295
|
...
|
|
395
296
|
|
|
396
297
|
def fly(
|
|
397
|
-
override_context: typing.
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
401
|
-
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,
|
|
402
301
|
):
|
|
403
302
|
"""Interactively fly around the scene
|
|
404
303
|
|
|
405
|
-
:type override_context: typing.
|
|
406
|
-
:type execution_context: typing.
|
|
407
|
-
:type undo:
|
|
304
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
|
+
:type undo: bool
|
|
408
307
|
"""
|
|
409
308
|
|
|
410
309
|
...
|
|
411
310
|
|
|
412
311
|
def interactive_add(
|
|
413
|
-
override_context: typing.
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
plane_aspect_base: typing.Optional[typing.Any] = "FREE",
|
|
423
|
-
plane_aspect_depth: typing.Optional[typing.Any] = "FREE",
|
|
424
|
-
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,
|
|
425
321
|
):
|
|
426
322
|
"""Interactively add an object
|
|
427
323
|
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
324
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
325
|
+
:type execution_context: typing.Union[str, int]
|
|
326
|
+
:type undo: bool
|
|
327
|
+
:param primitive_type: Primitive
|
|
328
|
+
:type primitive_type: typing.Any
|
|
329
|
+
:param plane_origin_base: Origin, The initial position for placement
|
|
330
|
+
|
|
331
|
+
EDGE
|
|
332
|
+
Edge -- Start placing the edge position.
|
|
333
|
+
|
|
334
|
+
CENTER
|
|
335
|
+
Center -- Start placing the center position.
|
|
336
|
+
:type plane_origin_base: typing.Any
|
|
337
|
+
:param plane_origin_depth: Origin, The initial position for placement
|
|
338
|
+
|
|
339
|
+
EDGE
|
|
340
|
+
Edge -- Start placing the edge position.
|
|
341
|
+
|
|
342
|
+
CENTER
|
|
343
|
+
Center -- Start placing the center position.
|
|
344
|
+
:type plane_origin_depth: typing.Any
|
|
345
|
+
:param plane_aspect_base: Aspect, The initial aspect setting
|
|
346
|
+
|
|
347
|
+
FREE
|
|
348
|
+
Free -- Use an unconstrained aspect.
|
|
349
|
+
|
|
350
|
+
FIXED
|
|
351
|
+
Fixed -- Use a fixed 1:1 aspect.
|
|
352
|
+
:type plane_aspect_base: typing.Any
|
|
353
|
+
:param plane_aspect_depth: Aspect, The initial aspect setting
|
|
354
|
+
|
|
355
|
+
FREE
|
|
356
|
+
Free -- Use an unconstrained aspect.
|
|
357
|
+
|
|
358
|
+
FIXED
|
|
359
|
+
Fixed -- Use a fixed 1:1 aspect.
|
|
360
|
+
:type plane_aspect_depth: typing.Any
|
|
361
|
+
:param wait_for_input: Wait for Input
|
|
362
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
443
363
|
"""
|
|
444
364
|
|
|
445
365
|
...
|
|
446
366
|
|
|
447
367
|
def localview(
|
|
448
|
-
override_context: typing.
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
undo: typing.Optional[bool] = None,
|
|
453
|
-
*,
|
|
454
|
-
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,
|
|
455
372
|
):
|
|
456
373
|
"""Toggle display of selected object(s) separately and centered in view
|
|
457
374
|
|
|
458
|
-
:type override_context: typing.
|
|
459
|
-
:type execution_context: typing.
|
|
460
|
-
:type undo:
|
|
375
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
376
|
+
:type execution_context: typing.Union[str, int]
|
|
377
|
+
:type undo: bool
|
|
461
378
|
:param frame_selected: Frame Selected, Move the view to frame the selected objects
|
|
462
|
-
:type frame_selected: typing.
|
|
379
|
+
:type frame_selected: typing.Union[bool, typing.Any]
|
|
463
380
|
"""
|
|
464
381
|
|
|
465
382
|
...
|
|
466
383
|
|
|
467
384
|
def localview_remove_from(
|
|
468
|
-
override_context: typing.
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
472
|
-
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,
|
|
473
388
|
):
|
|
474
389
|
"""Move selected objects out of local view
|
|
475
390
|
|
|
476
|
-
:type override_context: typing.
|
|
477
|
-
:type execution_context: typing.
|
|
478
|
-
:type undo:
|
|
391
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
392
|
+
:type execution_context: typing.Union[str, int]
|
|
393
|
+
:type undo: bool
|
|
479
394
|
"""
|
|
480
395
|
|
|
481
396
|
...
|
|
482
397
|
|
|
483
398
|
def move(
|
|
484
|
-
override_context: typing.
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
undo: typing.Optional[bool] = None,
|
|
489
|
-
*,
|
|
490
|
-
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,
|
|
491
403
|
):
|
|
492
404
|
"""Move the view
|
|
493
405
|
|
|
494
|
-
:type override_context: typing.
|
|
495
|
-
:type execution_context: typing.
|
|
496
|
-
:type undo:
|
|
406
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
407
|
+
:type execution_context: typing.Union[str, int]
|
|
408
|
+
:type undo: bool
|
|
497
409
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
498
|
-
:type use_cursor_init: typing.
|
|
410
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
499
411
|
"""
|
|
500
412
|
|
|
501
413
|
...
|
|
502
414
|
|
|
503
415
|
def navigate(
|
|
504
|
-
override_context: typing.
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
508
|
-
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,
|
|
509
419
|
):
|
|
510
420
|
"""Interactively navigate around the scene (uses the mode (walk/fly) preference)
|
|
511
421
|
|
|
512
|
-
:type override_context: typing.
|
|
513
|
-
:type execution_context: typing.
|
|
514
|
-
:type undo:
|
|
422
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
|
+
:type undo: bool
|
|
515
425
|
"""
|
|
516
426
|
|
|
517
427
|
...
|
|
518
428
|
|
|
519
429
|
def ndof_all(
|
|
520
|
-
override_context: typing.
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
524
|
-
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,
|
|
525
433
|
):
|
|
526
434
|
"""Pan and rotate the view with the 3D mouse
|
|
527
435
|
|
|
528
|
-
:type override_context: typing.
|
|
529
|
-
:type execution_context: typing.
|
|
530
|
-
:type undo:
|
|
436
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
437
|
+
:type execution_context: typing.Union[str, int]
|
|
438
|
+
:type undo: bool
|
|
531
439
|
"""
|
|
532
440
|
|
|
533
441
|
...
|
|
534
442
|
|
|
535
443
|
def ndof_orbit(
|
|
536
|
-
override_context: typing.
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
540
|
-
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,
|
|
541
447
|
):
|
|
542
448
|
"""Orbit the view using the 3D mouse
|
|
543
449
|
|
|
544
|
-
:type override_context: typing.
|
|
545
|
-
:type execution_context: typing.
|
|
546
|
-
:type undo:
|
|
450
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
451
|
+
:type execution_context: typing.Union[str, int]
|
|
452
|
+
:type undo: bool
|
|
547
453
|
"""
|
|
548
454
|
|
|
549
455
|
...
|
|
550
456
|
|
|
551
457
|
def ndof_orbit_zoom(
|
|
552
|
-
override_context: typing.
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
556
|
-
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,
|
|
557
461
|
):
|
|
558
462
|
"""Orbit and zoom the view using the 3D mouse
|
|
559
463
|
|
|
560
|
-
:type override_context: typing.
|
|
561
|
-
:type execution_context: typing.
|
|
562
|
-
:type undo:
|
|
464
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
465
|
+
:type execution_context: typing.Union[str, int]
|
|
466
|
+
:type undo: bool
|
|
563
467
|
"""
|
|
564
468
|
|
|
565
469
|
...
|
|
566
470
|
|
|
567
471
|
def ndof_pan(
|
|
568
|
-
override_context: typing.
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
572
|
-
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,
|
|
573
475
|
):
|
|
574
476
|
"""Pan the view with the 3D mouse
|
|
575
477
|
|
|
576
|
-
:type override_context: typing.
|
|
577
|
-
:type execution_context: typing.
|
|
578
|
-
:type undo:
|
|
478
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
479
|
+
:type execution_context: typing.Union[str, int]
|
|
480
|
+
:type undo: bool
|
|
579
481
|
"""
|
|
580
482
|
|
|
581
483
|
...
|
|
582
484
|
|
|
583
485
|
def object_as_camera(
|
|
584
|
-
override_context: typing.
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
588
|
-
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,
|
|
589
489
|
):
|
|
590
490
|
"""Set the active object as the active camera for this view or scene
|
|
591
491
|
|
|
592
|
-
:type override_context: typing.
|
|
593
|
-
:type execution_context: typing.
|
|
594
|
-
:type undo:
|
|
492
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
493
|
+
:type execution_context: typing.Union[str, int]
|
|
494
|
+
:type undo: bool
|
|
595
495
|
"""
|
|
596
496
|
|
|
597
497
|
...
|
|
598
498
|
|
|
599
499
|
def object_mode_pie_or_toggle(
|
|
600
|
-
override_context: typing.
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
604
|
-
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,
|
|
605
503
|
):
|
|
606
|
-
"""Undocumented, consider
|
|
504
|
+
"""Undocumented, consider contributing.
|
|
607
505
|
|
|
608
|
-
:type override_context: typing.
|
|
609
|
-
:type execution_context: typing.
|
|
610
|
-
:type undo:
|
|
506
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
507
|
+
:type execution_context: typing.Union[str, int]
|
|
508
|
+
:type undo: bool
|
|
611
509
|
"""
|
|
612
510
|
|
|
613
511
|
...
|
|
614
512
|
|
|
615
513
|
def pastebuffer(
|
|
616
|
-
override_context: typing.
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
*,
|
|
622
|
-
autoselect: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
623
|
-
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,
|
|
624
519
|
):
|
|
625
520
|
"""Paste objects from the internal clipboard
|
|
626
521
|
|
|
627
|
-
:type override_context: typing.
|
|
628
|
-
:type execution_context: typing.
|
|
629
|
-
:type undo:
|
|
522
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
523
|
+
:type execution_context: typing.Union[str, int]
|
|
524
|
+
:type undo: bool
|
|
630
525
|
:param autoselect: Select, Select pasted objects
|
|
631
|
-
:type autoselect: typing.
|
|
526
|
+
:type autoselect: typing.Union[bool, typing.Any]
|
|
632
527
|
:param active_collection: Active Collection, Put pasted objects in the active collection
|
|
633
|
-
:type active_collection: typing.
|
|
528
|
+
:type active_collection: typing.Union[bool, typing.Any]
|
|
634
529
|
"""
|
|
635
530
|
|
|
636
531
|
...
|
|
637
532
|
|
|
638
533
|
def render_border(
|
|
639
|
-
override_context: typing.
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
ymin: typing.Optional[typing.Any] = 0,
|
|
648
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
649
|
-
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,
|
|
650
542
|
):
|
|
651
543
|
"""Set the boundaries of the border render and enable border render
|
|
652
544
|
|
|
653
|
-
:type override_context: typing.
|
|
654
|
-
:type execution_context: typing.
|
|
655
|
-
:type undo:
|
|
545
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
546
|
+
:type execution_context: typing.Union[str, int]
|
|
547
|
+
:type undo: bool
|
|
656
548
|
:param xmin: X Min
|
|
657
|
-
:type xmin: typing.
|
|
549
|
+
:type xmin: typing.Any
|
|
658
550
|
:param xmax: X Max
|
|
659
|
-
:type xmax: typing.
|
|
551
|
+
:type xmax: typing.Any
|
|
660
552
|
:param ymin: Y Min
|
|
661
|
-
:type ymin: typing.
|
|
553
|
+
:type ymin: typing.Any
|
|
662
554
|
:param ymax: Y Max
|
|
663
|
-
:type ymax: typing.
|
|
555
|
+
:type ymax: typing.Any
|
|
664
556
|
:param wait_for_input: Wait for Input
|
|
665
|
-
:type wait_for_input: typing.
|
|
557
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
666
558
|
"""
|
|
667
559
|
|
|
668
560
|
...
|
|
669
561
|
|
|
670
562
|
def rotate(
|
|
671
|
-
override_context: typing.
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
undo: typing.Optional[bool] = None,
|
|
676
|
-
*,
|
|
677
|
-
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,
|
|
678
567
|
):
|
|
679
568
|
"""Rotate the view
|
|
680
569
|
|
|
681
|
-
:type override_context: typing.
|
|
682
|
-
:type execution_context: typing.
|
|
683
|
-
:type undo:
|
|
570
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
571
|
+
:type execution_context: typing.Union[str, int]
|
|
572
|
+
:type undo: bool
|
|
684
573
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
685
|
-
:type use_cursor_init: typing.
|
|
574
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
686
575
|
"""
|
|
687
576
|
|
|
688
577
|
...
|
|
689
578
|
|
|
690
579
|
def ruler_add(
|
|
691
|
-
override_context: typing.
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
695
|
-
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,
|
|
696
583
|
):
|
|
697
584
|
"""Add ruler
|
|
698
585
|
|
|
699
|
-
:type override_context: typing.
|
|
700
|
-
:type execution_context: typing.
|
|
701
|
-
:type undo:
|
|
586
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
587
|
+
:type execution_context: typing.Union[str, int]
|
|
588
|
+
:type undo: bool
|
|
702
589
|
"""
|
|
703
590
|
|
|
704
591
|
...
|
|
705
592
|
|
|
706
593
|
def ruler_remove(
|
|
707
|
-
override_context: typing.
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
711
|
-
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,
|
|
712
597
|
):
|
|
713
|
-
"""Undocumented, consider
|
|
598
|
+
"""Undocumented, consider contributing.
|
|
714
599
|
|
|
715
|
-
:type override_context: typing.
|
|
716
|
-
:type execution_context: typing.
|
|
717
|
-
:type undo:
|
|
600
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
601
|
+
:type execution_context: typing.Union[str, int]
|
|
602
|
+
:type undo: bool
|
|
718
603
|
"""
|
|
719
604
|
|
|
720
605
|
...
|
|
721
606
|
|
|
722
607
|
def select(
|
|
723
|
-
override_context: typing.
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
enumerate: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
736
|
-
object: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
737
|
-
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),
|
|
738
620
|
):
|
|
739
621
|
"""Select and activate item(s)
|
|
740
622
|
|
|
741
|
-
:type override_context: typing.
|
|
742
|
-
:type execution_context: typing.
|
|
743
|
-
:type undo:
|
|
623
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
+
:type execution_context: typing.Union[str, int]
|
|
625
|
+
:type undo: bool
|
|
744
626
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
745
|
-
:type extend: typing.
|
|
627
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
746
628
|
:param deselect: Deselect, Remove from selection
|
|
747
|
-
:type deselect: typing.
|
|
629
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
748
630
|
:param toggle: Toggle Selection, Toggle the selection
|
|
749
|
-
:type toggle: typing.
|
|
631
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
750
632
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
751
|
-
:type deselect_all: typing.
|
|
633
|
+
:type deselect_all: typing.Union[bool, typing.Any]
|
|
752
634
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
753
|
-
:type select_passthrough: typing.
|
|
635
|
+
:type select_passthrough: typing.Union[bool, typing.Any]
|
|
754
636
|
:param center: Center, Use the object center when selecting, in edit mode used to extend object selection
|
|
755
|
-
:type center: typing.
|
|
637
|
+
:type center: typing.Union[bool, typing.Any]
|
|
756
638
|
:param enumerate: Enumerate, List objects under the mouse (object mode only)
|
|
757
|
-
:type enumerate: typing.
|
|
639
|
+
:type enumerate: typing.Union[bool, typing.Any]
|
|
758
640
|
:param object: Object, Use object selection (edit mode only)
|
|
759
|
-
:type object: typing.
|
|
641
|
+
:type object: typing.Union[bool, typing.Any]
|
|
760
642
|
:param location: Location, Mouse location
|
|
761
|
-
:type location: typing.
|
|
643
|
+
:type location: typing.Any
|
|
762
644
|
"""
|
|
763
645
|
|
|
764
646
|
...
|
|
765
647
|
|
|
766
648
|
def select_box(
|
|
767
|
-
override_context: typing.
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
777
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
778
|
-
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",
|
|
779
658
|
):
|
|
780
659
|
"""Select items using box selection
|
|
781
660
|
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
661
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
662
|
+
:type execution_context: typing.Union[str, int]
|
|
663
|
+
:type undo: bool
|
|
664
|
+
:param xmin: X Min
|
|
665
|
+
:type xmin: typing.Any
|
|
666
|
+
:param xmax: X Max
|
|
667
|
+
:type xmax: typing.Any
|
|
668
|
+
:param ymin: Y Min
|
|
669
|
+
:type ymin: typing.Any
|
|
670
|
+
:param ymax: Y Max
|
|
671
|
+
:type ymax: typing.Any
|
|
672
|
+
:param wait_for_input: Wait for Input
|
|
673
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
674
|
+
:param mode: Mode
|
|
675
|
+
|
|
676
|
+
SET
|
|
677
|
+
Set -- Set a new selection.
|
|
678
|
+
|
|
679
|
+
ADD
|
|
680
|
+
Extend -- Extend existing selection.
|
|
681
|
+
|
|
682
|
+
SUB
|
|
683
|
+
Subtract -- Subtract existing selection.
|
|
684
|
+
|
|
685
|
+
XOR
|
|
686
|
+
Difference -- Invert existing selection.
|
|
687
|
+
|
|
688
|
+
AND
|
|
689
|
+
Intersect -- Intersect existing selection.
|
|
690
|
+
:type mode: typing.Any
|
|
797
691
|
"""
|
|
798
692
|
|
|
799
693
|
...
|
|
800
694
|
|
|
801
695
|
def select_circle(
|
|
802
|
-
override_context: typing.
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
radius: typing.Optional[typing.Any] = 25,
|
|
811
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
812
|
-
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",
|
|
813
704
|
):
|
|
814
705
|
"""Select items using circle selection
|
|
815
706
|
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
707
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
708
|
+
:type execution_context: typing.Union[str, int]
|
|
709
|
+
:type undo: bool
|
|
710
|
+
:param x: X
|
|
711
|
+
:type x: typing.Any
|
|
712
|
+
:param y: Y
|
|
713
|
+
:type y: typing.Any
|
|
714
|
+
:param radius: Radius
|
|
715
|
+
:type radius: typing.Any
|
|
716
|
+
:param wait_for_input: Wait for Input
|
|
717
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
718
|
+
:param mode: Mode
|
|
719
|
+
|
|
720
|
+
SET
|
|
721
|
+
Set -- Set a new selection.
|
|
722
|
+
|
|
723
|
+
ADD
|
|
724
|
+
Extend -- Extend existing selection.
|
|
725
|
+
|
|
726
|
+
SUB
|
|
727
|
+
Subtract -- Subtract existing selection.
|
|
728
|
+
:type mode: typing.Any
|
|
829
729
|
"""
|
|
830
730
|
|
|
831
731
|
...
|
|
832
732
|
|
|
833
733
|
def select_lasso(
|
|
834
|
-
override_context: typing.
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
*,
|
|
840
|
-
path: typing.Optional[
|
|
841
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
842
|
-
] = None,
|
|
843
|
-
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",
|
|
844
739
|
):
|
|
845
740
|
"""Select items using lasso selection
|
|
846
741
|
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
742
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
743
|
+
:type execution_context: typing.Union[str, int]
|
|
744
|
+
:type undo: bool
|
|
745
|
+
:param path: Path
|
|
746
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
747
|
+
:param mode: Mode
|
|
748
|
+
|
|
749
|
+
SET
|
|
750
|
+
Set -- Set a new selection.
|
|
751
|
+
|
|
752
|
+
ADD
|
|
753
|
+
Extend -- Extend existing selection.
|
|
754
|
+
|
|
755
|
+
SUB
|
|
756
|
+
Subtract -- Subtract existing selection.
|
|
757
|
+
|
|
758
|
+
XOR
|
|
759
|
+
Difference -- Invert existing selection.
|
|
760
|
+
|
|
761
|
+
AND
|
|
762
|
+
Intersect -- Intersect existing selection.
|
|
763
|
+
:type mode: typing.Any
|
|
854
764
|
"""
|
|
855
765
|
|
|
856
766
|
...
|
|
857
767
|
|
|
858
768
|
def select_menu(
|
|
859
|
-
override_context: typing.
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
867
|
-
deselect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
868
|
-
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,
|
|
869
776
|
):
|
|
870
777
|
"""Menu object selection
|
|
871
778
|
|
|
872
|
-
:type override_context: typing.
|
|
873
|
-
:type execution_context: typing.
|
|
874
|
-
:type undo:
|
|
779
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
780
|
+
:type execution_context: typing.Union[str, int]
|
|
781
|
+
:type undo: bool
|
|
875
782
|
:param name: Object Name
|
|
876
|
-
:type name: typing.
|
|
783
|
+
:type name: typing.Union[str, int, typing.Any]
|
|
877
784
|
:param extend: Extend
|
|
878
|
-
:type extend: typing.
|
|
785
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
879
786
|
:param deselect: Deselect
|
|
880
|
-
:type deselect: typing.
|
|
787
|
+
:type deselect: typing.Union[bool, typing.Any]
|
|
881
788
|
:param toggle: Toggle
|
|
882
|
-
:type toggle: typing.
|
|
789
|
+
:type toggle: typing.Union[bool, typing.Any]
|
|
883
790
|
"""
|
|
884
791
|
|
|
885
792
|
...
|
|
886
793
|
|
|
887
794
|
def smoothview(
|
|
888
|
-
override_context: typing.
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
892
|
-
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,
|
|
893
798
|
):
|
|
894
|
-
"""Undocumented, consider
|
|
799
|
+
"""Undocumented, consider contributing.
|
|
895
800
|
|
|
896
|
-
:type override_context: typing.
|
|
897
|
-
:type execution_context: typing.
|
|
898
|
-
:type undo:
|
|
801
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
802
|
+
:type execution_context: typing.Union[str, int]
|
|
803
|
+
:type undo: bool
|
|
899
804
|
"""
|
|
900
805
|
|
|
901
806
|
...
|
|
902
807
|
|
|
903
808
|
def snap_cursor_to_active(
|
|
904
|
-
override_context: typing.
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
908
|
-
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,
|
|
909
812
|
):
|
|
910
813
|
"""Snap 3D cursor to the active item
|
|
911
814
|
|
|
912
|
-
:type override_context: typing.
|
|
913
|
-
:type execution_context: typing.
|
|
914
|
-
:type undo:
|
|
815
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
816
|
+
:type execution_context: typing.Union[str, int]
|
|
817
|
+
:type undo: bool
|
|
915
818
|
"""
|
|
916
819
|
|
|
917
820
|
...
|
|
918
821
|
|
|
919
822
|
def snap_cursor_to_center(
|
|
920
|
-
override_context: typing.
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
924
|
-
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,
|
|
925
826
|
):
|
|
926
827
|
"""Snap 3D cursor to the world origin
|
|
927
828
|
|
|
928
|
-
:type override_context: typing.
|
|
929
|
-
:type execution_context: typing.
|
|
930
|
-
:type undo:
|
|
829
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
830
|
+
:type execution_context: typing.Union[str, int]
|
|
831
|
+
:type undo: bool
|
|
931
832
|
"""
|
|
932
833
|
|
|
933
834
|
...
|
|
934
835
|
|
|
935
836
|
def snap_cursor_to_grid(
|
|
936
|
-
override_context: typing.
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
940
|
-
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,
|
|
941
840
|
):
|
|
942
841
|
"""Snap 3D cursor to the nearest grid division
|
|
943
842
|
|
|
944
|
-
:type override_context: typing.
|
|
945
|
-
:type execution_context: typing.
|
|
946
|
-
:type undo:
|
|
843
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
844
|
+
:type execution_context: typing.Union[str, int]
|
|
845
|
+
:type undo: bool
|
|
947
846
|
"""
|
|
948
847
|
|
|
949
848
|
...
|
|
950
849
|
|
|
951
850
|
def snap_cursor_to_selected(
|
|
952
|
-
override_context: typing.
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
956
|
-
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,
|
|
957
854
|
):
|
|
958
855
|
"""Snap 3D cursor to the middle of the selected item(s)
|
|
959
856
|
|
|
960
|
-
:type override_context: typing.
|
|
961
|
-
:type execution_context: typing.
|
|
962
|
-
:type undo:
|
|
857
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
858
|
+
:type execution_context: typing.Union[str, int]
|
|
859
|
+
:type undo: bool
|
|
963
860
|
"""
|
|
964
861
|
|
|
965
862
|
...
|
|
966
863
|
|
|
967
864
|
def snap_selected_to_active(
|
|
968
|
-
override_context: typing.
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
972
|
-
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,
|
|
973
868
|
):
|
|
974
869
|
"""Snap selected item(s) to the active item
|
|
975
870
|
|
|
976
|
-
:type override_context: typing.
|
|
977
|
-
:type execution_context: typing.
|
|
978
|
-
:type undo:
|
|
871
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
872
|
+
:type execution_context: typing.Union[str, int]
|
|
873
|
+
:type undo: bool
|
|
979
874
|
"""
|
|
980
875
|
|
|
981
876
|
...
|
|
982
877
|
|
|
983
878
|
def snap_selected_to_cursor(
|
|
984
|
-
override_context: typing.
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
|
|
988
|
-
undo: typing.Optional[bool] = None,
|
|
989
|
-
*,
|
|
990
|
-
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,
|
|
991
883
|
):
|
|
992
884
|
"""Snap selected item(s) to the 3D cursor
|
|
993
885
|
|
|
994
|
-
:type override_context: typing.
|
|
995
|
-
:type execution_context: typing.
|
|
996
|
-
:type undo:
|
|
886
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
887
|
+
:type execution_context: typing.Union[str, int]
|
|
888
|
+
:type undo: bool
|
|
997
889
|
:param use_offset: Offset, If the selection should be snapped as a whole or by each object center
|
|
998
|
-
:type use_offset: typing.
|
|
890
|
+
:type use_offset: typing.Union[bool, typing.Any]
|
|
999
891
|
"""
|
|
1000
892
|
|
|
1001
893
|
...
|
|
1002
894
|
|
|
1003
895
|
def snap_selected_to_grid(
|
|
1004
|
-
override_context: typing.
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1008
|
-
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,
|
|
1009
899
|
):
|
|
1010
900
|
"""Snap selected item(s) to their nearest grid division
|
|
1011
901
|
|
|
1012
|
-
:type override_context: typing.
|
|
1013
|
-
:type execution_context: typing.
|
|
1014
|
-
:type undo:
|
|
902
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
903
|
+
:type execution_context: typing.Union[str, int]
|
|
904
|
+
:type undo: bool
|
|
1015
905
|
"""
|
|
1016
906
|
|
|
1017
907
|
...
|
|
1018
908
|
|
|
1019
909
|
def toggle_matcap_flip(
|
|
1020
|
-
override_context: typing.
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1024
|
-
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,
|
|
1025
913
|
):
|
|
1026
914
|
"""Flip MatCap
|
|
1027
915
|
|
|
1028
|
-
:type override_context: typing.
|
|
1029
|
-
:type execution_context: typing.
|
|
1030
|
-
:type undo:
|
|
916
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
917
|
+
:type execution_context: typing.Union[str, int]
|
|
918
|
+
:type undo: bool
|
|
1031
919
|
"""
|
|
1032
920
|
|
|
1033
921
|
...
|
|
1034
922
|
|
|
1035
923
|
def toggle_shading(
|
|
1036
|
-
override_context: typing.
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
undo: typing.Optional[bool] = None,
|
|
1041
|
-
*,
|
|
1042
|
-
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",
|
|
1043
928
|
):
|
|
1044
929
|
"""Toggle shading type in 3D viewport
|
|
1045
930
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
931
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
932
|
+
:type execution_context: typing.Union[str, int]
|
|
933
|
+
:type undo: bool
|
|
934
|
+
:param type: Type, Shading type to toggle
|
|
935
|
+
|
|
936
|
+
WIREFRAME
|
|
937
|
+
Wireframe -- Toggle wireframe shading.
|
|
938
|
+
|
|
939
|
+
SOLID
|
|
940
|
+
Solid -- Toggle solid shading.
|
|
941
|
+
|
|
942
|
+
MATERIAL
|
|
943
|
+
Material Preview -- Toggle material preview shading.
|
|
944
|
+
|
|
945
|
+
RENDERED
|
|
946
|
+
Rendered -- Toggle rendered shading.
|
|
947
|
+
:type type: typing.Any
|
|
1051
948
|
"""
|
|
1052
949
|
|
|
1053
950
|
...
|
|
1054
951
|
|
|
1055
952
|
def toggle_xray(
|
|
1056
|
-
override_context: typing.
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1060
|
-
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,
|
|
1061
956
|
):
|
|
1062
957
|
"""Transparent scene display. Allow selecting through items
|
|
1063
958
|
|
|
1064
|
-
:type override_context: typing.
|
|
1065
|
-
:type execution_context: typing.
|
|
1066
|
-
:type undo:
|
|
959
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
960
|
+
:type execution_context: typing.Union[str, int]
|
|
961
|
+
:type undo: bool
|
|
1067
962
|
"""
|
|
1068
963
|
|
|
1069
964
|
...
|
|
1070
965
|
|
|
1071
966
|
def transform_gizmo_set(
|
|
1072
|
-
override_context: typing.
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
:type override_context: typing.Optional[typing.Union[typing.Dict, 'bpy.types.Context']]
|
|
1084
|
-
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1085
|
-
:type undo: typing.Optional[bool]
|
|
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 = {},
|
|
972
|
+
):
|
|
973
|
+
"""Set the current transform gizmo
|
|
974
|
+
|
|
975
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
976
|
+
:type execution_context: typing.Union[str, int]
|
|
977
|
+
:type undo: bool
|
|
1086
978
|
:param extend: Extend
|
|
1087
|
-
:type extend: typing.
|
|
979
|
+
:type extend: typing.Union[bool, typing.Any]
|
|
1088
980
|
:param type: Type
|
|
1089
|
-
:type type: typing.
|
|
981
|
+
:type type: typing.Any
|
|
1090
982
|
"""
|
|
1091
983
|
|
|
1092
984
|
...
|
|
1093
985
|
|
|
1094
986
|
def view_all(
|
|
1095
|
-
override_context: typing.
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
*,
|
|
1101
|
-
use_all_regions: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1102
|
-
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,
|
|
1103
992
|
):
|
|
1104
993
|
"""View all objects in scene
|
|
1105
994
|
|
|
1106
|
-
:type override_context: typing.
|
|
1107
|
-
:type execution_context: typing.
|
|
1108
|
-
:type undo:
|
|
995
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
996
|
+
:type execution_context: typing.Union[str, int]
|
|
997
|
+
:type undo: bool
|
|
1109
998
|
:param use_all_regions: All Regions, View selected for all regions
|
|
1110
|
-
:type use_all_regions: typing.
|
|
999
|
+
:type use_all_regions: typing.Union[bool, typing.Any]
|
|
1111
1000
|
:param center: Center
|
|
1112
|
-
:type center: typing.
|
|
1001
|
+
:type center: typing.Union[bool, typing.Any]
|
|
1113
1002
|
"""
|
|
1114
1003
|
|
|
1115
1004
|
...
|
|
1116
1005
|
|
|
1117
1006
|
def view_axis(
|
|
1118
|
-
override_context: typing.
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
type: typing.Optional[typing.Any] = "LEFT",
|
|
1125
|
-
align_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1126
|
-
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,
|
|
1127
1013
|
):
|
|
1128
1014
|
"""Use a preset viewpoint
|
|
1129
1015
|
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1016
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1017
|
+
:type execution_context: typing.Union[str, int]
|
|
1018
|
+
:type undo: bool
|
|
1019
|
+
:param type: View, Preset viewpoint to use
|
|
1020
|
+
|
|
1021
|
+
LEFT
|
|
1022
|
+
Left -- View from the left.
|
|
1023
|
+
|
|
1024
|
+
RIGHT
|
|
1025
|
+
Right -- View from the right.
|
|
1026
|
+
|
|
1027
|
+
BOTTOM
|
|
1028
|
+
Bottom -- View from the bottom.
|
|
1029
|
+
|
|
1030
|
+
TOP
|
|
1031
|
+
Top -- View from the top.
|
|
1032
|
+
|
|
1033
|
+
FRONT
|
|
1034
|
+
Front -- View from the front.
|
|
1035
|
+
|
|
1036
|
+
BACK
|
|
1037
|
+
Back -- View from the back.
|
|
1038
|
+
:type type: typing.Any
|
|
1039
|
+
:param align_active: Align Active, Align to the active object's axis
|
|
1040
|
+
:type align_active: typing.Union[bool, typing.Any]
|
|
1041
|
+
:param relative: Relative, Rotate relative to the current orientation
|
|
1042
|
+
:type relative: typing.Union[bool, typing.Any]
|
|
1139
1043
|
"""
|
|
1140
1044
|
|
|
1141
1045
|
...
|
|
1142
1046
|
|
|
1143
1047
|
def view_camera(
|
|
1144
|
-
override_context: typing.
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1148
|
-
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,
|
|
1149
1051
|
):
|
|
1150
1052
|
"""Toggle the camera view
|
|
1151
1053
|
|
|
1152
|
-
:type override_context: typing.
|
|
1153
|
-
:type execution_context: typing.
|
|
1154
|
-
:type undo:
|
|
1054
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1055
|
+
:type execution_context: typing.Union[str, int]
|
|
1056
|
+
:type undo: bool
|
|
1155
1057
|
"""
|
|
1156
1058
|
|
|
1157
1059
|
...
|
|
1158
1060
|
|
|
1159
1061
|
def view_center_camera(
|
|
1160
|
-
override_context: typing.
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1164
|
-
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,
|
|
1165
1065
|
):
|
|
1166
1066
|
"""Center the camera view, resizing the view to fit its bounds
|
|
1167
1067
|
|
|
1168
|
-
:type override_context: typing.
|
|
1169
|
-
:type execution_context: typing.
|
|
1170
|
-
:type undo:
|
|
1068
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1069
|
+
:type execution_context: typing.Union[str, int]
|
|
1070
|
+
:type undo: bool
|
|
1171
1071
|
"""
|
|
1172
1072
|
|
|
1173
1073
|
...
|
|
1174
1074
|
|
|
1175
1075
|
def view_center_cursor(
|
|
1176
|
-
override_context: typing.
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1180
|
-
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,
|
|
1181
1079
|
):
|
|
1182
1080
|
"""Center the view so that the cursor is in the middle of the view
|
|
1183
1081
|
|
|
1184
|
-
:type override_context: typing.
|
|
1185
|
-
:type execution_context: typing.
|
|
1186
|
-
:type undo:
|
|
1082
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1083
|
+
:type execution_context: typing.Union[str, int]
|
|
1084
|
+
:type undo: bool
|
|
1187
1085
|
"""
|
|
1188
1086
|
|
|
1189
1087
|
...
|
|
1190
1088
|
|
|
1191
1089
|
def view_center_lock(
|
|
1192
|
-
override_context: typing.
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1196
|
-
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,
|
|
1197
1093
|
):
|
|
1198
1094
|
"""Center the view lock offset
|
|
1199
1095
|
|
|
1200
|
-
:type override_context: typing.
|
|
1201
|
-
:type execution_context: typing.
|
|
1202
|
-
:type undo:
|
|
1096
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1097
|
+
:type execution_context: typing.Union[str, int]
|
|
1098
|
+
:type undo: bool
|
|
1203
1099
|
"""
|
|
1204
1100
|
|
|
1205
1101
|
...
|
|
1206
1102
|
|
|
1207
1103
|
def view_center_pick(
|
|
1208
|
-
override_context: typing.
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1212
|
-
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,
|
|
1213
1107
|
):
|
|
1214
1108
|
"""Center the view to the Z-depth position under the mouse cursor
|
|
1215
1109
|
|
|
1216
|
-
:type override_context: typing.
|
|
1217
|
-
:type execution_context: typing.
|
|
1218
|
-
:type undo:
|
|
1110
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1111
|
+
:type execution_context: typing.Union[str, int]
|
|
1112
|
+
:type undo: bool
|
|
1219
1113
|
"""
|
|
1220
1114
|
|
|
1221
1115
|
...
|
|
1222
1116
|
|
|
1223
1117
|
def view_lock_clear(
|
|
1224
|
-
override_context: typing.
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1228
|
-
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,
|
|
1229
1121
|
):
|
|
1230
1122
|
"""Clear all view locking
|
|
1231
1123
|
|
|
1232
|
-
:type override_context: typing.
|
|
1233
|
-
:type execution_context: typing.
|
|
1234
|
-
:type undo:
|
|
1124
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1125
|
+
:type execution_context: typing.Union[str, int]
|
|
1126
|
+
:type undo: bool
|
|
1235
1127
|
"""
|
|
1236
1128
|
|
|
1237
1129
|
...
|
|
1238
1130
|
|
|
1239
1131
|
def view_lock_to_active(
|
|
1240
|
-
override_context: typing.
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1244
|
-
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,
|
|
1245
1135
|
):
|
|
1246
1136
|
"""Lock the view to the active object/bone
|
|
1247
1137
|
|
|
1248
|
-
:type override_context: typing.
|
|
1249
|
-
:type execution_context: typing.
|
|
1250
|
-
:type undo:
|
|
1138
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1139
|
+
:type execution_context: typing.Union[str, int]
|
|
1140
|
+
:type undo: bool
|
|
1251
1141
|
"""
|
|
1252
1142
|
|
|
1253
1143
|
...
|
|
1254
1144
|
|
|
1255
1145
|
def view_orbit(
|
|
1256
|
-
override_context: typing.
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
*,
|
|
1262
|
-
angle: typing.Optional[typing.Any] = 0.0,
|
|
1263
|
-
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",
|
|
1264
1151
|
):
|
|
1265
1152
|
"""Orbit the view
|
|
1266
1153
|
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1154
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1155
|
+
:type execution_context: typing.Union[str, int]
|
|
1156
|
+
:type undo: bool
|
|
1157
|
+
:param angle: Roll
|
|
1158
|
+
:type angle: typing.Any
|
|
1159
|
+
:param type: Orbit, Direction of View Orbit
|
|
1160
|
+
|
|
1161
|
+
ORBITLEFT
|
|
1162
|
+
Orbit Left -- Orbit the view around to the left.
|
|
1163
|
+
|
|
1164
|
+
ORBITRIGHT
|
|
1165
|
+
Orbit Right -- Orbit the view around to the right.
|
|
1166
|
+
|
|
1167
|
+
ORBITUP
|
|
1168
|
+
Orbit Up -- Orbit the view up.
|
|
1169
|
+
|
|
1170
|
+
ORBITDOWN
|
|
1171
|
+
Orbit Down -- Orbit the view down.
|
|
1172
|
+
:type type: typing.Any
|
|
1274
1173
|
"""
|
|
1275
1174
|
|
|
1276
1175
|
...
|
|
1277
1176
|
|
|
1278
1177
|
def view_pan(
|
|
1279
|
-
override_context: typing.
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
undo: typing.Optional[bool] = None,
|
|
1284
|
-
*,
|
|
1285
|
-
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",
|
|
1286
1182
|
):
|
|
1287
1183
|
"""Pan the view in a given direction
|
|
1288
1184
|
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1185
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1186
|
+
:type execution_context: typing.Union[str, int]
|
|
1187
|
+
:type undo: bool
|
|
1188
|
+
:param type: Pan, Direction of View Pan
|
|
1189
|
+
|
|
1190
|
+
PANLEFT
|
|
1191
|
+
Pan Left -- Pan the view to the left.
|
|
1192
|
+
|
|
1193
|
+
PANRIGHT
|
|
1194
|
+
Pan Right -- Pan the view to the right.
|
|
1195
|
+
|
|
1196
|
+
PANUP
|
|
1197
|
+
Pan Up -- Pan the view up.
|
|
1198
|
+
|
|
1199
|
+
PANDOWN
|
|
1200
|
+
Pan Down -- Pan the view down.
|
|
1201
|
+
:type type: typing.Any
|
|
1294
1202
|
"""
|
|
1295
1203
|
|
|
1296
1204
|
...
|
|
1297
1205
|
|
|
1298
1206
|
def view_persportho(
|
|
1299
|
-
override_context: typing.
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1303
|
-
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,
|
|
1304
1210
|
):
|
|
1305
1211
|
"""Switch the current view from perspective/orthographic projection
|
|
1306
1212
|
|
|
1307
|
-
:type override_context: typing.
|
|
1308
|
-
:type execution_context: typing.
|
|
1309
|
-
:type undo:
|
|
1213
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1214
|
+
:type execution_context: typing.Union[str, int]
|
|
1215
|
+
:type undo: bool
|
|
1310
1216
|
"""
|
|
1311
1217
|
|
|
1312
1218
|
...
|
|
1313
1219
|
|
|
1314
1220
|
def view_roll(
|
|
1315
|
-
override_context: typing.
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
*,
|
|
1321
|
-
angle: typing.Optional[typing.Any] = 0.0,
|
|
1322
|
-
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",
|
|
1323
1226
|
):
|
|
1324
1227
|
"""Roll the view
|
|
1325
1228
|
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1229
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1230
|
+
:type execution_context: typing.Union[str, int]
|
|
1231
|
+
:type undo: bool
|
|
1232
|
+
:param angle: Roll
|
|
1233
|
+
:type angle: typing.Any
|
|
1234
|
+
:param type: Roll Angle Source, How roll angle is calculated
|
|
1235
|
+
|
|
1236
|
+
ANGLE
|
|
1237
|
+
Roll Angle -- Roll the view using an angle value.
|
|
1238
|
+
|
|
1239
|
+
LEFT
|
|
1240
|
+
Roll Left -- Roll the view around to the left.
|
|
1241
|
+
|
|
1242
|
+
RIGHT
|
|
1243
|
+
Roll Right -- Roll the view around to the right.
|
|
1244
|
+
:type type: typing.Any
|
|
1333
1245
|
"""
|
|
1334
1246
|
|
|
1335
1247
|
...
|
|
1336
1248
|
|
|
1337
1249
|
def view_selected(
|
|
1338
|
-
override_context: typing.
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
undo: typing.Optional[bool] = None,
|
|
1343
|
-
*,
|
|
1344
|
-
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,
|
|
1345
1254
|
):
|
|
1346
1255
|
"""Move the view to the selection center
|
|
1347
1256
|
|
|
1348
|
-
:type override_context: typing.
|
|
1349
|
-
:type execution_context: typing.
|
|
1350
|
-
:type undo:
|
|
1257
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1258
|
+
:type execution_context: typing.Union[str, int]
|
|
1259
|
+
:type undo: bool
|
|
1351
1260
|
:param use_all_regions: All Regions, View selected for all regions
|
|
1352
|
-
:type use_all_regions: typing.
|
|
1261
|
+
:type use_all_regions: typing.Union[bool, typing.Any]
|
|
1353
1262
|
"""
|
|
1354
1263
|
|
|
1355
1264
|
...
|
|
1356
1265
|
|
|
1357
1266
|
def walk(
|
|
1358
|
-
override_context: typing.
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1362
|
-
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,
|
|
1363
1270
|
):
|
|
1364
1271
|
"""Interactively walk around the scene
|
|
1365
1272
|
|
|
1366
|
-
:type override_context: typing.
|
|
1367
|
-
:type execution_context: typing.
|
|
1368
|
-
:type undo:
|
|
1273
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1274
|
+
:type execution_context: typing.Union[str, int]
|
|
1275
|
+
:type undo: bool
|
|
1369
1276
|
"""
|
|
1370
1277
|
|
|
1371
1278
|
...
|
|
1372
1279
|
|
|
1373
1280
|
def zoom(
|
|
1374
|
-
override_context: typing.
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
my: typing.Optional[typing.Any] = 0,
|
|
1382
|
-
delta: typing.Optional[typing.Any] = 0,
|
|
1383
|
-
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,
|
|
1384
1288
|
):
|
|
1385
1289
|
"""Zoom in/out in the view
|
|
1386
1290
|
|
|
1387
|
-
:type override_context: typing.
|
|
1388
|
-
:type execution_context: typing.
|
|
1389
|
-
:type undo:
|
|
1291
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1292
|
+
:type execution_context: typing.Union[str, int]
|
|
1293
|
+
:type undo: bool
|
|
1390
1294
|
:param mx: Region Position X
|
|
1391
|
-
:type mx: typing.
|
|
1295
|
+
:type mx: typing.Any
|
|
1392
1296
|
:param my: Region Position Y
|
|
1393
|
-
:type my: typing.
|
|
1297
|
+
:type my: typing.Any
|
|
1394
1298
|
:param delta: Delta
|
|
1395
|
-
:type delta: typing.
|
|
1299
|
+
:type delta: typing.Any
|
|
1396
1300
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
1397
|
-
:type use_cursor_init: typing.
|
|
1301
|
+
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
1398
1302
|
"""
|
|
1399
1303
|
|
|
1400
1304
|
...
|
|
1401
1305
|
|
|
1402
1306
|
def zoom_border(
|
|
1403
|
-
override_context: typing.
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
|
|
1411
|
-
|
|
1412
|
-
ymax: typing.Optional[typing.Any] = 0,
|
|
1413
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
1414
|
-
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,
|
|
1415
1316
|
):
|
|
1416
1317
|
"""Zoom in the view to the nearest object contained in the border
|
|
1417
1318
|
|
|
1418
|
-
:type override_context: typing.
|
|
1419
|
-
:type execution_context: typing.
|
|
1420
|
-
:type undo:
|
|
1319
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1320
|
+
:type execution_context: typing.Union[str, int]
|
|
1321
|
+
:type undo: bool
|
|
1421
1322
|
:param xmin: X Min
|
|
1422
|
-
:type xmin: typing.
|
|
1323
|
+
:type xmin: typing.Any
|
|
1423
1324
|
:param xmax: X Max
|
|
1424
|
-
:type xmax: typing.
|
|
1325
|
+
:type xmax: typing.Any
|
|
1425
1326
|
:param ymin: Y Min
|
|
1426
|
-
:type ymin: typing.
|
|
1327
|
+
:type ymin: typing.Any
|
|
1427
1328
|
:param ymax: Y Max
|
|
1428
|
-
:type ymax: typing.
|
|
1329
|
+
:type ymax: typing.Any
|
|
1429
1330
|
:param wait_for_input: Wait for Input
|
|
1430
|
-
:type wait_for_input: typing.
|
|
1331
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
1431
1332
|
:param zoom_out: Zoom Out
|
|
1432
|
-
:type zoom_out: typing.
|
|
1333
|
+
:type zoom_out: typing.Union[bool, typing.Any]
|
|
1433
1334
|
"""
|
|
1434
1335
|
|
|
1435
1336
|
...
|
|
1436
1337
|
|
|
1437
1338
|
def zoom_camera_1_to_1(
|
|
1438
|
-
override_context: typing.
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1442
|
-
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,
|
|
1443
1342
|
):
|
|
1444
1343
|
"""Match the camera to 1:1 to the render output
|
|
1445
1344
|
|
|
1446
|
-
:type override_context: typing.
|
|
1447
|
-
:type execution_context: typing.
|
|
1448
|
-
:type undo:
|
|
1345
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1346
|
+
:type execution_context: typing.Union[str, int]
|
|
1347
|
+
:type undo: bool
|
|
1449
1348
|
"""
|
|
1450
1349
|
|
|
1451
1350
|
...
|