fake-bpy-module 20240420__py3-none-any.whl → 20240422__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.
- bl_operators/add_mesh_torus/__init__.pyi +2 -1
- bl_operators/assets/__init__.pyi +12 -12
- bl_operators/geometry_nodes/__init__.pyi +256 -238
- bl_operators/node/__init__.pyi +262 -260
- bl_operators/object_quick_effects/__init__.pyi +19 -19
- bl_operators/presets/__init__.pyi +371 -368
- bl_operators/wm/__init__.pyi +4 -4
- bl_ui/__init__.pyi +3 -3
- bl_ui/anim/__init__.pyi +1 -1
- bl_ui/asset_shelf/__init__.pyi +1 -1
- bl_ui/generic_ui_list/__init__.pyi +3 -3
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -48
- bl_ui/node_add_menu_shader/__init__.pyi +10 -10
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_collection/__init__.pyi +39 -25
- bl_ui/properties_constraint/__init__.pyi +1257 -1041
- bl_ui/properties_data_armature/__init__.pyi +120 -96
- bl_ui/properties_data_bone/__init__.pyi +36 -29
- bl_ui/properties_data_camera/__init__.pyi +32 -14
- bl_ui/properties_data_curve/__init__.pyi +143 -116
- bl_ui/properties_data_curves/__init__.pyi +30 -25
- bl_ui/properties_data_empty/__init__.pyi +21 -21
- bl_ui/properties_data_gpencil/__init__.pyi +297 -260
- bl_ui/properties_data_grease_pencil/__init__.pyi +228 -205
- bl_ui/properties_data_lattice/__init__.pyi +25 -22
- bl_ui/properties_data_light/__init__.pyi +44 -31
- bl_ui/properties_data_lightprobe/__init__.pyi +54 -32
- bl_ui/properties_data_mesh/__init__.pyi +579 -570
- bl_ui/properties_data_metaball/__init__.pyi +29 -24
- bl_ui/properties_data_modifier/__init__.pyi +55 -43
- bl_ui/properties_data_pointcloud/__init__.pyi +146 -139
- bl_ui/properties_data_shaderfx/__init__.pyi +13 -13
- bl_ui/properties_data_speaker/__init__.pyi +27 -24
- bl_ui/properties_data_volume/__init__.pyi +75 -68
- bl_ui/properties_freestyle/__init__.pyi +407 -284
- bl_ui/properties_grease_pencil_common/__init__.pyi +13 -13
- bl_ui/properties_mask_common/__init__.pyi +7 -7
- bl_ui/properties_material/__init__.pyi +186 -162
- bl_ui/properties_material_gpencil/__init__.pyi +111 -87
- bl_ui/properties_object/__init__.pyi +102 -84
- bl_ui/properties_output/__init__.pyi +255 -228
- bl_ui/properties_paint_common/__init__.pyi +9 -9
- bl_ui/properties_particle/__init__.pyi +341 -254
- bl_ui/properties_physics_cloth/__init__.pyi +54 -33
- bl_ui/properties_physics_common/__init__.pyi +20 -20
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +231 -193
- bl_ui/properties_physics_field/__init__.pyi +52 -36
- bl_ui/properties_physics_fluid/__init__.pyi +119 -96
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +1 -1
- bl_ui/properties_physics_rigidbody/__init__.pyi +36 -20
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +51 -25
- bl_ui/properties_physics_softbody/__init__.pyi +62 -34
- bl_ui/properties_render/__init__.pyi +275 -187
- bl_ui/properties_scene/__init__.pyi +173 -154
- bl_ui/properties_texture/__init__.pyi +251 -205
- bl_ui/properties_view_layer/__init__.pyi +126 -93
- bl_ui/properties_workspace/__init__.pyi +82 -76
- bl_ui/properties_world/__init__.pyi +31 -26
- bl_ui/space_clip/__init__.pyi +495 -433
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +209 -174
- bl_ui/space_filebrowser/__init__.pyi +691 -679
- bl_ui/space_graph/__init__.pyi +25 -20
- bl_ui/space_image/__init__.pyi +959 -845
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +26 -17
- bl_ui/space_node/__init__.pyi +49 -36
- bl_ui/space_outliner/__init__.pyi +14 -14
- bl_ui/space_properties/__init__.pyi +3 -3
- bl_ui/space_sequencer/__init__.pyi +510 -444
- bl_ui/space_spreadsheet/__init__.pyi +1 -1
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +16 -16
- bl_ui/space_time/__init__.pyi +27 -23
- bl_ui/space_toolsystem_common/__init__.pyi +1 -1
- bl_ui/space_toolsystem_toolbar/__init__.pyi +21 -4
- bl_ui/space_topbar/__init__.pyi +26 -26
- bl_ui/space_userpref/__init__.pyi +795 -658
- bl_ui/space_view3d/__init__.pyi +1460 -1428
- bl_ui/space_view3d_toolbar/__init__.pyi +2968 -2657
- bl_ui/temp_anim_layers/__init__.pyi +1 -1
- bmesh/types/__init__.pyi +13 -6
- bpy/app/__init__.pyi +4 -4
- bpy/app/icons/__init__.pyi +8 -6
- bpy/app/timers/__init__.pyi +10 -8
- bpy/app/translations/__init__.pyi +22 -20
- bpy/msgbus/__init__.pyi +4 -2
- bpy/ops/action/__init__.pyi +319 -316
- bpy/ops/anim/__init__.pyi +428 -428
- bpy/ops/armature/__init__.pyi +359 -358
- bpy/ops/asset/__init__.pyi +146 -146
- bpy/ops/boid/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +72 -72
- bpy/ops/buttons/__init__.pyi +128 -128
- bpy/ops/cachefile/__init__.pyi +124 -124
- bpy/ops/camera/__init__.pyi +22 -22
- bpy/ops/clip/__init__.pyi +773 -768
- bpy/ops/cloth/__init__.pyi +10 -10
- bpy/ops/collection/__init__.pyi +64 -64
- bpy/ops/console/__init__.pyi +150 -150
- bpy/ops/constraint/__init__.pyi +150 -150
- bpy/ops/curve/__init__.pyi +475 -472
- bpy/ops/curves/__init__.pyi +247 -244
- bpy/ops/cycles/__init__.pyi +18 -18
- bpy/ops/dpaint/__init__.pyi +34 -34
- bpy/ops/ed/__init__.pyi +122 -122
- bpy/ops/export_anim/__init__.pyi +18 -18
- bpy/ops/export_mesh/__init__.pyi +26 -26
- bpy/ops/export_scene/__init__.pyi +336 -307
- bpy/ops/file/__init__.pyi +340 -340
- bpy/ops/fluid/__init__.pyi +88 -88
- bpy/ops/font/__init__.pyi +252 -252
- bpy/ops/geometry/__init__.pyi +86 -86
- bpy/ops/gizmogroup/__init__.pyi +22 -22
- bpy/ops/gpencil/__init__.pyi +1459 -1444
- bpy/ops/graph/__init__.pyi +645 -642
- bpy/ops/grease_pencil/__init__.pyi +441 -436
- bpy/ops/image/__init__.pyi +614 -612
- bpy/ops/import_anim/__init__.pyi +26 -26
- bpy/ops/import_curve/__init__.pyi +6 -6
- bpy/ops/import_mesh/__init__.pyi +20 -18
- bpy/ops/import_scene/__init__.pyi +92 -86
- bpy/ops/info/__init__.pyi +60 -60
- bpy/ops/lattice/__init__.pyi +64 -64
- bpy/ops/marker/__init__.pyi +106 -106
- bpy/ops/mask/__init__.pyi +321 -318
- bpy/ops/material/__init__.pyi +18 -18
- bpy/ops/mball/__init__.pyi +71 -70
- bpy/ops/mesh/__init__.pyi +1997 -1990
- bpy/ops/nla/__init__.pyi +331 -330
- bpy/ops/node/__init__.pyi +867 -852
- bpy/ops/object/__init__.pyi +2433 -2430
- bpy/ops/outliner/__init__.pyi +498 -498
- bpy/ops/paint/__init__.pyi +554 -544
- bpy/ops/paintcurve/__init__.pyi +64 -64
- bpy/ops/palette/__init__.pyi +48 -48
- bpy/ops/particle/__init__.pyi +266 -264
- bpy/ops/pose/__init__.pyi +336 -336
- bpy/ops/poselib/__init__.pyi +70 -70
- bpy/ops/preferences/__init__.pyi +338 -336
- bpy/ops/ptcache/__init__.pyi +46 -46
- bpy/ops/render/__init__.pyi +114 -114
- bpy/ops/rigidbody/__init__.pyi +102 -102
- bpy/ops/scene/__init__.pyi +270 -270
- bpy/ops/screen/__init__.pyi +378 -378
- bpy/ops/script/__init__.pyi +18 -18
- bpy/ops/sculpt/__init__.pyi +411 -405
- bpy/ops/sculpt_curves/__init__.pyi +42 -40
- bpy/ops/sequencer/__init__.pyi +1053 -1040
- bpy/ops/sound/__init__.pyi +208 -208
- bpy/ops/spreadsheet/__init__.pyi +30 -30
- bpy/ops/surface/__init__.pyi +108 -108
- bpy/ops/text/__init__.pyi +382 -382
- bpy/ops/text_editor/__init__.pyi +10 -10
- bpy/ops/texture/__init__.pyi +26 -26
- bpy/ops/transform/__init__.pyi +826 -790
- bpy/ops/ui/__init__.pyi +216 -216
- bpy/ops/uilist/__init__.pyi +20 -20
- bpy/ops/uv/__init__.pyi +605 -600
- bpy/ops/view2d/__init__.pyi +156 -156
- bpy/ops/view3d/__init__.pyi +578 -576
- bpy/ops/wm/__init__.pyi +2412 -2376
- bpy/ops/workspace/__init__.pyi +42 -42
- bpy/ops/world/__init__.pyi +6 -6
- bpy/path/__init__.pyi +48 -33
- bpy/props/__init__.pyi +263 -261
- bpy/types/__init__.pyi +103670 -100517
- bpy/utils/__init__.pyi +87 -52
- bpy/utils/previews/__init__.pyi +2 -2
- bpy/utils/units/__init__.pyi +20 -17
- bpy_extras/anim_utils/__init__.pyi +9 -2
- bpy_extras/io_utils/__init__.pyi +2 -1
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_types/__init__.pyi +236 -236
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/RECORD +187 -187
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/types/__init__.pyi +8 -3
- gpu_extras/presets/__init__.pyi +14 -2
- keyingsets_builtins/__init__.pyi +92 -92
- mathutils/__init__.pyi +9 -5
- mathutils/geometry/__init__.pyi +8 -4
- nodeitems_builtins/__init__.pyi +7 -7
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240420.dist-info → fake_bpy_module-20240422.dist-info}/top_level.txt +0 -0
bpy/ops/ptcache/__init__.pyi
CHANGED
|
@@ -4,105 +4,105 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
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,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
):
|
|
11
11
|
"""Add new cache
|
|
12
12
|
|
|
13
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
14
|
-
:type execution_context: typing.Union[str, int]
|
|
15
|
-
:type undo: bool
|
|
13
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
14
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
15
|
+
:type undo: typing.Optional[bool]
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def bake(
|
|
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,
|
|
21
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
22
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
23
|
+
undo: typing.Optional[bool] = None,
|
|
24
|
+
bake: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
25
25
|
):
|
|
26
26
|
"""Bake physics
|
|
27
27
|
|
|
28
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
29
|
-
:type execution_context: typing.Union[str, int]
|
|
30
|
-
:type undo: bool
|
|
28
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
29
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
30
|
+
:type undo: typing.Optional[bool]
|
|
31
31
|
:param bake: Bake
|
|
32
|
-
:type bake: typing.Union[bool, typing.Any]
|
|
32
|
+
:type bake: typing.Optional[typing.Union[bool, typing.Any]]
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
...
|
|
36
36
|
|
|
37
37
|
def bake_all(
|
|
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,
|
|
38
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
39
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
40
|
+
undo: typing.Optional[bool] = None,
|
|
41
|
+
bake: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
42
42
|
):
|
|
43
43
|
"""Bake all physics
|
|
44
44
|
|
|
45
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
46
|
-
:type execution_context: typing.Union[str, int]
|
|
47
|
-
:type undo: bool
|
|
45
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
46
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
47
|
+
:type undo: typing.Optional[bool]
|
|
48
48
|
:param bake: Bake
|
|
49
|
-
:type bake: typing.Union[bool, typing.Any]
|
|
49
|
+
:type bake: typing.Optional[typing.Union[bool, typing.Any]]
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
...
|
|
53
53
|
|
|
54
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,
|
|
55
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
56
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
57
|
+
undo: typing.Optional[bool] = None,
|
|
58
58
|
):
|
|
59
59
|
"""Bake from cache
|
|
60
60
|
|
|
61
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
62
|
-
:type execution_context: typing.Union[str, int]
|
|
63
|
-
:type undo: bool
|
|
61
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
62
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
63
|
+
:type undo: typing.Optional[bool]
|
|
64
64
|
"""
|
|
65
65
|
|
|
66
66
|
...
|
|
67
67
|
|
|
68
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,
|
|
69
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
70
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
71
|
+
undo: typing.Optional[bool] = None,
|
|
72
72
|
):
|
|
73
73
|
"""Delete physics bake
|
|
74
74
|
|
|
75
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
76
|
-
:type execution_context: typing.Union[str, int]
|
|
77
|
-
:type undo: bool
|
|
75
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
76
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
77
|
+
:type undo: typing.Optional[bool]
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
80
|
...
|
|
81
81
|
|
|
82
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,
|
|
83
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
84
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
85
|
+
undo: typing.Optional[bool] = None,
|
|
86
86
|
):
|
|
87
87
|
"""Delete all baked caches of all objects in the current scene
|
|
88
88
|
|
|
89
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
90
|
-
:type execution_context: typing.Union[str, int]
|
|
91
|
-
:type undo: bool
|
|
89
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
90
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
91
|
+
:type undo: typing.Optional[bool]
|
|
92
92
|
"""
|
|
93
93
|
|
|
94
94
|
...
|
|
95
95
|
|
|
96
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,
|
|
97
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
98
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
99
|
+
undo: typing.Optional[bool] = None,
|
|
100
100
|
):
|
|
101
101
|
"""Delete current cache
|
|
102
102
|
|
|
103
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
104
|
-
:type execution_context: typing.Union[str, int]
|
|
105
|
-
:type undo: bool
|
|
103
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
104
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
105
|
+
:type undo: typing.Optional[bool]
|
|
106
106
|
"""
|
|
107
107
|
|
|
108
108
|
...
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -4,207 +4,207 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def cycles_integrator_preset_add(
|
|
7
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: typing.Union[str, int] = None,
|
|
9
|
-
undo: bool = None,
|
|
7
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
8
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
9
|
+
undo: typing.Optional[bool] = None,
|
|
10
10
|
name: typing.Union[str, typing.Any] = "",
|
|
11
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
12
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
11
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
12
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
13
13
|
):
|
|
14
14
|
"""Add an Integrator Preset
|
|
15
15
|
|
|
16
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
-
:type execution_context: typing.Union[str, int]
|
|
18
|
-
:type undo: bool
|
|
16
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
17
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
18
|
+
:type undo: typing.Optional[bool]
|
|
19
19
|
:param name: Name, Name of the preset, used to make the path name
|
|
20
20
|
:type name: typing.Union[str, typing.Any]
|
|
21
21
|
:param remove_name: remove_name
|
|
22
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
22
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
23
23
|
:param remove_active: remove_active
|
|
24
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
24
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
25
25
|
"""
|
|
26
26
|
|
|
27
27
|
...
|
|
28
28
|
|
|
29
29
|
def cycles_performance_preset_add(
|
|
30
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
31
|
-
execution_context: typing.Union[str, int] = None,
|
|
32
|
-
undo: bool = None,
|
|
30
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
31
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
32
|
+
undo: typing.Optional[bool] = None,
|
|
33
33
|
name: typing.Union[str, typing.Any] = "",
|
|
34
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
35
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
34
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
35
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
36
36
|
):
|
|
37
37
|
"""Add an Performance Preset
|
|
38
38
|
|
|
39
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
40
|
-
:type execution_context: typing.Union[str, int]
|
|
41
|
-
:type undo: bool
|
|
39
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
40
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
41
|
+
:type undo: typing.Optional[bool]
|
|
42
42
|
:param name: Name, Name of the preset, used to make the path name
|
|
43
43
|
:type name: typing.Union[str, typing.Any]
|
|
44
44
|
:param remove_name: remove_name
|
|
45
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
45
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
46
46
|
:param remove_active: remove_active
|
|
47
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
47
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
48
48
|
"""
|
|
49
49
|
|
|
50
50
|
...
|
|
51
51
|
|
|
52
52
|
def cycles_sampling_preset_add(
|
|
53
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
54
|
-
execution_context: typing.Union[str, int] = None,
|
|
55
|
-
undo: bool = None,
|
|
53
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
54
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
55
|
+
undo: typing.Optional[bool] = None,
|
|
56
56
|
name: typing.Union[str, typing.Any] = "",
|
|
57
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
58
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
57
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
58
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
59
59
|
):
|
|
60
60
|
"""Add a Sampling Preset
|
|
61
61
|
|
|
62
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
63
|
-
:type execution_context: typing.Union[str, int]
|
|
64
|
-
:type undo: bool
|
|
62
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
63
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
64
|
+
:type undo: typing.Optional[bool]
|
|
65
65
|
:param name: Name, Name of the preset, used to make the path name
|
|
66
66
|
:type name: typing.Union[str, typing.Any]
|
|
67
67
|
:param remove_name: remove_name
|
|
68
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
68
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
69
69
|
:param remove_active: remove_active
|
|
70
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
70
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
71
71
|
"""
|
|
72
72
|
|
|
73
73
|
...
|
|
74
74
|
|
|
75
75
|
def cycles_viewport_sampling_preset_add(
|
|
76
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
77
|
-
execution_context: typing.Union[str, int] = None,
|
|
78
|
-
undo: bool = None,
|
|
76
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
77
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
78
|
+
undo: typing.Optional[bool] = None,
|
|
79
79
|
name: typing.Union[str, typing.Any] = "",
|
|
80
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
81
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
80
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
81
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
82
82
|
):
|
|
83
83
|
"""Add a Viewport Sampling Preset
|
|
84
84
|
|
|
85
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
86
|
-
:type execution_context: typing.Union[str, int]
|
|
87
|
-
:type undo: bool
|
|
85
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
86
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
87
|
+
:type undo: typing.Optional[bool]
|
|
88
88
|
:param name: Name, Name of the preset, used to make the path name
|
|
89
89
|
:type name: typing.Union[str, typing.Any]
|
|
90
90
|
:param remove_name: remove_name
|
|
91
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
91
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
92
92
|
:param remove_active: remove_active
|
|
93
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
93
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
94
94
|
"""
|
|
95
95
|
|
|
96
96
|
...
|
|
97
97
|
|
|
98
98
|
def eevee_raytracing_preset_add(
|
|
99
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
100
|
-
execution_context: typing.Union[str, int] = None,
|
|
101
|
-
undo: bool = None,
|
|
99
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
100
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
101
|
+
undo: typing.Optional[bool] = None,
|
|
102
102
|
name: typing.Union[str, typing.Any] = "",
|
|
103
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
104
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
103
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
104
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
105
105
|
):
|
|
106
106
|
"""Add or remove an EEVEE ray-tracing preset
|
|
107
107
|
|
|
108
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
109
|
-
:type execution_context: typing.Union[str, int]
|
|
110
|
-
:type undo: bool
|
|
108
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
109
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
110
|
+
:type undo: typing.Optional[bool]
|
|
111
111
|
:param name: Name, Name of the preset, used to make the path name
|
|
112
112
|
:type name: typing.Union[str, typing.Any]
|
|
113
113
|
:param remove_name: remove_name
|
|
114
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
114
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
115
115
|
:param remove_active: remove_active
|
|
116
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
116
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
117
117
|
"""
|
|
118
118
|
|
|
119
119
|
...
|
|
120
120
|
|
|
121
121
|
def opengl(
|
|
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,
|
|
122
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
123
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
124
|
+
undo: typing.Optional[bool] = None,
|
|
125
|
+
animation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
126
|
+
render_keyed_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
127
|
+
sequencer: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
128
|
+
write_still: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
129
|
+
view_context: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
130
130
|
):
|
|
131
131
|
"""Take a snapshot of the active viewport
|
|
132
132
|
|
|
133
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
134
|
-
:type execution_context: typing.Union[str, int]
|
|
135
|
-
:type undo: bool
|
|
133
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
134
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
135
|
+
:type undo: typing.Optional[bool]
|
|
136
136
|
:param animation: Animation, Render files from the animation range of this scene
|
|
137
|
-
:type animation: typing.Union[bool, typing.Any]
|
|
137
|
+
:type animation: typing.Optional[typing.Union[bool, typing.Any]]
|
|
138
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
|
|
139
|
-
:type render_keyed_only: typing.Union[bool, typing.Any]
|
|
139
|
+
:type render_keyed_only: typing.Optional[typing.Union[bool, typing.Any]]
|
|
140
140
|
:param sequencer: Sequencer, Render using the sequencer's OpenGL display
|
|
141
|
-
:type sequencer: typing.Union[bool, typing.Any]
|
|
141
|
+
:type sequencer: typing.Optional[typing.Union[bool, typing.Any]]
|
|
142
142
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
143
|
-
:type write_still: typing.Union[bool, typing.Any]
|
|
143
|
+
:type write_still: typing.Optional[typing.Union[bool, typing.Any]]
|
|
144
144
|
:param view_context: View Context, Use the current 3D view for rendering, else use scene settings
|
|
145
|
-
:type view_context: typing.Union[bool, typing.Any]
|
|
145
|
+
:type view_context: typing.Optional[typing.Union[bool, typing.Any]]
|
|
146
146
|
"""
|
|
147
147
|
|
|
148
148
|
...
|
|
149
149
|
|
|
150
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,
|
|
151
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
152
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
153
|
+
undo: typing.Optional[bool] = None,
|
|
154
154
|
):
|
|
155
155
|
"""Play back rendered frames/movies using an external player
|
|
156
156
|
|
|
157
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
158
|
-
:type execution_context: typing.Union[str, int]
|
|
159
|
-
:type undo: bool
|
|
157
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
158
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
159
|
+
:type undo: typing.Optional[bool]
|
|
160
160
|
"""
|
|
161
161
|
|
|
162
162
|
...
|
|
163
163
|
|
|
164
164
|
def preset_add(
|
|
165
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
166
|
-
execution_context: typing.Union[str, int] = None,
|
|
167
|
-
undo: bool = None,
|
|
165
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
166
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
167
|
+
undo: typing.Optional[bool] = None,
|
|
168
168
|
name: typing.Union[str, typing.Any] = "",
|
|
169
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
170
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
169
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
170
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
171
171
|
):
|
|
172
172
|
"""Add or remove a Render Preset
|
|
173
173
|
|
|
174
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
175
|
-
:type execution_context: typing.Union[str, int]
|
|
176
|
-
:type undo: bool
|
|
174
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
175
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
176
|
+
:type undo: typing.Optional[bool]
|
|
177
177
|
:param name: Name, Name of the preset, used to make the path name
|
|
178
178
|
:type name: typing.Union[str, typing.Any]
|
|
179
179
|
:param remove_name: remove_name
|
|
180
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
180
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
181
181
|
:param remove_active: remove_active
|
|
182
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
182
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
183
183
|
"""
|
|
184
184
|
|
|
185
185
|
...
|
|
186
186
|
|
|
187
187
|
def render(
|
|
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,
|
|
188
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
189
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
190
|
+
undo: typing.Optional[bool] = None,
|
|
191
|
+
animation: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
192
|
+
write_still: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
193
|
+
use_viewport: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
194
194
|
layer: typing.Union[str, typing.Any] = "",
|
|
195
195
|
scene: typing.Union[str, typing.Any] = "",
|
|
196
196
|
):
|
|
197
197
|
"""Render active scene
|
|
198
198
|
|
|
199
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
200
|
-
:type execution_context: typing.Union[str, int]
|
|
201
|
-
:type undo: bool
|
|
199
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
200
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
201
|
+
:type undo: typing.Optional[bool]
|
|
202
202
|
:param animation: Animation, Render files from the animation range of this scene
|
|
203
|
-
:type animation: typing.Union[bool, typing.Any]
|
|
203
|
+
:type animation: typing.Optional[typing.Union[bool, typing.Any]]
|
|
204
204
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
205
|
-
:type write_still: typing.Union[bool, typing.Any]
|
|
205
|
+
:type write_still: typing.Optional[typing.Union[bool, typing.Any]]
|
|
206
206
|
:param use_viewport: Use 3D Viewport, When inside a 3D viewport, use layers and camera of the viewport
|
|
207
|
-
:type use_viewport: typing.Union[bool, typing.Any]
|
|
207
|
+
:type use_viewport: typing.Optional[typing.Union[bool, typing.Any]]
|
|
208
208
|
:param layer: Render Layer, Single render layer to re-render (used only when animation is disabled)
|
|
209
209
|
:type layer: typing.Union[str, typing.Any]
|
|
210
210
|
:param scene: Scene, Scene to render, current scene if not specified
|
|
@@ -214,46 +214,46 @@ def render(
|
|
|
214
214
|
...
|
|
215
215
|
|
|
216
216
|
def shutter_curve_preset(
|
|
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",
|
|
217
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
218
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
219
|
+
undo: typing.Optional[bool] = None,
|
|
220
|
+
shape: typing.Optional[typing.Any] = "SMOOTH",
|
|
221
221
|
):
|
|
222
222
|
"""Set shutter curve
|
|
223
223
|
|
|
224
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
225
|
-
:type execution_context: typing.Union[str, int]
|
|
226
|
-
:type undo: bool
|
|
224
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
225
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
226
|
+
:type undo: typing.Optional[bool]
|
|
227
227
|
:param shape: Mode
|
|
228
|
-
:type shape: typing.Any
|
|
228
|
+
:type shape: typing.Optional[typing.Any]
|
|
229
229
|
"""
|
|
230
230
|
|
|
231
231
|
...
|
|
232
232
|
|
|
233
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,
|
|
234
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
235
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
236
|
+
undo: typing.Optional[bool] = None,
|
|
237
237
|
):
|
|
238
238
|
"""Cancel show render view
|
|
239
239
|
|
|
240
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
241
|
-
:type execution_context: typing.Union[str, int]
|
|
242
|
-
:type undo: bool
|
|
240
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
241
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
242
|
+
:type undo: typing.Optional[bool]
|
|
243
243
|
"""
|
|
244
244
|
|
|
245
245
|
...
|
|
246
246
|
|
|
247
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,
|
|
248
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
249
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
250
|
+
undo: typing.Optional[bool] = None,
|
|
251
251
|
):
|
|
252
252
|
"""Toggle show render view
|
|
253
253
|
|
|
254
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
255
|
-
:type execution_context: typing.Union[str, int]
|
|
256
|
-
:type undo: bool
|
|
254
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
255
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
256
|
+
:type undo: typing.Optional[bool]
|
|
257
257
|
"""
|
|
258
258
|
|
|
259
259
|
...
|