fake-bpy-module 20240224__py3-none-any.whl → 20240326__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/ptcache/__init__.pyi
CHANGED
|
@@ -3,88 +3,106 @@ import bpy.types
|
|
|
3
3
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
|
-
def add(
|
|
6
|
+
def add(
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
):
|
|
7
11
|
"""Add new cache
|
|
8
12
|
|
|
9
|
-
:type override_context: typing.
|
|
10
|
-
:type execution_context: typing.
|
|
11
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
12
16
|
"""
|
|
13
17
|
|
|
14
18
|
...
|
|
15
19
|
|
|
16
20
|
def bake(
|
|
17
|
-
override_context=None,
|
|
18
|
-
execution_context=None,
|
|
19
|
-
undo=None,
|
|
20
|
-
|
|
21
|
-
bake: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
21
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
+
execution_context: typing.Union[str, int] = None,
|
|
23
|
+
undo: bool = None,
|
|
24
|
+
bake: typing.Union[bool, typing.Any] = False,
|
|
22
25
|
):
|
|
23
26
|
"""Bake physics
|
|
24
27
|
|
|
25
|
-
:type override_context: typing.
|
|
26
|
-
:type execution_context: typing.
|
|
27
|
-
:type undo:
|
|
28
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
+
:type execution_context: typing.Union[str, int]
|
|
30
|
+
:type undo: bool
|
|
28
31
|
:param bake: Bake
|
|
29
|
-
:type bake: typing.
|
|
32
|
+
:type bake: typing.Union[bool, typing.Any]
|
|
30
33
|
"""
|
|
31
34
|
|
|
32
35
|
...
|
|
33
36
|
|
|
34
37
|
def bake_all(
|
|
35
|
-
override_context=None,
|
|
36
|
-
execution_context=None,
|
|
37
|
-
undo=None,
|
|
38
|
-
|
|
39
|
-
bake: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
38
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
39
|
+
execution_context: typing.Union[str, int] = None,
|
|
40
|
+
undo: bool = None,
|
|
41
|
+
bake: typing.Union[bool, typing.Any] = True,
|
|
40
42
|
):
|
|
41
43
|
"""Bake all physics
|
|
42
44
|
|
|
43
|
-
:type override_context: typing.
|
|
44
|
-
:type execution_context: typing.
|
|
45
|
-
:type undo:
|
|
45
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
+
:type execution_context: typing.Union[str, int]
|
|
47
|
+
:type undo: bool
|
|
46
48
|
:param bake: Bake
|
|
47
|
-
:type bake: typing.
|
|
49
|
+
:type bake: typing.Union[bool, typing.Any]
|
|
48
50
|
"""
|
|
49
51
|
|
|
50
52
|
...
|
|
51
53
|
|
|
52
|
-
def bake_from_cache(
|
|
54
|
+
def bake_from_cache(
|
|
55
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
+
execution_context: typing.Union[str, int] = None,
|
|
57
|
+
undo: bool = None,
|
|
58
|
+
):
|
|
53
59
|
"""Bake from cache
|
|
54
60
|
|
|
55
|
-
:type override_context: typing.
|
|
56
|
-
:type execution_context: typing.
|
|
57
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
58
64
|
"""
|
|
59
65
|
|
|
60
66
|
...
|
|
61
67
|
|
|
62
|
-
def free_bake(
|
|
68
|
+
def free_bake(
|
|
69
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
+
execution_context: typing.Union[str, int] = None,
|
|
71
|
+
undo: bool = None,
|
|
72
|
+
):
|
|
63
73
|
"""Delete physics bake
|
|
64
74
|
|
|
65
|
-
:type override_context: typing.
|
|
66
|
-
:type execution_context: typing.
|
|
67
|
-
:type undo:
|
|
75
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
+
:type execution_context: typing.Union[str, int]
|
|
77
|
+
:type undo: bool
|
|
68
78
|
"""
|
|
69
79
|
|
|
70
80
|
...
|
|
71
81
|
|
|
72
|
-
def free_bake_all(
|
|
82
|
+
def free_bake_all(
|
|
83
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
+
execution_context: typing.Union[str, int] = None,
|
|
85
|
+
undo: bool = None,
|
|
86
|
+
):
|
|
73
87
|
"""Delete all baked caches of all objects in the current scene
|
|
74
88
|
|
|
75
|
-
:type override_context: typing.
|
|
76
|
-
:type execution_context: typing.
|
|
77
|
-
:type undo:
|
|
89
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
90
|
+
:type execution_context: typing.Union[str, int]
|
|
91
|
+
:type undo: bool
|
|
78
92
|
"""
|
|
79
93
|
|
|
80
94
|
...
|
|
81
95
|
|
|
82
|
-
def remove(
|
|
96
|
+
def remove(
|
|
97
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
98
|
+
execution_context: typing.Union[str, int] = None,
|
|
99
|
+
undo: bool = None,
|
|
100
|
+
):
|
|
83
101
|
"""Delete current cache
|
|
84
102
|
|
|
85
|
-
:type override_context: typing.
|
|
86
|
-
:type execution_context: typing.
|
|
87
|
-
:type undo:
|
|
103
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
104
|
+
:type execution_context: typing.Union[str, int]
|
|
105
|
+
:type undo: bool
|
|
88
106
|
"""
|
|
89
107
|
|
|
90
108
|
...
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -4,211 +4,207 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def cycles_integrator_preset_add(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
11
10
|
name: typing.Union[str, typing.Any] = "",
|
|
12
|
-
remove_name: typing.
|
|
13
|
-
remove_active: typing.
|
|
11
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
12
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
14
13
|
):
|
|
15
14
|
"""Add an Integrator Preset
|
|
16
15
|
|
|
17
|
-
:type override_context: typing.
|
|
18
|
-
:type execution_context: typing.
|
|
19
|
-
:type undo:
|
|
16
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
+
:type execution_context: typing.Union[str, int]
|
|
18
|
+
:type undo: bool
|
|
20
19
|
:param name: Name, Name of the preset, used to make the path name
|
|
21
20
|
:type name: typing.Union[str, typing.Any]
|
|
22
21
|
:param remove_name: remove_name
|
|
23
|
-
:type remove_name: typing.
|
|
22
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
24
23
|
:param remove_active: remove_active
|
|
25
|
-
:type remove_active: typing.
|
|
24
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
26
25
|
"""
|
|
27
26
|
|
|
28
27
|
...
|
|
29
28
|
|
|
30
29
|
def cycles_performance_preset_add(
|
|
31
|
-
override_context=None,
|
|
32
|
-
execution_context=None,
|
|
33
|
-
undo=None,
|
|
34
|
-
*,
|
|
30
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
+
execution_context: typing.Union[str, int] = None,
|
|
32
|
+
undo: bool = None,
|
|
35
33
|
name: typing.Union[str, typing.Any] = "",
|
|
36
|
-
remove_name: typing.
|
|
37
|
-
remove_active: typing.
|
|
34
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
35
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
38
36
|
):
|
|
39
37
|
"""Add an Performance Preset
|
|
40
38
|
|
|
41
|
-
:type override_context: typing.
|
|
42
|
-
:type execution_context: typing.
|
|
43
|
-
:type undo:
|
|
39
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
+
:type execution_context: typing.Union[str, int]
|
|
41
|
+
:type undo: bool
|
|
44
42
|
:param name: Name, Name of the preset, used to make the path name
|
|
45
43
|
:type name: typing.Union[str, typing.Any]
|
|
46
44
|
:param remove_name: remove_name
|
|
47
|
-
:type remove_name: typing.
|
|
45
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
48
46
|
:param remove_active: remove_active
|
|
49
|
-
:type remove_active: typing.
|
|
47
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
50
48
|
"""
|
|
51
49
|
|
|
52
50
|
...
|
|
53
51
|
|
|
54
52
|
def cycles_sampling_preset_add(
|
|
55
|
-
override_context=None,
|
|
56
|
-
execution_context=None,
|
|
57
|
-
undo=None,
|
|
58
|
-
*,
|
|
53
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
+
execution_context: typing.Union[str, int] = None,
|
|
55
|
+
undo: bool = None,
|
|
59
56
|
name: typing.Union[str, typing.Any] = "",
|
|
60
|
-
remove_name: typing.
|
|
61
|
-
remove_active: typing.
|
|
57
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
58
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
62
59
|
):
|
|
63
60
|
"""Add a Sampling Preset
|
|
64
61
|
|
|
65
|
-
:type override_context: typing.
|
|
66
|
-
:type execution_context: typing.
|
|
67
|
-
:type undo:
|
|
62
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
+
:type execution_context: typing.Union[str, int]
|
|
64
|
+
:type undo: bool
|
|
68
65
|
:param name: Name, Name of the preset, used to make the path name
|
|
69
66
|
:type name: typing.Union[str, typing.Any]
|
|
70
67
|
:param remove_name: remove_name
|
|
71
|
-
:type remove_name: typing.
|
|
68
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
72
69
|
:param remove_active: remove_active
|
|
73
|
-
:type remove_active: typing.
|
|
70
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
74
71
|
"""
|
|
75
72
|
|
|
76
73
|
...
|
|
77
74
|
|
|
78
75
|
def cycles_viewport_sampling_preset_add(
|
|
79
|
-
override_context=None,
|
|
80
|
-
execution_context=None,
|
|
81
|
-
undo=None,
|
|
82
|
-
*,
|
|
76
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
+
execution_context: typing.Union[str, int] = None,
|
|
78
|
+
undo: bool = None,
|
|
83
79
|
name: typing.Union[str, typing.Any] = "",
|
|
84
|
-
remove_name: typing.
|
|
85
|
-
remove_active: typing.
|
|
80
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
81
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
86
82
|
):
|
|
87
83
|
"""Add a Viewport Sampling Preset
|
|
88
84
|
|
|
89
|
-
:type override_context: typing.
|
|
90
|
-
:type execution_context: typing.
|
|
91
|
-
:type undo:
|
|
85
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
86
|
+
:type execution_context: typing.Union[str, int]
|
|
87
|
+
:type undo: bool
|
|
92
88
|
:param name: Name, Name of the preset, used to make the path name
|
|
93
89
|
:type name: typing.Union[str, typing.Any]
|
|
94
90
|
:param remove_name: remove_name
|
|
95
|
-
:type remove_name: typing.
|
|
91
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
96
92
|
:param remove_active: remove_active
|
|
97
|
-
:type remove_active: typing.
|
|
93
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
98
94
|
"""
|
|
99
95
|
|
|
100
96
|
...
|
|
101
97
|
|
|
102
98
|
def eevee_raytracing_preset_add(
|
|
103
|
-
override_context=None,
|
|
104
|
-
execution_context=None,
|
|
105
|
-
undo=None,
|
|
106
|
-
*,
|
|
99
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
100
|
+
execution_context: typing.Union[str, int] = None,
|
|
101
|
+
undo: bool = None,
|
|
107
102
|
name: typing.Union[str, typing.Any] = "",
|
|
108
|
-
remove_name: typing.
|
|
109
|
-
remove_active: typing.
|
|
103
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
104
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
110
105
|
):
|
|
111
106
|
"""Add or remove an EEVEE ray-tracing preset
|
|
112
107
|
|
|
113
|
-
:type override_context: typing.
|
|
114
|
-
:type execution_context: typing.
|
|
115
|
-
:type undo:
|
|
108
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
109
|
+
:type execution_context: typing.Union[str, int]
|
|
110
|
+
:type undo: bool
|
|
116
111
|
:param name: Name, Name of the preset, used to make the path name
|
|
117
112
|
:type name: typing.Union[str, typing.Any]
|
|
118
113
|
:param remove_name: remove_name
|
|
119
|
-
:type remove_name: typing.
|
|
114
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
120
115
|
:param remove_active: remove_active
|
|
121
|
-
:type remove_active: typing.
|
|
116
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
122
117
|
"""
|
|
123
118
|
|
|
124
119
|
...
|
|
125
120
|
|
|
126
121
|
def opengl(
|
|
127
|
-
override_context=None,
|
|
128
|
-
execution_context=None,
|
|
129
|
-
undo=None,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
view_context: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
122
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
123
|
+
execution_context: typing.Union[str, int] = None,
|
|
124
|
+
undo: bool = None,
|
|
125
|
+
animation: typing.Union[bool, typing.Any] = False,
|
|
126
|
+
render_keyed_only: typing.Union[bool, typing.Any] = False,
|
|
127
|
+
sequencer: typing.Union[bool, typing.Any] = False,
|
|
128
|
+
write_still: typing.Union[bool, typing.Any] = False,
|
|
129
|
+
view_context: typing.Union[bool, typing.Any] = True,
|
|
136
130
|
):
|
|
137
131
|
"""Take a snapshot of the active viewport
|
|
138
132
|
|
|
139
|
-
:type override_context: typing.
|
|
140
|
-
:type execution_context: typing.
|
|
141
|
-
:type undo:
|
|
133
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
134
|
+
:type execution_context: typing.Union[str, int]
|
|
135
|
+
:type undo: bool
|
|
142
136
|
:param animation: Animation, Render files from the animation range of this scene
|
|
143
|
-
:type animation: typing.
|
|
137
|
+
:type animation: typing.Union[bool, typing.Any]
|
|
144
138
|
:param render_keyed_only: Render Keyframes Only, Render only those frames where selected objects have a key in their animation data. Only used when rendering animation
|
|
145
|
-
:type render_keyed_only: typing.
|
|
139
|
+
:type render_keyed_only: typing.Union[bool, typing.Any]
|
|
146
140
|
:param sequencer: Sequencer, Render using the sequencer's OpenGL display
|
|
147
|
-
:type sequencer: typing.
|
|
141
|
+
:type sequencer: typing.Union[bool, typing.Any]
|
|
148
142
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
149
|
-
:type write_still: typing.
|
|
143
|
+
:type write_still: typing.Union[bool, typing.Any]
|
|
150
144
|
:param view_context: View Context, Use the current 3D view for rendering, else use scene settings
|
|
151
|
-
:type view_context: typing.
|
|
145
|
+
:type view_context: typing.Union[bool, typing.Any]
|
|
152
146
|
"""
|
|
153
147
|
|
|
154
148
|
...
|
|
155
149
|
|
|
156
|
-
def play_rendered_anim(
|
|
150
|
+
def play_rendered_anim(
|
|
151
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
152
|
+
execution_context: typing.Union[str, int] = None,
|
|
153
|
+
undo: bool = None,
|
|
154
|
+
):
|
|
157
155
|
"""Play back rendered frames/movies using an external player
|
|
158
156
|
|
|
159
|
-
:type override_context: typing.
|
|
160
|
-
:type execution_context: typing.
|
|
161
|
-
:type undo:
|
|
157
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
158
|
+
:type execution_context: typing.Union[str, int]
|
|
159
|
+
:type undo: bool
|
|
162
160
|
"""
|
|
163
161
|
|
|
164
162
|
...
|
|
165
163
|
|
|
166
164
|
def preset_add(
|
|
167
|
-
override_context=None,
|
|
168
|
-
execution_context=None,
|
|
169
|
-
undo=None,
|
|
170
|
-
*,
|
|
165
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
166
|
+
execution_context: typing.Union[str, int] = None,
|
|
167
|
+
undo: bool = None,
|
|
171
168
|
name: typing.Union[str, typing.Any] = "",
|
|
172
|
-
remove_name: typing.
|
|
173
|
-
remove_active: typing.
|
|
169
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
170
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
174
171
|
):
|
|
175
172
|
"""Add or remove a Render Preset
|
|
176
173
|
|
|
177
|
-
:type override_context: typing.
|
|
178
|
-
:type execution_context: typing.
|
|
179
|
-
:type undo:
|
|
174
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
175
|
+
:type execution_context: typing.Union[str, int]
|
|
176
|
+
:type undo: bool
|
|
180
177
|
:param name: Name, Name of the preset, used to make the path name
|
|
181
178
|
:type name: typing.Union[str, typing.Any]
|
|
182
179
|
:param remove_name: remove_name
|
|
183
|
-
:type remove_name: typing.
|
|
180
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
184
181
|
:param remove_active: remove_active
|
|
185
|
-
:type remove_active: typing.
|
|
182
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
186
183
|
"""
|
|
187
184
|
|
|
188
185
|
...
|
|
189
186
|
|
|
190
187
|
def render(
|
|
191
|
-
override_context=None,
|
|
192
|
-
execution_context=None,
|
|
193
|
-
undo=None,
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
use_viewport: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
188
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
+
execution_context: typing.Union[str, int] = None,
|
|
190
|
+
undo: bool = None,
|
|
191
|
+
animation: typing.Union[bool, typing.Any] = False,
|
|
192
|
+
write_still: typing.Union[bool, typing.Any] = False,
|
|
193
|
+
use_viewport: typing.Union[bool, typing.Any] = False,
|
|
198
194
|
layer: typing.Union[str, typing.Any] = "",
|
|
199
195
|
scene: typing.Union[str, typing.Any] = "",
|
|
200
196
|
):
|
|
201
197
|
"""Render active scene
|
|
202
198
|
|
|
203
|
-
:type override_context: typing.
|
|
204
|
-
:type execution_context: typing.
|
|
205
|
-
:type undo:
|
|
199
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
200
|
+
:type execution_context: typing.Union[str, int]
|
|
201
|
+
:type undo: bool
|
|
206
202
|
:param animation: Animation, Render files from the animation range of this scene
|
|
207
|
-
:type animation: typing.
|
|
203
|
+
:type animation: typing.Union[bool, typing.Any]
|
|
208
204
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
209
|
-
:type write_still: typing.
|
|
205
|
+
:type write_still: typing.Union[bool, typing.Any]
|
|
210
206
|
:param use_viewport: Use 3D Viewport, When inside a 3D viewport, use layers and camera of the viewport
|
|
211
|
-
:type use_viewport: typing.
|
|
207
|
+
:type use_viewport: typing.Union[bool, typing.Any]
|
|
212
208
|
:param layer: Render Layer, Single render layer to re-render (used only when animation is disabled)
|
|
213
209
|
:type layer: typing.Union[str, typing.Any]
|
|
214
210
|
:param scene: Scene, Scene to render, current scene if not specified
|
|
@@ -218,39 +214,46 @@ def render(
|
|
|
218
214
|
...
|
|
219
215
|
|
|
220
216
|
def shutter_curve_preset(
|
|
221
|
-
override_context=None,
|
|
222
|
-
execution_context=None,
|
|
223
|
-
undo=None,
|
|
224
|
-
|
|
225
|
-
shape: typing.Optional[typing.Any] = "SMOOTH",
|
|
217
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
218
|
+
execution_context: typing.Union[str, int] = None,
|
|
219
|
+
undo: bool = None,
|
|
220
|
+
shape: typing.Any = "SMOOTH",
|
|
226
221
|
):
|
|
227
222
|
"""Set shutter curve
|
|
228
223
|
|
|
229
|
-
:type override_context: typing.
|
|
230
|
-
:type execution_context: typing.
|
|
231
|
-
:type undo:
|
|
224
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
225
|
+
:type execution_context: typing.Union[str, int]
|
|
226
|
+
:type undo: bool
|
|
232
227
|
:param shape: Mode
|
|
233
|
-
:type shape: typing.
|
|
228
|
+
:type shape: typing.Any
|
|
234
229
|
"""
|
|
235
230
|
|
|
236
231
|
...
|
|
237
232
|
|
|
238
|
-
def view_cancel(
|
|
233
|
+
def view_cancel(
|
|
234
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
235
|
+
execution_context: typing.Union[str, int] = None,
|
|
236
|
+
undo: bool = None,
|
|
237
|
+
):
|
|
239
238
|
"""Cancel show render view
|
|
240
239
|
|
|
241
|
-
:type override_context: typing.
|
|
242
|
-
:type execution_context: typing.
|
|
243
|
-
:type undo:
|
|
240
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
241
|
+
:type execution_context: typing.Union[str, int]
|
|
242
|
+
:type undo: bool
|
|
244
243
|
"""
|
|
245
244
|
|
|
246
245
|
...
|
|
247
246
|
|
|
248
|
-
def view_show(
|
|
247
|
+
def view_show(
|
|
248
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
249
|
+
execution_context: typing.Union[str, int] = None,
|
|
250
|
+
undo: bool = None,
|
|
251
|
+
):
|
|
249
252
|
"""Toggle show render view
|
|
250
253
|
|
|
251
|
-
:type override_context: typing.
|
|
252
|
-
:type execution_context: typing.
|
|
253
|
-
:type undo:
|
|
254
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
255
|
+
:type execution_context: typing.Union[str, int]
|
|
256
|
+
:type undo: bool
|
|
254
257
|
"""
|
|
255
258
|
|
|
256
259
|
...
|