fake-bpy-module 20240417__py3-none-any.whl → 20240419__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +4 -0
- _bpy_internal/freedesktop/__init__.pyi +88 -0
- _bpy_internal/freedesktop/py.typed +0 -0
- _bpy_internal/py.typed +0 -0
- aud/__init__.pyi +121 -48
- bgl/__init__.pyi +2443 -1265
- bl_math/__init__.pyi +19 -3
- bl_operators/geometry_nodes/__init__.pyi +13 -0
- bl_ui/properties_data_light/__init__.pyi +337 -0
- blf/__init__.pyi +63 -13
- bmesh/__init__.pyi +13 -0
- bmesh/geometry/__init__.pyi +5 -0
- bmesh/ops/__init__.pyi +157 -68
- bmesh/types/__init__.pyi +109 -62
- bmesh/utils/__init__.pyi +11 -2
- bpy/__init__.pyi +7 -0
- bpy/app/__init__.pyi +13 -0
- bpy/app/handlers/__init__.pyi +41 -0
- bpy/app/icons/__init__.pyi +4 -2
- bpy/app/timers/__init__.pyi +38 -2
- bpy/app/translations/__init__.pyi +58 -0
- bpy/msgbus/__init__.pyi +46 -0
- bpy/ops/__init__.pyi +151 -0
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +104 -104
- bpy/ops/armature/__init__.pyi +96 -96
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +16 -16
- bpy/ops/brush/__init__.pyi +18 -18
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +184 -184
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +18 -18
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +102 -102
- bpy/ops/curves/__init__.pyi +54 -54
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +7 -7
- bpy/ops/file/__init__.pyi +80 -80
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +300 -300
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +112 -112
- bpy/ops/image/__init__.pyi +92 -92
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +78 -78
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +16 -16
- bpy/ops/mesh/__init__.pyi +326 -326
- bpy/ops/nla/__init__.pyi +80 -80
- bpy/ops/node/__init__.pyi +202 -202
- bpy/ops/object/__init__.pyi +509 -500
- bpy/ops/outliner/__init__.pyi +138 -138
- bpy/ops/paint/__init__.pyi +104 -104
- bpy/ops/paintcurve/__init__.pyi +16 -16
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +78 -78
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +76 -76
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +78 -78
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +62 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +170 -170
- bpy/ops/sound/__init__.pyi +14 -14
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +54 -54
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +98 -98
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +224 -224
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/path/__init__.pyi +6 -0
- bpy/props/__init__.pyi +141 -29
- bpy/types/__init__.pyi +101517 -5027
- bpy/utils/__init__.pyi +18 -3
- bpy/utils/previews/__init__.pyi +15 -0
- bpy/utils/units/__init__.pyi +11 -3
- bpy_extras/__init__.pyi +19 -0
- bpy_extras/asset_utils/__init__.pyi +5 -0
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/RECORD +139 -135
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/top_level.txt +1 -0
- freestyle/__init__.pyi +18 -0
- freestyle/chainingiterators/__init__.pyi +20 -5
- freestyle/functions/__init__.pyi +151 -155
- freestyle/predicates/__init__.pyi +53 -46
- freestyle/shaders/__init__.pyi +91 -32
- freestyle/types/__init__.pyi +362 -120
- freestyle/utils/ContextFunctions/__init__.pyi +32 -7
- freestyle/utils/__init__.pyi +13 -1
- gpu/__init__.pyi +225 -0
- gpu/capabilities/__init__.pyi +37 -15
- gpu/matrix/__init__.pyi +7 -1
- gpu/platform/__init__.pyi +5 -0
- gpu/select/__init__.pyi +5 -0
- gpu/shader/__init__.pyi +77 -0
- gpu/state/__init__.pyi +15 -4
- gpu/texture/__init__.pyi +5 -0
- gpu/types/__init__.pyi +91 -33
- gpu_extras/__init__.pyi +15 -0
- gpu_extras/presets/__init__.pyi +16 -4
- imbuf/__init__.pyi +13 -0
- imbuf/types/__init__.pyi +20 -5
- mathutils/__init__.pyi +349 -227
- mathutils/bvhtree/__init__.pyi +21 -8
- mathutils/geometry/__init__.pyi +23 -9
- mathutils/interpolate/__init__.pyi +5 -0
- mathutils/kdtree/__init__.pyi +19 -5
- mathutils/noise/__init__.pyi +87 -41
- {fake_bpy_module-20240417.dist-info → fake_bpy_module-20240419.dist-info}/WHEEL +0 -0
bpy/ops/view3d/__init__.pyi
CHANGED
|
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def bone_select_menu(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: str = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
name: typing.Union[str, int, typing.Any] = "",
|
|
11
11
|
extend: typing.Union[bool, typing.Any] = False,
|
|
@@ -15,7 +15,7 @@ def bone_select_menu(
|
|
|
15
15
|
"""Menu bone selection
|
|
16
16
|
|
|
17
17
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
18
|
-
:type execution_context: str
|
|
18
|
+
:type execution_context: typing.Union[str, int]
|
|
19
19
|
:type undo: bool
|
|
20
20
|
:param name: Bone Name
|
|
21
21
|
:type name: typing.Union[str, int, typing.Any]
|
|
@@ -31,7 +31,7 @@ def bone_select_menu(
|
|
|
31
31
|
|
|
32
32
|
def camera_background_image_add(
|
|
33
33
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
34
|
-
execution_context: str = None,
|
|
34
|
+
execution_context: typing.Union[str, int] = None,
|
|
35
35
|
undo: bool = None,
|
|
36
36
|
filepath: typing.Union[str, typing.Any] = "",
|
|
37
37
|
relative_path: typing.Union[bool, typing.Any] = True,
|
|
@@ -41,7 +41,7 @@ def camera_background_image_add(
|
|
|
41
41
|
"""Add a new background image to the active camera
|
|
42
42
|
|
|
43
43
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
-
:type execution_context: str
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
45
|
:type undo: bool
|
|
46
46
|
:param filepath: Filepath, Path to image file
|
|
47
47
|
:type filepath: typing.Union[str, typing.Any]
|
|
@@ -57,14 +57,14 @@ def camera_background_image_add(
|
|
|
57
57
|
|
|
58
58
|
def camera_background_image_remove(
|
|
59
59
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
60
|
-
execution_context: str = None,
|
|
60
|
+
execution_context: typing.Union[str, int] = None,
|
|
61
61
|
undo: bool = None,
|
|
62
62
|
index: typing.Any = 0,
|
|
63
63
|
):
|
|
64
64
|
"""Remove a background image from the camera
|
|
65
65
|
|
|
66
66
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
67
|
-
:type execution_context: str
|
|
67
|
+
:type execution_context: typing.Union[str, int]
|
|
68
68
|
:type undo: bool
|
|
69
69
|
:param index: Index, Background image index to remove
|
|
70
70
|
:type index: typing.Any
|
|
@@ -74,13 +74,13 @@ def camera_background_image_remove(
|
|
|
74
74
|
|
|
75
75
|
def camera_to_view(
|
|
76
76
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
-
execution_context: str = None,
|
|
77
|
+
execution_context: typing.Union[str, int] = None,
|
|
78
78
|
undo: bool = None,
|
|
79
79
|
):
|
|
80
80
|
"""Set camera view to active view
|
|
81
81
|
|
|
82
82
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
83
|
-
:type execution_context: str
|
|
83
|
+
:type execution_context: typing.Union[str, int]
|
|
84
84
|
:type undo: bool
|
|
85
85
|
"""
|
|
86
86
|
|
|
@@ -88,13 +88,13 @@ def camera_to_view(
|
|
|
88
88
|
|
|
89
89
|
def camera_to_view_selected(
|
|
90
90
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
91
|
-
execution_context: str = None,
|
|
91
|
+
execution_context: typing.Union[str, int] = None,
|
|
92
92
|
undo: bool = None,
|
|
93
93
|
):
|
|
94
94
|
"""Move the camera so selected objects are framed
|
|
95
95
|
|
|
96
96
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
97
|
-
:type execution_context: str
|
|
97
|
+
:type execution_context: typing.Union[str, int]
|
|
98
98
|
:type undo: bool
|
|
99
99
|
"""
|
|
100
100
|
|
|
@@ -102,13 +102,13 @@ def camera_to_view_selected(
|
|
|
102
102
|
|
|
103
103
|
def clear_render_border(
|
|
104
104
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
105
|
-
execution_context: str = None,
|
|
105
|
+
execution_context: typing.Union[str, int] = None,
|
|
106
106
|
undo: bool = None,
|
|
107
107
|
):
|
|
108
108
|
"""Clear the boundaries of the border render and disable border render
|
|
109
109
|
|
|
110
110
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
111
|
-
:type execution_context: str
|
|
111
|
+
:type execution_context: typing.Union[str, int]
|
|
112
112
|
:type undo: bool
|
|
113
113
|
"""
|
|
114
114
|
|
|
@@ -116,7 +116,7 @@ def clear_render_border(
|
|
|
116
116
|
|
|
117
117
|
def clip_border(
|
|
118
118
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
119
|
-
execution_context: str = None,
|
|
119
|
+
execution_context: typing.Union[str, int] = None,
|
|
120
120
|
undo: bool = None,
|
|
121
121
|
xmin: typing.Any = 0,
|
|
122
122
|
xmax: typing.Any = 0,
|
|
@@ -127,7 +127,7 @@ def clip_border(
|
|
|
127
127
|
"""Set the view clipping region
|
|
128
128
|
|
|
129
129
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
130
|
-
:type execution_context: str
|
|
130
|
+
:type execution_context: typing.Union[str, int]
|
|
131
131
|
:type undo: bool
|
|
132
132
|
:param xmin: X Min
|
|
133
133
|
:type xmin: typing.Any
|
|
@@ -145,13 +145,13 @@ def clip_border(
|
|
|
145
145
|
|
|
146
146
|
def copybuffer(
|
|
147
147
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
148
|
-
execution_context: str = None,
|
|
148
|
+
execution_context: typing.Union[str, int] = None,
|
|
149
149
|
undo: bool = None,
|
|
150
150
|
):
|
|
151
151
|
"""Copy the selected objects to the internal clipboard
|
|
152
152
|
|
|
153
153
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
154
|
-
:type execution_context: str
|
|
154
|
+
:type execution_context: typing.Union[str, int]
|
|
155
155
|
:type undo: bool
|
|
156
156
|
"""
|
|
157
157
|
|
|
@@ -159,7 +159,7 @@ def copybuffer(
|
|
|
159
159
|
|
|
160
160
|
def cursor3d(
|
|
161
161
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
162
|
-
execution_context: str = None,
|
|
162
|
+
execution_context: typing.Union[str, int] = None,
|
|
163
163
|
undo: bool = None,
|
|
164
164
|
use_depth: typing.Union[bool, typing.Any] = True,
|
|
165
165
|
orientation: typing.Any = "VIEW",
|
|
@@ -167,7 +167,7 @@ def cursor3d(
|
|
|
167
167
|
"""Set the location of the 3D cursor
|
|
168
168
|
|
|
169
169
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
170
|
-
:type execution_context: str
|
|
170
|
+
:type execution_context: typing.Union[str, int]
|
|
171
171
|
:type undo: bool
|
|
172
172
|
:param use_depth: Surface Project, Project onto the surface
|
|
173
173
|
:type use_depth: typing.Union[bool, typing.Any]
|
|
@@ -191,7 +191,7 @@ def cursor3d(
|
|
|
191
191
|
|
|
192
192
|
def dolly(
|
|
193
193
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
194
|
-
execution_context: str = None,
|
|
194
|
+
execution_context: typing.Union[str, int] = None,
|
|
195
195
|
undo: bool = None,
|
|
196
196
|
mx: typing.Any = 0,
|
|
197
197
|
my: typing.Any = 0,
|
|
@@ -201,7 +201,7 @@ def dolly(
|
|
|
201
201
|
"""Dolly in/out in the view
|
|
202
202
|
|
|
203
203
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
204
|
-
:type execution_context: str
|
|
204
|
+
:type execution_context: typing.Union[str, int]
|
|
205
205
|
:type undo: bool
|
|
206
206
|
:param mx: Region Position X
|
|
207
207
|
:type mx: typing.Any
|
|
@@ -217,7 +217,7 @@ def dolly(
|
|
|
217
217
|
|
|
218
218
|
def drop_world(
|
|
219
219
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
220
|
-
execution_context: str = None,
|
|
220
|
+
execution_context: typing.Union[str, int] = None,
|
|
221
221
|
undo: bool = None,
|
|
222
222
|
name: typing.Union[str, typing.Any] = "",
|
|
223
223
|
session_uid: typing.Any = 0,
|
|
@@ -225,7 +225,7 @@ def drop_world(
|
|
|
225
225
|
"""Drop a world into the scene
|
|
226
226
|
|
|
227
227
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
228
|
-
:type execution_context: str
|
|
228
|
+
:type execution_context: typing.Union[str, int]
|
|
229
229
|
:type undo: 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]
|
|
@@ -237,13 +237,13 @@ def drop_world(
|
|
|
237
237
|
|
|
238
238
|
def edit_mesh_extrude_individual_move(
|
|
239
239
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
240
|
-
execution_context: str = None,
|
|
240
|
+
execution_context: typing.Union[str, int] = None,
|
|
241
241
|
undo: bool = None,
|
|
242
242
|
):
|
|
243
243
|
"""Extrude each individual face separately along local normals
|
|
244
244
|
|
|
245
245
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
246
|
-
:type execution_context: str
|
|
246
|
+
:type execution_context: typing.Union[str, int]
|
|
247
247
|
:type undo: bool
|
|
248
248
|
"""
|
|
249
249
|
|
|
@@ -251,13 +251,13 @@ def edit_mesh_extrude_individual_move(
|
|
|
251
251
|
|
|
252
252
|
def edit_mesh_extrude_manifold_normal(
|
|
253
253
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
254
|
-
execution_context: str = None,
|
|
254
|
+
execution_context: typing.Union[str, int] = None,
|
|
255
255
|
undo: bool = None,
|
|
256
256
|
):
|
|
257
257
|
"""Extrude manifold region along normals
|
|
258
258
|
|
|
259
259
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
260
|
-
:type execution_context: str
|
|
260
|
+
:type execution_context: typing.Union[str, int]
|
|
261
261
|
:type undo: bool
|
|
262
262
|
"""
|
|
263
263
|
|
|
@@ -265,14 +265,14 @@ def edit_mesh_extrude_manifold_normal(
|
|
|
265
265
|
|
|
266
266
|
def edit_mesh_extrude_move_normal(
|
|
267
267
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
268
|
-
execution_context: str = None,
|
|
268
|
+
execution_context: typing.Union[str, int] = None,
|
|
269
269
|
undo: bool = None,
|
|
270
270
|
dissolve_and_intersect: typing.Union[bool, typing.Any] = False,
|
|
271
271
|
):
|
|
272
272
|
"""Extrude region together along the average normal
|
|
273
273
|
|
|
274
274
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
275
|
-
:type execution_context: str
|
|
275
|
+
:type execution_context: typing.Union[str, int]
|
|
276
276
|
:type undo: bool
|
|
277
277
|
:param dissolve_and_intersect: dissolve_and_intersect, Dissolves adjacent faces and intersects new geometry
|
|
278
278
|
:type dissolve_and_intersect: typing.Union[bool, typing.Any]
|
|
@@ -282,13 +282,13 @@ def edit_mesh_extrude_move_normal(
|
|
|
282
282
|
|
|
283
283
|
def edit_mesh_extrude_move_shrink_fatten(
|
|
284
284
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
285
|
-
execution_context: str = None,
|
|
285
|
+
execution_context: typing.Union[str, int] = None,
|
|
286
286
|
undo: bool = None,
|
|
287
287
|
):
|
|
288
288
|
"""Extrude region together along local normals
|
|
289
289
|
|
|
290
290
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
291
|
-
:type execution_context: str
|
|
291
|
+
:type execution_context: typing.Union[str, int]
|
|
292
292
|
:type undo: bool
|
|
293
293
|
"""
|
|
294
294
|
|
|
@@ -296,13 +296,13 @@ def edit_mesh_extrude_move_shrink_fatten(
|
|
|
296
296
|
|
|
297
297
|
def fly(
|
|
298
298
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
299
|
-
execution_context: str = None,
|
|
299
|
+
execution_context: typing.Union[str, int] = None,
|
|
300
300
|
undo: bool = None,
|
|
301
301
|
):
|
|
302
302
|
"""Interactively fly around the scene
|
|
303
303
|
|
|
304
304
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
305
|
-
:type execution_context: str
|
|
305
|
+
:type execution_context: typing.Union[str, int]
|
|
306
306
|
:type undo: bool
|
|
307
307
|
"""
|
|
308
308
|
|
|
@@ -310,7 +310,7 @@ def fly(
|
|
|
310
310
|
|
|
311
311
|
def interactive_add(
|
|
312
312
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
-
execution_context: str = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
314
|
undo: bool = None,
|
|
315
315
|
primitive_type: typing.Any = "CUBE",
|
|
316
316
|
plane_origin_base: typing.Any = "EDGE",
|
|
@@ -322,7 +322,7 @@ def interactive_add(
|
|
|
322
322
|
"""Interactively add an object
|
|
323
323
|
|
|
324
324
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
325
|
-
:type execution_context: str
|
|
325
|
+
:type execution_context: typing.Union[str, int]
|
|
326
326
|
:type undo: bool
|
|
327
327
|
:param primitive_type: Primitive
|
|
328
328
|
:type primitive_type: typing.Any
|
|
@@ -366,14 +366,14 @@ def interactive_add(
|
|
|
366
366
|
|
|
367
367
|
def localview(
|
|
368
368
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
369
|
-
execution_context: str = None,
|
|
369
|
+
execution_context: typing.Union[str, int] = None,
|
|
370
370
|
undo: bool = None,
|
|
371
371
|
frame_selected: typing.Union[bool, typing.Any] = True,
|
|
372
372
|
):
|
|
373
373
|
"""Toggle display of selected object(s) separately and centered in view
|
|
374
374
|
|
|
375
375
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
376
|
-
:type execution_context: str
|
|
376
|
+
:type execution_context: typing.Union[str, int]
|
|
377
377
|
:type undo: bool
|
|
378
378
|
:param frame_selected: Frame Selected, Move the view to frame the selected objects
|
|
379
379
|
:type frame_selected: typing.Union[bool, typing.Any]
|
|
@@ -383,13 +383,13 @@ def localview(
|
|
|
383
383
|
|
|
384
384
|
def localview_remove_from(
|
|
385
385
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
386
|
-
execution_context: str = None,
|
|
386
|
+
execution_context: typing.Union[str, int] = None,
|
|
387
387
|
undo: bool = None,
|
|
388
388
|
):
|
|
389
389
|
"""Move selected objects out of local view
|
|
390
390
|
|
|
391
391
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
392
|
-
:type execution_context: str
|
|
392
|
+
:type execution_context: typing.Union[str, int]
|
|
393
393
|
:type undo: bool
|
|
394
394
|
"""
|
|
395
395
|
|
|
@@ -397,14 +397,14 @@ def localview_remove_from(
|
|
|
397
397
|
|
|
398
398
|
def move(
|
|
399
399
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
400
|
-
execution_context: str = None,
|
|
400
|
+
execution_context: typing.Union[str, int] = None,
|
|
401
401
|
undo: bool = None,
|
|
402
402
|
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
403
403
|
):
|
|
404
404
|
"""Move the view
|
|
405
405
|
|
|
406
406
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
407
|
-
:type execution_context: str
|
|
407
|
+
:type execution_context: typing.Union[str, int]
|
|
408
408
|
:type undo: bool
|
|
409
409
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
410
410
|
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
@@ -414,13 +414,13 @@ def move(
|
|
|
414
414
|
|
|
415
415
|
def navigate(
|
|
416
416
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
417
|
-
execution_context: str = None,
|
|
417
|
+
execution_context: typing.Union[str, int] = None,
|
|
418
418
|
undo: bool = None,
|
|
419
419
|
):
|
|
420
420
|
"""Interactively navigate around the scene (uses the mode (walk/fly) preference)
|
|
421
421
|
|
|
422
422
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
423
|
-
:type execution_context: str
|
|
423
|
+
:type execution_context: typing.Union[str, int]
|
|
424
424
|
:type undo: bool
|
|
425
425
|
"""
|
|
426
426
|
|
|
@@ -428,13 +428,13 @@ def navigate(
|
|
|
428
428
|
|
|
429
429
|
def ndof_all(
|
|
430
430
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
431
|
-
execution_context: str = None,
|
|
431
|
+
execution_context: typing.Union[str, int] = None,
|
|
432
432
|
undo: bool = None,
|
|
433
433
|
):
|
|
434
434
|
"""Pan and rotate the view with the 3D mouse
|
|
435
435
|
|
|
436
436
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
437
|
-
:type execution_context: str
|
|
437
|
+
:type execution_context: typing.Union[str, int]
|
|
438
438
|
:type undo: bool
|
|
439
439
|
"""
|
|
440
440
|
|
|
@@ -442,13 +442,13 @@ def ndof_all(
|
|
|
442
442
|
|
|
443
443
|
def ndof_orbit(
|
|
444
444
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
445
|
-
execution_context: str = None,
|
|
445
|
+
execution_context: typing.Union[str, int] = None,
|
|
446
446
|
undo: bool = None,
|
|
447
447
|
):
|
|
448
448
|
"""Orbit the view using the 3D mouse
|
|
449
449
|
|
|
450
450
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
451
|
-
:type execution_context: str
|
|
451
|
+
:type execution_context: typing.Union[str, int]
|
|
452
452
|
:type undo: bool
|
|
453
453
|
"""
|
|
454
454
|
|
|
@@ -456,13 +456,13 @@ def ndof_orbit(
|
|
|
456
456
|
|
|
457
457
|
def ndof_orbit_zoom(
|
|
458
458
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
459
|
-
execution_context: str = None,
|
|
459
|
+
execution_context: typing.Union[str, int] = None,
|
|
460
460
|
undo: bool = None,
|
|
461
461
|
):
|
|
462
462
|
"""Orbit and zoom the view using the 3D mouse
|
|
463
463
|
|
|
464
464
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
465
|
-
:type execution_context: str
|
|
465
|
+
:type execution_context: typing.Union[str, int]
|
|
466
466
|
:type undo: bool
|
|
467
467
|
"""
|
|
468
468
|
|
|
@@ -470,13 +470,13 @@ def ndof_orbit_zoom(
|
|
|
470
470
|
|
|
471
471
|
def ndof_pan(
|
|
472
472
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
473
|
-
execution_context: str = None,
|
|
473
|
+
execution_context: typing.Union[str, int] = None,
|
|
474
474
|
undo: bool = None,
|
|
475
475
|
):
|
|
476
476
|
"""Pan the view with the 3D mouse
|
|
477
477
|
|
|
478
478
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
479
|
-
:type execution_context: str
|
|
479
|
+
:type execution_context: typing.Union[str, int]
|
|
480
480
|
:type undo: bool
|
|
481
481
|
"""
|
|
482
482
|
|
|
@@ -484,13 +484,13 @@ def ndof_pan(
|
|
|
484
484
|
|
|
485
485
|
def object_as_camera(
|
|
486
486
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
487
|
-
execution_context: str = None,
|
|
487
|
+
execution_context: typing.Union[str, int] = None,
|
|
488
488
|
undo: bool = None,
|
|
489
489
|
):
|
|
490
490
|
"""Set the active object as the active camera for this view or scene
|
|
491
491
|
|
|
492
492
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
493
|
-
:type execution_context: str
|
|
493
|
+
:type execution_context: typing.Union[str, int]
|
|
494
494
|
:type undo: bool
|
|
495
495
|
"""
|
|
496
496
|
|
|
@@ -498,13 +498,13 @@ def object_as_camera(
|
|
|
498
498
|
|
|
499
499
|
def object_mode_pie_or_toggle(
|
|
500
500
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
501
|
-
execution_context: str = None,
|
|
501
|
+
execution_context: typing.Union[str, int] = None,
|
|
502
502
|
undo: bool = None,
|
|
503
503
|
):
|
|
504
504
|
"""Undocumented, consider contributing.
|
|
505
505
|
|
|
506
506
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
507
|
-
:type execution_context: str
|
|
507
|
+
:type execution_context: typing.Union[str, int]
|
|
508
508
|
:type undo: bool
|
|
509
509
|
"""
|
|
510
510
|
|
|
@@ -512,7 +512,7 @@ def object_mode_pie_or_toggle(
|
|
|
512
512
|
|
|
513
513
|
def pastebuffer(
|
|
514
514
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
515
|
-
execution_context: str = None,
|
|
515
|
+
execution_context: typing.Union[str, int] = None,
|
|
516
516
|
undo: bool = None,
|
|
517
517
|
autoselect: typing.Union[bool, typing.Any] = True,
|
|
518
518
|
active_collection: typing.Union[bool, typing.Any] = True,
|
|
@@ -520,7 +520,7 @@ def pastebuffer(
|
|
|
520
520
|
"""Paste objects from the internal clipboard
|
|
521
521
|
|
|
522
522
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
523
|
-
:type execution_context: str
|
|
523
|
+
:type execution_context: typing.Union[str, int]
|
|
524
524
|
:type undo: bool
|
|
525
525
|
:param autoselect: Select, Select pasted objects
|
|
526
526
|
:type autoselect: typing.Union[bool, typing.Any]
|
|
@@ -532,7 +532,7 @@ def pastebuffer(
|
|
|
532
532
|
|
|
533
533
|
def render_border(
|
|
534
534
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
535
|
-
execution_context: str = None,
|
|
535
|
+
execution_context: typing.Union[str, int] = None,
|
|
536
536
|
undo: bool = None,
|
|
537
537
|
xmin: typing.Any = 0,
|
|
538
538
|
xmax: typing.Any = 0,
|
|
@@ -543,7 +543,7 @@ def render_border(
|
|
|
543
543
|
"""Set the boundaries of the border render and enable border render
|
|
544
544
|
|
|
545
545
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
546
|
-
:type execution_context: str
|
|
546
|
+
:type execution_context: typing.Union[str, int]
|
|
547
547
|
:type undo: bool
|
|
548
548
|
:param xmin: X Min
|
|
549
549
|
:type xmin: typing.Any
|
|
@@ -561,14 +561,14 @@ def render_border(
|
|
|
561
561
|
|
|
562
562
|
def rotate(
|
|
563
563
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
564
|
-
execution_context: str = None,
|
|
564
|
+
execution_context: typing.Union[str, int] = None,
|
|
565
565
|
undo: bool = None,
|
|
566
566
|
use_cursor_init: typing.Union[bool, typing.Any] = True,
|
|
567
567
|
):
|
|
568
568
|
"""Rotate the view
|
|
569
569
|
|
|
570
570
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
571
|
-
:type execution_context: str
|
|
571
|
+
:type execution_context: typing.Union[str, int]
|
|
572
572
|
:type undo: bool
|
|
573
573
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
574
574
|
:type use_cursor_init: typing.Union[bool, typing.Any]
|
|
@@ -578,13 +578,13 @@ def rotate(
|
|
|
578
578
|
|
|
579
579
|
def ruler_add(
|
|
580
580
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
581
|
-
execution_context: str = None,
|
|
581
|
+
execution_context: typing.Union[str, int] = None,
|
|
582
582
|
undo: bool = None,
|
|
583
583
|
):
|
|
584
584
|
"""Add ruler
|
|
585
585
|
|
|
586
586
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
587
|
-
:type execution_context: str
|
|
587
|
+
:type execution_context: typing.Union[str, int]
|
|
588
588
|
:type undo: bool
|
|
589
589
|
"""
|
|
590
590
|
|
|
@@ -592,13 +592,13 @@ def ruler_add(
|
|
|
592
592
|
|
|
593
593
|
def ruler_remove(
|
|
594
594
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
595
|
-
execution_context: str = None,
|
|
595
|
+
execution_context: typing.Union[str, int] = None,
|
|
596
596
|
undo: bool = None,
|
|
597
597
|
):
|
|
598
598
|
"""Undocumented, consider contributing.
|
|
599
599
|
|
|
600
600
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
601
|
-
:type execution_context: str
|
|
601
|
+
:type execution_context: typing.Union[str, int]
|
|
602
602
|
:type undo: bool
|
|
603
603
|
"""
|
|
604
604
|
|
|
@@ -606,7 +606,7 @@ def ruler_remove(
|
|
|
606
606
|
|
|
607
607
|
def select(
|
|
608
608
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
609
|
-
execution_context: str = None,
|
|
609
|
+
execution_context: typing.Union[str, int] = None,
|
|
610
610
|
undo: bool = None,
|
|
611
611
|
extend: typing.Union[bool, typing.Any] = False,
|
|
612
612
|
deselect: typing.Union[bool, typing.Any] = False,
|
|
@@ -621,7 +621,7 @@ def select(
|
|
|
621
621
|
"""Select and activate item(s)
|
|
622
622
|
|
|
623
623
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
-
:type execution_context: str
|
|
624
|
+
:type execution_context: typing.Union[str, int]
|
|
625
625
|
:type undo: bool
|
|
626
626
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
627
627
|
:type extend: typing.Union[bool, typing.Any]
|
|
@@ -647,7 +647,7 @@ def select(
|
|
|
647
647
|
|
|
648
648
|
def select_box(
|
|
649
649
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
650
|
-
execution_context: str = None,
|
|
650
|
+
execution_context: typing.Union[str, int] = None,
|
|
651
651
|
undo: bool = None,
|
|
652
652
|
xmin: typing.Any = 0,
|
|
653
653
|
xmax: typing.Any = 0,
|
|
@@ -659,7 +659,7 @@ def select_box(
|
|
|
659
659
|
"""Select items using box selection
|
|
660
660
|
|
|
661
661
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
662
|
-
:type execution_context: str
|
|
662
|
+
:type execution_context: typing.Union[str, int]
|
|
663
663
|
:type undo: bool
|
|
664
664
|
:param xmin: X Min
|
|
665
665
|
:type xmin: typing.Any
|
|
@@ -694,7 +694,7 @@ def select_box(
|
|
|
694
694
|
|
|
695
695
|
def select_circle(
|
|
696
696
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
697
|
-
execution_context: str = None,
|
|
697
|
+
execution_context: typing.Union[str, int] = None,
|
|
698
698
|
undo: bool = None,
|
|
699
699
|
x: typing.Any = 0,
|
|
700
700
|
y: typing.Any = 0,
|
|
@@ -705,7 +705,7 @@ def select_circle(
|
|
|
705
705
|
"""Select items using circle selection
|
|
706
706
|
|
|
707
707
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
708
|
-
:type execution_context: str
|
|
708
|
+
:type execution_context: typing.Union[str, int]
|
|
709
709
|
:type undo: bool
|
|
710
710
|
:param x: X
|
|
711
711
|
:type x: typing.Any
|
|
@@ -732,7 +732,7 @@ def select_circle(
|
|
|
732
732
|
|
|
733
733
|
def select_lasso(
|
|
734
734
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
735
|
-
execution_context: str = None,
|
|
735
|
+
execution_context: typing.Union[str, int] = None,
|
|
736
736
|
undo: bool = None,
|
|
737
737
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
738
738
|
mode: typing.Any = "SET",
|
|
@@ -740,7 +740,7 @@ def select_lasso(
|
|
|
740
740
|
"""Select items using lasso selection
|
|
741
741
|
|
|
742
742
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
743
|
-
:type execution_context: str
|
|
743
|
+
:type execution_context: typing.Union[str, int]
|
|
744
744
|
:type undo: bool
|
|
745
745
|
:param path: Path
|
|
746
746
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
@@ -767,7 +767,7 @@ def select_lasso(
|
|
|
767
767
|
|
|
768
768
|
def select_menu(
|
|
769
769
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
770
|
-
execution_context: str = None,
|
|
770
|
+
execution_context: typing.Union[str, int] = None,
|
|
771
771
|
undo: bool = None,
|
|
772
772
|
name: typing.Union[str, int, typing.Any] = "",
|
|
773
773
|
extend: typing.Union[bool, typing.Any] = False,
|
|
@@ -777,7 +777,7 @@ def select_menu(
|
|
|
777
777
|
"""Menu object selection
|
|
778
778
|
|
|
779
779
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
780
|
-
:type execution_context: str
|
|
780
|
+
:type execution_context: typing.Union[str, int]
|
|
781
781
|
:type undo: bool
|
|
782
782
|
:param name: Object Name
|
|
783
783
|
:type name: typing.Union[str, int, typing.Any]
|
|
@@ -793,13 +793,13 @@ def select_menu(
|
|
|
793
793
|
|
|
794
794
|
def smoothview(
|
|
795
795
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
796
|
-
execution_context: str = None,
|
|
796
|
+
execution_context: typing.Union[str, int] = None,
|
|
797
797
|
undo: bool = None,
|
|
798
798
|
):
|
|
799
799
|
"""Undocumented, consider contributing.
|
|
800
800
|
|
|
801
801
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
802
|
-
:type execution_context: str
|
|
802
|
+
:type execution_context: typing.Union[str, int]
|
|
803
803
|
:type undo: bool
|
|
804
804
|
"""
|
|
805
805
|
|
|
@@ -807,13 +807,13 @@ def smoothview(
|
|
|
807
807
|
|
|
808
808
|
def snap_cursor_to_active(
|
|
809
809
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
810
|
-
execution_context: str = None,
|
|
810
|
+
execution_context: typing.Union[str, int] = None,
|
|
811
811
|
undo: bool = None,
|
|
812
812
|
):
|
|
813
813
|
"""Snap 3D cursor to the active item
|
|
814
814
|
|
|
815
815
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
816
|
-
:type execution_context: str
|
|
816
|
+
:type execution_context: typing.Union[str, int]
|
|
817
817
|
:type undo: bool
|
|
818
818
|
"""
|
|
819
819
|
|
|
@@ -821,13 +821,13 @@ def snap_cursor_to_active(
|
|
|
821
821
|
|
|
822
822
|
def snap_cursor_to_center(
|
|
823
823
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
824
|
-
execution_context: str = None,
|
|
824
|
+
execution_context: typing.Union[str, int] = None,
|
|
825
825
|
undo: bool = None,
|
|
826
826
|
):
|
|
827
827
|
"""Snap 3D cursor to the world origin
|
|
828
828
|
|
|
829
829
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
830
|
-
:type execution_context: str
|
|
830
|
+
:type execution_context: typing.Union[str, int]
|
|
831
831
|
:type undo: bool
|
|
832
832
|
"""
|
|
833
833
|
|
|
@@ -835,13 +835,13 @@ def snap_cursor_to_center(
|
|
|
835
835
|
|
|
836
836
|
def snap_cursor_to_grid(
|
|
837
837
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
838
|
-
execution_context: str = None,
|
|
838
|
+
execution_context: typing.Union[str, int] = None,
|
|
839
839
|
undo: bool = None,
|
|
840
840
|
):
|
|
841
841
|
"""Snap 3D cursor to the nearest grid division
|
|
842
842
|
|
|
843
843
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
844
|
-
:type execution_context: str
|
|
844
|
+
:type execution_context: typing.Union[str, int]
|
|
845
845
|
:type undo: bool
|
|
846
846
|
"""
|
|
847
847
|
|
|
@@ -849,13 +849,13 @@ def snap_cursor_to_grid(
|
|
|
849
849
|
|
|
850
850
|
def snap_cursor_to_selected(
|
|
851
851
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
852
|
-
execution_context: str = None,
|
|
852
|
+
execution_context: typing.Union[str, int] = None,
|
|
853
853
|
undo: bool = None,
|
|
854
854
|
):
|
|
855
855
|
"""Snap 3D cursor to the middle of the selected item(s)
|
|
856
856
|
|
|
857
857
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
858
|
-
:type execution_context: str
|
|
858
|
+
:type execution_context: typing.Union[str, int]
|
|
859
859
|
:type undo: bool
|
|
860
860
|
"""
|
|
861
861
|
|
|
@@ -863,13 +863,13 @@ def snap_cursor_to_selected(
|
|
|
863
863
|
|
|
864
864
|
def snap_selected_to_active(
|
|
865
865
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
866
|
-
execution_context: str = None,
|
|
866
|
+
execution_context: typing.Union[str, int] = None,
|
|
867
867
|
undo: bool = None,
|
|
868
868
|
):
|
|
869
869
|
"""Snap selected item(s) to the active item
|
|
870
870
|
|
|
871
871
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
872
|
-
:type execution_context: str
|
|
872
|
+
:type execution_context: typing.Union[str, int]
|
|
873
873
|
:type undo: bool
|
|
874
874
|
"""
|
|
875
875
|
|
|
@@ -877,14 +877,14 @@ def snap_selected_to_active(
|
|
|
877
877
|
|
|
878
878
|
def snap_selected_to_cursor(
|
|
879
879
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
880
|
-
execution_context: str = None,
|
|
880
|
+
execution_context: typing.Union[str, int] = None,
|
|
881
881
|
undo: bool = None,
|
|
882
882
|
use_offset: typing.Union[bool, typing.Any] = True,
|
|
883
883
|
):
|
|
884
884
|
"""Snap selected item(s) to the 3D cursor
|
|
885
885
|
|
|
886
886
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
887
|
-
:type execution_context: str
|
|
887
|
+
:type execution_context: typing.Union[str, int]
|
|
888
888
|
:type undo: bool
|
|
889
889
|
:param use_offset: Offset, If the selection should be snapped as a whole or by each object center
|
|
890
890
|
:type use_offset: typing.Union[bool, typing.Any]
|
|
@@ -894,13 +894,13 @@ def snap_selected_to_cursor(
|
|
|
894
894
|
|
|
895
895
|
def snap_selected_to_grid(
|
|
896
896
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
897
|
-
execution_context: str = None,
|
|
897
|
+
execution_context: typing.Union[str, int] = None,
|
|
898
898
|
undo: bool = None,
|
|
899
899
|
):
|
|
900
900
|
"""Snap selected item(s) to their nearest grid division
|
|
901
901
|
|
|
902
902
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
903
|
-
:type execution_context: str
|
|
903
|
+
:type execution_context: typing.Union[str, int]
|
|
904
904
|
:type undo: bool
|
|
905
905
|
"""
|
|
906
906
|
|
|
@@ -908,13 +908,13 @@ def snap_selected_to_grid(
|
|
|
908
908
|
|
|
909
909
|
def toggle_matcap_flip(
|
|
910
910
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
911
|
-
execution_context: str = None,
|
|
911
|
+
execution_context: typing.Union[str, int] = None,
|
|
912
912
|
undo: bool = None,
|
|
913
913
|
):
|
|
914
914
|
"""Flip MatCap
|
|
915
915
|
|
|
916
916
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
917
|
-
:type execution_context: str
|
|
917
|
+
:type execution_context: typing.Union[str, int]
|
|
918
918
|
:type undo: bool
|
|
919
919
|
"""
|
|
920
920
|
|
|
@@ -922,14 +922,14 @@ def toggle_matcap_flip(
|
|
|
922
922
|
|
|
923
923
|
def toggle_shading(
|
|
924
924
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
925
|
-
execution_context: str = None,
|
|
925
|
+
execution_context: typing.Union[str, int] = None,
|
|
926
926
|
undo: bool = None,
|
|
927
927
|
type: typing.Any = "WIREFRAME",
|
|
928
928
|
):
|
|
929
929
|
"""Toggle shading type in 3D viewport
|
|
930
930
|
|
|
931
931
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
932
|
-
:type execution_context: str
|
|
932
|
+
:type execution_context: typing.Union[str, int]
|
|
933
933
|
:type undo: bool
|
|
934
934
|
:param type: Type, Shading type to toggle
|
|
935
935
|
|
|
@@ -951,13 +951,13 @@ def toggle_shading(
|
|
|
951
951
|
|
|
952
952
|
def toggle_xray(
|
|
953
953
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
954
|
-
execution_context: str = None,
|
|
954
|
+
execution_context: typing.Union[str, int] = None,
|
|
955
955
|
undo: bool = None,
|
|
956
956
|
):
|
|
957
957
|
"""Transparent scene display. Allow selecting through items
|
|
958
958
|
|
|
959
959
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
960
|
-
:type execution_context: str
|
|
960
|
+
:type execution_context: typing.Union[str, int]
|
|
961
961
|
:type undo: bool
|
|
962
962
|
"""
|
|
963
963
|
|
|
@@ -965,7 +965,7 @@ def toggle_xray(
|
|
|
965
965
|
|
|
966
966
|
def transform_gizmo_set(
|
|
967
967
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
968
|
-
execution_context: str = None,
|
|
968
|
+
execution_context: typing.Union[str, int] = None,
|
|
969
969
|
undo: bool = None,
|
|
970
970
|
extend: typing.Union[bool, typing.Any] = False,
|
|
971
971
|
type: typing.Any = {},
|
|
@@ -973,7 +973,7 @@ def transform_gizmo_set(
|
|
|
973
973
|
"""Set the current transform gizmo
|
|
974
974
|
|
|
975
975
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
976
|
-
:type execution_context: str
|
|
976
|
+
:type execution_context: typing.Union[str, int]
|
|
977
977
|
:type undo: bool
|
|
978
978
|
:param extend: Extend
|
|
979
979
|
:type extend: typing.Union[bool, typing.Any]
|
|
@@ -985,7 +985,7 @@ def transform_gizmo_set(
|
|
|
985
985
|
|
|
986
986
|
def view_all(
|
|
987
987
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
988
|
-
execution_context: str = None,
|
|
988
|
+
execution_context: typing.Union[str, int] = None,
|
|
989
989
|
undo: bool = None,
|
|
990
990
|
use_all_regions: typing.Union[bool, typing.Any] = False,
|
|
991
991
|
center: typing.Union[bool, typing.Any] = False,
|
|
@@ -993,7 +993,7 @@ def view_all(
|
|
|
993
993
|
"""View all objects in scene
|
|
994
994
|
|
|
995
995
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
996
|
-
:type execution_context: str
|
|
996
|
+
:type execution_context: typing.Union[str, int]
|
|
997
997
|
:type undo: bool
|
|
998
998
|
:param use_all_regions: All Regions, View selected for all regions
|
|
999
999
|
:type use_all_regions: typing.Union[bool, typing.Any]
|
|
@@ -1005,7 +1005,7 @@ def view_all(
|
|
|
1005
1005
|
|
|
1006
1006
|
def view_axis(
|
|
1007
1007
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1008
|
-
execution_context: str = None,
|
|
1008
|
+
execution_context: typing.Union[str, int] = None,
|
|
1009
1009
|
undo: bool = None,
|
|
1010
1010
|
type: typing.Any = "LEFT",
|
|
1011
1011
|
align_active: typing.Union[bool, typing.Any] = False,
|
|
@@ -1014,7 +1014,7 @@ def view_axis(
|
|
|
1014
1014
|
"""Use a preset viewpoint
|
|
1015
1015
|
|
|
1016
1016
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1017
|
-
:type execution_context: str
|
|
1017
|
+
:type execution_context: typing.Union[str, int]
|
|
1018
1018
|
:type undo: bool
|
|
1019
1019
|
:param type: View, Preset viewpoint to use
|
|
1020
1020
|
|
|
@@ -1046,13 +1046,13 @@ def view_axis(
|
|
|
1046
1046
|
|
|
1047
1047
|
def view_camera(
|
|
1048
1048
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1049
|
-
execution_context: str = None,
|
|
1049
|
+
execution_context: typing.Union[str, int] = None,
|
|
1050
1050
|
undo: bool = None,
|
|
1051
1051
|
):
|
|
1052
1052
|
"""Toggle the camera view
|
|
1053
1053
|
|
|
1054
1054
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1055
|
-
:type execution_context: str
|
|
1055
|
+
:type execution_context: typing.Union[str, int]
|
|
1056
1056
|
:type undo: bool
|
|
1057
1057
|
"""
|
|
1058
1058
|
|
|
@@ -1060,13 +1060,13 @@ def view_camera(
|
|
|
1060
1060
|
|
|
1061
1061
|
def view_center_camera(
|
|
1062
1062
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1063
|
-
execution_context: str = None,
|
|
1063
|
+
execution_context: typing.Union[str, int] = None,
|
|
1064
1064
|
undo: bool = None,
|
|
1065
1065
|
):
|
|
1066
1066
|
"""Center the camera view, resizing the view to fit its bounds
|
|
1067
1067
|
|
|
1068
1068
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1069
|
-
:type execution_context: str
|
|
1069
|
+
:type execution_context: typing.Union[str, int]
|
|
1070
1070
|
:type undo: bool
|
|
1071
1071
|
"""
|
|
1072
1072
|
|
|
@@ -1074,13 +1074,13 @@ def view_center_camera(
|
|
|
1074
1074
|
|
|
1075
1075
|
def view_center_cursor(
|
|
1076
1076
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1077
|
-
execution_context: str = None,
|
|
1077
|
+
execution_context: typing.Union[str, int] = None,
|
|
1078
1078
|
undo: bool = None,
|
|
1079
1079
|
):
|
|
1080
1080
|
"""Center the view so that the cursor is in the middle of the view
|
|
1081
1081
|
|
|
1082
1082
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1083
|
-
:type execution_context: str
|
|
1083
|
+
:type execution_context: typing.Union[str, int]
|
|
1084
1084
|
:type undo: bool
|
|
1085
1085
|
"""
|
|
1086
1086
|
|
|
@@ -1088,13 +1088,13 @@ def view_center_cursor(
|
|
|
1088
1088
|
|
|
1089
1089
|
def view_center_lock(
|
|
1090
1090
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1091
|
-
execution_context: str = None,
|
|
1091
|
+
execution_context: typing.Union[str, int] = None,
|
|
1092
1092
|
undo: bool = None,
|
|
1093
1093
|
):
|
|
1094
1094
|
"""Center the view lock offset
|
|
1095
1095
|
|
|
1096
1096
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1097
|
-
:type execution_context: str
|
|
1097
|
+
:type execution_context: typing.Union[str, int]
|
|
1098
1098
|
:type undo: bool
|
|
1099
1099
|
"""
|
|
1100
1100
|
|
|
@@ -1102,13 +1102,13 @@ def view_center_lock(
|
|
|
1102
1102
|
|
|
1103
1103
|
def view_center_pick(
|
|
1104
1104
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1105
|
-
execution_context: str = None,
|
|
1105
|
+
execution_context: typing.Union[str, int] = None,
|
|
1106
1106
|
undo: bool = None,
|
|
1107
1107
|
):
|
|
1108
1108
|
"""Center the view to the Z-depth position under the mouse cursor
|
|
1109
1109
|
|
|
1110
1110
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1111
|
-
:type execution_context: str
|
|
1111
|
+
:type execution_context: typing.Union[str, int]
|
|
1112
1112
|
:type undo: bool
|
|
1113
1113
|
"""
|
|
1114
1114
|
|
|
@@ -1116,13 +1116,13 @@ def view_center_pick(
|
|
|
1116
1116
|
|
|
1117
1117
|
def view_lock_clear(
|
|
1118
1118
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1119
|
-
execution_context: str = None,
|
|
1119
|
+
execution_context: typing.Union[str, int] = None,
|
|
1120
1120
|
undo: bool = None,
|
|
1121
1121
|
):
|
|
1122
1122
|
"""Clear all view locking
|
|
1123
1123
|
|
|
1124
1124
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1125
|
-
:type execution_context: str
|
|
1125
|
+
:type execution_context: typing.Union[str, int]
|
|
1126
1126
|
:type undo: bool
|
|
1127
1127
|
"""
|
|
1128
1128
|
|
|
@@ -1130,13 +1130,13 @@ def view_lock_clear(
|
|
|
1130
1130
|
|
|
1131
1131
|
def view_lock_to_active(
|
|
1132
1132
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1133
|
-
execution_context: str = None,
|
|
1133
|
+
execution_context: typing.Union[str, int] = None,
|
|
1134
1134
|
undo: bool = None,
|
|
1135
1135
|
):
|
|
1136
1136
|
"""Lock the view to the active object/bone
|
|
1137
1137
|
|
|
1138
1138
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1139
|
-
:type execution_context: str
|
|
1139
|
+
:type execution_context: typing.Union[str, int]
|
|
1140
1140
|
:type undo: bool
|
|
1141
1141
|
"""
|
|
1142
1142
|
|
|
@@ -1144,7 +1144,7 @@ def view_lock_to_active(
|
|
|
1144
1144
|
|
|
1145
1145
|
def view_orbit(
|
|
1146
1146
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1147
|
-
execution_context: str = None,
|
|
1147
|
+
execution_context: typing.Union[str, int] = None,
|
|
1148
1148
|
undo: bool = None,
|
|
1149
1149
|
angle: typing.Any = 0.0,
|
|
1150
1150
|
type: typing.Any = "ORBITLEFT",
|
|
@@ -1152,7 +1152,7 @@ def view_orbit(
|
|
|
1152
1152
|
"""Orbit the view
|
|
1153
1153
|
|
|
1154
1154
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1155
|
-
:type execution_context: str
|
|
1155
|
+
:type execution_context: typing.Union[str, int]
|
|
1156
1156
|
:type undo: bool
|
|
1157
1157
|
:param angle: Roll
|
|
1158
1158
|
:type angle: typing.Any
|
|
@@ -1176,14 +1176,14 @@ def view_orbit(
|
|
|
1176
1176
|
|
|
1177
1177
|
def view_pan(
|
|
1178
1178
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1179
|
-
execution_context: str = None,
|
|
1179
|
+
execution_context: typing.Union[str, int] = None,
|
|
1180
1180
|
undo: bool = None,
|
|
1181
1181
|
type: typing.Any = "PANLEFT",
|
|
1182
1182
|
):
|
|
1183
1183
|
"""Pan the view in a given direction
|
|
1184
1184
|
|
|
1185
1185
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1186
|
-
:type execution_context: str
|
|
1186
|
+
:type execution_context: typing.Union[str, int]
|
|
1187
1187
|
:type undo: bool
|
|
1188
1188
|
:param type: Pan, Direction of View Pan
|
|
1189
1189
|
|
|
@@ -1205,13 +1205,13 @@ def view_pan(
|
|
|
1205
1205
|
|
|
1206
1206
|
def view_persportho(
|
|
1207
1207
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1208
|
-
execution_context: str = None,
|
|
1208
|
+
execution_context: typing.Union[str, int] = None,
|
|
1209
1209
|
undo: bool = None,
|
|
1210
1210
|
):
|
|
1211
1211
|
"""Switch the current view from perspective/orthographic projection
|
|
1212
1212
|
|
|
1213
1213
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1214
|
-
:type execution_context: str
|
|
1214
|
+
:type execution_context: typing.Union[str, int]
|
|
1215
1215
|
:type undo: bool
|
|
1216
1216
|
"""
|
|
1217
1217
|
|
|
@@ -1219,7 +1219,7 @@ def view_persportho(
|
|
|
1219
1219
|
|
|
1220
1220
|
def view_roll(
|
|
1221
1221
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1222
|
-
execution_context: str = None,
|
|
1222
|
+
execution_context: typing.Union[str, int] = None,
|
|
1223
1223
|
undo: bool = None,
|
|
1224
1224
|
angle: typing.Any = 0.0,
|
|
1225
1225
|
type: typing.Any = "ANGLE",
|
|
@@ -1227,7 +1227,7 @@ def view_roll(
|
|
|
1227
1227
|
"""Roll the view
|
|
1228
1228
|
|
|
1229
1229
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1230
|
-
:type execution_context: str
|
|
1230
|
+
:type execution_context: typing.Union[str, int]
|
|
1231
1231
|
:type undo: bool
|
|
1232
1232
|
:param angle: Roll
|
|
1233
1233
|
:type angle: typing.Any
|
|
@@ -1248,14 +1248,14 @@ def view_roll(
|
|
|
1248
1248
|
|
|
1249
1249
|
def view_selected(
|
|
1250
1250
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1251
|
-
execution_context: str = None,
|
|
1251
|
+
execution_context: typing.Union[str, int] = None,
|
|
1252
1252
|
undo: bool = None,
|
|
1253
1253
|
use_all_regions: typing.Union[bool, typing.Any] = False,
|
|
1254
1254
|
):
|
|
1255
1255
|
"""Move the view to the selection center
|
|
1256
1256
|
|
|
1257
1257
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1258
|
-
:type execution_context: str
|
|
1258
|
+
:type execution_context: typing.Union[str, int]
|
|
1259
1259
|
:type undo: bool
|
|
1260
1260
|
:param use_all_regions: All Regions, View selected for all regions
|
|
1261
1261
|
:type use_all_regions: typing.Union[bool, typing.Any]
|
|
@@ -1265,13 +1265,13 @@ def view_selected(
|
|
|
1265
1265
|
|
|
1266
1266
|
def walk(
|
|
1267
1267
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1268
|
-
execution_context: str = None,
|
|
1268
|
+
execution_context: typing.Union[str, int] = None,
|
|
1269
1269
|
undo: bool = None,
|
|
1270
1270
|
):
|
|
1271
1271
|
"""Interactively walk around the scene
|
|
1272
1272
|
|
|
1273
1273
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1274
|
-
:type execution_context: str
|
|
1274
|
+
:type execution_context: typing.Union[str, int]
|
|
1275
1275
|
:type undo: bool
|
|
1276
1276
|
"""
|
|
1277
1277
|
|
|
@@ -1279,7 +1279,7 @@ def walk(
|
|
|
1279
1279
|
|
|
1280
1280
|
def zoom(
|
|
1281
1281
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1282
|
-
execution_context: str = None,
|
|
1282
|
+
execution_context: typing.Union[str, int] = None,
|
|
1283
1283
|
undo: bool = None,
|
|
1284
1284
|
mx: typing.Any = 0,
|
|
1285
1285
|
my: typing.Any = 0,
|
|
@@ -1289,7 +1289,7 @@ def zoom(
|
|
|
1289
1289
|
"""Zoom in/out in the view
|
|
1290
1290
|
|
|
1291
1291
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1292
|
-
:type execution_context: str
|
|
1292
|
+
:type execution_context: typing.Union[str, int]
|
|
1293
1293
|
:type undo: bool
|
|
1294
1294
|
:param mx: Region Position X
|
|
1295
1295
|
:type mx: typing.Any
|
|
@@ -1305,7 +1305,7 @@ def zoom(
|
|
|
1305
1305
|
|
|
1306
1306
|
def zoom_border(
|
|
1307
1307
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1308
|
-
execution_context: str = None,
|
|
1308
|
+
execution_context: typing.Union[str, int] = None,
|
|
1309
1309
|
undo: bool = None,
|
|
1310
1310
|
xmin: typing.Any = 0,
|
|
1311
1311
|
xmax: typing.Any = 0,
|
|
@@ -1317,7 +1317,7 @@ def zoom_border(
|
|
|
1317
1317
|
"""Zoom in the view to the nearest object contained in the border
|
|
1318
1318
|
|
|
1319
1319
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1320
|
-
:type execution_context: str
|
|
1320
|
+
:type execution_context: typing.Union[str, int]
|
|
1321
1321
|
:type undo: bool
|
|
1322
1322
|
:param xmin: X Min
|
|
1323
1323
|
:type xmin: typing.Any
|
|
@@ -1337,13 +1337,13 @@ def zoom_border(
|
|
|
1337
1337
|
|
|
1338
1338
|
def zoom_camera_1_to_1(
|
|
1339
1339
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
1340
|
-
execution_context: str = None,
|
|
1340
|
+
execution_context: typing.Union[str, int] = None,
|
|
1341
1341
|
undo: bool = None,
|
|
1342
1342
|
):
|
|
1343
1343
|
"""Match the camera to 1:1 to the render output
|
|
1344
1344
|
|
|
1345
1345
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
1346
|
-
:type execution_context: str
|
|
1346
|
+
:type execution_context: typing.Union[str, int]
|
|
1347
1347
|
:type undo: bool
|
|
1348
1348
|
"""
|
|
1349
1349
|
|