fake-bpy-module 20241207__py3-none-any.whl → 20241209__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
- blf/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +110 -53
- bmesh/types/__init__.pyi +18 -10
- bmesh/utils/__init__.pyi +14 -4
- bpy/app/icons/__init__.pyi +4 -1
- bpy/app/translations/__init__.pyi +4 -1
- bpy/msgbus/__init__.pyi +8 -5
- bpy/ops/action/__init__.pyi +38 -138
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +8 -41
- bpy/ops/brush/__init__.pyi +13 -39
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +92 -290
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +9 -25
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +51 -180
- bpy/ops/curves/__init__.pyi +28 -100
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +5 -19
- bpy/ops/ed/__init__.pyi +12 -53
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +2 -5
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +10 -27
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +65 -184
- bpy/ops/grease_pencil/__init__.pyi +108 -290
- bpy/ops/image/__init__.pyi +49 -154
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +2 -4
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +8 -29
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +164 -401
- bpy/ops/nla/__init__.pyi +39 -147
- bpy/ops/node/__init__.pyi +115 -390
- bpy/ops/object/__init__.pyi +237 -630
- bpy/ops/outliner/__init__.pyi +71 -263
- bpy/ops/paint/__init__.pyi +54 -140
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +36 -134
- bpy/ops/pose/__init__.pyi +51 -169
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +13 -45
- bpy/ops/scene/__init__.pyi +37 -121
- bpy/ops/screen/__init__.pyi +39 -137
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +37 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +89 -284
- bpy/ops/sound/__init__.pyi +7 -23
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +27 -61
- bpy/ops/ui/__init__.pyi +34 -117
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +49 -134
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +67 -232
- bpy/ops/wm/__init__.pyi +114 -298
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- bpy/path/__init__.pyi +4 -2
- bpy/types/__init__.pyi +68 -32
- bpy/utils/__init__.pyi +18 -9
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +7 -2
- bpy_extras/mesh_utils/__init__.pyi +19 -7
- bpy_extras/view3d_utils/__init__.pyi +2 -2
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/METADATA +1 -1
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/RECORD +115 -115
- freestyle/functions/__init__.pyi +16 -4
- freestyle/types/__init__.pyi +60 -23
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- gpu/capabilities/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +2 -2
- gpu_extras/batch/__init__.pyi +6 -3
- idprop/types/__init__.pyi +4 -3
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +5 -2
- mathutils/__init__.pyi +25 -14
- mathutils/bvhtree/__init__.pyi +8 -7
- mathutils/geometry/__init__.pyi +38 -17
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +11 -6
- mathutils/noise/__init__.pyi +2 -1
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20241207.dist-info → fake_bpy_module-20241209.dist-info}/top_level.txt +0 -0
bpy/ops/image/__init__.pyi
CHANGED
|
@@ -6,27 +6,23 @@ import bpy.typing
|
|
|
6
6
|
import mathutils
|
|
7
7
|
|
|
8
8
|
def add_render_slot(
|
|
9
|
-
|
|
10
|
-
execution_context: int | str | None = None,
|
|
11
|
-
undo: bool | None = None,
|
|
9
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
12
10
|
):
|
|
13
11
|
"""Add a new render slot
|
|
14
12
|
|
|
15
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
16
13
|
:type execution_context: int | str | None
|
|
17
14
|
:type undo: bool | None
|
|
18
15
|
"""
|
|
19
16
|
|
|
20
17
|
def change_frame(
|
|
21
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
22
18
|
execution_context: int | str | None = None,
|
|
23
19
|
undo: bool | None = None,
|
|
20
|
+
/,
|
|
24
21
|
*,
|
|
25
22
|
frame: int | None = 0,
|
|
26
23
|
):
|
|
27
24
|
"""Interactively change the current frame number
|
|
28
25
|
|
|
29
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
30
26
|
:type execution_context: int | str | None
|
|
31
27
|
:type undo: bool | None
|
|
32
28
|
:param frame: Frame
|
|
@@ -34,57 +30,45 @@ def change_frame(
|
|
|
34
30
|
"""
|
|
35
31
|
|
|
36
32
|
def clear_render_border(
|
|
37
|
-
|
|
38
|
-
execution_context: int | str | None = None,
|
|
39
|
-
undo: bool | None = None,
|
|
33
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
40
34
|
):
|
|
41
35
|
"""Clear the boundaries of the render region and disable render region
|
|
42
36
|
|
|
43
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
44
37
|
:type execution_context: int | str | None
|
|
45
38
|
:type undo: bool | None
|
|
46
39
|
"""
|
|
47
40
|
|
|
48
41
|
def clear_render_slot(
|
|
49
|
-
|
|
50
|
-
execution_context: int | str | None = None,
|
|
51
|
-
undo: bool | None = None,
|
|
42
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
52
43
|
):
|
|
53
44
|
"""Clear the currently selected render slot
|
|
54
45
|
|
|
55
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
56
46
|
:type execution_context: int | str | None
|
|
57
47
|
:type undo: bool | None
|
|
58
48
|
"""
|
|
59
49
|
|
|
60
50
|
def clipboard_copy(
|
|
61
|
-
|
|
62
|
-
execution_context: int | str | None = None,
|
|
63
|
-
undo: bool | None = None,
|
|
51
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
64
52
|
):
|
|
65
53
|
"""Copy the image to the clipboard
|
|
66
54
|
|
|
67
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
68
55
|
:type execution_context: int | str | None
|
|
69
56
|
:type undo: bool | None
|
|
70
57
|
"""
|
|
71
58
|
|
|
72
59
|
def clipboard_paste(
|
|
73
|
-
|
|
74
|
-
execution_context: int | str | None = None,
|
|
75
|
-
undo: bool | None = None,
|
|
60
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
76
61
|
):
|
|
77
62
|
"""Paste new image from the clipboard
|
|
78
63
|
|
|
79
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
80
64
|
:type execution_context: int | str | None
|
|
81
65
|
:type undo: bool | None
|
|
82
66
|
"""
|
|
83
67
|
|
|
84
68
|
def convert_to_mesh_plane(
|
|
85
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
86
69
|
execution_context: int | str | None = None,
|
|
87
70
|
undo: bool | None = None,
|
|
71
|
+
/,
|
|
88
72
|
*,
|
|
89
73
|
interpolation: typing.Literal["Linear", "Closest", "Cubic", "Smart"]
|
|
90
74
|
| None = "Linear",
|
|
@@ -105,7 +89,6 @@ def convert_to_mesh_plane(
|
|
|
105
89
|
):
|
|
106
90
|
"""Convert selected reference images to textured mesh plane
|
|
107
91
|
|
|
108
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
109
92
|
:type execution_context: int | str | None
|
|
110
93
|
:type undo: bool | None
|
|
111
94
|
:param interpolation: Interpolation, Texture interpolation
|
|
@@ -193,16 +176,15 @@ def convert_to_mesh_plane(
|
|
|
193
176
|
"""
|
|
194
177
|
|
|
195
178
|
def curves_point_set(
|
|
196
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
197
179
|
execution_context: int | str | None = None,
|
|
198
180
|
undo: bool | None = None,
|
|
181
|
+
/,
|
|
199
182
|
*,
|
|
200
183
|
point: typing.Literal["BLACK_POINT", "WHITE_POINT"] | None = "BLACK_POINT",
|
|
201
184
|
size: int | None = 1,
|
|
202
185
|
):
|
|
203
186
|
"""Set black point or white point for curves
|
|
204
187
|
|
|
205
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
206
188
|
:type execution_context: int | str | None
|
|
207
189
|
:type undo: bool | None
|
|
208
190
|
:param point: Point, Set black point or white point for curves
|
|
@@ -212,15 +194,14 @@ def curves_point_set(
|
|
|
212
194
|
"""
|
|
213
195
|
|
|
214
196
|
def cycle_render_slot(
|
|
215
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
216
197
|
execution_context: int | str | None = None,
|
|
217
198
|
undo: bool | None = None,
|
|
199
|
+
/,
|
|
218
200
|
*,
|
|
219
201
|
reverse: bool | None = False,
|
|
220
202
|
):
|
|
221
203
|
"""Cycle through all non-void render slots
|
|
222
204
|
|
|
223
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
224
205
|
:type execution_context: int | str | None
|
|
225
206
|
:type undo: bool | None
|
|
226
207
|
:param reverse: Cycle in Reverse
|
|
@@ -228,15 +209,14 @@ def cycle_render_slot(
|
|
|
228
209
|
"""
|
|
229
210
|
|
|
230
211
|
def external_edit(
|
|
231
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
232
212
|
execution_context: int | str | None = None,
|
|
233
213
|
undo: bool | None = None,
|
|
214
|
+
/,
|
|
234
215
|
*,
|
|
235
216
|
filepath: str = "",
|
|
236
217
|
):
|
|
237
218
|
"""Edit image in an external application
|
|
238
219
|
|
|
239
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
240
220
|
:type execution_context: int | str | None
|
|
241
221
|
:type undo: bool | None
|
|
242
222
|
:param filepath: filepath
|
|
@@ -244,9 +224,9 @@ def external_edit(
|
|
|
244
224
|
"""
|
|
245
225
|
|
|
246
226
|
def file_browse(
|
|
247
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
248
227
|
execution_context: int | str | None = None,
|
|
249
228
|
undo: bool | None = None,
|
|
229
|
+
/,
|
|
250
230
|
*,
|
|
251
231
|
filepath: str = "",
|
|
252
232
|
hide_props_region: bool | None = True,
|
|
@@ -280,7 +260,6 @@ def file_browse(
|
|
|
280
260
|
):
|
|
281
261
|
"""Open an image file browser, hold Shift to open the file, Alt to browse containing directory
|
|
282
262
|
|
|
283
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
284
263
|
:type execution_context: int | str | None
|
|
285
264
|
:type undo: bool | None
|
|
286
265
|
:param filepath: File Path, Path to file
|
|
@@ -350,16 +329,15 @@ def file_browse(
|
|
|
350
329
|
"""
|
|
351
330
|
|
|
352
331
|
def flip(
|
|
353
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
354
332
|
execution_context: int | str | None = None,
|
|
355
333
|
undo: bool | None = None,
|
|
334
|
+
/,
|
|
356
335
|
*,
|
|
357
336
|
use_flip_x: bool | None = False,
|
|
358
337
|
use_flip_y: bool | None = False,
|
|
359
338
|
):
|
|
360
339
|
"""Flip the image
|
|
361
340
|
|
|
362
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
363
341
|
:type execution_context: int | str | None
|
|
364
342
|
:type undo: bool | None
|
|
365
343
|
:param use_flip_x: Horizontal, Flip the image horizontally
|
|
@@ -369,9 +347,9 @@ def flip(
|
|
|
369
347
|
"""
|
|
370
348
|
|
|
371
349
|
def import_as_mesh_planes(
|
|
372
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
373
350
|
execution_context: int | str | None = None,
|
|
374
351
|
undo: bool | None = None,
|
|
352
|
+
/,
|
|
375
353
|
*,
|
|
376
354
|
interpolation: typing.Literal["Linear", "Closest", "Cubic", "Smart"]
|
|
377
355
|
| None = "Linear",
|
|
@@ -424,7 +402,6 @@ def import_as_mesh_planes(
|
|
|
424
402
|
):
|
|
425
403
|
"""Create mesh plane(s) from image files with the appropriate aspect ratio
|
|
426
404
|
|
|
427
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
428
405
|
:type execution_context: int | str | None
|
|
429
406
|
:type undo: bool | None
|
|
430
407
|
:param interpolation: Interpolation, Texture interpolation
|
|
@@ -640,9 +617,9 @@ def import_as_mesh_planes(
|
|
|
640
617
|
"""
|
|
641
618
|
|
|
642
619
|
def invert(
|
|
643
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
644
620
|
execution_context: int | str | None = None,
|
|
645
621
|
undo: bool | None = None,
|
|
622
|
+
/,
|
|
646
623
|
*,
|
|
647
624
|
invert_r: bool | None = False,
|
|
648
625
|
invert_g: bool | None = False,
|
|
@@ -651,7 +628,6 @@ def invert(
|
|
|
651
628
|
):
|
|
652
629
|
"""Invert image's channels
|
|
653
630
|
|
|
654
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
655
631
|
:type execution_context: int | str | None
|
|
656
632
|
:type undo: bool | None
|
|
657
633
|
:param invert_r: Red, Invert red channel
|
|
@@ -665,21 +641,18 @@ def invert(
|
|
|
665
641
|
"""
|
|
666
642
|
|
|
667
643
|
def match_movie_length(
|
|
668
|
-
|
|
669
|
-
execution_context: int | str | None = None,
|
|
670
|
-
undo: bool | None = None,
|
|
644
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
671
645
|
):
|
|
672
646
|
"""Set image's user's length to the one of this video
|
|
673
647
|
|
|
674
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
675
648
|
:type execution_context: int | str | None
|
|
676
649
|
:type undo: bool | None
|
|
677
650
|
"""
|
|
678
651
|
|
|
679
652
|
def new(
|
|
680
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
681
653
|
execution_context: int | str | None = None,
|
|
682
654
|
undo: bool | None = None,
|
|
655
|
+
/,
|
|
683
656
|
*,
|
|
684
657
|
name: str = "Untitled",
|
|
685
658
|
width: int | None = 1024,
|
|
@@ -693,7 +666,6 @@ def new(
|
|
|
693
666
|
):
|
|
694
667
|
"""Create a new image
|
|
695
668
|
|
|
696
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
697
669
|
:type execution_context: int | str | None
|
|
698
670
|
:type undo: bool | None
|
|
699
671
|
:param name: Name, Image data-block name
|
|
@@ -717,9 +689,9 @@ def new(
|
|
|
717
689
|
"""
|
|
718
690
|
|
|
719
691
|
def open(
|
|
720
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
721
692
|
execution_context: int | str | None = None,
|
|
722
693
|
undo: bool | None = None,
|
|
694
|
+
/,
|
|
723
695
|
*,
|
|
724
696
|
allow_path_tokens: bool | None = True,
|
|
725
697
|
filepath: str = "",
|
|
@@ -759,7 +731,6 @@ def open(
|
|
|
759
731
|
):
|
|
760
732
|
"""Open image
|
|
761
733
|
|
|
762
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
763
734
|
:type execution_context: int | str | None
|
|
764
735
|
:type undo: bool | None
|
|
765
736
|
:param allow_path_tokens: Allow the path to contain substitution tokens
|
|
@@ -839,9 +810,9 @@ def open(
|
|
|
839
810
|
"""
|
|
840
811
|
|
|
841
812
|
def open_images(
|
|
842
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
843
813
|
execution_context: int | str | None = None,
|
|
844
814
|
undo: bool | None = None,
|
|
815
|
+
/,
|
|
845
816
|
*,
|
|
846
817
|
directory: str = "",
|
|
847
818
|
files: bpy.types.bpy_prop_collection[bpy.types.OperatorFileListElement]
|
|
@@ -852,7 +823,6 @@ def open_images(
|
|
|
852
823
|
):
|
|
853
824
|
"""Undocumented, consider contributing.
|
|
854
825
|
|
|
855
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
856
826
|
:type execution_context: int | str | None
|
|
857
827
|
:type undo: bool | None
|
|
858
828
|
:param directory: directory
|
|
@@ -867,82 +837,56 @@ def open_images(
|
|
|
867
837
|
:type use_udim_detection: bool | None
|
|
868
838
|
"""
|
|
869
839
|
|
|
870
|
-
def pack(
|
|
871
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
872
|
-
execution_context: int | str | None = None,
|
|
873
|
-
undo: bool | None = None,
|
|
874
|
-
):
|
|
840
|
+
def pack(execution_context: int | str | None = None, undo: bool | None = None):
|
|
875
841
|
"""Pack an image as embedded data into the .blend file
|
|
876
842
|
|
|
877
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
878
843
|
:type execution_context: int | str | None
|
|
879
844
|
:type undo: bool | None
|
|
880
845
|
"""
|
|
881
846
|
|
|
882
|
-
def project_apply(
|
|
883
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
884
|
-
execution_context: int | str | None = None,
|
|
885
|
-
undo: bool | None = None,
|
|
886
|
-
):
|
|
847
|
+
def project_apply(execution_context: int | str | None = None, undo: bool | None = None):
|
|
887
848
|
"""Project edited image back onto the object
|
|
888
849
|
|
|
889
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
890
850
|
:type execution_context: int | str | None
|
|
891
851
|
:type undo: bool | None
|
|
892
852
|
"""
|
|
893
853
|
|
|
894
|
-
def project_edit(
|
|
895
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
896
|
-
execution_context: int | str | None = None,
|
|
897
|
-
undo: bool | None = None,
|
|
898
|
-
):
|
|
854
|
+
def project_edit(execution_context: int | str | None = None, undo: bool | None = None):
|
|
899
855
|
"""Edit a snapshot of the 3D Viewport in an external image editor
|
|
900
856
|
|
|
901
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
902
857
|
:type execution_context: int | str | None
|
|
903
858
|
:type undo: bool | None
|
|
904
859
|
"""
|
|
905
860
|
|
|
906
861
|
def read_viewlayers(
|
|
907
|
-
|
|
908
|
-
execution_context: int | str | None = None,
|
|
909
|
-
undo: bool | None = None,
|
|
862
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
910
863
|
):
|
|
911
864
|
"""Read all the current scene's view layers from cache, as needed
|
|
912
865
|
|
|
913
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
914
866
|
:type execution_context: int | str | None
|
|
915
867
|
:type undo: bool | None
|
|
916
868
|
"""
|
|
917
869
|
|
|
918
|
-
def reload(
|
|
919
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
920
|
-
execution_context: int | str | None = None,
|
|
921
|
-
undo: bool | None = None,
|
|
922
|
-
):
|
|
870
|
+
def reload(execution_context: int | str | None = None, undo: bool | None = None):
|
|
923
871
|
"""Reload current image from disk
|
|
924
872
|
|
|
925
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
926
873
|
:type execution_context: int | str | None
|
|
927
874
|
:type undo: bool | None
|
|
928
875
|
"""
|
|
929
876
|
|
|
930
877
|
def remove_render_slot(
|
|
931
|
-
|
|
932
|
-
execution_context: int | str | None = None,
|
|
933
|
-
undo: bool | None = None,
|
|
878
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
934
879
|
):
|
|
935
880
|
"""Remove the current render slot
|
|
936
881
|
|
|
937
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
938
882
|
:type execution_context: int | str | None
|
|
939
883
|
:type undo: bool | None
|
|
940
884
|
"""
|
|
941
885
|
|
|
942
886
|
def render_border(
|
|
943
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
944
887
|
execution_context: int | str | None = None,
|
|
945
888
|
undo: bool | None = None,
|
|
889
|
+
/,
|
|
946
890
|
*,
|
|
947
891
|
xmin: int | None = 0,
|
|
948
892
|
xmax: int | None = 0,
|
|
@@ -952,7 +896,6 @@ def render_border(
|
|
|
952
896
|
):
|
|
953
897
|
"""Set the boundaries of the render region and enable render region
|
|
954
898
|
|
|
955
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
956
899
|
:type execution_context: int | str | None
|
|
957
900
|
:type undo: bool | None
|
|
958
901
|
:param xmin: X Min
|
|
@@ -968,9 +911,9 @@ def render_border(
|
|
|
968
911
|
"""
|
|
969
912
|
|
|
970
913
|
def replace(
|
|
971
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
972
914
|
execution_context: int | str | None = None,
|
|
973
915
|
undo: bool | None = None,
|
|
916
|
+
/,
|
|
974
917
|
*,
|
|
975
918
|
filepath: str = "",
|
|
976
919
|
hide_props_region: bool | None = True,
|
|
@@ -1004,7 +947,6 @@ def replace(
|
|
|
1004
947
|
):
|
|
1005
948
|
"""Replace current image by another one from disk
|
|
1006
949
|
|
|
1007
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1008
950
|
:type execution_context: int | str | None
|
|
1009
951
|
:type undo: bool | None
|
|
1010
952
|
:param filepath: File Path, Path to file
|
|
@@ -1074,15 +1016,14 @@ def replace(
|
|
|
1074
1016
|
"""
|
|
1075
1017
|
|
|
1076
1018
|
def resize(
|
|
1077
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1078
1019
|
execution_context: int | str | None = None,
|
|
1079
1020
|
undo: bool | None = None,
|
|
1021
|
+
/,
|
|
1080
1022
|
*,
|
|
1081
1023
|
size: collections.abc.Iterable[int] | None = (0, 0),
|
|
1082
1024
|
):
|
|
1083
1025
|
"""Resize the image
|
|
1084
1026
|
|
|
1085
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1086
1027
|
:type execution_context: int | str | None
|
|
1087
1028
|
:type undo: bool | None
|
|
1088
1029
|
:param size: Size
|
|
@@ -1090,15 +1031,14 @@ def resize(
|
|
|
1090
1031
|
"""
|
|
1091
1032
|
|
|
1092
1033
|
def rotate_orthogonal(
|
|
1093
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1094
1034
|
execution_context: int | str | None = None,
|
|
1095
1035
|
undo: bool | None = None,
|
|
1036
|
+
/,
|
|
1096
1037
|
*,
|
|
1097
1038
|
degrees: typing.Literal["90", "180", "270"] | None = "90",
|
|
1098
1039
|
):
|
|
1099
1040
|
"""Rotate the image
|
|
1100
1041
|
|
|
1101
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1102
1042
|
:type execution_context: int | str | None
|
|
1103
1043
|
:type undo: bool | None
|
|
1104
1044
|
:param degrees: Degrees, Amount of rotation in degrees (90, 180, 270)
|
|
@@ -1115,15 +1055,14 @@ def rotate_orthogonal(
|
|
|
1115
1055
|
"""
|
|
1116
1056
|
|
|
1117
1057
|
def sample(
|
|
1118
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1119
1058
|
execution_context: int | str | None = None,
|
|
1120
1059
|
undo: bool | None = None,
|
|
1060
|
+
/,
|
|
1121
1061
|
*,
|
|
1122
1062
|
size: int | None = 1,
|
|
1123
1063
|
):
|
|
1124
1064
|
"""Use mouse to sample a color in current image
|
|
1125
1065
|
|
|
1126
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1127
1066
|
:type execution_context: int | str | None
|
|
1128
1067
|
:type undo: bool | None
|
|
1129
1068
|
:param size: Sample Size
|
|
@@ -1131,9 +1070,9 @@ def sample(
|
|
|
1131
1070
|
"""
|
|
1132
1071
|
|
|
1133
1072
|
def sample_line(
|
|
1134
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1135
1073
|
execution_context: int | str | None = None,
|
|
1136
1074
|
undo: bool | None = None,
|
|
1075
|
+
/,
|
|
1137
1076
|
*,
|
|
1138
1077
|
xstart: int | None = 0,
|
|
1139
1078
|
xend: int | None = 0,
|
|
@@ -1144,7 +1083,6 @@ def sample_line(
|
|
|
1144
1083
|
):
|
|
1145
1084
|
"""Sample a line and show it in Scope panels
|
|
1146
1085
|
|
|
1147
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1148
1086
|
:type execution_context: int | str | None
|
|
1149
1087
|
:type undo: bool | None
|
|
1150
1088
|
:param xstart: X Start
|
|
@@ -1161,34 +1099,26 @@ def sample_line(
|
|
|
1161
1099
|
:type cursor: int | None
|
|
1162
1100
|
"""
|
|
1163
1101
|
|
|
1164
|
-
def save(
|
|
1165
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1166
|
-
execution_context: int | str | None = None,
|
|
1167
|
-
undo: bool | None = None,
|
|
1168
|
-
):
|
|
1102
|
+
def save(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1169
1103
|
"""Save the image with current name and settings
|
|
1170
1104
|
|
|
1171
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1172
1105
|
:type execution_context: int | str | None
|
|
1173
1106
|
:type undo: bool | None
|
|
1174
1107
|
"""
|
|
1175
1108
|
|
|
1176
1109
|
def save_all_modified(
|
|
1177
|
-
|
|
1178
|
-
execution_context: int | str | None = None,
|
|
1179
|
-
undo: bool | None = None,
|
|
1110
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1180
1111
|
):
|
|
1181
1112
|
"""Save all modified images
|
|
1182
1113
|
|
|
1183
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1184
1114
|
:type execution_context: int | str | None
|
|
1185
1115
|
:type undo: bool | None
|
|
1186
1116
|
"""
|
|
1187
1117
|
|
|
1188
1118
|
def save_as(
|
|
1189
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1190
1119
|
execution_context: int | str | None = None,
|
|
1191
1120
|
undo: bool | None = None,
|
|
1121
|
+
/,
|
|
1192
1122
|
*,
|
|
1193
1123
|
save_as_render: bool | None = False,
|
|
1194
1124
|
copy: bool | None = False,
|
|
@@ -1224,7 +1154,6 @@ def save_as(
|
|
|
1224
1154
|
):
|
|
1225
1155
|
"""Save the image with another name and/or settings
|
|
1226
1156
|
|
|
1227
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1228
1157
|
:type execution_context: int | str | None
|
|
1229
1158
|
:type undo: bool | None
|
|
1230
1159
|
:param save_as_render: Save As Render, Save image with render color management.For display image formats like PNG, apply view and display transform.For intermediate image formats like OpenEXR, use the default render output color space
|
|
@@ -1297,22 +1226,17 @@ def save_as(
|
|
|
1297
1226
|
:type sort_method: str | None
|
|
1298
1227
|
"""
|
|
1299
1228
|
|
|
1300
|
-
def save_sequence(
|
|
1301
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1302
|
-
execution_context: int | str | None = None,
|
|
1303
|
-
undo: bool | None = None,
|
|
1304
|
-
):
|
|
1229
|
+
def save_sequence(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1305
1230
|
"""Save a sequence of images
|
|
1306
1231
|
|
|
1307
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1308
1232
|
:type execution_context: int | str | None
|
|
1309
1233
|
:type undo: bool | None
|
|
1310
1234
|
"""
|
|
1311
1235
|
|
|
1312
1236
|
def tile_add(
|
|
1313
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1314
1237
|
execution_context: int | str | None = None,
|
|
1315
1238
|
undo: bool | None = None,
|
|
1239
|
+
/,
|
|
1316
1240
|
*,
|
|
1317
1241
|
number: int | None = 1002,
|
|
1318
1242
|
count: int | None = 1,
|
|
@@ -1327,7 +1251,6 @@ def tile_add(
|
|
|
1327
1251
|
):
|
|
1328
1252
|
"""Adds a tile to the image
|
|
1329
1253
|
|
|
1330
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1331
1254
|
:type execution_context: int | str | None
|
|
1332
1255
|
:type undo: bool | None
|
|
1333
1256
|
:param number: Number, UDIM number of the tile
|
|
@@ -1353,9 +1276,9 @@ def tile_add(
|
|
|
1353
1276
|
"""
|
|
1354
1277
|
|
|
1355
1278
|
def tile_fill(
|
|
1356
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1357
1279
|
execution_context: int | str | None = None,
|
|
1358
1280
|
undo: bool | None = None,
|
|
1281
|
+
/,
|
|
1359
1282
|
*,
|
|
1360
1283
|
color: collections.abc.Iterable[float] | None = (0.0, 0.0, 0.0, 1.0),
|
|
1361
1284
|
generated_type: bpy.typing.ImageGeneratedTypeItems | None = "BLANK",
|
|
@@ -1366,7 +1289,6 @@ def tile_fill(
|
|
|
1366
1289
|
):
|
|
1367
1290
|
"""Fill the current tile with a generated image
|
|
1368
1291
|
|
|
1369
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1370
1292
|
:type execution_context: int | str | None
|
|
1371
1293
|
:type undo: bool | None
|
|
1372
1294
|
:param color: Color, Default fill color
|
|
@@ -1383,29 +1305,23 @@ def tile_fill(
|
|
|
1383
1305
|
:type alpha: bool | None
|
|
1384
1306
|
"""
|
|
1385
1307
|
|
|
1386
|
-
def tile_remove(
|
|
1387
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1388
|
-
execution_context: int | str | None = None,
|
|
1389
|
-
undo: bool | None = None,
|
|
1390
|
-
):
|
|
1308
|
+
def tile_remove(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1391
1309
|
"""Removes a tile from the image
|
|
1392
1310
|
|
|
1393
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1394
1311
|
:type execution_context: int | str | None
|
|
1395
1312
|
:type undo: bool | None
|
|
1396
1313
|
"""
|
|
1397
1314
|
|
|
1398
1315
|
def unpack(
|
|
1399
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1400
1316
|
execution_context: int | str | None = None,
|
|
1401
1317
|
undo: bool | None = None,
|
|
1318
|
+
/,
|
|
1402
1319
|
*,
|
|
1403
1320
|
method: bpy.typing.UnpackMethodItems | None = "USE_LOCAL",
|
|
1404
1321
|
id: str = "",
|
|
1405
1322
|
):
|
|
1406
1323
|
"""Save an image packed in the .blend file to disk
|
|
1407
1324
|
|
|
1408
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1409
1325
|
:type execution_context: int | str | None
|
|
1410
1326
|
:type undo: bool | None
|
|
1411
1327
|
:param method: Method, How to unpack
|
|
@@ -1415,15 +1331,14 @@ def unpack(
|
|
|
1415
1331
|
"""
|
|
1416
1332
|
|
|
1417
1333
|
def view_all(
|
|
1418
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1419
1334
|
execution_context: int | str | None = None,
|
|
1420
1335
|
undo: bool | None = None,
|
|
1336
|
+
/,
|
|
1421
1337
|
*,
|
|
1422
1338
|
fit_view: bool | None = False,
|
|
1423
1339
|
):
|
|
1424
1340
|
"""View the entire image
|
|
1425
1341
|
|
|
1426
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1427
1342
|
:type execution_context: int | str | None
|
|
1428
1343
|
:type undo: bool | None
|
|
1429
1344
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
@@ -1431,84 +1346,68 @@ def view_all(
|
|
|
1431
1346
|
"""
|
|
1432
1347
|
|
|
1433
1348
|
def view_center_cursor(
|
|
1434
|
-
|
|
1435
|
-
execution_context: int | str | None = None,
|
|
1436
|
-
undo: bool | None = None,
|
|
1349
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1437
1350
|
):
|
|
1438
1351
|
"""Center the view so that the cursor is in the middle of the view
|
|
1439
1352
|
|
|
1440
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1441
1353
|
:type execution_context: int | str | None
|
|
1442
1354
|
:type undo: bool | None
|
|
1443
1355
|
"""
|
|
1444
1356
|
|
|
1445
1357
|
def view_cursor_center(
|
|
1446
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1447
1358
|
execution_context: int | str | None = None,
|
|
1448
1359
|
undo: bool | None = None,
|
|
1360
|
+
/,
|
|
1449
1361
|
*,
|
|
1450
1362
|
fit_view: bool | None = False,
|
|
1451
1363
|
):
|
|
1452
1364
|
"""Set 2D Cursor To Center View location
|
|
1453
1365
|
|
|
1454
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1455
1366
|
:type execution_context: int | str | None
|
|
1456
1367
|
:type undo: bool | None
|
|
1457
1368
|
:param fit_view: Fit View, Fit frame to the viewport
|
|
1458
1369
|
:type fit_view: bool | None
|
|
1459
1370
|
"""
|
|
1460
1371
|
|
|
1461
|
-
def view_ndof(
|
|
1462
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1463
|
-
execution_context: int | str | None = None,
|
|
1464
|
-
undo: bool | None = None,
|
|
1465
|
-
):
|
|
1372
|
+
def view_ndof(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1466
1373
|
"""Use a 3D mouse device to pan/zoom the view
|
|
1467
1374
|
|
|
1468
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1469
1375
|
:type execution_context: int | str | None
|
|
1470
1376
|
:type undo: bool | None
|
|
1471
1377
|
"""
|
|
1472
1378
|
|
|
1473
1379
|
def view_pan(
|
|
1474
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1475
1380
|
execution_context: int | str | None = None,
|
|
1476
1381
|
undo: bool | None = None,
|
|
1382
|
+
/,
|
|
1477
1383
|
*,
|
|
1478
1384
|
offset: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1479
1385
|
):
|
|
1480
1386
|
"""Pan the view
|
|
1481
1387
|
|
|
1482
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1483
1388
|
:type execution_context: int | str | None
|
|
1484
1389
|
:type undo: bool | None
|
|
1485
1390
|
:param offset: Offset, Offset in floating-point units, 1.0 is the width and height of the image
|
|
1486
1391
|
:type offset: collections.abc.Sequence[float] | mathutils.Vector | None
|
|
1487
1392
|
"""
|
|
1488
1393
|
|
|
1489
|
-
def view_selected(
|
|
1490
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1491
|
-
execution_context: int | str | None = None,
|
|
1492
|
-
undo: bool | None = None,
|
|
1493
|
-
):
|
|
1394
|
+
def view_selected(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1494
1395
|
"""View all selected UVs
|
|
1495
1396
|
|
|
1496
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1497
1397
|
:type execution_context: int | str | None
|
|
1498
1398
|
:type undo: bool | None
|
|
1499
1399
|
"""
|
|
1500
1400
|
|
|
1501
1401
|
def view_zoom(
|
|
1502
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1503
1402
|
execution_context: int | str | None = None,
|
|
1504
1403
|
undo: bool | None = None,
|
|
1404
|
+
/,
|
|
1505
1405
|
*,
|
|
1506
1406
|
factor: float | None = 0.0,
|
|
1507
1407
|
use_cursor_init: bool | None = True,
|
|
1508
1408
|
):
|
|
1509
1409
|
"""Zoom in/out the image
|
|
1510
1410
|
|
|
1511
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1512
1411
|
:type execution_context: int | str | None
|
|
1513
1412
|
:type undo: bool | None
|
|
1514
1413
|
:param factor: Factor, Zoom factor, values higher than 1.0 zoom in, lower values zoom out
|
|
@@ -1518,9 +1417,9 @@ def view_zoom(
|
|
|
1518
1417
|
"""
|
|
1519
1418
|
|
|
1520
1419
|
def view_zoom_border(
|
|
1521
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1522
1420
|
execution_context: int | str | None = None,
|
|
1523
1421
|
undo: bool | None = None,
|
|
1422
|
+
/,
|
|
1524
1423
|
*,
|
|
1525
1424
|
xmin: int | None = 0,
|
|
1526
1425
|
xmax: int | None = 0,
|
|
@@ -1531,7 +1430,6 @@ def view_zoom_border(
|
|
|
1531
1430
|
):
|
|
1532
1431
|
"""Zoom in the view to the nearest item contained in the border
|
|
1533
1432
|
|
|
1534
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1535
1433
|
:type execution_context: int | str | None
|
|
1536
1434
|
:type undo: bool | None
|
|
1537
1435
|
:param xmin: X Min
|
|
@@ -1549,15 +1447,14 @@ def view_zoom_border(
|
|
|
1549
1447
|
"""
|
|
1550
1448
|
|
|
1551
1449
|
def view_zoom_in(
|
|
1552
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1553
1450
|
execution_context: int | str | None = None,
|
|
1554
1451
|
undo: bool | None = None,
|
|
1452
|
+
/,
|
|
1555
1453
|
*,
|
|
1556
1454
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1557
1455
|
):
|
|
1558
1456
|
"""Zoom in the image (centered around 2D cursor)
|
|
1559
1457
|
|
|
1560
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1561
1458
|
:type execution_context: int | str | None
|
|
1562
1459
|
:type undo: bool | None
|
|
1563
1460
|
:param location: Location, Cursor location in screen coordinates
|
|
@@ -1565,15 +1462,14 @@ def view_zoom_in(
|
|
|
1565
1462
|
"""
|
|
1566
1463
|
|
|
1567
1464
|
def view_zoom_out(
|
|
1568
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1569
1465
|
execution_context: int | str | None = None,
|
|
1570
1466
|
undo: bool | None = None,
|
|
1467
|
+
/,
|
|
1571
1468
|
*,
|
|
1572
1469
|
location: collections.abc.Sequence[float] | mathutils.Vector | None = (0.0, 0.0),
|
|
1573
1470
|
):
|
|
1574
1471
|
"""Zoom out the image (centered around 2D cursor)
|
|
1575
1472
|
|
|
1576
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1577
1473
|
:type execution_context: int | str | None
|
|
1578
1474
|
:type undo: bool | None
|
|
1579
1475
|
:param location: Location, Cursor location in screen coordinates
|
|
@@ -1581,15 +1477,14 @@ def view_zoom_out(
|
|
|
1581
1477
|
"""
|
|
1582
1478
|
|
|
1583
1479
|
def view_zoom_ratio(
|
|
1584
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1585
1480
|
execution_context: int | str | None = None,
|
|
1586
1481
|
undo: bool | None = None,
|
|
1482
|
+
/,
|
|
1587
1483
|
*,
|
|
1588
1484
|
ratio: float | None = 0.0,
|
|
1589
1485
|
):
|
|
1590
1486
|
"""Set zoom ratio of the view
|
|
1591
1487
|
|
|
1592
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1593
1488
|
:type execution_context: int | str | None
|
|
1594
1489
|
:type undo: bool | None
|
|
1595
1490
|
:param ratio: Ratio, Zoom ratio, 1.0 is 1:1, higher is zoomed in, lower is zoomed out
|