fake-bpy-module 20240619__py3-none-any.whl → 20240621__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.
- bl_ui/space_userpref/__init__.pyi +225 -0
- bpy/ops/action/__init__.pyi +50 -50
- bpy/ops/anim/__init__.pyi +94 -94
- bpy/ops/armature/__init__.pyi +54 -54
- bpy/ops/asset/__init__.pyi +50 -50
- bpy/ops/brush/__init__.pyi +10 -10
- bpy/ops/buttons/__init__.pyi +88 -88
- bpy/ops/cachefile/__init__.pyi +88 -88
- bpy/ops/camera/__init__.pyi +14 -14
- bpy/ops/clip/__init__.pyi +175 -174
- bpy/ops/cloth/__init__.pyi +6 -6
- bpy/ops/collection/__init__.pyi +8 -8
- bpy/ops/console/__init__.pyi +26 -26
- bpy/ops/constraint/__init__.pyi +42 -42
- bpy/ops/curve/__init__.pyi +167 -122
- bpy/ops/curves/__init__.pyi +75 -58
- bpy/ops/cycles/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +50 -50
- bpy/ops/export_anim/__init__.pyi +14 -14
- bpy/ops/export_scene/__init__.pyi +250 -250
- bpy/ops/extensions/__init__.pyi +73 -73
- bpy/ops/file/__init__.pyi +94 -94
- bpy/ops/fluid/__init__.pyi +6 -6
- bpy/ops/font/__init__.pyi +100 -100
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +10 -10
- bpy/ops/gpencil/__init__.pyi +411 -410
- bpy/ops/graph/__init__.pyi +194 -194
- bpy/ops/grease_pencil/__init__.pyi +100 -100
- bpy/ops/image/__init__.pyi +399 -390
- bpy/ops/import_anim/__init__.pyi +16 -16
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +56 -56
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +10 -10
- bpy/ops/marker/__init__.pyi +34 -34
- bpy/ops/mask/__init__.pyi +63 -62
- bpy/ops/mball/__init__.pyi +12 -12
- bpy/ops/mesh/__init__.pyi +901 -798
- bpy/ops/nla/__init__.pyi +70 -70
- bpy/ops/node/__init__.pyi +192 -192
- bpy/ops/object/__init__.pyi +1017 -844
- bpy/ops/outliner/__init__.pyi +44 -44
- bpy/ops/paint/__init__.pyi +169 -168
- bpy/ops/paintcurve/__init__.pyi +12 -12
- bpy/ops/palette/__init__.pyi +4 -4
- bpy/ops/particle/__init__.pyi +34 -34
- bpy/ops/pose/__init__.pyi +60 -60
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +150 -150
- bpy/ops/ptcache/__init__.pyi +4 -4
- bpy/ops/render/__init__.pyi +56 -56
- bpy/ops/rigidbody/__init__.pyi +8 -8
- bpy/ops/scene/__init__.pyi +20 -20
- bpy/ops/screen/__init__.pyi +128 -128
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +207 -202
- bpy/ops/sculpt_curves/__init__.pyi +12 -12
- bpy/ops/sequencer/__init__.pyi +465 -464
- bpy/ops/sound/__init__.pyi +154 -154
- bpy/ops/spreadsheet/__init__.pyi +6 -6
- bpy/ops/surface/__init__.pyi +109 -60
- bpy/ops/text/__init__.pyi +110 -110
- bpy/ops/text_editor/__init__.pyi +6 -6
- bpy/ops/transform/__init__.pyi +642 -580
- bpy/ops/ui/__init__.pyi +25 -24
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +235 -234
- bpy/ops/view2d/__init__.pyi +72 -72
- bpy/ops/view3d/__init__.pyi +144 -144
- bpy/ops/wm/__init__.pyi +1814 -1804
- bpy/ops/workspace/__init__.pyi +4 -4
- bpy/types/__init__.pyi +30115 -30082
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/RECORD +78 -78
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- {fake_bpy_module-20240619.dist-info → fake_bpy_module-20240621.dist-info}/top_level.txt +0 -0
bpy/ops/ptcache/__init__.pyi
CHANGED
|
@@ -24,7 +24,7 @@ def bake(
|
|
|
24
24
|
execution_context: int | str | None = None,
|
|
25
25
|
undo: bool | None = None,
|
|
26
26
|
*,
|
|
27
|
-
bake: bool |
|
|
27
|
+
bake: bool | None = False,
|
|
28
28
|
):
|
|
29
29
|
"""Bake physics
|
|
30
30
|
|
|
@@ -32,7 +32,7 @@ def bake(
|
|
|
32
32
|
:type execution_context: int | str | None
|
|
33
33
|
:type undo: bool | None
|
|
34
34
|
:param bake: Bake
|
|
35
|
-
:type bake: bool |
|
|
35
|
+
:type bake: bool | None
|
|
36
36
|
"""
|
|
37
37
|
|
|
38
38
|
...
|
|
@@ -42,7 +42,7 @@ def bake_all(
|
|
|
42
42
|
execution_context: int | str | None = None,
|
|
43
43
|
undo: bool | None = None,
|
|
44
44
|
*,
|
|
45
|
-
bake: bool |
|
|
45
|
+
bake: bool | None = True,
|
|
46
46
|
):
|
|
47
47
|
"""Bake all physics
|
|
48
48
|
|
|
@@ -50,7 +50,7 @@ def bake_all(
|
|
|
50
50
|
:type execution_context: int | str | None
|
|
51
51
|
:type undo: bool | None
|
|
52
52
|
:param bake: Bake
|
|
53
|
-
:type bake: bool |
|
|
53
|
+
:type bake: bool | None
|
|
54
54
|
"""
|
|
55
55
|
|
|
56
56
|
...
|
bpy/ops/render/__init__.pyi
CHANGED
|
@@ -10,9 +10,9 @@ def cycles_integrator_preset_add(
|
|
|
10
10
|
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
*,
|
|
13
|
-
name: str
|
|
14
|
-
remove_name: bool |
|
|
15
|
-
remove_active: bool |
|
|
13
|
+
name: str = "",
|
|
14
|
+
remove_name: bool | None = False,
|
|
15
|
+
remove_active: bool | None = False,
|
|
16
16
|
):
|
|
17
17
|
"""Add an Integrator Preset
|
|
18
18
|
|
|
@@ -20,11 +20,11 @@ def cycles_integrator_preset_add(
|
|
|
20
20
|
:type execution_context: int | str | None
|
|
21
21
|
:type undo: bool | None
|
|
22
22
|
:param name: Name, Name of the preset, used to make the path name
|
|
23
|
-
:type name: str
|
|
23
|
+
:type name: str
|
|
24
24
|
:param remove_name: remove_name
|
|
25
|
-
:type remove_name: bool |
|
|
25
|
+
:type remove_name: bool | None
|
|
26
26
|
:param remove_active: remove_active
|
|
27
|
-
:type remove_active: bool |
|
|
27
|
+
:type remove_active: bool | None
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
30
|
...
|
|
@@ -34,9 +34,9 @@ def cycles_performance_preset_add(
|
|
|
34
34
|
execution_context: int | str | None = None,
|
|
35
35
|
undo: bool | None = None,
|
|
36
36
|
*,
|
|
37
|
-
name: str
|
|
38
|
-
remove_name: bool |
|
|
39
|
-
remove_active: bool |
|
|
37
|
+
name: str = "",
|
|
38
|
+
remove_name: bool | None = False,
|
|
39
|
+
remove_active: bool | None = False,
|
|
40
40
|
):
|
|
41
41
|
"""Add an Performance Preset
|
|
42
42
|
|
|
@@ -44,11 +44,11 @@ def cycles_performance_preset_add(
|
|
|
44
44
|
:type execution_context: int | str | None
|
|
45
45
|
:type undo: bool | None
|
|
46
46
|
:param name: Name, Name of the preset, used to make the path name
|
|
47
|
-
:type name: str
|
|
47
|
+
:type name: str
|
|
48
48
|
:param remove_name: remove_name
|
|
49
|
-
:type remove_name: bool |
|
|
49
|
+
:type remove_name: bool | None
|
|
50
50
|
:param remove_active: remove_active
|
|
51
|
-
:type remove_active: bool |
|
|
51
|
+
:type remove_active: bool | None
|
|
52
52
|
"""
|
|
53
53
|
|
|
54
54
|
...
|
|
@@ -58,9 +58,9 @@ def cycles_sampling_preset_add(
|
|
|
58
58
|
execution_context: int | str | None = None,
|
|
59
59
|
undo: bool | None = None,
|
|
60
60
|
*,
|
|
61
|
-
name: str
|
|
62
|
-
remove_name: bool |
|
|
63
|
-
remove_active: bool |
|
|
61
|
+
name: str = "",
|
|
62
|
+
remove_name: bool | None = False,
|
|
63
|
+
remove_active: bool | None = False,
|
|
64
64
|
):
|
|
65
65
|
"""Add a Sampling Preset
|
|
66
66
|
|
|
@@ -68,11 +68,11 @@ def cycles_sampling_preset_add(
|
|
|
68
68
|
:type execution_context: int | str | None
|
|
69
69
|
:type undo: bool | None
|
|
70
70
|
:param name: Name, Name of the preset, used to make the path name
|
|
71
|
-
:type name: str
|
|
71
|
+
:type name: str
|
|
72
72
|
:param remove_name: remove_name
|
|
73
|
-
:type remove_name: bool |
|
|
73
|
+
:type remove_name: bool | None
|
|
74
74
|
:param remove_active: remove_active
|
|
75
|
-
:type remove_active: bool |
|
|
75
|
+
:type remove_active: bool | None
|
|
76
76
|
"""
|
|
77
77
|
|
|
78
78
|
...
|
|
@@ -82,9 +82,9 @@ def cycles_viewport_sampling_preset_add(
|
|
|
82
82
|
execution_context: int | str | None = None,
|
|
83
83
|
undo: bool | None = None,
|
|
84
84
|
*,
|
|
85
|
-
name: str
|
|
86
|
-
remove_name: bool |
|
|
87
|
-
remove_active: bool |
|
|
85
|
+
name: str = "",
|
|
86
|
+
remove_name: bool | None = False,
|
|
87
|
+
remove_active: bool | None = False,
|
|
88
88
|
):
|
|
89
89
|
"""Add a Viewport Sampling Preset
|
|
90
90
|
|
|
@@ -92,11 +92,11 @@ def cycles_viewport_sampling_preset_add(
|
|
|
92
92
|
:type execution_context: int | str | None
|
|
93
93
|
:type undo: bool | None
|
|
94
94
|
:param name: Name, Name of the preset, used to make the path name
|
|
95
|
-
:type name: str
|
|
95
|
+
:type name: str
|
|
96
96
|
:param remove_name: remove_name
|
|
97
|
-
:type remove_name: bool |
|
|
97
|
+
:type remove_name: bool | None
|
|
98
98
|
:param remove_active: remove_active
|
|
99
|
-
:type remove_active: bool |
|
|
99
|
+
:type remove_active: bool | None
|
|
100
100
|
"""
|
|
101
101
|
|
|
102
102
|
...
|
|
@@ -106,9 +106,9 @@ def eevee_raytracing_preset_add(
|
|
|
106
106
|
execution_context: int | str | None = None,
|
|
107
107
|
undo: bool | None = None,
|
|
108
108
|
*,
|
|
109
|
-
name: str
|
|
110
|
-
remove_name: bool |
|
|
111
|
-
remove_active: bool |
|
|
109
|
+
name: str = "",
|
|
110
|
+
remove_name: bool | None = False,
|
|
111
|
+
remove_active: bool | None = False,
|
|
112
112
|
):
|
|
113
113
|
"""Add or remove an EEVEE ray-tracing preset
|
|
114
114
|
|
|
@@ -116,11 +116,11 @@ def eevee_raytracing_preset_add(
|
|
|
116
116
|
:type execution_context: int | str | None
|
|
117
117
|
:type undo: bool | None
|
|
118
118
|
:param name: Name, Name of the preset, used to make the path name
|
|
119
|
-
:type name: str
|
|
119
|
+
:type name: str
|
|
120
120
|
:param remove_name: remove_name
|
|
121
|
-
:type remove_name: bool |
|
|
121
|
+
:type remove_name: bool | None
|
|
122
122
|
:param remove_active: remove_active
|
|
123
|
-
:type remove_active: bool |
|
|
123
|
+
:type remove_active: bool | None
|
|
124
124
|
"""
|
|
125
125
|
|
|
126
126
|
...
|
|
@@ -130,11 +130,11 @@ def opengl(
|
|
|
130
130
|
execution_context: int | str | None = None,
|
|
131
131
|
undo: bool | None = None,
|
|
132
132
|
*,
|
|
133
|
-
animation: bool |
|
|
134
|
-
render_keyed_only: bool |
|
|
135
|
-
sequencer: bool |
|
|
136
|
-
write_still: bool |
|
|
137
|
-
view_context: bool |
|
|
133
|
+
animation: bool | None = False,
|
|
134
|
+
render_keyed_only: bool | None = False,
|
|
135
|
+
sequencer: bool | None = False,
|
|
136
|
+
write_still: bool | None = False,
|
|
137
|
+
view_context: bool | None = True,
|
|
138
138
|
):
|
|
139
139
|
"""Take a snapshot of the active viewport
|
|
140
140
|
|
|
@@ -142,15 +142,15 @@ def opengl(
|
|
|
142
142
|
:type execution_context: int | str | None
|
|
143
143
|
:type undo: bool | None
|
|
144
144
|
:param animation: Animation, Render files from the animation range of this scene
|
|
145
|
-
:type animation: bool |
|
|
145
|
+
:type animation: bool | None
|
|
146
146
|
: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
|
|
147
|
-
:type render_keyed_only: bool |
|
|
147
|
+
:type render_keyed_only: bool | None
|
|
148
148
|
:param sequencer: Sequencer, Render using the sequencer's OpenGL display
|
|
149
|
-
:type sequencer: bool |
|
|
149
|
+
:type sequencer: bool | None
|
|
150
150
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
151
|
-
:type write_still: bool |
|
|
151
|
+
:type write_still: bool | None
|
|
152
152
|
:param view_context: View Context, Use the current 3D view for rendering, else use scene settings
|
|
153
|
-
:type view_context: bool |
|
|
153
|
+
:type view_context: bool | None
|
|
154
154
|
"""
|
|
155
155
|
|
|
156
156
|
...
|
|
@@ -174,9 +174,9 @@ def preset_add(
|
|
|
174
174
|
execution_context: int | str | None = None,
|
|
175
175
|
undo: bool | None = None,
|
|
176
176
|
*,
|
|
177
|
-
name: str
|
|
178
|
-
remove_name: bool |
|
|
179
|
-
remove_active: bool |
|
|
177
|
+
name: str = "",
|
|
178
|
+
remove_name: bool | None = False,
|
|
179
|
+
remove_active: bool | None = False,
|
|
180
180
|
):
|
|
181
181
|
"""Add or remove a Render Preset
|
|
182
182
|
|
|
@@ -184,11 +184,11 @@ def preset_add(
|
|
|
184
184
|
:type execution_context: int | str | None
|
|
185
185
|
:type undo: bool | None
|
|
186
186
|
:param name: Name, Name of the preset, used to make the path name
|
|
187
|
-
:type name: str
|
|
187
|
+
:type name: str
|
|
188
188
|
:param remove_name: remove_name
|
|
189
|
-
:type remove_name: bool |
|
|
189
|
+
:type remove_name: bool | None
|
|
190
190
|
:param remove_active: remove_active
|
|
191
|
-
:type remove_active: bool |
|
|
191
|
+
:type remove_active: bool | None
|
|
192
192
|
"""
|
|
193
193
|
|
|
194
194
|
...
|
|
@@ -198,11 +198,11 @@ def render(
|
|
|
198
198
|
execution_context: int | str | None = None,
|
|
199
199
|
undo: bool | None = None,
|
|
200
200
|
*,
|
|
201
|
-
animation: bool |
|
|
202
|
-
write_still: bool |
|
|
203
|
-
use_viewport: bool |
|
|
204
|
-
layer: str
|
|
205
|
-
scene: str
|
|
201
|
+
animation: bool | None = False,
|
|
202
|
+
write_still: bool | None = False,
|
|
203
|
+
use_viewport: bool | None = False,
|
|
204
|
+
layer: str = "",
|
|
205
|
+
scene: str = "",
|
|
206
206
|
):
|
|
207
207
|
"""Render active scene
|
|
208
208
|
|
|
@@ -210,15 +210,15 @@ def render(
|
|
|
210
210
|
:type execution_context: int | str | None
|
|
211
211
|
:type undo: bool | None
|
|
212
212
|
:param animation: Animation, Render files from the animation range of this scene
|
|
213
|
-
:type animation: bool |
|
|
213
|
+
:type animation: bool | None
|
|
214
214
|
:param write_still: Write Image, Save the rendered image to the output path (used only when animation is disabled)
|
|
215
|
-
:type write_still: bool |
|
|
215
|
+
:type write_still: bool | None
|
|
216
216
|
:param use_viewport: Use 3D Viewport, When inside a 3D viewport, use layers and camera of the viewport
|
|
217
|
-
:type use_viewport: bool |
|
|
217
|
+
:type use_viewport: bool | None
|
|
218
218
|
:param layer: Render Layer, Single render layer to re-render (used only when animation is disabled)
|
|
219
|
-
:type layer: str
|
|
219
|
+
:type layer: str
|
|
220
220
|
:param scene: Scene, Scene to render, current scene if not specified
|
|
221
|
-
:type scene: str
|
|
221
|
+
:type scene: str
|
|
222
222
|
"""
|
|
223
223
|
|
|
224
224
|
...
|
bpy/ops/rigidbody/__init__.pyi
CHANGED
|
@@ -10,9 +10,9 @@ def bake_to_keyframes(
|
|
|
10
10
|
execution_context: int | str | None = None,
|
|
11
11
|
undo: bool | None = None,
|
|
12
12
|
*,
|
|
13
|
-
frame_start:
|
|
14
|
-
frame_end:
|
|
15
|
-
step:
|
|
13
|
+
frame_start: int | None = 1,
|
|
14
|
+
frame_end: int | None = 250,
|
|
15
|
+
step: int | None = 1,
|
|
16
16
|
):
|
|
17
17
|
"""Bake rigid body transformations of selected objects to keyframes
|
|
18
18
|
|
|
@@ -20,11 +20,11 @@ def bake_to_keyframes(
|
|
|
20
20
|
:type execution_context: int | str | None
|
|
21
21
|
:type undo: bool | None
|
|
22
22
|
:param frame_start: Start Frame, Start frame for baking
|
|
23
|
-
:type frame_start:
|
|
23
|
+
:type frame_start: int | None
|
|
24
24
|
:param frame_end: End Frame, End frame for baking
|
|
25
|
-
:type frame_end:
|
|
25
|
+
:type frame_end: int | None
|
|
26
26
|
:param step: Frame Step, Frame Step
|
|
27
|
-
:type step:
|
|
27
|
+
:type step: int | None
|
|
28
28
|
"""
|
|
29
29
|
|
|
30
30
|
...
|
|
@@ -130,7 +130,7 @@ def mass_calculate(
|
|
|
130
130
|
undo: bool | None = None,
|
|
131
131
|
*,
|
|
132
132
|
material: str | None = "DEFAULT",
|
|
133
|
-
density:
|
|
133
|
+
density: float | None = 1.0,
|
|
134
134
|
):
|
|
135
135
|
"""Automatically calculate mass values for Rigid Body Objects based on volume
|
|
136
136
|
|
|
@@ -140,7 +140,7 @@ def mass_calculate(
|
|
|
140
140
|
:param material: Material Preset, Type of material that objects are made of (determines material density)
|
|
141
141
|
:type material: str | None
|
|
142
142
|
:param density: Density, Density value (kg/m^3), allows custom value if the 'Custom' preset is used
|
|
143
|
-
:type density:
|
|
143
|
+
:type density: float | None
|
|
144
144
|
"""
|
|
145
145
|
|
|
146
146
|
...
|
bpy/ops/scene/__init__.pyi
CHANGED
|
@@ -89,7 +89,7 @@ def freestyle_fill_range_by_selection(
|
|
|
89
89
|
undo: bool | None = None,
|
|
90
90
|
*,
|
|
91
91
|
type: str | None = "COLOR",
|
|
92
|
-
name: str
|
|
92
|
+
name: str = "",
|
|
93
93
|
):
|
|
94
94
|
"""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)
|
|
95
95
|
|
|
@@ -108,7 +108,7 @@ def freestyle_fill_range_by_selection(
|
|
|
108
108
|
Thickness -- Thickness modifier type.
|
|
109
109
|
:type type: str | None
|
|
110
110
|
:param name: Name, Name of the modifier to work on
|
|
111
|
-
:type name: str
|
|
111
|
+
:type name: str
|
|
112
112
|
"""
|
|
113
113
|
|
|
114
114
|
...
|
|
@@ -302,8 +302,8 @@ def freestyle_module_open(
|
|
|
302
302
|
execution_context: int | str | None = None,
|
|
303
303
|
undo: bool | None = None,
|
|
304
304
|
*,
|
|
305
|
-
filepath: str
|
|
306
|
-
make_internal: bool |
|
|
305
|
+
filepath: str = "",
|
|
306
|
+
make_internal: bool | None = True,
|
|
307
307
|
):
|
|
308
308
|
"""Open a style module file
|
|
309
309
|
|
|
@@ -311,9 +311,9 @@ def freestyle_module_open(
|
|
|
311
311
|
:type execution_context: int | str | None
|
|
312
312
|
:type undo: bool | None
|
|
313
313
|
:param filepath: filepath
|
|
314
|
-
:type filepath: str
|
|
314
|
+
:type filepath: str
|
|
315
315
|
:param make_internal: Make internal, Make module file internal after loading
|
|
316
|
-
:type make_internal: bool |
|
|
316
|
+
:type make_internal: bool | None
|
|
317
317
|
"""
|
|
318
318
|
|
|
319
319
|
...
|
|
@@ -383,9 +383,9 @@ def gpencil_brush_preset_add(
|
|
|
383
383
|
execution_context: int | str | None = None,
|
|
384
384
|
undo: bool | None = None,
|
|
385
385
|
*,
|
|
386
|
-
name: str
|
|
387
|
-
remove_name: bool |
|
|
388
|
-
remove_active: bool |
|
|
386
|
+
name: str = "",
|
|
387
|
+
remove_name: bool | None = False,
|
|
388
|
+
remove_active: bool | None = False,
|
|
389
389
|
):
|
|
390
390
|
"""Add or remove grease pencil brush preset
|
|
391
391
|
|
|
@@ -393,11 +393,11 @@ def gpencil_brush_preset_add(
|
|
|
393
393
|
:type execution_context: int | str | None
|
|
394
394
|
:type undo: bool | None
|
|
395
395
|
:param name: Name, Name of the preset, used to make the path name
|
|
396
|
-
:type name: str
|
|
396
|
+
:type name: str
|
|
397
397
|
:param remove_name: remove_name
|
|
398
|
-
:type remove_name: bool |
|
|
398
|
+
:type remove_name: bool | None
|
|
399
399
|
:param remove_active: remove_active
|
|
400
|
-
:type remove_active: bool |
|
|
400
|
+
:type remove_active: bool | None
|
|
401
401
|
"""
|
|
402
402
|
|
|
403
403
|
...
|
|
@@ -407,9 +407,9 @@ def gpencil_material_preset_add(
|
|
|
407
407
|
execution_context: int | str | None = None,
|
|
408
408
|
undo: bool | None = None,
|
|
409
409
|
*,
|
|
410
|
-
name: str
|
|
411
|
-
remove_name: bool |
|
|
412
|
-
remove_active: bool |
|
|
410
|
+
name: str = "",
|
|
411
|
+
remove_name: bool | None = False,
|
|
412
|
+
remove_active: bool | None = False,
|
|
413
413
|
):
|
|
414
414
|
"""Add or remove grease pencil material preset
|
|
415
415
|
|
|
@@ -417,11 +417,11 @@ def gpencil_material_preset_add(
|
|
|
417
417
|
:type execution_context: int | str | None
|
|
418
418
|
:type undo: bool | None
|
|
419
419
|
:param name: Name, Name of the preset, used to make the path name
|
|
420
|
-
:type name: str
|
|
420
|
+
:type name: str
|
|
421
421
|
:param remove_name: remove_name
|
|
422
|
-
:type remove_name: bool |
|
|
422
|
+
:type remove_name: bool | None
|
|
423
423
|
:param remove_active: remove_active
|
|
424
|
-
:type remove_active: bool |
|
|
424
|
+
:type remove_active: bool | None
|
|
425
425
|
"""
|
|
426
426
|
|
|
427
427
|
...
|
|
@@ -560,7 +560,7 @@ def view_layer_add_lightgroup(
|
|
|
560
560
|
execution_context: int | str | None = None,
|
|
561
561
|
undo: bool | None = None,
|
|
562
562
|
*,
|
|
563
|
-
name: str
|
|
563
|
+
name: str = "",
|
|
564
564
|
):
|
|
565
565
|
"""Add a Light Group
|
|
566
566
|
|
|
@@ -568,7 +568,7 @@ def view_layer_add_lightgroup(
|
|
|
568
568
|
:type execution_context: int | str | None
|
|
569
569
|
:type undo: bool | None
|
|
570
570
|
:param name: Name, Name of newly created lightgroup
|
|
571
|
-
:type name: str
|
|
571
|
+
:type name: str
|
|
572
572
|
"""
|
|
573
573
|
|
|
574
574
|
...
|