fake-bpy-module 20240508__py3-none-any.whl → 20240509__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/ops/action/__init__.pyi +152 -76
- bpy/ops/anim/__init__.pyi +212 -106
- bpy/ops/armature/__init__.pyi +192 -96
- bpy/ops/asset/__init__.pyi +64 -32
- bpy/ops/boid/__init__.pyi +32 -16
- bpy/ops/brush/__init__.pyi +36 -18
- bpy/ops/buttons/__init__.pyi +24 -12
- bpy/ops/cachefile/__init__.pyi +20 -10
- bpy/ops/camera/__init__.pyi +8 -4
- bpy/ops/clip/__init__.pyi +368 -184
- bpy/ops/cloth/__init__.pyi +4 -2
- bpy/ops/collection/__init__.pyi +36 -18
- bpy/ops/console/__init__.pyi +84 -42
- bpy/ops/constraint/__init__.pyi +72 -36
- bpy/ops/curve/__init__.pyi +204 -102
- bpy/ops/curves/__init__.pyi +108 -54
- bpy/ops/cycles/__init__.pyi +12 -6
- bpy/ops/dpaint/__init__.pyi +20 -10
- bpy/ops/ed/__init__.pyi +48 -24
- bpy/ops/export_anim/__init__.pyi +4 -2
- bpy/ops/export_mesh/__init__.pyi +4 -2
- bpy/ops/export_scene/__init__.pyi +16 -10
- bpy/ops/file/__init__.pyi +160 -80
- bpy/ops/fluid/__init__.pyi +56 -28
- bpy/ops/font/__init__.pyi +92 -46
- bpy/ops/geometry/__init__.pyi +40 -20
- bpy/ops/gizmogroup/__init__.pyi +8 -4
- bpy/ops/gpencil/__init__.pyi +600 -300
- bpy/ops/graph/__init__.pyi +260 -130
- bpy/ops/grease_pencil/__init__.pyi +268 -134
- bpy/ops/image/__init__.pyi +188 -94
- bpy/ops/import_anim/__init__.pyi +4 -2
- bpy/ops/import_curve/__init__.pyi +4 -2
- bpy/ops/import_mesh/__init__.pyi +4 -2
- bpy/ops/import_scene/__init__.pyi +12 -6
- bpy/ops/info/__init__.pyi +28 -14
- bpy/ops/lattice/__init__.pyi +32 -16
- bpy/ops/marker/__init__.pyi +44 -22
- bpy/ops/mask/__init__.pyi +156 -78
- bpy/ops/material/__init__.pyi +12 -6
- bpy/ops/mball/__init__.pyi +32 -16
- bpy/ops/mesh/__init__.pyi +652 -326
- bpy/ops/nla/__init__.pyi +159 -81
- bpy/ops/node/__init__.pyi +404 -202
- bpy/ops/object/__init__.pyi +1002 -490
- bpy/ops/outliner/__init__.pyi +276 -138
- bpy/ops/paint/__init__.pyi +212 -106
- bpy/ops/paintcurve/__init__.pyi +32 -16
- bpy/ops/palette/__init__.pyi +28 -14
- bpy/ops/particle/__init__.pyi +144 -72
- bpy/ops/pose/__init__.pyi +156 -78
- bpy/ops/poselib/__init__.pyi +36 -18
- bpy/ops/preferences/__init__.pyi +152 -76
- bpy/ops/ptcache/__init__.pyi +28 -14
- bpy/ops/render/__init__.pyi +48 -24
- bpy/ops/rigidbody/__init__.pyi +52 -26
- bpy/ops/scene/__init__.pyi +156 -78
- bpy/ops/screen/__init__.pyi +156 -78
- bpy/ops/script/__init__.pyi +12 -6
- bpy/ops/sculpt/__init__.pyi +134 -68
- bpy/ops/sculpt_curves/__init__.pyi +16 -8
- bpy/ops/sequencer/__init__.pyi +340 -170
- bpy/ops/sound/__init__.pyi +28 -14
- bpy/ops/spreadsheet/__init__.pyi +16 -8
- bpy/ops/surface/__init__.pyi +24 -12
- bpy/ops/text/__init__.pyi +172 -86
- bpy/ops/text_editor/__init__.pyi +4 -2
- bpy/ops/texture/__init__.pyi +16 -8
- bpy/ops/transform/__init__.pyi +108 -54
- bpy/ops/ui/__init__.pyi +132 -66
- bpy/ops/uilist/__init__.pyi +12 -6
- bpy/ops/uv/__init__.pyi +196 -98
- bpy/ops/view2d/__init__.pyi +56 -28
- bpy/ops/view3d/__init__.pyi +268 -134
- bpy/ops/wm/__init__.pyi +493 -224
- bpy/ops/workspace/__init__.pyi +28 -14
- bpy/ops/world/__init__.pyi +4 -2
- bpy/types/__init__.pyi +396 -28
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/RECORD +83 -83
- mathutils/__init__.pyi +20 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240508.dist-info → fake_bpy_module-20240509.dist-info}/top_level.txt +0 -0
bpy/ops/view3d/__init__.pyi
CHANGED
|
@@ -4,7 +4,9 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def bone_select_menu(
|
|
7
|
-
override_context: typing.Optional[
|
|
7
|
+
override_context: typing.Optional[
|
|
8
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
9
|
+
] = None,
|
|
8
10
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
11
|
undo: typing.Optional[bool] = None,
|
|
10
12
|
name: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
@@ -14,7 +16,7 @@ def bone_select_menu(
|
|
|
14
16
|
):
|
|
15
17
|
"""Menu bone selection
|
|
16
18
|
|
|
17
|
-
:type override_context: typing.Optional[typing.Union[
|
|
19
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
18
20
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
19
21
|
:type undo: typing.Optional[bool]
|
|
20
22
|
:param name: Bone Name
|
|
@@ -30,7 +32,9 @@ def bone_select_menu(
|
|
|
30
32
|
...
|
|
31
33
|
|
|
32
34
|
def camera_background_image_add(
|
|
33
|
-
override_context: typing.Optional[
|
|
35
|
+
override_context: typing.Optional[
|
|
36
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
37
|
+
] = None,
|
|
34
38
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
35
39
|
undo: typing.Optional[bool] = None,
|
|
36
40
|
filepath: typing.Union[str, typing.Any] = "",
|
|
@@ -40,7 +44,7 @@ def camera_background_image_add(
|
|
|
40
44
|
):
|
|
41
45
|
"""Add a new background image to the active camera
|
|
42
46
|
|
|
43
|
-
:type override_context: typing.Optional[typing.Union[
|
|
47
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
44
48
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
45
49
|
:type undo: typing.Optional[bool]
|
|
46
50
|
:param filepath: Filepath, Path to image file
|
|
@@ -56,14 +60,16 @@ def camera_background_image_add(
|
|
|
56
60
|
...
|
|
57
61
|
|
|
58
62
|
def camera_background_image_remove(
|
|
59
|
-
override_context: typing.Optional[
|
|
63
|
+
override_context: typing.Optional[
|
|
64
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
65
|
+
] = None,
|
|
60
66
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
61
67
|
undo: typing.Optional[bool] = None,
|
|
62
68
|
index: typing.Optional[typing.Any] = 0,
|
|
63
69
|
):
|
|
64
70
|
"""Remove a background image from the camera
|
|
65
71
|
|
|
66
|
-
:type override_context: typing.Optional[typing.Union[
|
|
72
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
67
73
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
68
74
|
:type undo: typing.Optional[bool]
|
|
69
75
|
:param index: Index, Background image index to remove
|
|
@@ -73,13 +79,15 @@ def camera_background_image_remove(
|
|
|
73
79
|
...
|
|
74
80
|
|
|
75
81
|
def camera_to_view(
|
|
76
|
-
override_context: typing.Optional[
|
|
82
|
+
override_context: typing.Optional[
|
|
83
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
84
|
+
] = None,
|
|
77
85
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
78
86
|
undo: typing.Optional[bool] = None,
|
|
79
87
|
):
|
|
80
88
|
"""Set camera view to active view
|
|
81
89
|
|
|
82
|
-
:type override_context: typing.Optional[typing.Union[
|
|
90
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
83
91
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
84
92
|
:type undo: typing.Optional[bool]
|
|
85
93
|
"""
|
|
@@ -87,13 +95,15 @@ def camera_to_view(
|
|
|
87
95
|
...
|
|
88
96
|
|
|
89
97
|
def camera_to_view_selected(
|
|
90
|
-
override_context: typing.Optional[
|
|
98
|
+
override_context: typing.Optional[
|
|
99
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
100
|
+
] = None,
|
|
91
101
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
92
102
|
undo: typing.Optional[bool] = None,
|
|
93
103
|
):
|
|
94
104
|
"""Move the camera so selected objects are framed
|
|
95
105
|
|
|
96
|
-
:type override_context: typing.Optional[typing.Union[
|
|
106
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
97
107
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
98
108
|
:type undo: typing.Optional[bool]
|
|
99
109
|
"""
|
|
@@ -101,13 +111,15 @@ def camera_to_view_selected(
|
|
|
101
111
|
...
|
|
102
112
|
|
|
103
113
|
def clear_render_border(
|
|
104
|
-
override_context: typing.Optional[
|
|
114
|
+
override_context: typing.Optional[
|
|
115
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
116
|
+
] = None,
|
|
105
117
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
106
118
|
undo: typing.Optional[bool] = None,
|
|
107
119
|
):
|
|
108
120
|
"""Clear the boundaries of the border render and disable border render
|
|
109
121
|
|
|
110
|
-
:type override_context: typing.Optional[typing.Union[
|
|
122
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
111
123
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
112
124
|
:type undo: typing.Optional[bool]
|
|
113
125
|
"""
|
|
@@ -115,7 +127,9 @@ def clear_render_border(
|
|
|
115
127
|
...
|
|
116
128
|
|
|
117
129
|
def clip_border(
|
|
118
|
-
override_context: typing.Optional[
|
|
130
|
+
override_context: typing.Optional[
|
|
131
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
132
|
+
] = None,
|
|
119
133
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
120
134
|
undo: typing.Optional[bool] = None,
|
|
121
135
|
xmin: typing.Optional[typing.Any] = 0,
|
|
@@ -126,7 +140,7 @@ def clip_border(
|
|
|
126
140
|
):
|
|
127
141
|
"""Set the view clipping region
|
|
128
142
|
|
|
129
|
-
:type override_context: typing.Optional[typing.Union[
|
|
143
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
130
144
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
131
145
|
:type undo: typing.Optional[bool]
|
|
132
146
|
:param xmin: X Min
|
|
@@ -144,13 +158,15 @@ def clip_border(
|
|
|
144
158
|
...
|
|
145
159
|
|
|
146
160
|
def copybuffer(
|
|
147
|
-
override_context: typing.Optional[
|
|
161
|
+
override_context: typing.Optional[
|
|
162
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
163
|
+
] = None,
|
|
148
164
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
149
165
|
undo: typing.Optional[bool] = None,
|
|
150
166
|
):
|
|
151
167
|
"""Copy the selected objects to the internal clipboard
|
|
152
168
|
|
|
153
|
-
:type override_context: typing.Optional[typing.Union[
|
|
169
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
154
170
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
155
171
|
:type undo: typing.Optional[bool]
|
|
156
172
|
"""
|
|
@@ -158,7 +174,9 @@ def copybuffer(
|
|
|
158
174
|
...
|
|
159
175
|
|
|
160
176
|
def cursor3d(
|
|
161
|
-
override_context: typing.Optional[
|
|
177
|
+
override_context: typing.Optional[
|
|
178
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
179
|
+
] = None,
|
|
162
180
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
163
181
|
undo: typing.Optional[bool] = None,
|
|
164
182
|
use_depth: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
@@ -166,7 +184,7 @@ def cursor3d(
|
|
|
166
184
|
):
|
|
167
185
|
"""Set the location of the 3D cursor
|
|
168
186
|
|
|
169
|
-
:type override_context: typing.Optional[typing.Union[
|
|
187
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
170
188
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
171
189
|
:type undo: typing.Optional[bool]
|
|
172
190
|
:param use_depth: Surface Project, Project onto the surface
|
|
@@ -190,7 +208,9 @@ def cursor3d(
|
|
|
190
208
|
...
|
|
191
209
|
|
|
192
210
|
def dolly(
|
|
193
|
-
override_context: typing.Optional[
|
|
211
|
+
override_context: typing.Optional[
|
|
212
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
213
|
+
] = None,
|
|
194
214
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
195
215
|
undo: typing.Optional[bool] = None,
|
|
196
216
|
mx: typing.Optional[typing.Any] = 0,
|
|
@@ -200,7 +220,7 @@ def dolly(
|
|
|
200
220
|
):
|
|
201
221
|
"""Dolly in/out in the view
|
|
202
222
|
|
|
203
|
-
:type override_context: typing.Optional[typing.Union[
|
|
223
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
204
224
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
205
225
|
:type undo: typing.Optional[bool]
|
|
206
226
|
:param mx: Region Position X
|
|
@@ -216,7 +236,9 @@ def dolly(
|
|
|
216
236
|
...
|
|
217
237
|
|
|
218
238
|
def drop_world(
|
|
219
|
-
override_context: typing.Optional[
|
|
239
|
+
override_context: typing.Optional[
|
|
240
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
241
|
+
] = None,
|
|
220
242
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
221
243
|
undo: typing.Optional[bool] = None,
|
|
222
244
|
name: typing.Union[str, typing.Any] = "",
|
|
@@ -224,7 +246,7 @@ def drop_world(
|
|
|
224
246
|
):
|
|
225
247
|
"""Drop a world into the scene
|
|
226
248
|
|
|
227
|
-
:type override_context: typing.Optional[typing.Union[
|
|
249
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
228
250
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
229
251
|
:type undo: typing.Optional[bool]
|
|
230
252
|
:param name: Name, Name of the data-block to use by the operator
|
|
@@ -236,13 +258,15 @@ def drop_world(
|
|
|
236
258
|
...
|
|
237
259
|
|
|
238
260
|
def edit_mesh_extrude_individual_move(
|
|
239
|
-
override_context: typing.Optional[
|
|
261
|
+
override_context: typing.Optional[
|
|
262
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
263
|
+
] = None,
|
|
240
264
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
241
265
|
undo: typing.Optional[bool] = None,
|
|
242
266
|
):
|
|
243
267
|
"""Extrude each individual face separately along local normals
|
|
244
268
|
|
|
245
|
-
:type override_context: typing.Optional[typing.Union[
|
|
269
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
246
270
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
247
271
|
:type undo: typing.Optional[bool]
|
|
248
272
|
"""
|
|
@@ -250,13 +274,15 @@ def edit_mesh_extrude_individual_move(
|
|
|
250
274
|
...
|
|
251
275
|
|
|
252
276
|
def edit_mesh_extrude_manifold_normal(
|
|
253
|
-
override_context: typing.Optional[
|
|
277
|
+
override_context: typing.Optional[
|
|
278
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
279
|
+
] = None,
|
|
254
280
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
255
281
|
undo: typing.Optional[bool] = None,
|
|
256
282
|
):
|
|
257
283
|
"""Extrude manifold region along normals
|
|
258
284
|
|
|
259
|
-
:type override_context: typing.Optional[typing.Union[
|
|
285
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
260
286
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
261
287
|
:type undo: typing.Optional[bool]
|
|
262
288
|
"""
|
|
@@ -264,14 +290,16 @@ def edit_mesh_extrude_manifold_normal(
|
|
|
264
290
|
...
|
|
265
291
|
|
|
266
292
|
def edit_mesh_extrude_move_normal(
|
|
267
|
-
override_context: typing.Optional[
|
|
293
|
+
override_context: typing.Optional[
|
|
294
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
295
|
+
] = None,
|
|
268
296
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
269
297
|
undo: typing.Optional[bool] = None,
|
|
270
298
|
dissolve_and_intersect: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
271
299
|
):
|
|
272
300
|
"""Extrude region together along the average normal
|
|
273
301
|
|
|
274
|
-
:type override_context: typing.Optional[typing.Union[
|
|
302
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
275
303
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
276
304
|
:type undo: typing.Optional[bool]
|
|
277
305
|
:param dissolve_and_intersect: dissolve_and_intersect, Dissolves adjacent faces and intersects new geometry
|
|
@@ -281,13 +309,15 @@ def edit_mesh_extrude_move_normal(
|
|
|
281
309
|
...
|
|
282
310
|
|
|
283
311
|
def edit_mesh_extrude_move_shrink_fatten(
|
|
284
|
-
override_context: typing.Optional[
|
|
312
|
+
override_context: typing.Optional[
|
|
313
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
314
|
+
] = None,
|
|
285
315
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
286
316
|
undo: typing.Optional[bool] = None,
|
|
287
317
|
):
|
|
288
318
|
"""Extrude region together along local normals
|
|
289
319
|
|
|
290
|
-
:type override_context: typing.Optional[typing.Union[
|
|
320
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
291
321
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
292
322
|
:type undo: typing.Optional[bool]
|
|
293
323
|
"""
|
|
@@ -295,13 +325,15 @@ def edit_mesh_extrude_move_shrink_fatten(
|
|
|
295
325
|
...
|
|
296
326
|
|
|
297
327
|
def fly(
|
|
298
|
-
override_context: typing.Optional[
|
|
328
|
+
override_context: typing.Optional[
|
|
329
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
330
|
+
] = None,
|
|
299
331
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
300
332
|
undo: typing.Optional[bool] = None,
|
|
301
333
|
):
|
|
302
334
|
"""Interactively fly around the scene
|
|
303
335
|
|
|
304
|
-
:type override_context: typing.Optional[typing.Union[
|
|
336
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
305
337
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
306
338
|
:type undo: typing.Optional[bool]
|
|
307
339
|
"""
|
|
@@ -309,7 +341,9 @@ def fly(
|
|
|
309
341
|
...
|
|
310
342
|
|
|
311
343
|
def interactive_add(
|
|
312
|
-
override_context: typing.Optional[
|
|
344
|
+
override_context: typing.Optional[
|
|
345
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
346
|
+
] = None,
|
|
313
347
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
314
348
|
undo: typing.Optional[bool] = None,
|
|
315
349
|
primitive_type: typing.Optional[typing.Any] = "CUBE",
|
|
@@ -321,7 +355,7 @@ def interactive_add(
|
|
|
321
355
|
):
|
|
322
356
|
"""Interactively add an object
|
|
323
357
|
|
|
324
|
-
:type override_context: typing.Optional[typing.Union[
|
|
358
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
325
359
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
326
360
|
:type undo: typing.Optional[bool]
|
|
327
361
|
:param primitive_type: Primitive
|
|
@@ -365,14 +399,16 @@ def interactive_add(
|
|
|
365
399
|
...
|
|
366
400
|
|
|
367
401
|
def localview(
|
|
368
|
-
override_context: typing.Optional[
|
|
402
|
+
override_context: typing.Optional[
|
|
403
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
404
|
+
] = None,
|
|
369
405
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
370
406
|
undo: typing.Optional[bool] = None,
|
|
371
407
|
frame_selected: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
372
408
|
):
|
|
373
409
|
"""Toggle display of selected object(s) separately and centered in view
|
|
374
410
|
|
|
375
|
-
:type override_context: typing.Optional[typing.Union[
|
|
411
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
376
412
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
377
413
|
:type undo: typing.Optional[bool]
|
|
378
414
|
:param frame_selected: Frame Selected, Move the view to frame the selected objects
|
|
@@ -382,13 +418,15 @@ def localview(
|
|
|
382
418
|
...
|
|
383
419
|
|
|
384
420
|
def localview_remove_from(
|
|
385
|
-
override_context: typing.Optional[
|
|
421
|
+
override_context: typing.Optional[
|
|
422
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
423
|
+
] = None,
|
|
386
424
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
387
425
|
undo: typing.Optional[bool] = None,
|
|
388
426
|
):
|
|
389
427
|
"""Move selected objects out of local view
|
|
390
428
|
|
|
391
|
-
:type override_context: typing.Optional[typing.Union[
|
|
429
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
392
430
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
393
431
|
:type undo: typing.Optional[bool]
|
|
394
432
|
"""
|
|
@@ -396,14 +434,16 @@ def localview_remove_from(
|
|
|
396
434
|
...
|
|
397
435
|
|
|
398
436
|
def move(
|
|
399
|
-
override_context: typing.Optional[
|
|
437
|
+
override_context: typing.Optional[
|
|
438
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
439
|
+
] = None,
|
|
400
440
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
401
441
|
undo: typing.Optional[bool] = None,
|
|
402
442
|
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
403
443
|
):
|
|
404
444
|
"""Move the view
|
|
405
445
|
|
|
406
|
-
:type override_context: typing.Optional[typing.Union[
|
|
446
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
407
447
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
408
448
|
:type undo: typing.Optional[bool]
|
|
409
449
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
@@ -413,13 +453,15 @@ def move(
|
|
|
413
453
|
...
|
|
414
454
|
|
|
415
455
|
def navigate(
|
|
416
|
-
override_context: typing.Optional[
|
|
456
|
+
override_context: typing.Optional[
|
|
457
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
458
|
+
] = None,
|
|
417
459
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
418
460
|
undo: typing.Optional[bool] = None,
|
|
419
461
|
):
|
|
420
462
|
"""Interactively navigate around the scene (uses the mode (walk/fly) preference)
|
|
421
463
|
|
|
422
|
-
:type override_context: typing.Optional[typing.Union[
|
|
464
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
423
465
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
424
466
|
:type undo: typing.Optional[bool]
|
|
425
467
|
"""
|
|
@@ -427,13 +469,15 @@ def navigate(
|
|
|
427
469
|
...
|
|
428
470
|
|
|
429
471
|
def ndof_all(
|
|
430
|
-
override_context: typing.Optional[
|
|
472
|
+
override_context: typing.Optional[
|
|
473
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
474
|
+
] = None,
|
|
431
475
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
432
476
|
undo: typing.Optional[bool] = None,
|
|
433
477
|
):
|
|
434
478
|
"""Pan and rotate the view with the 3D mouse
|
|
435
479
|
|
|
436
|
-
:type override_context: typing.Optional[typing.Union[
|
|
480
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
437
481
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
438
482
|
:type undo: typing.Optional[bool]
|
|
439
483
|
"""
|
|
@@ -441,13 +485,15 @@ def ndof_all(
|
|
|
441
485
|
...
|
|
442
486
|
|
|
443
487
|
def ndof_orbit(
|
|
444
|
-
override_context: typing.Optional[
|
|
488
|
+
override_context: typing.Optional[
|
|
489
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
490
|
+
] = None,
|
|
445
491
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
446
492
|
undo: typing.Optional[bool] = None,
|
|
447
493
|
):
|
|
448
494
|
"""Orbit the view using the 3D mouse
|
|
449
495
|
|
|
450
|
-
:type override_context: typing.Optional[typing.Union[
|
|
496
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
451
497
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
452
498
|
:type undo: typing.Optional[bool]
|
|
453
499
|
"""
|
|
@@ -455,13 +501,15 @@ def ndof_orbit(
|
|
|
455
501
|
...
|
|
456
502
|
|
|
457
503
|
def ndof_orbit_zoom(
|
|
458
|
-
override_context: typing.Optional[
|
|
504
|
+
override_context: typing.Optional[
|
|
505
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
506
|
+
] = None,
|
|
459
507
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
460
508
|
undo: typing.Optional[bool] = None,
|
|
461
509
|
):
|
|
462
510
|
"""Orbit and zoom the view using the 3D mouse
|
|
463
511
|
|
|
464
|
-
:type override_context: typing.Optional[typing.Union[
|
|
512
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
465
513
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
466
514
|
:type undo: typing.Optional[bool]
|
|
467
515
|
"""
|
|
@@ -469,13 +517,15 @@ def ndof_orbit_zoom(
|
|
|
469
517
|
...
|
|
470
518
|
|
|
471
519
|
def ndof_pan(
|
|
472
|
-
override_context: typing.Optional[
|
|
520
|
+
override_context: typing.Optional[
|
|
521
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
522
|
+
] = None,
|
|
473
523
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
474
524
|
undo: typing.Optional[bool] = None,
|
|
475
525
|
):
|
|
476
526
|
"""Pan the view with the 3D mouse
|
|
477
527
|
|
|
478
|
-
:type override_context: typing.Optional[typing.Union[
|
|
528
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
479
529
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
480
530
|
:type undo: typing.Optional[bool]
|
|
481
531
|
"""
|
|
@@ -483,13 +533,15 @@ def ndof_pan(
|
|
|
483
533
|
...
|
|
484
534
|
|
|
485
535
|
def object_as_camera(
|
|
486
|
-
override_context: typing.Optional[
|
|
536
|
+
override_context: typing.Optional[
|
|
537
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
538
|
+
] = None,
|
|
487
539
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
488
540
|
undo: typing.Optional[bool] = None,
|
|
489
541
|
):
|
|
490
542
|
"""Set the active object as the active camera for this view or scene
|
|
491
543
|
|
|
492
|
-
:type override_context: typing.Optional[typing.Union[
|
|
544
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
493
545
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
494
546
|
:type undo: typing.Optional[bool]
|
|
495
547
|
"""
|
|
@@ -497,13 +549,15 @@ def object_as_camera(
|
|
|
497
549
|
...
|
|
498
550
|
|
|
499
551
|
def object_mode_pie_or_toggle(
|
|
500
|
-
override_context: typing.Optional[
|
|
552
|
+
override_context: typing.Optional[
|
|
553
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
554
|
+
] = None,
|
|
501
555
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
502
556
|
undo: typing.Optional[bool] = None,
|
|
503
557
|
):
|
|
504
558
|
"""Undocumented, consider contributing.
|
|
505
559
|
|
|
506
|
-
:type override_context: typing.Optional[typing.Union[
|
|
560
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
507
561
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
508
562
|
:type undo: typing.Optional[bool]
|
|
509
563
|
"""
|
|
@@ -511,7 +565,9 @@ def object_mode_pie_or_toggle(
|
|
|
511
565
|
...
|
|
512
566
|
|
|
513
567
|
def pastebuffer(
|
|
514
|
-
override_context: typing.Optional[
|
|
568
|
+
override_context: typing.Optional[
|
|
569
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
570
|
+
] = None,
|
|
515
571
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
516
572
|
undo: typing.Optional[bool] = None,
|
|
517
573
|
autoselect: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
@@ -519,7 +575,7 @@ def pastebuffer(
|
|
|
519
575
|
):
|
|
520
576
|
"""Paste objects from the internal clipboard
|
|
521
577
|
|
|
522
|
-
:type override_context: typing.Optional[typing.Union[
|
|
578
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
523
579
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
524
580
|
:type undo: typing.Optional[bool]
|
|
525
581
|
:param autoselect: Select, Select pasted objects
|
|
@@ -531,7 +587,9 @@ def pastebuffer(
|
|
|
531
587
|
...
|
|
532
588
|
|
|
533
589
|
def render_border(
|
|
534
|
-
override_context: typing.Optional[
|
|
590
|
+
override_context: typing.Optional[
|
|
591
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
592
|
+
] = None,
|
|
535
593
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
536
594
|
undo: typing.Optional[bool] = None,
|
|
537
595
|
xmin: typing.Optional[typing.Any] = 0,
|
|
@@ -542,7 +600,7 @@ def render_border(
|
|
|
542
600
|
):
|
|
543
601
|
"""Set the boundaries of the border render and enable border render
|
|
544
602
|
|
|
545
|
-
:type override_context: typing.Optional[typing.Union[
|
|
603
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
546
604
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
547
605
|
:type undo: typing.Optional[bool]
|
|
548
606
|
:param xmin: X Min
|
|
@@ -560,14 +618,16 @@ def render_border(
|
|
|
560
618
|
...
|
|
561
619
|
|
|
562
620
|
def rotate(
|
|
563
|
-
override_context: typing.Optional[
|
|
621
|
+
override_context: typing.Optional[
|
|
622
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
623
|
+
] = None,
|
|
564
624
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
565
625
|
undo: typing.Optional[bool] = None,
|
|
566
626
|
use_cursor_init: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
567
627
|
):
|
|
568
628
|
"""Rotate the view
|
|
569
629
|
|
|
570
|
-
:type override_context: typing.Optional[typing.Union[
|
|
630
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
571
631
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
572
632
|
:type undo: typing.Optional[bool]
|
|
573
633
|
:param use_cursor_init: Use Mouse Position, Allow the initial mouse position to be used
|
|
@@ -577,13 +637,15 @@ def rotate(
|
|
|
577
637
|
...
|
|
578
638
|
|
|
579
639
|
def ruler_add(
|
|
580
|
-
override_context: typing.Optional[
|
|
640
|
+
override_context: typing.Optional[
|
|
641
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
642
|
+
] = None,
|
|
581
643
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
582
644
|
undo: typing.Optional[bool] = None,
|
|
583
645
|
):
|
|
584
646
|
"""Add ruler
|
|
585
647
|
|
|
586
|
-
:type override_context: typing.Optional[typing.Union[
|
|
648
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
587
649
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
588
650
|
:type undo: typing.Optional[bool]
|
|
589
651
|
"""
|
|
@@ -591,13 +653,15 @@ def ruler_add(
|
|
|
591
653
|
...
|
|
592
654
|
|
|
593
655
|
def ruler_remove(
|
|
594
|
-
override_context: typing.Optional[
|
|
656
|
+
override_context: typing.Optional[
|
|
657
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
658
|
+
] = None,
|
|
595
659
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
596
660
|
undo: typing.Optional[bool] = None,
|
|
597
661
|
):
|
|
598
662
|
"""Undocumented, consider contributing.
|
|
599
663
|
|
|
600
|
-
:type override_context: typing.Optional[typing.Union[
|
|
664
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
601
665
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
602
666
|
:type undo: typing.Optional[bool]
|
|
603
667
|
"""
|
|
@@ -605,7 +669,9 @@ def ruler_remove(
|
|
|
605
669
|
...
|
|
606
670
|
|
|
607
671
|
def select(
|
|
608
|
-
override_context: typing.Optional[
|
|
672
|
+
override_context: typing.Optional[
|
|
673
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
674
|
+
] = None,
|
|
609
675
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
610
676
|
undo: typing.Optional[bool] = None,
|
|
611
677
|
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -620,7 +686,7 @@ def select(
|
|
|
620
686
|
):
|
|
621
687
|
"""Select and activate item(s)
|
|
622
688
|
|
|
623
|
-
:type override_context: typing.Optional[typing.Union[
|
|
689
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
624
690
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
625
691
|
:type undo: typing.Optional[bool]
|
|
626
692
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
@@ -646,7 +712,9 @@ def select(
|
|
|
646
712
|
...
|
|
647
713
|
|
|
648
714
|
def select_box(
|
|
649
|
-
override_context: typing.Optional[
|
|
715
|
+
override_context: typing.Optional[
|
|
716
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
717
|
+
] = None,
|
|
650
718
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
651
719
|
undo: typing.Optional[bool] = None,
|
|
652
720
|
xmin: typing.Optional[typing.Any] = 0,
|
|
@@ -658,7 +726,7 @@ def select_box(
|
|
|
658
726
|
):
|
|
659
727
|
"""Select items using box selection
|
|
660
728
|
|
|
661
|
-
:type override_context: typing.Optional[typing.Union[
|
|
729
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
662
730
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
663
731
|
:type undo: typing.Optional[bool]
|
|
664
732
|
:param xmin: X Min
|
|
@@ -693,7 +761,9 @@ def select_box(
|
|
|
693
761
|
...
|
|
694
762
|
|
|
695
763
|
def select_circle(
|
|
696
|
-
override_context: typing.Optional[
|
|
764
|
+
override_context: typing.Optional[
|
|
765
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
766
|
+
] = None,
|
|
697
767
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
698
768
|
undo: typing.Optional[bool] = None,
|
|
699
769
|
x: typing.Optional[typing.Any] = 0,
|
|
@@ -704,7 +774,7 @@ def select_circle(
|
|
|
704
774
|
):
|
|
705
775
|
"""Select items using circle selection
|
|
706
776
|
|
|
707
|
-
:type override_context: typing.Optional[typing.Union[
|
|
777
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
708
778
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
709
779
|
:type undo: typing.Optional[bool]
|
|
710
780
|
:param x: X
|
|
@@ -731,7 +801,9 @@ def select_circle(
|
|
|
731
801
|
...
|
|
732
802
|
|
|
733
803
|
def select_lasso(
|
|
734
|
-
override_context: typing.Optional[
|
|
804
|
+
override_context: typing.Optional[
|
|
805
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
806
|
+
] = None,
|
|
735
807
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
736
808
|
undo: typing.Optional[bool] = None,
|
|
737
809
|
path: typing.Optional[
|
|
@@ -741,7 +813,7 @@ def select_lasso(
|
|
|
741
813
|
):
|
|
742
814
|
"""Select items using lasso selection
|
|
743
815
|
|
|
744
|
-
:type override_context: typing.Optional[typing.Union[
|
|
816
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
745
817
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
746
818
|
:type undo: typing.Optional[bool]
|
|
747
819
|
:param path: Path
|
|
@@ -768,7 +840,9 @@ def select_lasso(
|
|
|
768
840
|
...
|
|
769
841
|
|
|
770
842
|
def select_menu(
|
|
771
|
-
override_context: typing.Optional[
|
|
843
|
+
override_context: typing.Optional[
|
|
844
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
845
|
+
] = None,
|
|
772
846
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
773
847
|
undo: typing.Optional[bool] = None,
|
|
774
848
|
name: typing.Optional[typing.Union[str, int, typing.Any]] = "",
|
|
@@ -778,7 +852,7 @@ def select_menu(
|
|
|
778
852
|
):
|
|
779
853
|
"""Menu object selection
|
|
780
854
|
|
|
781
|
-
:type override_context: typing.Optional[typing.Union[
|
|
855
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
782
856
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
783
857
|
:type undo: typing.Optional[bool]
|
|
784
858
|
:param name: Object Name
|
|
@@ -794,13 +868,15 @@ def select_menu(
|
|
|
794
868
|
...
|
|
795
869
|
|
|
796
870
|
def smoothview(
|
|
797
|
-
override_context: typing.Optional[
|
|
871
|
+
override_context: typing.Optional[
|
|
872
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
873
|
+
] = None,
|
|
798
874
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
799
875
|
undo: typing.Optional[bool] = None,
|
|
800
876
|
):
|
|
801
877
|
"""Undocumented, consider contributing.
|
|
802
878
|
|
|
803
|
-
:type override_context: typing.Optional[typing.Union[
|
|
879
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
804
880
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
805
881
|
:type undo: typing.Optional[bool]
|
|
806
882
|
"""
|
|
@@ -808,13 +884,15 @@ def smoothview(
|
|
|
808
884
|
...
|
|
809
885
|
|
|
810
886
|
def snap_cursor_to_active(
|
|
811
|
-
override_context: typing.Optional[
|
|
887
|
+
override_context: typing.Optional[
|
|
888
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
889
|
+
] = None,
|
|
812
890
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
813
891
|
undo: typing.Optional[bool] = None,
|
|
814
892
|
):
|
|
815
893
|
"""Snap 3D cursor to the active item
|
|
816
894
|
|
|
817
|
-
:type override_context: typing.Optional[typing.Union[
|
|
895
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
818
896
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
819
897
|
:type undo: typing.Optional[bool]
|
|
820
898
|
"""
|
|
@@ -822,13 +900,15 @@ def snap_cursor_to_active(
|
|
|
822
900
|
...
|
|
823
901
|
|
|
824
902
|
def snap_cursor_to_center(
|
|
825
|
-
override_context: typing.Optional[
|
|
903
|
+
override_context: typing.Optional[
|
|
904
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
905
|
+
] = None,
|
|
826
906
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
827
907
|
undo: typing.Optional[bool] = None,
|
|
828
908
|
):
|
|
829
909
|
"""Snap 3D cursor to the world origin
|
|
830
910
|
|
|
831
|
-
:type override_context: typing.Optional[typing.Union[
|
|
911
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
832
912
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
833
913
|
:type undo: typing.Optional[bool]
|
|
834
914
|
"""
|
|
@@ -836,13 +916,15 @@ def snap_cursor_to_center(
|
|
|
836
916
|
...
|
|
837
917
|
|
|
838
918
|
def snap_cursor_to_grid(
|
|
839
|
-
override_context: typing.Optional[
|
|
919
|
+
override_context: typing.Optional[
|
|
920
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
921
|
+
] = None,
|
|
840
922
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
841
923
|
undo: typing.Optional[bool] = None,
|
|
842
924
|
):
|
|
843
925
|
"""Snap 3D cursor to the nearest grid division
|
|
844
926
|
|
|
845
|
-
:type override_context: typing.Optional[typing.Union[
|
|
927
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
846
928
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
847
929
|
:type undo: typing.Optional[bool]
|
|
848
930
|
"""
|
|
@@ -850,13 +932,15 @@ def snap_cursor_to_grid(
|
|
|
850
932
|
...
|
|
851
933
|
|
|
852
934
|
def snap_cursor_to_selected(
|
|
853
|
-
override_context: typing.Optional[
|
|
935
|
+
override_context: typing.Optional[
|
|
936
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
937
|
+
] = None,
|
|
854
938
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
855
939
|
undo: typing.Optional[bool] = None,
|
|
856
940
|
):
|
|
857
941
|
"""Snap 3D cursor to the middle of the selected item(s)
|
|
858
942
|
|
|
859
|
-
:type override_context: typing.Optional[typing.Union[
|
|
943
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
860
944
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
861
945
|
:type undo: typing.Optional[bool]
|
|
862
946
|
"""
|
|
@@ -864,13 +948,15 @@ def snap_cursor_to_selected(
|
|
|
864
948
|
...
|
|
865
949
|
|
|
866
950
|
def snap_selected_to_active(
|
|
867
|
-
override_context: typing.Optional[
|
|
951
|
+
override_context: typing.Optional[
|
|
952
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
953
|
+
] = None,
|
|
868
954
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
869
955
|
undo: typing.Optional[bool] = None,
|
|
870
956
|
):
|
|
871
957
|
"""Snap selected item(s) to the active item
|
|
872
958
|
|
|
873
|
-
:type override_context: typing.Optional[typing.Union[
|
|
959
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
874
960
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
875
961
|
:type undo: typing.Optional[bool]
|
|
876
962
|
"""
|
|
@@ -878,14 +964,16 @@ def snap_selected_to_active(
|
|
|
878
964
|
...
|
|
879
965
|
|
|
880
966
|
def snap_selected_to_cursor(
|
|
881
|
-
override_context: typing.Optional[
|
|
967
|
+
override_context: typing.Optional[
|
|
968
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
969
|
+
] = None,
|
|
882
970
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
883
971
|
undo: typing.Optional[bool] = None,
|
|
884
972
|
use_offset: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
885
973
|
):
|
|
886
974
|
"""Snap selected item(s) to the 3D cursor
|
|
887
975
|
|
|
888
|
-
:type override_context: typing.Optional[typing.Union[
|
|
976
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
889
977
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
890
978
|
:type undo: typing.Optional[bool]
|
|
891
979
|
:param use_offset: Offset, If the selection should be snapped as a whole or by each object center
|
|
@@ -895,13 +983,15 @@ def snap_selected_to_cursor(
|
|
|
895
983
|
...
|
|
896
984
|
|
|
897
985
|
def snap_selected_to_grid(
|
|
898
|
-
override_context: typing.Optional[
|
|
986
|
+
override_context: typing.Optional[
|
|
987
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
988
|
+
] = None,
|
|
899
989
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
900
990
|
undo: typing.Optional[bool] = None,
|
|
901
991
|
):
|
|
902
992
|
"""Snap selected item(s) to their nearest grid division
|
|
903
993
|
|
|
904
|
-
:type override_context: typing.Optional[typing.Union[
|
|
994
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
905
995
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
906
996
|
:type undo: typing.Optional[bool]
|
|
907
997
|
"""
|
|
@@ -909,13 +999,15 @@ def snap_selected_to_grid(
|
|
|
909
999
|
...
|
|
910
1000
|
|
|
911
1001
|
def toggle_matcap_flip(
|
|
912
|
-
override_context: typing.Optional[
|
|
1002
|
+
override_context: typing.Optional[
|
|
1003
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1004
|
+
] = None,
|
|
913
1005
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
914
1006
|
undo: typing.Optional[bool] = None,
|
|
915
1007
|
):
|
|
916
1008
|
"""Flip MatCap
|
|
917
1009
|
|
|
918
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1010
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
919
1011
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
920
1012
|
:type undo: typing.Optional[bool]
|
|
921
1013
|
"""
|
|
@@ -923,14 +1015,16 @@ def toggle_matcap_flip(
|
|
|
923
1015
|
...
|
|
924
1016
|
|
|
925
1017
|
def toggle_shading(
|
|
926
|
-
override_context: typing.Optional[
|
|
1018
|
+
override_context: typing.Optional[
|
|
1019
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1020
|
+
] = None,
|
|
927
1021
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
928
1022
|
undo: typing.Optional[bool] = None,
|
|
929
1023
|
type: typing.Optional[typing.Any] = "WIREFRAME",
|
|
930
1024
|
):
|
|
931
1025
|
"""Toggle shading type in 3D viewport
|
|
932
1026
|
|
|
933
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1027
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
934
1028
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
935
1029
|
:type undo: typing.Optional[bool]
|
|
936
1030
|
:param type: Type, Shading type to toggle
|
|
@@ -952,13 +1046,15 @@ def toggle_shading(
|
|
|
952
1046
|
...
|
|
953
1047
|
|
|
954
1048
|
def toggle_xray(
|
|
955
|
-
override_context: typing.Optional[
|
|
1049
|
+
override_context: typing.Optional[
|
|
1050
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1051
|
+
] = None,
|
|
956
1052
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
957
1053
|
undo: typing.Optional[bool] = None,
|
|
958
1054
|
):
|
|
959
1055
|
"""Transparent scene display. Allow selecting through items
|
|
960
1056
|
|
|
961
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1057
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
962
1058
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
963
1059
|
:type undo: typing.Optional[bool]
|
|
964
1060
|
"""
|
|
@@ -966,7 +1062,9 @@ def toggle_xray(
|
|
|
966
1062
|
...
|
|
967
1063
|
|
|
968
1064
|
def transform_gizmo_set(
|
|
969
|
-
override_context: typing.Optional[
|
|
1065
|
+
override_context: typing.Optional[
|
|
1066
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1067
|
+
] = None,
|
|
970
1068
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
971
1069
|
undo: typing.Optional[bool] = None,
|
|
972
1070
|
extend: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -974,7 +1072,7 @@ def transform_gizmo_set(
|
|
|
974
1072
|
):
|
|
975
1073
|
"""Set the current transform gizmo
|
|
976
1074
|
|
|
977
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1075
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
978
1076
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
979
1077
|
:type undo: typing.Optional[bool]
|
|
980
1078
|
:param extend: Extend
|
|
@@ -986,7 +1084,9 @@ def transform_gizmo_set(
|
|
|
986
1084
|
...
|
|
987
1085
|
|
|
988
1086
|
def view_all(
|
|
989
|
-
override_context: typing.Optional[
|
|
1087
|
+
override_context: typing.Optional[
|
|
1088
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1089
|
+
] = None,
|
|
990
1090
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
991
1091
|
undo: typing.Optional[bool] = None,
|
|
992
1092
|
use_all_regions: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
@@ -994,7 +1094,7 @@ def view_all(
|
|
|
994
1094
|
):
|
|
995
1095
|
"""View all objects in scene
|
|
996
1096
|
|
|
997
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1097
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
998
1098
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
999
1099
|
:type undo: typing.Optional[bool]
|
|
1000
1100
|
:param use_all_regions: All Regions, View selected for all regions
|
|
@@ -1006,7 +1106,9 @@ def view_all(
|
|
|
1006
1106
|
...
|
|
1007
1107
|
|
|
1008
1108
|
def view_axis(
|
|
1009
|
-
override_context: typing.Optional[
|
|
1109
|
+
override_context: typing.Optional[
|
|
1110
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1111
|
+
] = None,
|
|
1010
1112
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1011
1113
|
undo: typing.Optional[bool] = None,
|
|
1012
1114
|
type: typing.Optional[typing.Any] = "LEFT",
|
|
@@ -1015,7 +1117,7 @@ def view_axis(
|
|
|
1015
1117
|
):
|
|
1016
1118
|
"""Use a preset viewpoint
|
|
1017
1119
|
|
|
1018
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1120
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1019
1121
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1020
1122
|
:type undo: typing.Optional[bool]
|
|
1021
1123
|
:param type: View, Preset viewpoint to use
|
|
@@ -1047,13 +1149,15 @@ def view_axis(
|
|
|
1047
1149
|
...
|
|
1048
1150
|
|
|
1049
1151
|
def view_camera(
|
|
1050
|
-
override_context: typing.Optional[
|
|
1152
|
+
override_context: typing.Optional[
|
|
1153
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1154
|
+
] = None,
|
|
1051
1155
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1052
1156
|
undo: typing.Optional[bool] = None,
|
|
1053
1157
|
):
|
|
1054
1158
|
"""Toggle the camera view
|
|
1055
1159
|
|
|
1056
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1160
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1057
1161
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1058
1162
|
:type undo: typing.Optional[bool]
|
|
1059
1163
|
"""
|
|
@@ -1061,13 +1165,15 @@ def view_camera(
|
|
|
1061
1165
|
...
|
|
1062
1166
|
|
|
1063
1167
|
def view_center_camera(
|
|
1064
|
-
override_context: typing.Optional[
|
|
1168
|
+
override_context: typing.Optional[
|
|
1169
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1170
|
+
] = None,
|
|
1065
1171
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1066
1172
|
undo: typing.Optional[bool] = None,
|
|
1067
1173
|
):
|
|
1068
1174
|
"""Center the camera view, resizing the view to fit its bounds
|
|
1069
1175
|
|
|
1070
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1176
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1071
1177
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1072
1178
|
:type undo: typing.Optional[bool]
|
|
1073
1179
|
"""
|
|
@@ -1075,13 +1181,15 @@ def view_center_camera(
|
|
|
1075
1181
|
...
|
|
1076
1182
|
|
|
1077
1183
|
def view_center_cursor(
|
|
1078
|
-
override_context: typing.Optional[
|
|
1184
|
+
override_context: typing.Optional[
|
|
1185
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1186
|
+
] = None,
|
|
1079
1187
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1080
1188
|
undo: typing.Optional[bool] = None,
|
|
1081
1189
|
):
|
|
1082
1190
|
"""Center the view so that the cursor is in the middle of the view
|
|
1083
1191
|
|
|
1084
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1192
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1085
1193
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1086
1194
|
:type undo: typing.Optional[bool]
|
|
1087
1195
|
"""
|
|
@@ -1089,13 +1197,15 @@ def view_center_cursor(
|
|
|
1089
1197
|
...
|
|
1090
1198
|
|
|
1091
1199
|
def view_center_lock(
|
|
1092
|
-
override_context: typing.Optional[
|
|
1200
|
+
override_context: typing.Optional[
|
|
1201
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1202
|
+
] = None,
|
|
1093
1203
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1094
1204
|
undo: typing.Optional[bool] = None,
|
|
1095
1205
|
):
|
|
1096
1206
|
"""Center the view lock offset
|
|
1097
1207
|
|
|
1098
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1208
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1099
1209
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1100
1210
|
:type undo: typing.Optional[bool]
|
|
1101
1211
|
"""
|
|
@@ -1103,13 +1213,15 @@ def view_center_lock(
|
|
|
1103
1213
|
...
|
|
1104
1214
|
|
|
1105
1215
|
def view_center_pick(
|
|
1106
|
-
override_context: typing.Optional[
|
|
1216
|
+
override_context: typing.Optional[
|
|
1217
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1218
|
+
] = None,
|
|
1107
1219
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1108
1220
|
undo: typing.Optional[bool] = None,
|
|
1109
1221
|
):
|
|
1110
1222
|
"""Center the view to the Z-depth position under the mouse cursor
|
|
1111
1223
|
|
|
1112
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1224
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1113
1225
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1114
1226
|
:type undo: typing.Optional[bool]
|
|
1115
1227
|
"""
|
|
@@ -1117,13 +1229,15 @@ def view_center_pick(
|
|
|
1117
1229
|
...
|
|
1118
1230
|
|
|
1119
1231
|
def view_lock_clear(
|
|
1120
|
-
override_context: typing.Optional[
|
|
1232
|
+
override_context: typing.Optional[
|
|
1233
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1234
|
+
] = None,
|
|
1121
1235
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1122
1236
|
undo: typing.Optional[bool] = None,
|
|
1123
1237
|
):
|
|
1124
1238
|
"""Clear all view locking
|
|
1125
1239
|
|
|
1126
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1240
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1127
1241
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1128
1242
|
:type undo: typing.Optional[bool]
|
|
1129
1243
|
"""
|
|
@@ -1131,13 +1245,15 @@ def view_lock_clear(
|
|
|
1131
1245
|
...
|
|
1132
1246
|
|
|
1133
1247
|
def view_lock_to_active(
|
|
1134
|
-
override_context: typing.Optional[
|
|
1248
|
+
override_context: typing.Optional[
|
|
1249
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1250
|
+
] = None,
|
|
1135
1251
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1136
1252
|
undo: typing.Optional[bool] = None,
|
|
1137
1253
|
):
|
|
1138
1254
|
"""Lock the view to the active object/bone
|
|
1139
1255
|
|
|
1140
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1256
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1141
1257
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1142
1258
|
:type undo: typing.Optional[bool]
|
|
1143
1259
|
"""
|
|
@@ -1145,7 +1261,9 @@ def view_lock_to_active(
|
|
|
1145
1261
|
...
|
|
1146
1262
|
|
|
1147
1263
|
def view_orbit(
|
|
1148
|
-
override_context: typing.Optional[
|
|
1264
|
+
override_context: typing.Optional[
|
|
1265
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1266
|
+
] = None,
|
|
1149
1267
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1150
1268
|
undo: typing.Optional[bool] = None,
|
|
1151
1269
|
angle: typing.Optional[typing.Any] = 0.0,
|
|
@@ -1153,7 +1271,7 @@ def view_orbit(
|
|
|
1153
1271
|
):
|
|
1154
1272
|
"""Orbit the view
|
|
1155
1273
|
|
|
1156
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1274
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1157
1275
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1158
1276
|
:type undo: typing.Optional[bool]
|
|
1159
1277
|
:param angle: Roll
|
|
@@ -1177,14 +1295,16 @@ def view_orbit(
|
|
|
1177
1295
|
...
|
|
1178
1296
|
|
|
1179
1297
|
def view_pan(
|
|
1180
|
-
override_context: typing.Optional[
|
|
1298
|
+
override_context: typing.Optional[
|
|
1299
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1300
|
+
] = None,
|
|
1181
1301
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1182
1302
|
undo: typing.Optional[bool] = None,
|
|
1183
1303
|
type: typing.Optional[typing.Any] = "PANLEFT",
|
|
1184
1304
|
):
|
|
1185
1305
|
"""Pan the view in a given direction
|
|
1186
1306
|
|
|
1187
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1307
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1188
1308
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1189
1309
|
:type undo: typing.Optional[bool]
|
|
1190
1310
|
:param type: Pan, Direction of View Pan
|
|
@@ -1206,13 +1326,15 @@ def view_pan(
|
|
|
1206
1326
|
...
|
|
1207
1327
|
|
|
1208
1328
|
def view_persportho(
|
|
1209
|
-
override_context: typing.Optional[
|
|
1329
|
+
override_context: typing.Optional[
|
|
1330
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1331
|
+
] = None,
|
|
1210
1332
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1211
1333
|
undo: typing.Optional[bool] = None,
|
|
1212
1334
|
):
|
|
1213
1335
|
"""Switch the current view from perspective/orthographic projection
|
|
1214
1336
|
|
|
1215
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1337
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1216
1338
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1217
1339
|
:type undo: typing.Optional[bool]
|
|
1218
1340
|
"""
|
|
@@ -1220,7 +1342,9 @@ def view_persportho(
|
|
|
1220
1342
|
...
|
|
1221
1343
|
|
|
1222
1344
|
def view_roll(
|
|
1223
|
-
override_context: typing.Optional[
|
|
1345
|
+
override_context: typing.Optional[
|
|
1346
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1347
|
+
] = None,
|
|
1224
1348
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1225
1349
|
undo: typing.Optional[bool] = None,
|
|
1226
1350
|
angle: typing.Optional[typing.Any] = 0.0,
|
|
@@ -1228,7 +1352,7 @@ def view_roll(
|
|
|
1228
1352
|
):
|
|
1229
1353
|
"""Roll the view
|
|
1230
1354
|
|
|
1231
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1355
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1232
1356
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1233
1357
|
:type undo: typing.Optional[bool]
|
|
1234
1358
|
:param angle: Roll
|
|
@@ -1249,14 +1373,16 @@ def view_roll(
|
|
|
1249
1373
|
...
|
|
1250
1374
|
|
|
1251
1375
|
def view_selected(
|
|
1252
|
-
override_context: typing.Optional[
|
|
1376
|
+
override_context: typing.Optional[
|
|
1377
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1378
|
+
] = None,
|
|
1253
1379
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1254
1380
|
undo: typing.Optional[bool] = None,
|
|
1255
1381
|
use_all_regions: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1256
1382
|
):
|
|
1257
1383
|
"""Move the view to the selection center
|
|
1258
1384
|
|
|
1259
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1385
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1260
1386
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1261
1387
|
:type undo: typing.Optional[bool]
|
|
1262
1388
|
:param use_all_regions: All Regions, View selected for all regions
|
|
@@ -1266,13 +1392,15 @@ def view_selected(
|
|
|
1266
1392
|
...
|
|
1267
1393
|
|
|
1268
1394
|
def walk(
|
|
1269
|
-
override_context: typing.Optional[
|
|
1395
|
+
override_context: typing.Optional[
|
|
1396
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1397
|
+
] = None,
|
|
1270
1398
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1271
1399
|
undo: typing.Optional[bool] = None,
|
|
1272
1400
|
):
|
|
1273
1401
|
"""Interactively walk around the scene
|
|
1274
1402
|
|
|
1275
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1403
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1276
1404
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1277
1405
|
:type undo: typing.Optional[bool]
|
|
1278
1406
|
"""
|
|
@@ -1280,7 +1408,9 @@ def walk(
|
|
|
1280
1408
|
...
|
|
1281
1409
|
|
|
1282
1410
|
def zoom(
|
|
1283
|
-
override_context: typing.Optional[
|
|
1411
|
+
override_context: typing.Optional[
|
|
1412
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1413
|
+
] = None,
|
|
1284
1414
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1285
1415
|
undo: typing.Optional[bool] = None,
|
|
1286
1416
|
mx: typing.Optional[typing.Any] = 0,
|
|
@@ -1290,7 +1420,7 @@ def zoom(
|
|
|
1290
1420
|
):
|
|
1291
1421
|
"""Zoom in/out in the view
|
|
1292
1422
|
|
|
1293
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1423
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1294
1424
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1295
1425
|
:type undo: typing.Optional[bool]
|
|
1296
1426
|
:param mx: Region Position X
|
|
@@ -1306,7 +1436,9 @@ def zoom(
|
|
|
1306
1436
|
...
|
|
1307
1437
|
|
|
1308
1438
|
def zoom_border(
|
|
1309
|
-
override_context: typing.Optional[
|
|
1439
|
+
override_context: typing.Optional[
|
|
1440
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1441
|
+
] = None,
|
|
1310
1442
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1311
1443
|
undo: typing.Optional[bool] = None,
|
|
1312
1444
|
xmin: typing.Optional[typing.Any] = 0,
|
|
@@ -1318,7 +1450,7 @@ def zoom_border(
|
|
|
1318
1450
|
):
|
|
1319
1451
|
"""Zoom in the view to the nearest object contained in the border
|
|
1320
1452
|
|
|
1321
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1453
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1322
1454
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1323
1455
|
:type undo: typing.Optional[bool]
|
|
1324
1456
|
:param xmin: X Min
|
|
@@ -1338,13 +1470,15 @@ def zoom_border(
|
|
|
1338
1470
|
...
|
|
1339
1471
|
|
|
1340
1472
|
def zoom_camera_1_to_1(
|
|
1341
|
-
override_context: typing.Optional[
|
|
1473
|
+
override_context: typing.Optional[
|
|
1474
|
+
typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]
|
|
1475
|
+
] = None,
|
|
1342
1476
|
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
1343
1477
|
undo: typing.Optional[bool] = None,
|
|
1344
1478
|
):
|
|
1345
1479
|
"""Match the camera to 1:1 to the render output
|
|
1346
1480
|
|
|
1347
|
-
:type override_context: typing.Optional[typing.Union[
|
|
1481
|
+
:type override_context: typing.Optional[typing.Union[typing.Dict[str, typing.Any], bpy.types.Context]]
|
|
1348
1482
|
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
1349
1483
|
:type undo: typing.Optional[bool]
|
|
1350
1484
|
"""
|