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/scene/__init__.pyi
CHANGED
|
@@ -4,93 +4,93 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def delete(
|
|
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
|
"""Delete active scene
|
|
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 freestyle_add_edge_marks_to_keying_set(
|
|
21
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
22
|
-
execution_context: typing.Union[str, int] = None,
|
|
23
|
-
undo: bool = None,
|
|
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
24
|
):
|
|
25
25
|
"""Add the data paths to the Freestyle Edge Mark property of selected edges to the active keying set
|
|
26
26
|
|
|
27
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
28
|
-
:type execution_context: typing.Union[str, int]
|
|
29
|
-
:type undo: bool
|
|
27
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
28
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
29
|
+
:type undo: typing.Optional[bool]
|
|
30
30
|
"""
|
|
31
31
|
|
|
32
32
|
...
|
|
33
33
|
|
|
34
34
|
def freestyle_add_face_marks_to_keying_set(
|
|
35
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
36
|
-
execution_context: typing.Union[str, int] = None,
|
|
37
|
-
undo: bool = None,
|
|
35
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
36
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
37
|
+
undo: typing.Optional[bool] = None,
|
|
38
38
|
):
|
|
39
39
|
"""Add the data paths to the Freestyle Face Mark property of selected polygons to the active keying set
|
|
40
40
|
|
|
41
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
42
|
-
:type execution_context: typing.Union[str, int]
|
|
43
|
-
:type undo: bool
|
|
41
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
42
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
43
|
+
:type undo: typing.Optional[bool]
|
|
44
44
|
"""
|
|
45
45
|
|
|
46
46
|
...
|
|
47
47
|
|
|
48
48
|
def freestyle_alpha_modifier_add(
|
|
49
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
50
|
-
execution_context: typing.Union[str, int] = None,
|
|
51
|
-
undo: bool = None,
|
|
52
|
-
type: typing.Union[str, int] = "ALONG_STROKE",
|
|
49
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
50
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
51
|
+
undo: typing.Optional[bool] = None,
|
|
52
|
+
type: typing.Optional[typing.Union[str, int]] = "ALONG_STROKE",
|
|
53
53
|
):
|
|
54
54
|
"""Add an alpha transparency modifier to the line style associated with the active lineset
|
|
55
55
|
|
|
56
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
57
|
-
:type execution_context: typing.Union[str, int]
|
|
58
|
-
:type undo: bool
|
|
56
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
57
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
58
|
+
:type undo: typing.Optional[bool]
|
|
59
59
|
:param type: Type
|
|
60
|
-
:type type: typing.Union[str, int]
|
|
60
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
61
61
|
"""
|
|
62
62
|
|
|
63
63
|
...
|
|
64
64
|
|
|
65
65
|
def freestyle_color_modifier_add(
|
|
66
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
67
|
-
execution_context: typing.Union[str, int] = None,
|
|
68
|
-
undo: bool = None,
|
|
69
|
-
type: typing.Union[str, int] = "ALONG_STROKE",
|
|
66
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
67
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
68
|
+
undo: typing.Optional[bool] = None,
|
|
69
|
+
type: typing.Optional[typing.Union[str, int]] = "ALONG_STROKE",
|
|
70
70
|
):
|
|
71
71
|
"""Add a line color modifier to the line style associated with the active lineset
|
|
72
72
|
|
|
73
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
74
|
-
:type execution_context: typing.Union[str, int]
|
|
75
|
-
:type undo: bool
|
|
73
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
74
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
75
|
+
:type undo: typing.Optional[bool]
|
|
76
76
|
:param type: Type
|
|
77
|
-
:type type: typing.Union[str, int]
|
|
77
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
78
78
|
"""
|
|
79
79
|
|
|
80
80
|
...
|
|
81
81
|
|
|
82
82
|
def freestyle_fill_range_by_selection(
|
|
83
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
84
|
-
execution_context: typing.Union[str, int] = None,
|
|
85
|
-
undo: bool = None,
|
|
86
|
-
type: typing.Any = "COLOR",
|
|
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
|
+
type: typing.Optional[typing.Any] = "COLOR",
|
|
87
87
|
name: typing.Union[str, typing.Any] = "",
|
|
88
88
|
):
|
|
89
89
|
"""Fill the Range Min/Max entries by the min/max distance between selected mesh objects and the source object (either a user-specified object or the active camera)
|
|
90
90
|
|
|
91
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
92
|
-
:type execution_context: typing.Union[str, int]
|
|
93
|
-
:type undo: bool
|
|
91
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
92
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
93
|
+
:type undo: typing.Optional[bool]
|
|
94
94
|
:param type: Type, Type of the modifier to work on
|
|
95
95
|
|
|
96
96
|
COLOR
|
|
@@ -101,7 +101,7 @@ def freestyle_fill_range_by_selection(
|
|
|
101
101
|
|
|
102
102
|
THICKNESS
|
|
103
103
|
Thickness -- Thickness modifier type.
|
|
104
|
-
:type type: typing.Any
|
|
104
|
+
:type type: typing.Optional[typing.Any]
|
|
105
105
|
:param name: Name, Name of the modifier to work on
|
|
106
106
|
:type name: typing.Union[str, typing.Any]
|
|
107
107
|
"""
|
|
@@ -109,324 +109,324 @@ def freestyle_fill_range_by_selection(
|
|
|
109
109
|
...
|
|
110
110
|
|
|
111
111
|
def freestyle_geometry_modifier_add(
|
|
112
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
113
|
-
execution_context: typing.Union[str, int] = None,
|
|
114
|
-
undo: bool = None,
|
|
115
|
-
type: typing.Union[str, int] = "2D_OFFSET",
|
|
112
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
113
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
114
|
+
undo: typing.Optional[bool] = None,
|
|
115
|
+
type: typing.Optional[typing.Union[str, int]] = "2D_OFFSET",
|
|
116
116
|
):
|
|
117
117
|
"""Add a stroke geometry modifier to the line style associated with the active lineset
|
|
118
118
|
|
|
119
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
120
|
-
:type execution_context: typing.Union[str, int]
|
|
121
|
-
:type undo: bool
|
|
119
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
120
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
121
|
+
:type undo: typing.Optional[bool]
|
|
122
122
|
:param type: Type
|
|
123
|
-
:type type: typing.Union[str, int]
|
|
123
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
124
124
|
"""
|
|
125
125
|
|
|
126
126
|
...
|
|
127
127
|
|
|
128
128
|
def freestyle_lineset_add(
|
|
129
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
130
|
-
execution_context: typing.Union[str, int] = None,
|
|
131
|
-
undo: bool = None,
|
|
129
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
130
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
131
|
+
undo: typing.Optional[bool] = None,
|
|
132
132
|
):
|
|
133
133
|
"""Add a line set into the list of line sets
|
|
134
134
|
|
|
135
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
136
|
-
:type execution_context: typing.Union[str, int]
|
|
137
|
-
:type undo: bool
|
|
135
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
136
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
137
|
+
:type undo: typing.Optional[bool]
|
|
138
138
|
"""
|
|
139
139
|
|
|
140
140
|
...
|
|
141
141
|
|
|
142
142
|
def freestyle_lineset_copy(
|
|
143
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
144
|
-
execution_context: typing.Union[str, int] = None,
|
|
145
|
-
undo: bool = None,
|
|
143
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
144
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
145
|
+
undo: typing.Optional[bool] = None,
|
|
146
146
|
):
|
|
147
147
|
"""Copy the active line set to the internal clipboard
|
|
148
148
|
|
|
149
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
150
|
-
:type execution_context: typing.Union[str, int]
|
|
151
|
-
:type undo: bool
|
|
149
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
150
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
151
|
+
:type undo: typing.Optional[bool]
|
|
152
152
|
"""
|
|
153
153
|
|
|
154
154
|
...
|
|
155
155
|
|
|
156
156
|
def freestyle_lineset_move(
|
|
157
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
158
|
-
execution_context: typing.Union[str, int] = None,
|
|
159
|
-
undo: bool = None,
|
|
160
|
-
direction: typing.Any = "UP",
|
|
157
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
158
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
159
|
+
undo: typing.Optional[bool] = None,
|
|
160
|
+
direction: typing.Optional[typing.Any] = "UP",
|
|
161
161
|
):
|
|
162
162
|
"""Change the position of the active line set within the list of line sets
|
|
163
163
|
|
|
164
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
165
|
-
:type execution_context: typing.Union[str, int]
|
|
166
|
-
:type undo: bool
|
|
164
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
165
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
166
|
+
:type undo: typing.Optional[bool]
|
|
167
167
|
:param direction: Direction, Direction to move the active line set towards
|
|
168
|
-
:type direction: typing.Any
|
|
168
|
+
:type direction: typing.Optional[typing.Any]
|
|
169
169
|
"""
|
|
170
170
|
|
|
171
171
|
...
|
|
172
172
|
|
|
173
173
|
def freestyle_lineset_paste(
|
|
174
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
175
|
-
execution_context: typing.Union[str, int] = None,
|
|
176
|
-
undo: bool = None,
|
|
174
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
175
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
176
|
+
undo: typing.Optional[bool] = None,
|
|
177
177
|
):
|
|
178
178
|
"""Paste the internal clipboard content to the active line set
|
|
179
179
|
|
|
180
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
181
|
-
:type execution_context: typing.Union[str, int]
|
|
182
|
-
:type undo: bool
|
|
180
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
181
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
182
|
+
:type undo: typing.Optional[bool]
|
|
183
183
|
"""
|
|
184
184
|
|
|
185
185
|
...
|
|
186
186
|
|
|
187
187
|
def freestyle_lineset_remove(
|
|
188
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
189
|
-
execution_context: typing.Union[str, int] = None,
|
|
190
|
-
undo: bool = None,
|
|
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
191
|
):
|
|
192
192
|
"""Remove the active line set from the list of line sets
|
|
193
193
|
|
|
194
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
195
|
-
:type execution_context: typing.Union[str, int]
|
|
196
|
-
:type undo: bool
|
|
194
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
195
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
196
|
+
:type undo: typing.Optional[bool]
|
|
197
197
|
"""
|
|
198
198
|
|
|
199
199
|
...
|
|
200
200
|
|
|
201
201
|
def freestyle_linestyle_new(
|
|
202
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
203
|
-
execution_context: typing.Union[str, int] = None,
|
|
204
|
-
undo: bool = None,
|
|
202
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
203
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
204
|
+
undo: typing.Optional[bool] = None,
|
|
205
205
|
):
|
|
206
206
|
"""Create a new line style, reusable by multiple line sets
|
|
207
207
|
|
|
208
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
209
|
-
:type execution_context: typing.Union[str, int]
|
|
210
|
-
:type undo: bool
|
|
208
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
209
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
210
|
+
:type undo: typing.Optional[bool]
|
|
211
211
|
"""
|
|
212
212
|
|
|
213
213
|
...
|
|
214
214
|
|
|
215
215
|
def freestyle_modifier_copy(
|
|
216
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
217
|
-
execution_context: typing.Union[str, int] = None,
|
|
218
|
-
undo: bool = None,
|
|
216
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
217
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
218
|
+
undo: typing.Optional[bool] = None,
|
|
219
219
|
):
|
|
220
220
|
"""Duplicate the modifier within the list of modifiers
|
|
221
221
|
|
|
222
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
223
|
-
:type execution_context: typing.Union[str, int]
|
|
224
|
-
:type undo: bool
|
|
222
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
223
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
224
|
+
:type undo: typing.Optional[bool]
|
|
225
225
|
"""
|
|
226
226
|
|
|
227
227
|
...
|
|
228
228
|
|
|
229
229
|
def freestyle_modifier_move(
|
|
230
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
231
|
-
execution_context: typing.Union[str, int] = None,
|
|
232
|
-
undo: bool = None,
|
|
233
|
-
direction: typing.Any = "UP",
|
|
230
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
231
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
232
|
+
undo: typing.Optional[bool] = None,
|
|
233
|
+
direction: typing.Optional[typing.Any] = "UP",
|
|
234
234
|
):
|
|
235
235
|
"""Move the modifier within the list of modifiers
|
|
236
236
|
|
|
237
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
238
|
-
:type execution_context: typing.Union[str, int]
|
|
239
|
-
:type undo: bool
|
|
237
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
238
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
239
|
+
:type undo: typing.Optional[bool]
|
|
240
240
|
:param direction: Direction, Direction to move the chosen modifier towards
|
|
241
|
-
:type direction: typing.Any
|
|
241
|
+
:type direction: typing.Optional[typing.Any]
|
|
242
242
|
"""
|
|
243
243
|
|
|
244
244
|
...
|
|
245
245
|
|
|
246
246
|
def freestyle_modifier_remove(
|
|
247
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
248
|
-
execution_context: typing.Union[str, int] = None,
|
|
249
|
-
undo: bool = None,
|
|
247
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
248
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
249
|
+
undo: typing.Optional[bool] = None,
|
|
250
250
|
):
|
|
251
251
|
"""Remove the modifier from the list of modifiers
|
|
252
252
|
|
|
253
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
254
|
-
:type execution_context: typing.Union[str, int]
|
|
255
|
-
:type undo: bool
|
|
253
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
254
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
255
|
+
:type undo: typing.Optional[bool]
|
|
256
256
|
"""
|
|
257
257
|
|
|
258
258
|
...
|
|
259
259
|
|
|
260
260
|
def freestyle_module_add(
|
|
261
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
-
execution_context: typing.Union[str, int] = None,
|
|
263
|
-
undo: bool = None,
|
|
261
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
262
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
263
|
+
undo: typing.Optional[bool] = None,
|
|
264
264
|
):
|
|
265
265
|
"""Add a style module into the list of modules
|
|
266
266
|
|
|
267
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
268
|
-
:type execution_context: typing.Union[str, int]
|
|
269
|
-
:type undo: bool
|
|
267
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
268
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
269
|
+
:type undo: typing.Optional[bool]
|
|
270
270
|
"""
|
|
271
271
|
|
|
272
272
|
...
|
|
273
273
|
|
|
274
274
|
def freestyle_module_move(
|
|
275
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
-
execution_context: typing.Union[str, int] = None,
|
|
277
|
-
undo: bool = None,
|
|
278
|
-
direction: typing.Any = "UP",
|
|
275
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
276
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
277
|
+
undo: typing.Optional[bool] = None,
|
|
278
|
+
direction: typing.Optional[typing.Any] = "UP",
|
|
279
279
|
):
|
|
280
280
|
"""Change the position of the style module within in the list of style modules
|
|
281
281
|
|
|
282
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
283
|
-
:type execution_context: typing.Union[str, int]
|
|
284
|
-
:type undo: bool
|
|
282
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
283
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
284
|
+
:type undo: typing.Optional[bool]
|
|
285
285
|
:param direction: Direction, Direction to move the chosen style module towards
|
|
286
|
-
:type direction: typing.Any
|
|
286
|
+
:type direction: typing.Optional[typing.Any]
|
|
287
287
|
"""
|
|
288
288
|
|
|
289
289
|
...
|
|
290
290
|
|
|
291
291
|
def freestyle_module_open(
|
|
292
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
293
|
-
execution_context: typing.Union[str, int] = None,
|
|
294
|
-
undo: bool = None,
|
|
292
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
293
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
294
|
+
undo: typing.Optional[bool] = None,
|
|
295
295
|
filepath: typing.Union[str, typing.Any] = "",
|
|
296
|
-
make_internal: typing.Union[bool, typing.Any] = True,
|
|
296
|
+
make_internal: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
297
297
|
):
|
|
298
298
|
"""Open a style module file
|
|
299
299
|
|
|
300
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
301
|
-
:type execution_context: typing.Union[str, int]
|
|
302
|
-
:type undo: bool
|
|
300
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
301
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
302
|
+
:type undo: typing.Optional[bool]
|
|
303
303
|
:param filepath: filepath
|
|
304
304
|
:type filepath: typing.Union[str, typing.Any]
|
|
305
305
|
:param make_internal: Make internal, Make module file internal after loading
|
|
306
|
-
:type make_internal: typing.Union[bool, typing.Any]
|
|
306
|
+
:type make_internal: typing.Optional[typing.Union[bool, typing.Any]]
|
|
307
307
|
"""
|
|
308
308
|
|
|
309
309
|
...
|
|
310
310
|
|
|
311
311
|
def freestyle_module_remove(
|
|
312
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
-
execution_context: typing.Union[str, int] = None,
|
|
314
|
-
undo: bool = None,
|
|
312
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
313
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
314
|
+
undo: typing.Optional[bool] = None,
|
|
315
315
|
):
|
|
316
316
|
"""Remove the style module from the stack
|
|
317
317
|
|
|
318
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
319
|
-
:type execution_context: typing.Union[str, int]
|
|
320
|
-
:type undo: bool
|
|
318
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
319
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
320
|
+
:type undo: typing.Optional[bool]
|
|
321
321
|
"""
|
|
322
322
|
|
|
323
323
|
...
|
|
324
324
|
|
|
325
325
|
def freestyle_stroke_material_create(
|
|
326
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
327
|
-
execution_context: typing.Union[str, int] = None,
|
|
328
|
-
undo: bool = None,
|
|
326
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
327
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
328
|
+
undo: typing.Optional[bool] = None,
|
|
329
329
|
):
|
|
330
330
|
"""Create Freestyle stroke material for testing
|
|
331
331
|
|
|
332
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
333
|
-
:type execution_context: typing.Union[str, int]
|
|
334
|
-
:type undo: bool
|
|
332
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
333
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
334
|
+
:type undo: typing.Optional[bool]
|
|
335
335
|
"""
|
|
336
336
|
|
|
337
337
|
...
|
|
338
338
|
|
|
339
339
|
def freestyle_thickness_modifier_add(
|
|
340
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
341
|
-
execution_context: typing.Union[str, int] = None,
|
|
342
|
-
undo: bool = None,
|
|
343
|
-
type: typing.Union[str, int] = "ALONG_STROKE",
|
|
340
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
341
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
342
|
+
undo: typing.Optional[bool] = None,
|
|
343
|
+
type: typing.Optional[typing.Union[str, int]] = "ALONG_STROKE",
|
|
344
344
|
):
|
|
345
345
|
"""Add a line thickness modifier to the line style associated with the active lineset
|
|
346
346
|
|
|
347
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
348
|
-
:type execution_context: typing.Union[str, int]
|
|
349
|
-
:type undo: bool
|
|
347
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
348
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
349
|
+
:type undo: typing.Optional[bool]
|
|
350
350
|
:param type: Type
|
|
351
|
-
:type type: typing.Union[str, int]
|
|
351
|
+
:type type: typing.Optional[typing.Union[str, int]]
|
|
352
352
|
"""
|
|
353
353
|
|
|
354
354
|
...
|
|
355
355
|
|
|
356
356
|
def gltf2_action_filter_refresh(
|
|
357
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
358
|
-
execution_context: typing.Union[str, int] = None,
|
|
359
|
-
undo: bool = None,
|
|
357
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
358
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
359
|
+
undo: typing.Optional[bool] = None,
|
|
360
360
|
):
|
|
361
361
|
"""Refresh list of actions
|
|
362
362
|
|
|
363
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
364
|
-
:type execution_context: typing.Union[str, int]
|
|
365
|
-
:type undo: bool
|
|
363
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
364
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
365
|
+
:type undo: typing.Optional[bool]
|
|
366
366
|
"""
|
|
367
367
|
|
|
368
368
|
...
|
|
369
369
|
|
|
370
370
|
def gpencil_brush_preset_add(
|
|
371
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
372
|
-
execution_context: typing.Union[str, int] = None,
|
|
373
|
-
undo: bool = None,
|
|
371
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
372
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
373
|
+
undo: typing.Optional[bool] = None,
|
|
374
374
|
name: typing.Union[str, typing.Any] = "",
|
|
375
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
376
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
375
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
376
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
377
377
|
):
|
|
378
378
|
"""Add or remove grease pencil brush preset
|
|
379
379
|
|
|
380
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
381
|
-
:type execution_context: typing.Union[str, int]
|
|
382
|
-
:type undo: bool
|
|
380
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
381
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
382
|
+
:type undo: typing.Optional[bool]
|
|
383
383
|
:param name: Name, Name of the preset, used to make the path name
|
|
384
384
|
:type name: typing.Union[str, typing.Any]
|
|
385
385
|
:param remove_name: remove_name
|
|
386
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
386
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
387
387
|
:param remove_active: remove_active
|
|
388
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
388
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
389
389
|
"""
|
|
390
390
|
|
|
391
391
|
...
|
|
392
392
|
|
|
393
393
|
def gpencil_material_preset_add(
|
|
394
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
-
execution_context: typing.Union[str, int] = None,
|
|
396
|
-
undo: bool = None,
|
|
394
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
395
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
396
|
+
undo: typing.Optional[bool] = None,
|
|
397
397
|
name: typing.Union[str, typing.Any] = "",
|
|
398
|
-
remove_name: typing.Union[bool, typing.Any] = False,
|
|
399
|
-
remove_active: typing.Union[bool, typing.Any] = False,
|
|
398
|
+
remove_name: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
399
|
+
remove_active: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
400
400
|
):
|
|
401
401
|
"""Add or remove grease pencil material preset
|
|
402
402
|
|
|
403
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
404
|
-
:type execution_context: typing.Union[str, int]
|
|
405
|
-
:type undo: bool
|
|
403
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
404
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
405
|
+
:type undo: typing.Optional[bool]
|
|
406
406
|
:param name: Name, Name of the preset, used to make the path name
|
|
407
407
|
:type name: typing.Union[str, typing.Any]
|
|
408
408
|
:param remove_name: remove_name
|
|
409
|
-
:type remove_name: typing.Union[bool, typing.Any]
|
|
409
|
+
:type remove_name: typing.Optional[typing.Union[bool, typing.Any]]
|
|
410
410
|
:param remove_active: remove_active
|
|
411
|
-
:type remove_active: typing.Union[bool, typing.Any]
|
|
411
|
+
:type remove_active: typing.Optional[typing.Union[bool, typing.Any]]
|
|
412
412
|
"""
|
|
413
413
|
|
|
414
414
|
...
|
|
415
415
|
|
|
416
416
|
def light_cache_bake(
|
|
417
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
418
|
-
execution_context: typing.Union[str, int] = None,
|
|
419
|
-
undo: bool = None,
|
|
420
|
-
delay: typing.Any = 0,
|
|
421
|
-
subset: typing.Any = "ALL",
|
|
417
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
418
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
419
|
+
undo: typing.Optional[bool] = None,
|
|
420
|
+
delay: typing.Optional[typing.Any] = 0,
|
|
421
|
+
subset: typing.Optional[typing.Any] = "ALL",
|
|
422
422
|
):
|
|
423
423
|
"""Bake the active view layer lighting
|
|
424
424
|
|
|
425
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
426
|
-
:type execution_context: typing.Union[str, int]
|
|
427
|
-
:type undo: bool
|
|
425
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
426
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
427
|
+
:type undo: typing.Optional[bool]
|
|
428
428
|
:param delay: Delay, Delay in millisecond before baking starts
|
|
429
|
-
:type delay: typing.Any
|
|
429
|
+
:type delay: typing.Optional[typing.Any]
|
|
430
430
|
:param subset: Subset, Subset of probes to update
|
|
431
431
|
|
|
432
432
|
ALL
|
|
@@ -437,36 +437,36 @@ def light_cache_bake(
|
|
|
437
437
|
|
|
438
438
|
CUBEMAPS
|
|
439
439
|
Cubemaps Only -- Try to only bake reflection cubemaps if irradiance grids are up to date.
|
|
440
|
-
:type subset: typing.Any
|
|
440
|
+
:type subset: typing.Optional[typing.Any]
|
|
441
441
|
"""
|
|
442
442
|
|
|
443
443
|
...
|
|
444
444
|
|
|
445
445
|
def light_cache_free(
|
|
446
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
447
|
-
execution_context: typing.Union[str, int] = None,
|
|
448
|
-
undo: bool = None,
|
|
446
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
447
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
448
|
+
undo: typing.Optional[bool] = None,
|
|
449
449
|
):
|
|
450
450
|
"""Delete cached indirect lighting
|
|
451
451
|
|
|
452
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
453
|
-
:type execution_context: typing.Union[str, int]
|
|
454
|
-
:type undo: bool
|
|
452
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
453
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
454
|
+
:type undo: typing.Optional[bool]
|
|
455
455
|
"""
|
|
456
456
|
|
|
457
457
|
...
|
|
458
458
|
|
|
459
459
|
def new(
|
|
460
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
461
|
-
execution_context: typing.Union[str, int] = None,
|
|
462
|
-
undo: bool = None,
|
|
463
|
-
type: typing.Any = "NEW",
|
|
460
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
461
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
462
|
+
undo: typing.Optional[bool] = None,
|
|
463
|
+
type: typing.Optional[typing.Any] = "NEW",
|
|
464
464
|
):
|
|
465
465
|
"""Add new scene by type
|
|
466
466
|
|
|
467
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
468
|
-
:type execution_context: typing.Union[str, int]
|
|
469
|
-
:type undo: bool
|
|
467
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
468
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
469
|
+
:type undo: typing.Optional[bool]
|
|
470
470
|
:param type: Type
|
|
471
471
|
|
|
472
472
|
NEW
|
|
@@ -480,22 +480,22 @@ def new(
|
|
|
480
480
|
|
|
481
481
|
FULL_COPY
|
|
482
482
|
Full Copy -- Make a full copy of the current scene.
|
|
483
|
-
:type type: typing.Any
|
|
483
|
+
:type type: typing.Optional[typing.Any]
|
|
484
484
|
"""
|
|
485
485
|
|
|
486
486
|
...
|
|
487
487
|
|
|
488
488
|
def new_sequencer(
|
|
489
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
490
|
-
execution_context: typing.Union[str, int] = None,
|
|
491
|
-
undo: bool = None,
|
|
492
|
-
type: typing.Any = "NEW",
|
|
489
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
490
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
491
|
+
undo: typing.Optional[bool] = None,
|
|
492
|
+
type: typing.Optional[typing.Any] = "NEW",
|
|
493
493
|
):
|
|
494
494
|
"""Add new scene by type in the sequence editor and assign to active strip
|
|
495
495
|
|
|
496
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
497
|
-
:type execution_context: typing.Union[str, int]
|
|
498
|
-
:type undo: bool
|
|
496
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
497
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
498
|
+
:type undo: typing.Optional[bool]
|
|
499
499
|
:param type: Type
|
|
500
500
|
|
|
501
501
|
NEW
|
|
@@ -509,50 +509,50 @@ def new_sequencer(
|
|
|
509
509
|
|
|
510
510
|
FULL_COPY
|
|
511
511
|
Full Copy -- Make a full copy of the current scene.
|
|
512
|
-
:type type: typing.Any
|
|
512
|
+
:type type: typing.Optional[typing.Any]
|
|
513
513
|
"""
|
|
514
514
|
|
|
515
515
|
...
|
|
516
516
|
|
|
517
517
|
def render_view_add(
|
|
518
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
519
|
-
execution_context: typing.Union[str, int] = None,
|
|
520
|
-
undo: bool = None,
|
|
518
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
519
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
520
|
+
undo: typing.Optional[bool] = None,
|
|
521
521
|
):
|
|
522
522
|
"""Add a render view
|
|
523
523
|
|
|
524
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
525
|
-
:type execution_context: typing.Union[str, int]
|
|
526
|
-
:type undo: bool
|
|
524
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
525
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
526
|
+
:type undo: typing.Optional[bool]
|
|
527
527
|
"""
|
|
528
528
|
|
|
529
529
|
...
|
|
530
530
|
|
|
531
531
|
def render_view_remove(
|
|
532
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
533
|
-
execution_context: typing.Union[str, int] = None,
|
|
534
|
-
undo: bool = None,
|
|
532
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
533
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
534
|
+
undo: typing.Optional[bool] = None,
|
|
535
535
|
):
|
|
536
536
|
"""Remove the selected render view
|
|
537
537
|
|
|
538
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
539
|
-
:type execution_context: typing.Union[str, int]
|
|
540
|
-
:type undo: bool
|
|
538
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
539
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
540
|
+
:type undo: typing.Optional[bool]
|
|
541
541
|
"""
|
|
542
542
|
|
|
543
543
|
...
|
|
544
544
|
|
|
545
545
|
def view_layer_add(
|
|
546
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
547
|
-
execution_context: typing.Union[str, int] = None,
|
|
548
|
-
undo: bool = None,
|
|
549
|
-
type: typing.Any = "NEW",
|
|
546
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
547
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
548
|
+
undo: typing.Optional[bool] = None,
|
|
549
|
+
type: typing.Optional[typing.Any] = "NEW",
|
|
550
550
|
):
|
|
551
551
|
"""Add a view layer
|
|
552
552
|
|
|
553
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
554
|
-
:type execution_context: typing.Union[str, int]
|
|
555
|
-
:type undo: bool
|
|
553
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
554
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
555
|
+
:type undo: typing.Optional[bool]
|
|
556
556
|
:param type: Type
|
|
557
557
|
|
|
558
558
|
NEW
|
|
@@ -563,36 +563,36 @@ def view_layer_add(
|
|
|
563
563
|
|
|
564
564
|
EMPTY
|
|
565
565
|
Blank -- Add a new view layer with all collections disabled.
|
|
566
|
-
:type type: typing.Any
|
|
566
|
+
:type type: typing.Optional[typing.Any]
|
|
567
567
|
"""
|
|
568
568
|
|
|
569
569
|
...
|
|
570
570
|
|
|
571
571
|
def view_layer_add_aov(
|
|
572
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
573
|
-
execution_context: typing.Union[str, int] = None,
|
|
574
|
-
undo: bool = None,
|
|
572
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
573
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
574
|
+
undo: typing.Optional[bool] = None,
|
|
575
575
|
):
|
|
576
576
|
"""Add a Shader AOV
|
|
577
577
|
|
|
578
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
579
|
-
:type execution_context: typing.Union[str, int]
|
|
580
|
-
:type undo: bool
|
|
578
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
579
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
580
|
+
:type undo: typing.Optional[bool]
|
|
581
581
|
"""
|
|
582
582
|
|
|
583
583
|
...
|
|
584
584
|
|
|
585
585
|
def view_layer_add_lightgroup(
|
|
586
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
587
|
-
execution_context: typing.Union[str, int] = None,
|
|
588
|
-
undo: bool = None,
|
|
586
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
587
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
588
|
+
undo: typing.Optional[bool] = None,
|
|
589
589
|
name: typing.Union[str, typing.Any] = "",
|
|
590
590
|
):
|
|
591
591
|
"""Add a Light Group
|
|
592
592
|
|
|
593
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
594
|
-
:type execution_context: typing.Union[str, int]
|
|
595
|
-
:type undo: bool
|
|
593
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
594
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
595
|
+
:type undo: typing.Optional[bool]
|
|
596
596
|
:param name: Name, Name of newly created lightgroup
|
|
597
597
|
:type name: typing.Union[str, typing.Any]
|
|
598
598
|
"""
|
|
@@ -600,71 +600,71 @@ def view_layer_add_lightgroup(
|
|
|
600
600
|
...
|
|
601
601
|
|
|
602
602
|
def view_layer_add_used_lightgroups(
|
|
603
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
604
|
-
execution_context: typing.Union[str, int] = None,
|
|
605
|
-
undo: bool = None,
|
|
603
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
604
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
605
|
+
undo: typing.Optional[bool] = None,
|
|
606
606
|
):
|
|
607
607
|
"""Add all used Light Groups
|
|
608
608
|
|
|
609
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
610
|
-
:type execution_context: typing.Union[str, int]
|
|
611
|
-
:type undo: bool
|
|
609
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
610
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
611
|
+
:type undo: typing.Optional[bool]
|
|
612
612
|
"""
|
|
613
613
|
|
|
614
614
|
...
|
|
615
615
|
|
|
616
616
|
def view_layer_remove(
|
|
617
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
618
|
-
execution_context: typing.Union[str, int] = None,
|
|
619
|
-
undo: bool = None,
|
|
617
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
618
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
619
|
+
undo: typing.Optional[bool] = None,
|
|
620
620
|
):
|
|
621
621
|
"""Remove the selected view layer
|
|
622
622
|
|
|
623
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
624
|
-
:type execution_context: typing.Union[str, int]
|
|
625
|
-
:type undo: bool
|
|
623
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
624
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
625
|
+
:type undo: typing.Optional[bool]
|
|
626
626
|
"""
|
|
627
627
|
|
|
628
628
|
...
|
|
629
629
|
|
|
630
630
|
def view_layer_remove_aov(
|
|
631
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
632
|
-
execution_context: typing.Union[str, int] = None,
|
|
633
|
-
undo: bool = None,
|
|
631
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
632
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
633
|
+
undo: typing.Optional[bool] = None,
|
|
634
634
|
):
|
|
635
635
|
"""Remove Active AOV
|
|
636
636
|
|
|
637
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
638
|
-
:type execution_context: typing.Union[str, int]
|
|
639
|
-
:type undo: bool
|
|
637
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
638
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
639
|
+
:type undo: typing.Optional[bool]
|
|
640
640
|
"""
|
|
641
641
|
|
|
642
642
|
...
|
|
643
643
|
|
|
644
644
|
def view_layer_remove_lightgroup(
|
|
645
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
646
|
-
execution_context: typing.Union[str, int] = None,
|
|
647
|
-
undo: bool = None,
|
|
645
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
646
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
647
|
+
undo: typing.Optional[bool] = None,
|
|
648
648
|
):
|
|
649
649
|
"""Remove Active Lightgroup
|
|
650
650
|
|
|
651
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
652
|
-
:type execution_context: typing.Union[str, int]
|
|
653
|
-
:type undo: bool
|
|
651
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
652
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
653
|
+
:type undo: typing.Optional[bool]
|
|
654
654
|
"""
|
|
655
655
|
|
|
656
656
|
...
|
|
657
657
|
|
|
658
658
|
def view_layer_remove_unused_lightgroups(
|
|
659
|
-
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
660
|
-
execution_context: typing.Union[str, int] = None,
|
|
661
|
-
undo: bool = None,
|
|
659
|
+
override_context: typing.Optional[typing.Union[dict, bpy.types.Context]] = None,
|
|
660
|
+
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
661
|
+
undo: typing.Optional[bool] = None,
|
|
662
662
|
):
|
|
663
663
|
"""Remove all unused Light Groups
|
|
664
664
|
|
|
665
|
-
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
666
|
-
:type execution_context: typing.Union[str, int]
|
|
667
|
-
:type undo: bool
|
|
665
|
+
:type override_context: typing.Optional[typing.Union[dict, bpy.types.Context]]
|
|
666
|
+
:type execution_context: typing.Optional[typing.Union[str, int]]
|
|
667
|
+
:type undo: typing.Optional[bool]
|
|
668
668
|
"""
|
|
669
669
|
|
|
670
670
|
...
|