fake-bpy-module 20240321__py3-none-any.whl → 20240322__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 +27 -11
- aud/__init__.pyi +130 -123
- bgl/__init__.pyi +1831 -216
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +19 -10
- 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 +19 -23
- bl_i18n_utils/utils/__init__.pyi +81 -143
- 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 +120 -49
- bl_operators/anim/__init__.pyi +903 -297
- bl_operators/assets/__init__.pyi +348 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1262 -470
- bl_operators/console/__init__.pyi +542 -160
- bl_operators/constraint/__init__.pyi +452 -140
- bl_operators/file/__init__.pyi +339 -114
- bl_operators/freestyle/__init__.pyi +440 -132
- bl_operators/geometry_nodes/__init__.pyi +2131 -842
- bl_operators/image/__init__.pyi +330 -97
- bl_operators/mesh/__init__.pyi +339 -109
- bl_operators/node/__init__.pyi +1506 -621
- bl_operators/object/__init__.pyi +1828 -668
- bl_operators/object_align/__init__.pyi +124 -35
- bl_operators/object_quick_effects/__init__.pyi +470 -149
- bl_operators/object_randomize_transform/__init__.pyi +114 -35
- bl_operators/presets/__init__.pyi +3056 -1374
- bl_operators/rigidbody/__init__.pyi +336 -106
- bl_operators/screen_play_rendered_anim/__init__.pyi +115 -33
- bl_operators/sequencer/__init__.pyi +579 -204
- bl_operators/spreadsheet/__init__.pyi +110 -38
- bl_operators/userpref/__init__.pyi +3201 -1236
- bl_operators/uvcalc_follow_active/__init__.pyi +119 -38
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -54
- bl_operators/uvcalc_transform/__init__.pyi +295 -83
- bl_operators/vertexpaint_dirt/__init__.pyi +119 -34
- bl_operators/view3d/__init__.pyi +542 -184
- bl_operators/wm/__init__.pyi +5554 -2159
- 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 +346 -146
- bl_ui/anim/__init__.pyi +107 -47
- bl_ui/asset_shelf/__init__.pyi +111 -33
- bl_ui/generic_ui_list/__init__.pyi +349 -146
- bl_ui/node_add_menu/__init__.pyi +138 -53
- bl_ui/node_add_menu_compositor/__init__.pyi +2134 -1016
- bl_ui/node_add_menu_geometry/__init__.pyi +5833 -2855
- bl_ui/node_add_menu_shader/__init__.pyi +1162 -511
- bl_ui/node_add_menu_texture/__init__.pyi +1008 -450
- bl_ui/properties_animviz/__init__.pyi +14 -12
- bl_ui/properties_collection/__init__.pyi +601 -218
- bl_ui/properties_constraint/__init__.pyi +10115 -10647
- bl_ui/properties_data_armature/__init__.pyi +1550 -648
- bl_ui/properties_data_bone/__init__.pyi +1317 -511
- bl_ui/properties_data_camera/__init__.pyi +1852 -719
- bl_ui/properties_data_curve/__init__.pyi +2015 -781
- bl_ui/properties_data_curves/__init__.pyi +713 -262
- bl_ui/properties_data_empty/__init__.pyi +252 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2505 -1105
- bl_ui/properties_data_grease_pencil/__init__.pyi +1350 -594
- bl_ui/properties_data_lattice/__init__.pyi +374 -123
- bl_ui/properties_data_light/__init__.pyi +1319 -489
- bl_ui/properties_data_lightprobe/__init__.pyi +734 -241
- bl_ui/properties_data_mesh/__init__.pyi +2652 -1189
- bl_ui/properties_data_metaball/__init__.pyi +610 -197
- bl_ui/properties_data_modifier/__init__.pyi +1143 -506
- bl_ui/properties_data_pointcloud/__init__.pyi +670 -303
- bl_ui/properties_data_shaderfx/__init__.pyi +126 -36
- bl_ui/properties_data_speaker/__init__.pyi +618 -195
- bl_ui/properties_data_volume/__init__.pyi +1052 -408
- bl_ui/properties_freestyle/__init__.pyi +3366 -1450
- bl_ui/properties_grease_pencil_common/__init__.pyi +1634 -776
- bl_ui/properties_mask_common/__init__.pyi +803 -371
- bl_ui/properties_material/__init__.pyi +2038 -831
- bl_ui/properties_material_gpencil/__init__.pyi +1272 -523
- bl_ui/properties_object/__init__.pyi +1863 -745
- bl_ui/properties_output/__init__.pyi +2482 -1071
- bl_ui/properties_paint_common/__init__.pyi +317 -424
- bl_ui/properties_particle/__init__.pyi +7235 -2942
- bl_ui/properties_physics_cloth/__init__.pyi +1903 -758
- bl_ui/properties_physics_common/__init__.pyi +164 -51
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2787 -1114
- bl_ui/properties_physics_field/__init__.pyi +1294 -486
- bl_ui/properties_physics_fluid/__init__.pyi +3631 -1545
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +115 -34
- bl_ui/properties_physics_rigidbody/__init__.pyi +983 -312
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1718 -656
- bl_ui/properties_physics_softbody/__init__.pyi +2091 -836
- bl_ui/properties_render/__init__.pyi +7177 -2939
- bl_ui/properties_scene/__init__.pyi +1881 -760
- bl_ui/properties_texture/__init__.pyi +3539 -1399
- bl_ui/properties_view_layer/__init__.pyi +2368 -940
- bl_ui/properties_workspace/__init__.pyi +517 -202
- bl_ui/properties_world/__init__.pyi +862 -269
- bl_ui/space_clip/__init__.pyi +9127 -4137
- bl_ui/space_console/__init__.pyi +666 -286
- bl_ui/space_dopesheet/__init__.pyi +3287 -1504
- bl_ui/space_filebrowser/__init__.pyi +3958 -1935
- bl_ui/space_graph/__init__.pyi +2406 -1142
- bl_ui/space_image/__init__.pyi +9242 -4526
- bl_ui/space_info/__init__.pyi +664 -285
- bl_ui/space_nla/__init__.pyi +2014 -932
- bl_ui/space_node/__init__.pyi +4549 -1949
- bl_ui/space_outliner/__init__.pyi +1619 -745
- bl_ui/space_properties/__init__.pyi +340 -105
- bl_ui/space_sequencer/__init__.pyi +9396 -4264
- bl_ui/space_spreadsheet/__init__.pyi +110 -60
- bl_ui/space_statusbar/__init__.pyi +107 -32
- bl_ui/space_text/__init__.pyi +1907 -872
- bl_ui/space_time/__init__.pyi +812 -327
- bl_ui/space_toolsystem_common/__init__.pyi +203 -99
- bl_ui/space_toolsystem_toolbar/__init__.pyi +845 -289
- bl_ui/space_topbar/__init__.pyi +3131 -1437
- bl_ui/space_userpref/__init__.pyi +11510 -4926
- bl_ui/space_view3d/__init__.pyi +31358 -14417
- bl_ui/space_view3d_toolbar/__init__.pyi +12401 -6163
- bl_ui/utils/__init__.pyi +7 -16
- 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 +253 -247
- bmesh/utils/__init__.pyi +54 -54
- 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 +316 -415
- bpy/ops/anim/__init__.pyi +428 -566
- bpy/ops/armature/__init__.pyi +360 -488
- bpy/ops/asset/__init__.pyi +146 -183
- bpy/ops/boid/__init__.pyi +50 -67
- bpy/ops/brush/__init__.pyi +72 -96
- bpy/ops/buttons/__init__.pyi +128 -142
- bpy/ops/cachefile/__init__.pyi +124 -137
- bpy/ops/camera/__init__.pyi +22 -28
- bpy/ops/clip/__init__.pyi +768 -1005
- bpy/ops/cloth/__init__.pyi +10 -13
- bpy/ops/collection/__init__.pyi +36 -50
- bpy/ops/console/__init__.pyi +150 -203
- bpy/ops/constraint/__init__.pyi +150 -201
- bpy/ops/curve/__init__.pyi +474 -607
- bpy/ops/curves/__init__.pyi +170 -221
- bpy/ops/cycles/__init__.pyi +18 -26
- bpy/ops/dpaint/__init__.pyi +34 -46
- bpy/ops/ed/__init__.pyi +122 -149
- bpy/ops/export_anim/__init__.pyi +18 -21
- bpy/ops/export_mesh/__init__.pyi +26 -29
- bpy/ops/export_scene/__init__.pyi +307 -342
- bpy/ops/file/__init__.pyi +342 -436
- bpy/ops/fluid/__init__.pyi +88 -117
- bpy/ops/font/__init__.pyi +252 -311
- bpy/ops/geometry/__init__.pyi +86 -113
- bpy/ops/gizmogroup/__init__.pyi +22 -27
- bpy/ops/gpencil/__init__.pyi +1444 -1864
- bpy/ops/graph/__init__.pyi +642 -822
- bpy/ops/grease_pencil/__init__.pyi +426 -576
- bpy/ops/image/__init__.pyi +612 -733
- bpy/ops/import_anim/__init__.pyi +26 -29
- bpy/ops/import_curve/__init__.pyi +6 -9
- bpy/ops/import_mesh/__init__.pyi +18 -23
- bpy/ops/import_scene/__init__.pyi +86 -101
- bpy/ops/info/__init__.pyi +60 -77
- bpy/ops/lattice/__init__.pyi +64 -85
- bpy/ops/marker/__init__.pyi +106 -137
- bpy/ops/mask/__init__.pyi +318 -420
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -93
- bpy/ops/mesh/__init__.pyi +1988 -2460
- bpy/ops/nla/__init__.pyi +330 -428
- bpy/ops/node/__init__.pyi +852 -1115
- bpy/ops/object/__init__.pyi +2420 -3081
- bpy/ops/outliner/__init__.pyi +498 -661
- bpy/ops/paint/__init__.pyi +518 -667
- bpy/ops/paintcurve/__init__.pyi +64 -84
- bpy/ops/palette/__init__.pyi +48 -66
- bpy/ops/particle/__init__.pyi +264 -355
- bpy/ops/pose/__init__.pyi +336 -438
- bpy/ops/poselib/__init__.pyi +70 -92
- bpy/ops/preferences/__init__.pyi +336 -440
- bpy/ops/ptcache/__init__.pyi +46 -62
- bpy/ops/render/__init__.pyi +114 -147
- bpy/ops/rigidbody/__init__.pyi +102 -135
- bpy/ops/scene/__init__.pyi +270 -364
- bpy/ops/screen/__init__.pyi +378 -477
- bpy/ops/script/__init__.pyi +18 -26
- bpy/ops/sculpt/__init__.pyi +400 -488
- bpy/ops/sculpt_curves/__init__.pyi +40 -53
- bpy/ops/sequencer/__init__.pyi +1040 -1279
- bpy/ops/sound/__init__.pyi +208 -226
- bpy/ops/spreadsheet/__init__.pyi +30 -40
- bpy/ops/surface/__init__.pyi +108 -126
- bpy/ops/text/__init__.pyi +382 -486
- bpy/ops/text_editor/__init__.pyi +10 -13
- bpy/ops/texture/__init__.pyi +26 -35
- bpy/ops/transform/__init__.pyi +790 -905
- bpy/ops/ui/__init__.pyi +216 -291
- bpy/ops/uilist/__init__.pyi +20 -29
- bpy/ops/uv/__init__.pyi +600 -742
- bpy/ops/view2d/__init__.pyi +156 -195
- bpy/ops/view3d/__init__.pyi +576 -742
- bpy/ops/wm/__init__.pyi +2360 -2702
- bpy/ops/workspace/__init__.pyi +42 -57
- bpy/ops/world/__init__.pyi +6 -8
- bpy/path/__init__.pyi +110 -81
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86353 -87337
- bpy/utils/__init__.pyi +242 -154
- bpy/utils/previews/__init__.pyi +57 -57
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/anim_utils/__init__.pyi +11 -31
- bpy_extras/asset_utils/__init__.pyi +4 -1
- 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 -1
- 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 +3748 -1248
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/METADATA +1 -1
- fake_bpy_module-20240322.dist-info/RECORD +343 -0
- 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 +463 -470
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +27 -17
- gpu/capabilities/__init__.pyi +19 -20
- 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 +26 -6
- gpu_extras/presets/__init__.pyi +51 -16
- 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 +2520 -1085
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +491 -423
- mathutils/bvhtree/__init__.pyi +26 -31
- mathutils/geometry/__init__.pyi +176 -185
- mathutils/kdtree/__init__.pyi +14 -17
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +37 -15
- nodeitems_utils/__init__.pyi +45 -13
- rna_info/__init__.pyi +177 -76
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +56 -14
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- fake_bpy_module-20240321.dist-info/RECORD +0 -343
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240321.dist-info → fake_bpy_module-20240322.dist-info}/top_level.txt +0 -0
bpy/ops/ptcache/__init__.pyi
CHANGED
|
@@ -4,121 +4,105 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def add(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
12
10
|
):
|
|
13
11
|
"""Add new cache
|
|
14
12
|
|
|
15
|
-
:type override_context: typing.
|
|
16
|
-
:type execution_context: typing.
|
|
17
|
-
:type undo:
|
|
13
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
+
:type execution_context: typing.Union[str, int]
|
|
15
|
+
:type undo: bool
|
|
18
16
|
"""
|
|
19
17
|
|
|
20
18
|
...
|
|
21
19
|
|
|
22
20
|
def bake(
|
|
23
|
-
override_context: typing.
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
undo: typing.Optional[bool] = None,
|
|
28
|
-
*,
|
|
29
|
-
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,
|
|
30
25
|
):
|
|
31
26
|
"""Bake physics
|
|
32
27
|
|
|
33
|
-
:type override_context: typing.
|
|
34
|
-
:type execution_context: typing.
|
|
35
|
-
:type undo:
|
|
28
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
+
:type execution_context: typing.Union[str, int]
|
|
30
|
+
:type undo: bool
|
|
36
31
|
:param bake: Bake
|
|
37
|
-
:type bake: typing.
|
|
32
|
+
:type bake: typing.Union[bool, typing.Any]
|
|
38
33
|
"""
|
|
39
34
|
|
|
40
35
|
...
|
|
41
36
|
|
|
42
37
|
def bake_all(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
undo: typing.Optional[bool] = None,
|
|
48
|
-
*,
|
|
49
|
-
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,
|
|
50
42
|
):
|
|
51
43
|
"""Bake all physics
|
|
52
44
|
|
|
53
|
-
:type override_context: typing.
|
|
54
|
-
:type execution_context: typing.
|
|
55
|
-
:type undo:
|
|
45
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
+
:type execution_context: typing.Union[str, int]
|
|
47
|
+
:type undo: bool
|
|
56
48
|
:param bake: Bake
|
|
57
|
-
:type bake: typing.
|
|
49
|
+
:type bake: typing.Union[bool, typing.Any]
|
|
58
50
|
"""
|
|
59
51
|
|
|
60
52
|
...
|
|
61
53
|
|
|
62
54
|
def bake_from_cache(
|
|
63
|
-
override_context: typing.
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
67
|
-
undo: typing.Optional[bool] = None,
|
|
55
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
56
|
+
execution_context: typing.Union[str, int] = None,
|
|
57
|
+
undo: bool = None,
|
|
68
58
|
):
|
|
69
59
|
"""Bake from cache
|
|
70
60
|
|
|
71
|
-
:type override_context: typing.
|
|
72
|
-
:type execution_context: typing.
|
|
73
|
-
:type undo:
|
|
61
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
+
:type execution_context: typing.Union[str, int]
|
|
63
|
+
:type undo: bool
|
|
74
64
|
"""
|
|
75
65
|
|
|
76
66
|
...
|
|
77
67
|
|
|
78
68
|
def free_bake(
|
|
79
|
-
override_context: typing.
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
83
|
-
undo: typing.Optional[bool] = None,
|
|
69
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
70
|
+
execution_context: typing.Union[str, int] = None,
|
|
71
|
+
undo: bool = None,
|
|
84
72
|
):
|
|
85
73
|
"""Delete physics bake
|
|
86
74
|
|
|
87
|
-
:type override_context: typing.
|
|
88
|
-
:type execution_context: typing.
|
|
89
|
-
:type undo:
|
|
75
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
+
:type execution_context: typing.Union[str, int]
|
|
77
|
+
:type undo: bool
|
|
90
78
|
"""
|
|
91
79
|
|
|
92
80
|
...
|
|
93
81
|
|
|
94
82
|
def free_bake_all(
|
|
95
|
-
override_context: typing.
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
99
|
-
undo: typing.Optional[bool] = None,
|
|
83
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
+
execution_context: typing.Union[str, int] = None,
|
|
85
|
+
undo: bool = None,
|
|
100
86
|
):
|
|
101
87
|
"""Delete all baked caches of all objects in the current scene
|
|
102
88
|
|
|
103
|
-
:type override_context: typing.
|
|
104
|
-
:type execution_context: typing.
|
|
105
|
-
:type undo:
|
|
89
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
90
|
+
:type execution_context: typing.Union[str, int]
|
|
91
|
+
:type undo: bool
|
|
106
92
|
"""
|
|
107
93
|
|
|
108
94
|
...
|
|
109
95
|
|
|
110
96
|
def remove(
|
|
111
|
-
override_context: typing.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
115
|
-
undo: typing.Optional[bool] = None,
|
|
97
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
98
|
+
execution_context: typing.Union[str, int] = None,
|
|
99
|
+
undo: bool = None,
|
|
116
100
|
):
|
|
117
101
|
"""Delete current cache
|
|
118
102
|
|
|
119
|
-
:type override_context: typing.
|
|
120
|
-
:type execution_context: typing.
|
|
121
|
-
:type undo:
|
|
103
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
104
|
+
:type execution_context: typing.Union[str, int]
|
|
105
|
+
:type undo: bool
|
|
122
106
|
"""
|
|
123
107
|
|
|
124
108
|
...
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -4,233 +4,207 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def cycles_integrator_preset_add(
|
|
7
|
-
override_context: typing.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
11
|
-
undo: typing.Optional[bool] = None,
|
|
12
|
-
*,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
13
10
|
name: typing.Union[str, typing.Any] = "",
|
|
14
|
-
remove_name: typing.
|
|
15
|
-
remove_active: typing.
|
|
11
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
12
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
16
13
|
):
|
|
17
14
|
"""Add an Integrator Preset
|
|
18
15
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
16
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
+
:type execution_context: typing.Union[str, int]
|
|
18
|
+
:type undo: bool
|
|
22
19
|
:param name: Name, Name of the preset, used to make the path name
|
|
23
20
|
:type name: typing.Union[str, typing.Any]
|
|
24
21
|
:param remove_name: remove_name
|
|
25
|
-
:type remove_name: typing.
|
|
22
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
26
23
|
:param remove_active: remove_active
|
|
27
|
-
:type remove_active: typing.
|
|
24
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
28
25
|
"""
|
|
29
26
|
|
|
30
27
|
...
|
|
31
28
|
|
|
32
29
|
def cycles_performance_preset_add(
|
|
33
|
-
override_context: typing.
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
37
|
-
undo: typing.Optional[bool] = None,
|
|
38
|
-
*,
|
|
30
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
+
execution_context: typing.Union[str, int] = None,
|
|
32
|
+
undo: bool = None,
|
|
39
33
|
name: typing.Union[str, typing.Any] = "",
|
|
40
|
-
remove_name: typing.
|
|
41
|
-
remove_active: typing.
|
|
34
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
35
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
42
36
|
):
|
|
43
37
|
"""Add an Performance Preset
|
|
44
38
|
|
|
45
|
-
:type override_context: typing.
|
|
46
|
-
:type execution_context: typing.
|
|
47
|
-
:type undo:
|
|
39
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
+
:type execution_context: typing.Union[str, int]
|
|
41
|
+
:type undo: bool
|
|
48
42
|
:param name: Name, Name of the preset, used to make the path name
|
|
49
43
|
:type name: typing.Union[str, typing.Any]
|
|
50
44
|
:param remove_name: remove_name
|
|
51
|
-
:type remove_name: typing.
|
|
45
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
52
46
|
:param remove_active: remove_active
|
|
53
|
-
:type remove_active: typing.
|
|
47
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
54
48
|
"""
|
|
55
49
|
|
|
56
50
|
...
|
|
57
51
|
|
|
58
52
|
def cycles_sampling_preset_add(
|
|
59
|
-
override_context: typing.
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
63
|
-
undo: typing.Optional[bool] = None,
|
|
64
|
-
*,
|
|
53
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
+
execution_context: typing.Union[str, int] = None,
|
|
55
|
+
undo: bool = None,
|
|
65
56
|
name: typing.Union[str, typing.Any] = "",
|
|
66
|
-
remove_name: typing.
|
|
67
|
-
remove_active: typing.
|
|
57
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
58
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
68
59
|
):
|
|
69
60
|
"""Add a Sampling Preset
|
|
70
61
|
|
|
71
|
-
:type override_context: typing.
|
|
72
|
-
:type execution_context: typing.
|
|
73
|
-
:type undo:
|
|
62
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
+
:type execution_context: typing.Union[str, int]
|
|
64
|
+
:type undo: bool
|
|
74
65
|
:param name: Name, Name of the preset, used to make the path name
|
|
75
66
|
:type name: typing.Union[str, typing.Any]
|
|
76
67
|
:param remove_name: remove_name
|
|
77
|
-
:type remove_name: typing.
|
|
68
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
78
69
|
:param remove_active: remove_active
|
|
79
|
-
:type remove_active: typing.
|
|
70
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
80
71
|
"""
|
|
81
72
|
|
|
82
73
|
...
|
|
83
74
|
|
|
84
75
|
def cycles_viewport_sampling_preset_add(
|
|
85
|
-
override_context: typing.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
89
|
-
undo: typing.Optional[bool] = None,
|
|
90
|
-
*,
|
|
76
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
+
execution_context: typing.Union[str, int] = None,
|
|
78
|
+
undo: bool = None,
|
|
91
79
|
name: typing.Union[str, typing.Any] = "",
|
|
92
|
-
remove_name: typing.
|
|
93
|
-
remove_active: typing.
|
|
80
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
81
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
94
82
|
):
|
|
95
83
|
"""Add a Viewport Sampling Preset
|
|
96
84
|
|
|
97
|
-
:type override_context: typing.
|
|
98
|
-
:type execution_context: typing.
|
|
99
|
-
:type undo:
|
|
85
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
86
|
+
:type execution_context: typing.Union[str, int]
|
|
87
|
+
:type undo: bool
|
|
100
88
|
:param name: Name, Name of the preset, used to make the path name
|
|
101
89
|
:type name: typing.Union[str, typing.Any]
|
|
102
90
|
:param remove_name: remove_name
|
|
103
|
-
:type remove_name: typing.
|
|
91
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
104
92
|
:param remove_active: remove_active
|
|
105
|
-
:type remove_active: typing.
|
|
93
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
106
94
|
"""
|
|
107
95
|
|
|
108
96
|
...
|
|
109
97
|
|
|
110
98
|
def eevee_raytracing_preset_add(
|
|
111
|
-
override_context: typing.
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
115
|
-
undo: typing.Optional[bool] = None,
|
|
116
|
-
*,
|
|
99
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
100
|
+
execution_context: typing.Union[str, int] = None,
|
|
101
|
+
undo: bool = None,
|
|
117
102
|
name: typing.Union[str, typing.Any] = "",
|
|
118
|
-
remove_name: typing.
|
|
119
|
-
remove_active: typing.
|
|
103
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
104
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
120
105
|
):
|
|
121
106
|
"""Add or remove an EEVEE ray-tracing preset
|
|
122
107
|
|
|
123
|
-
:type override_context: typing.
|
|
124
|
-
:type execution_context: typing.
|
|
125
|
-
:type undo:
|
|
108
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
109
|
+
:type execution_context: typing.Union[str, int]
|
|
110
|
+
:type undo: bool
|
|
126
111
|
:param name: Name, Name of the preset, used to make the path name
|
|
127
112
|
:type name: typing.Union[str, typing.Any]
|
|
128
113
|
:param remove_name: remove_name
|
|
129
|
-
:type remove_name: typing.
|
|
114
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
130
115
|
:param remove_active: remove_active
|
|
131
|
-
:type remove_active: typing.
|
|
116
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
132
117
|
"""
|
|
133
118
|
|
|
134
119
|
...
|
|
135
120
|
|
|
136
121
|
def opengl(
|
|
137
|
-
override_context: typing.
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
sequencer: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
146
|
-
write_still: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
147
|
-
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,
|
|
148
130
|
):
|
|
149
131
|
"""Take a snapshot of the active viewport
|
|
150
132
|
|
|
151
|
-
:type override_context: typing.
|
|
152
|
-
:type execution_context: typing.
|
|
153
|
-
:type undo:
|
|
133
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
134
|
+
:type execution_context: typing.Union[str, int]
|
|
135
|
+
:type undo: bool
|
|
154
136
|
:param animation: Animation, Render files from the animation range of this scene
|
|
155
|
-
:type animation: typing.
|
|
137
|
+
:type animation: typing.Union[bool, typing.Any]
|
|
156
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
|
|
157
|
-
:type render_keyed_only: typing.
|
|
139
|
+
:type render_keyed_only: typing.Union[bool, typing.Any]
|
|
158
140
|
:param sequencer: Sequencer, Render using the sequencer's OpenGL display
|
|
159
|
-
:type sequencer: typing.
|
|
141
|
+
:type sequencer: typing.Union[bool, typing.Any]
|
|
160
142
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
161
|
-
:type write_still: typing.
|
|
143
|
+
:type write_still: typing.Union[bool, typing.Any]
|
|
162
144
|
:param view_context: View Context, Use the current 3D view for rendering, else use scene settings
|
|
163
|
-
:type view_context: typing.
|
|
145
|
+
:type view_context: typing.Union[bool, typing.Any]
|
|
164
146
|
"""
|
|
165
147
|
|
|
166
148
|
...
|
|
167
149
|
|
|
168
150
|
def play_rendered_anim(
|
|
169
|
-
override_context: typing.
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
173
|
-
undo: typing.Optional[bool] = None,
|
|
151
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
152
|
+
execution_context: typing.Union[str, int] = None,
|
|
153
|
+
undo: bool = None,
|
|
174
154
|
):
|
|
175
155
|
"""Play back rendered frames/movies using an external player
|
|
176
156
|
|
|
177
|
-
:type override_context: typing.
|
|
178
|
-
:type execution_context: typing.
|
|
179
|
-
:type undo:
|
|
157
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
158
|
+
:type execution_context: typing.Union[str, int]
|
|
159
|
+
:type undo: bool
|
|
180
160
|
"""
|
|
181
161
|
|
|
182
162
|
...
|
|
183
163
|
|
|
184
164
|
def preset_add(
|
|
185
|
-
override_context: typing.
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
189
|
-
undo: typing.Optional[bool] = None,
|
|
190
|
-
*,
|
|
165
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
166
|
+
execution_context: typing.Union[str, int] = None,
|
|
167
|
+
undo: bool = None,
|
|
191
168
|
name: typing.Union[str, typing.Any] = "",
|
|
192
|
-
remove_name: typing.
|
|
193
|
-
remove_active: typing.
|
|
169
|
+
remove_name: typing.Union[bool, typing.Any] = False,
|
|
170
|
+
remove_active: typing.Union[bool, typing.Any] = False,
|
|
194
171
|
):
|
|
195
172
|
"""Add or remove a Render Preset
|
|
196
173
|
|
|
197
|
-
:type override_context: typing.
|
|
198
|
-
:type execution_context: typing.
|
|
199
|
-
:type undo:
|
|
174
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
175
|
+
:type execution_context: typing.Union[str, int]
|
|
176
|
+
:type undo: bool
|
|
200
177
|
:param name: Name, Name of the preset, used to make the path name
|
|
201
178
|
:type name: typing.Union[str, typing.Any]
|
|
202
179
|
:param remove_name: remove_name
|
|
203
|
-
:type remove_name: typing.
|
|
180
|
+
:type remove_name: typing.Union[bool, typing.Any]
|
|
204
181
|
:param remove_active: remove_active
|
|
205
|
-
:type remove_active: typing.
|
|
182
|
+
:type remove_active: typing.Union[bool, typing.Any]
|
|
206
183
|
"""
|
|
207
184
|
|
|
208
185
|
...
|
|
209
186
|
|
|
210
187
|
def render(
|
|
211
|
-
override_context: typing.
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
animation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
218
|
-
write_still: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
219
|
-
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,
|
|
220
194
|
layer: typing.Union[str, typing.Any] = "",
|
|
221
195
|
scene: typing.Union[str, typing.Any] = "",
|
|
222
196
|
):
|
|
223
197
|
"""Render active scene
|
|
224
198
|
|
|
225
|
-
:type override_context: typing.
|
|
226
|
-
:type execution_context: typing.
|
|
227
|
-
:type undo:
|
|
199
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
200
|
+
:type execution_context: typing.Union[str, int]
|
|
201
|
+
:type undo: bool
|
|
228
202
|
:param animation: Animation, Render files from the animation range of this scene
|
|
229
|
-
:type animation: typing.
|
|
203
|
+
:type animation: typing.Union[bool, typing.Any]
|
|
230
204
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
231
|
-
:type write_still: typing.
|
|
205
|
+
:type write_still: typing.Union[bool, typing.Any]
|
|
232
206
|
:param use_viewport: Use 3D Viewport, When inside a 3D viewport, use layers and camera of the viewport
|
|
233
|
-
:type use_viewport: typing.
|
|
207
|
+
:type use_viewport: typing.Union[bool, typing.Any]
|
|
234
208
|
:param layer: Render Layer, Single render layer to re-render (used only when animation is disabled)
|
|
235
209
|
:type layer: typing.Union[str, typing.Any]
|
|
236
210
|
:param scene: Scene, Scene to render, current scene if not specified
|
|
@@ -240,53 +214,46 @@ def render(
|
|
|
240
214
|
...
|
|
241
215
|
|
|
242
216
|
def shutter_curve_preset(
|
|
243
|
-
override_context: typing.
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
undo: typing.Optional[bool] = None,
|
|
248
|
-
*,
|
|
249
|
-
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",
|
|
250
221
|
):
|
|
251
222
|
"""Set shutter curve
|
|
252
223
|
|
|
253
|
-
:type override_context: typing.
|
|
254
|
-
:type execution_context: typing.
|
|
255
|
-
:type undo:
|
|
224
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
225
|
+
:type execution_context: typing.Union[str, int]
|
|
226
|
+
:type undo: bool
|
|
256
227
|
:param shape: Mode
|
|
257
|
-
:type shape: typing.
|
|
228
|
+
:type shape: typing.Any
|
|
258
229
|
"""
|
|
259
230
|
|
|
260
231
|
...
|
|
261
232
|
|
|
262
233
|
def view_cancel(
|
|
263
|
-
override_context: typing.
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
267
|
-
undo: typing.Optional[bool] = None,
|
|
234
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
235
|
+
execution_context: typing.Union[str, int] = None,
|
|
236
|
+
undo: bool = None,
|
|
268
237
|
):
|
|
269
238
|
"""Cancel show render view
|
|
270
239
|
|
|
271
|
-
:type override_context: typing.
|
|
272
|
-
:type execution_context: typing.
|
|
273
|
-
:type undo:
|
|
240
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
241
|
+
:type execution_context: typing.Union[str, int]
|
|
242
|
+
:type undo: bool
|
|
274
243
|
"""
|
|
275
244
|
|
|
276
245
|
...
|
|
277
246
|
|
|
278
247
|
def view_show(
|
|
279
|
-
override_context: typing.
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
execution_context: typing.Optional[typing.Union[int, str]] = None,
|
|
283
|
-
undo: typing.Optional[bool] = None,
|
|
248
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
249
|
+
execution_context: typing.Union[str, int] = None,
|
|
250
|
+
undo: bool = None,
|
|
284
251
|
):
|
|
285
252
|
"""Toggle show render view
|
|
286
253
|
|
|
287
|
-
:type override_context: typing.
|
|
288
|
-
:type execution_context: typing.
|
|
289
|
-
:type undo:
|
|
254
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
255
|
+
:type execution_context: typing.Union[str, int]
|
|
256
|
+
:type undo: bool
|
|
290
257
|
"""
|
|
291
258
|
|
|
292
259
|
...
|