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