fake-bge-module 20250103__py3-none-any.whl → 20250201__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.
- addon_utils/__init__.pyi +11 -6
- aud/__init__.pyi +4 -0
- bge/types/__init__.pyi +66 -27
- bgl/__init__.pyi +2 -2
- bgui/image/__init__.pyi +3 -1
- bgui/system/__init__.pyi +12 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +5 -2
- bl_console_utils/autocomplete/complete_import/__init__.pyi +6 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +8 -2
- bl_operators/node/__init__.pyi +78 -0
- bl_ui/anim/__init__.pyi +6 -0
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/node_add_menu_shader/__init__.pyi +0 -1
- bl_ui/node_add_menu_texture/__init__.pyi +1 -0
- bl_ui/properties_data_camera/__init__.pyi +0 -2
- bl_ui/properties_mask_common/__init__.pyi +17 -0
- bl_ui/properties_material_gpencil/__init__.pyi +29 -0
- bl_ui/properties_scene/__init__.pyi +6 -0
- bl_ui/properties_view_layer/__init__.pyi +1 -0
- bl_ui/space_clip/__init__.pyi +53 -0
- bl_ui/space_graph/__init__.pyi +2 -0
- bl_ui/space_image/__init__.pyi +25 -0
- bl_ui/space_node/__init__.pyi +0 -1
- bl_ui/space_sequencer/__init__.pyi +2 -1
- blf/__init__.pyi +6 -3
- bmesh/ops/__init__.pyi +111 -54
- bmesh/types/__init__.pyi +134 -46
- bmesh/utils/__init__.pyi +17 -5
- bpy/__init__.pyi +1 -2
- bpy/_typing/__init__.pyi +4 -0
- bpy/{typing → _typing/rna_enums}/__init__.pyi +36 -36
- bpy/app/__init__.pyi +13 -5
- bpy/app/handlers/__init__.pyi +4 -2
- bpy/app/icons/__init__.pyi +6 -2
- bpy/app/translations/__init__.pyi +17 -8
- bpy/msgbus/__init__.pyi +14 -2
- bpy/ops/action/__init__.pyi +51 -151
- bpy/ops/anim/__init__.pyi +61 -179
- bpy/ops/armature/__init__.pyi +48 -147
- bpy/ops/asset/__init__.pyi +16 -71
- bpy/ops/boid/__init__.pyi +11 -44
- bpy/ops/brush/__init__.pyi +16 -42
- bpy/ops/buttons/__init__.pyi +6 -29
- bpy/ops/cachefile/__init__.pyi +5 -19
- bpy/ops/camera/__init__.pyi +2 -5
- bpy/ops/clip/__init__.pyi +95 -293
- bpy/ops/cloth/__init__.pyi +1 -3
- bpy/ops/collection/__init__.pyi +10 -26
- bpy/ops/console/__init__.pyi +21 -79
- bpy/ops/constraint/__init__.pyi +18 -45
- bpy/ops/curve/__init__.pyi +57 -186
- bpy/ops/curves/__init__.pyi +37 -109
- bpy/ops/cycles/__init__.pyi +3 -9
- bpy/ops/dpaint/__init__.pyi +8 -22
- bpy/ops/ed/__init__.pyi +20 -52
- bpy/ops/export_anim/__init__.pyi +1 -3
- bpy/ops/export_scene/__init__.pyi +55 -32
- bpy/ops/extensions/__init__.pyi +34 -110
- bpy/ops/file/__init__.pyi +40 -167
- bpy/ops/fluid/__init__.pyi +14 -77
- bpy/ops/font/__init__.pyi +23 -85
- bpy/ops/geometry/__init__.pyi +29 -46
- bpy/ops/gizmogroup/__init__.pyi +2 -9
- bpy/ops/gpencil/__init__.pyi +8 -32
- bpy/ops/graph/__init__.pyi +82 -201
- bpy/ops/grease_pencil/__init__.pyi +125 -324
- bpy/ops/image/__init__.pyi +61 -163
- bpy/ops/import_anim/__init__.pyi +1 -3
- bpy/ops/import_curve/__init__.pyi +1 -3
- bpy/ops/import_scene/__init__.pyi +4 -6
- bpy/ops/info/__init__.pyi +7 -29
- bpy/ops/lattice/__init__.pyi +11 -32
- bpy/ops/logic/__init__.pyi +26 -65
- bpy/ops/marker/__init__.pyi +11 -31
- bpy/ops/mask/__init__.pyi +39 -132
- bpy/ops/material/__init__.pyi +3 -19
- bpy/ops/mball/__init__.pyi +8 -19
- bpy/ops/mesh/__init__.pyi +223 -470
- bpy/ops/nla/__init__.pyi +42 -150
- bpy/ops/node/__init__.pyi +169 -393
- bpy/ops/object/__init__.pyi +320 -749
- bpy/ops/outliner/__init__.pyi +76 -268
- bpy/ops/paint/__init__.pyi +67 -147
- bpy/ops/paintcurve/__init__.pyi +8 -33
- bpy/ops/palette/__init__.pyi +7 -27
- bpy/ops/particle/__init__.pyi +39 -134
- bpy/ops/pose/__init__.pyi +64 -182
- bpy/ops/poselib/__init__.pyi +9 -33
- bpy/ops/preferences/__init__.pyi +35 -94
- bpy/ops/ptcache/__init__.pyi +7 -33
- bpy/ops/render/__init__.pyi +13 -37
- bpy/ops/rigidbody/__init__.pyi +22 -54
- bpy/ops/scene/__init__.pyi +47 -130
- bpy/ops/screen/__init__.pyi +46 -144
- bpy/ops/script/__init__.pyi +3 -11
- bpy/ops/sculpt/__init__.pyi +40 -94
- bpy/ops/sculpt_curves/__init__.pyi +4 -10
- bpy/ops/sequencer/__init__.pyi +104 -327
- bpy/ops/sound/__init__.pyi +17 -28
- bpy/ops/spreadsheet/__init__.pyi +4 -15
- bpy/ops/surface/__init__.pyi +6 -13
- bpy/ops/text/__init__.pyi +43 -175
- bpy/ops/text_editor/__init__.pyi +1 -3
- bpy/ops/texture/__init__.pyi +4 -21
- bpy/ops/transform/__init__.pyi +114 -134
- bpy/ops/ui/__init__.pyi +39 -120
- bpy/ops/uilist/__init__.pyi +3 -7
- bpy/ops/uv/__init__.pyi +58 -143
- bpy/ops/view2d/__init__.pyi +14 -39
- bpy/ops/view3d/__init__.pyi +68 -238
- bpy/ops/wm/__init__.pyi +178 -319
- bpy/ops/workspace/__init__.pyi +7 -33
- bpy/ops/world/__init__.pyi +2 -11
- bpy/path/__init__.pyi +16 -6
- bpy/props/__init__.pyi +157 -127
- bpy/types/__init__.pyi +35227 -34838
- bpy/utils/__init__.pyi +71 -25
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +11 -3
- bpy_extras/bmesh_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +5 -2
- bpy_extras/io_utils/__init__.pyi +12 -5
- bpy_extras/mesh_utils/__init__.pyi +27 -6
- bpy_extras/object_utils/__init__.pyi +6 -5
- bpy_extras/view3d_utils/__init__.pyi +9 -2
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/METADATA +3 -3
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/RECORD +153 -152
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +7 -2
- freestyle/functions/__init__.pyi +16 -4
- freestyle/shaders/__init__.pyi +5 -1
- freestyle/types/__init__.pyi +103 -30
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +4 -2
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +40 -8
- gpu_extras/batch/__init__.pyi +13 -1
- gpu_extras/presets/__init__.pyi +10 -1
- idprop/types/__init__.pyi +4 -2
- imbuf/__init__.pyi +6 -3
- imbuf/types/__init__.pyi +5 -2
- mathutils/__init__.pyi +126 -35
- mathutils/bvhtree/__init__.pyi +21 -6
- mathutils/geometry/__init__.pyi +68 -22
- mathutils/interpolate/__init__.pyi +5 -1
- mathutils/kdtree/__init__.pyi +21 -8
- mathutils/noise/__init__.pyi +2 -1
- rna_info/__init__.pyi +2 -1
- {fake_bge_module-20250103.dist-info → fake_bge_module-20250201.dist-info}/top_level.txt +0 -0
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import bpy._typing.rna_enums
|
|
4
5
|
import bpy.ops.transform
|
|
5
6
|
import bpy.types
|
|
6
|
-
import bpy.typing
|
|
7
7
|
|
|
8
8
|
def active_frame_delete(
|
|
9
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
10
9
|
execution_context: int | str | None = None,
|
|
11
10
|
undo: bool | None = None,
|
|
11
|
+
/,
|
|
12
12
|
*,
|
|
13
13
|
all: bool | None = False,
|
|
14
14
|
):
|
|
15
15
|
"""Delete the active Grease Pencil frame(s)
|
|
16
16
|
|
|
17
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
18
17
|
:type execution_context: int | str | None
|
|
19
18
|
:type undo: bool | None
|
|
20
19
|
:param all: Delete all, Delete active keyframes of all layers
|
|
@@ -22,9 +21,9 @@ def active_frame_delete(
|
|
|
22
21
|
"""
|
|
23
22
|
|
|
24
23
|
def bake_grease_pencil_animation(
|
|
25
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
26
24
|
execution_context: int | str | None = None,
|
|
27
25
|
undo: bool | None = None,
|
|
26
|
+
/,
|
|
28
27
|
*,
|
|
29
28
|
frame_start: int | None = 1,
|
|
30
29
|
frame_end: int | None = 250,
|
|
@@ -36,7 +35,6 @@ def bake_grease_pencil_animation(
|
|
|
36
35
|
):
|
|
37
36
|
"""Bake Grease Pencil object transform to Grease Pencil keyframes
|
|
38
37
|
|
|
39
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
40
38
|
:type execution_context: int | str | None
|
|
41
39
|
:type undo: bool | None
|
|
42
40
|
:param frame_start: Start Frame, The start frame
|
|
@@ -72,9 +70,9 @@ def bake_grease_pencil_animation(
|
|
|
72
70
|
"""
|
|
73
71
|
|
|
74
72
|
def brush_stroke(
|
|
75
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
76
73
|
execution_context: int | str | None = None,
|
|
77
74
|
undo: bool | None = None,
|
|
75
|
+
/,
|
|
78
76
|
*,
|
|
79
77
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
80
78
|
| None = None,
|
|
@@ -83,7 +81,6 @@ def brush_stroke(
|
|
|
83
81
|
):
|
|
84
82
|
"""Draw a new stroke in the active Grease Pencil object
|
|
85
83
|
|
|
86
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
87
84
|
:type execution_context: int | str | None
|
|
88
85
|
:type undo: bool | None
|
|
89
86
|
:param stroke: Stroke
|
|
@@ -107,15 +104,14 @@ def brush_stroke(
|
|
|
107
104
|
"""
|
|
108
105
|
|
|
109
106
|
def caps_set(
|
|
110
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
111
107
|
execution_context: int | str | None = None,
|
|
112
108
|
undo: bool | None = None,
|
|
109
|
+
/,
|
|
113
110
|
*,
|
|
114
111
|
type: typing.Literal["ROUND", "FLAT", "START", "END"] | None = "ROUND",
|
|
115
112
|
):
|
|
116
113
|
"""Change curve caps mode (rounded or flat)
|
|
117
114
|
|
|
118
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
119
115
|
:type execution_context: int | str | None
|
|
120
116
|
:type undo: bool | None
|
|
121
117
|
:param type: Type
|
|
@@ -135,71 +131,61 @@ def caps_set(
|
|
|
135
131
|
"""
|
|
136
132
|
|
|
137
133
|
def clean_loose(
|
|
138
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
139
134
|
execution_context: int | str | None = None,
|
|
140
135
|
undo: bool | None = None,
|
|
136
|
+
/,
|
|
141
137
|
*,
|
|
142
138
|
limit: int | None = 1,
|
|
143
139
|
):
|
|
144
140
|
"""Remove loose points
|
|
145
141
|
|
|
146
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
147
142
|
:type execution_context: int | str | None
|
|
148
143
|
:type undo: bool | None
|
|
149
144
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
150
145
|
:type limit: int | None
|
|
151
146
|
"""
|
|
152
147
|
|
|
153
|
-
def copy(
|
|
154
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
155
|
-
execution_context: int | str | None = None,
|
|
156
|
-
undo: bool | None = None,
|
|
157
|
-
):
|
|
148
|
+
def copy(execution_context: int | str | None = None, undo: bool | None = None):
|
|
158
149
|
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
159
150
|
|
|
160
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
161
151
|
:type execution_context: int | str | None
|
|
162
152
|
:type undo: bool | None
|
|
163
153
|
"""
|
|
164
154
|
|
|
165
155
|
def cyclical_set(
|
|
166
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
167
156
|
execution_context: int | str | None = None,
|
|
168
157
|
undo: bool | None = None,
|
|
158
|
+
/,
|
|
169
159
|
*,
|
|
170
160
|
type: typing.Literal["CLOSE", "OPEN", "TOGGLE"] | None = "TOGGLE",
|
|
161
|
+
subdivide_cyclic_segment: bool | None = True,
|
|
171
162
|
):
|
|
172
163
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
173
164
|
|
|
174
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
175
165
|
:type execution_context: int | str | None
|
|
176
166
|
:type undo: bool | None
|
|
177
167
|
:param type: Type
|
|
178
168
|
:type type: typing.Literal['CLOSE','OPEN','TOGGLE'] | None
|
|
169
|
+
:param subdivide_cyclic_segment: Match Point Density, Add point in the new segment to keep the same density
|
|
170
|
+
:type subdivide_cyclic_segment: bool | None
|
|
179
171
|
"""
|
|
180
172
|
|
|
181
|
-
def delete(
|
|
182
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
183
|
-
execution_context: int | str | None = None,
|
|
184
|
-
undo: bool | None = None,
|
|
185
|
-
):
|
|
173
|
+
def delete(execution_context: int | str | None = None, undo: bool | None = None):
|
|
186
174
|
"""Delete selected strokes or points
|
|
187
175
|
|
|
188
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
189
176
|
:type execution_context: int | str | None
|
|
190
177
|
:type undo: bool | None
|
|
191
178
|
"""
|
|
192
179
|
|
|
193
180
|
def delete_frame(
|
|
194
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
195
181
|
execution_context: int | str | None = None,
|
|
196
182
|
undo: bool | None = None,
|
|
183
|
+
/,
|
|
197
184
|
*,
|
|
198
185
|
type: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ACTIVE_FRAME",
|
|
199
186
|
):
|
|
200
187
|
"""Delete Grease Pencil Frame(s)
|
|
201
188
|
|
|
202
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
203
189
|
:type execution_context: int | str | None
|
|
204
190
|
:type undo: bool | None
|
|
205
191
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
@@ -213,15 +199,14 @@ def delete_frame(
|
|
|
213
199
|
"""
|
|
214
200
|
|
|
215
201
|
def dissolve(
|
|
216
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
217
202
|
execution_context: int | str | None = None,
|
|
218
203
|
undo: bool | None = None,
|
|
204
|
+
/,
|
|
219
205
|
*,
|
|
220
206
|
type: typing.Literal["POINTS", "BETWEEN", "UNSELECT"] | None = "POINTS",
|
|
221
207
|
):
|
|
222
208
|
"""Delete selected points without splitting strokes
|
|
223
209
|
|
|
224
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
225
210
|
:type execution_context: int | str | None
|
|
226
211
|
:type undo: bool | None
|
|
227
212
|
:param type: Type, Method used for dissolving stroke points
|
|
@@ -237,29 +222,23 @@ def dissolve(
|
|
|
237
222
|
:type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
|
|
238
223
|
"""
|
|
239
224
|
|
|
240
|
-
def duplicate(
|
|
241
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
242
|
-
execution_context: int | str | None = None,
|
|
243
|
-
undo: bool | None = None,
|
|
244
|
-
):
|
|
225
|
+
def duplicate(execution_context: int | str | None = None, undo: bool | None = None):
|
|
245
226
|
"""Duplicate the selected points
|
|
246
227
|
|
|
247
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
248
228
|
:type execution_context: int | str | None
|
|
249
229
|
:type undo: bool | None
|
|
250
230
|
"""
|
|
251
231
|
|
|
252
232
|
def duplicate_move(
|
|
253
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
254
233
|
execution_context: int | str | None = None,
|
|
255
234
|
undo: bool | None = None,
|
|
235
|
+
/,
|
|
256
236
|
*,
|
|
257
237
|
GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
|
|
258
238
|
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
259
239
|
):
|
|
260
240
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
261
241
|
|
|
262
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
263
242
|
:type execution_context: int | str | None
|
|
264
243
|
:type undo: bool | None
|
|
265
244
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
@@ -269,9 +248,9 @@ def duplicate_move(
|
|
|
269
248
|
"""
|
|
270
249
|
|
|
271
250
|
def erase_box(
|
|
272
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
273
251
|
execution_context: int | str | None = None,
|
|
274
252
|
undo: bool | None = None,
|
|
253
|
+
/,
|
|
275
254
|
*,
|
|
276
255
|
xmin: int | None = 0,
|
|
277
256
|
xmax: int | None = 0,
|
|
@@ -281,7 +260,6 @@ def erase_box(
|
|
|
281
260
|
):
|
|
282
261
|
"""Erase points in the box region
|
|
283
262
|
|
|
284
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
285
263
|
:type execution_context: int | str | None
|
|
286
264
|
:type undo: bool | None
|
|
287
265
|
:param xmin: X Min
|
|
@@ -297,9 +275,9 @@ def erase_box(
|
|
|
297
275
|
"""
|
|
298
276
|
|
|
299
277
|
def erase_lasso(
|
|
300
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
301
278
|
execution_context: int | str | None = None,
|
|
302
279
|
undo: bool | None = None,
|
|
280
|
+
/,
|
|
303
281
|
*,
|
|
304
282
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
305
283
|
use_smooth_stroke: bool | None = False,
|
|
@@ -308,7 +286,6 @@ def erase_lasso(
|
|
|
308
286
|
):
|
|
309
287
|
"""Erase points in the lasso region
|
|
310
288
|
|
|
311
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
312
289
|
:type execution_context: int | str | None
|
|
313
290
|
:type undo: bool | None
|
|
314
291
|
:param path: Path
|
|
@@ -321,29 +298,23 @@ def erase_lasso(
|
|
|
321
298
|
:type smooth_stroke_radius: int | None
|
|
322
299
|
"""
|
|
323
300
|
|
|
324
|
-
def extrude(
|
|
325
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
326
|
-
execution_context: int | str | None = None,
|
|
327
|
-
undo: bool | None = None,
|
|
328
|
-
):
|
|
301
|
+
def extrude(execution_context: int | str | None = None, undo: bool | None = None):
|
|
329
302
|
"""Extrude the selected points
|
|
330
303
|
|
|
331
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
332
304
|
:type execution_context: int | str | None
|
|
333
305
|
:type undo: bool | None
|
|
334
306
|
"""
|
|
335
307
|
|
|
336
308
|
def extrude_move(
|
|
337
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
338
309
|
execution_context: int | str | None = None,
|
|
339
310
|
undo: bool | None = None,
|
|
311
|
+
/,
|
|
340
312
|
*,
|
|
341
313
|
GREASE_PENCIL_OT_extrude: typing.Any | None = None,
|
|
342
314
|
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
343
315
|
):
|
|
344
316
|
"""Extrude selected points and move them
|
|
345
317
|
|
|
346
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
347
318
|
:type execution_context: int | str | None
|
|
348
319
|
:type undo: bool | None
|
|
349
320
|
:param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
|
|
@@ -353,16 +324,15 @@ def extrude_move(
|
|
|
353
324
|
"""
|
|
354
325
|
|
|
355
326
|
def fill(
|
|
356
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
357
327
|
execution_context: int | str | None = None,
|
|
358
328
|
undo: bool | None = None,
|
|
329
|
+
/,
|
|
359
330
|
*,
|
|
360
331
|
invert: bool | None = False,
|
|
361
332
|
precision: bool | None = False,
|
|
362
333
|
):
|
|
363
334
|
"""Fill with color the shape formed by strokes
|
|
364
335
|
|
|
365
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
366
336
|
:type execution_context: int | str | None
|
|
367
337
|
:type undo: bool | None
|
|
368
338
|
:param invert: Invert, Find boundary of unfilled instead of filled regions
|
|
@@ -372,15 +342,14 @@ def fill(
|
|
|
372
342
|
"""
|
|
373
343
|
|
|
374
344
|
def frame_clean_duplicate(
|
|
375
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
376
345
|
execution_context: int | str | None = None,
|
|
377
346
|
undo: bool | None = None,
|
|
347
|
+
/,
|
|
378
348
|
*,
|
|
379
349
|
selected: bool | None = False,
|
|
380
350
|
):
|
|
381
351
|
"""Remove any keyframe that is a duplicate of the previous one
|
|
382
352
|
|
|
383
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
384
353
|
:type execution_context: int | str | None
|
|
385
354
|
:type undo: bool | None
|
|
386
355
|
:param selected: Selected, Only delete selected keyframes
|
|
@@ -388,15 +357,14 @@ def frame_clean_duplicate(
|
|
|
388
357
|
"""
|
|
389
358
|
|
|
390
359
|
def frame_duplicate(
|
|
391
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
392
360
|
execution_context: int | str | None = None,
|
|
393
361
|
undo: bool | None = None,
|
|
362
|
+
/,
|
|
394
363
|
*,
|
|
395
364
|
all: bool | None = False,
|
|
396
365
|
):
|
|
397
366
|
"""Make a copy of the active Grease Pencil frame(s)
|
|
398
367
|
|
|
399
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
400
368
|
:type execution_context: int | str | None
|
|
401
369
|
:type undo: bool | None
|
|
402
370
|
:param all: Duplicate all, Duplicate active keyframes of all layer
|
|
@@ -404,16 +372,15 @@ def frame_duplicate(
|
|
|
404
372
|
"""
|
|
405
373
|
|
|
406
374
|
def insert_blank_frame(
|
|
407
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
408
375
|
execution_context: int | str | None = None,
|
|
409
376
|
undo: bool | None = None,
|
|
377
|
+
/,
|
|
410
378
|
*,
|
|
411
379
|
all_layers: bool | None = False,
|
|
412
380
|
duration: int | None = 0,
|
|
413
381
|
):
|
|
414
382
|
"""Insert a blank frame on the current scene frame
|
|
415
383
|
|
|
416
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
417
384
|
:type execution_context: int | str | None
|
|
418
385
|
:type undo: bool | None
|
|
419
386
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
@@ -423,9 +390,9 @@ def insert_blank_frame(
|
|
|
423
390
|
"""
|
|
424
391
|
|
|
425
392
|
def interpolate(
|
|
426
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
427
393
|
execution_context: int | str | None = None,
|
|
428
394
|
undo: bool | None = None,
|
|
395
|
+
/,
|
|
429
396
|
*,
|
|
430
397
|
shift: float | None = 0.0,
|
|
431
398
|
layers: typing.Literal["ACTIVE", "ALL"] | None = "ACTIVE",
|
|
@@ -437,7 +404,6 @@ def interpolate(
|
|
|
437
404
|
):
|
|
438
405
|
"""Interpolate Grease Pencil strokes between frames
|
|
439
406
|
|
|
440
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
441
407
|
:type execution_context: int | str | None
|
|
442
408
|
:type undo: bool | None
|
|
443
409
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
@@ -457,13 +423,14 @@ def interpolate(
|
|
|
457
423
|
"""
|
|
458
424
|
|
|
459
425
|
def interpolate_sequence(
|
|
460
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
461
426
|
execution_context: int | str | None = None,
|
|
462
427
|
undo: bool | None = None,
|
|
428
|
+
/,
|
|
463
429
|
*,
|
|
464
430
|
step: int | None = 1,
|
|
465
431
|
layers: typing.Literal["ACTIVE", "ALL"] | None = "ACTIVE",
|
|
466
432
|
exclude_breakdowns: bool | None = False,
|
|
433
|
+
use_selection: bool | None = False,
|
|
467
434
|
flip: typing.Literal["NONE", "FLIP", "AUTO"] | None = "AUTO",
|
|
468
435
|
smooth_steps: int | None = 1,
|
|
469
436
|
smooth_factor: float | None = 0.0,
|
|
@@ -482,14 +449,13 @@ def interpolate_sequence(
|
|
|
482
449
|
"ELASTIC",
|
|
483
450
|
]
|
|
484
451
|
| None = "LINEAR",
|
|
485
|
-
easing: bpy.
|
|
452
|
+
easing: bpy._typing.rna_enums.BeztripleInterpolationEasingItems | None = "EASE_IN",
|
|
486
453
|
back: float | None = 1.702,
|
|
487
454
|
amplitude: float | None = 0.15,
|
|
488
455
|
period: float | None = 0.15,
|
|
489
456
|
):
|
|
490
457
|
"""Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
|
|
491
458
|
|
|
492
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
493
459
|
:type execution_context: int | str | None
|
|
494
460
|
:type undo: bool | None
|
|
495
461
|
:param step: Step, Number of frames between generated interpolated frames
|
|
@@ -498,6 +464,8 @@ def interpolate_sequence(
|
|
|
498
464
|
:type layers: typing.Literal['ACTIVE','ALL'] | None
|
|
499
465
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
500
466
|
:type exclude_breakdowns: bool | None
|
|
467
|
+
:param use_selection: Use Selection, Use only selected strokes for interpolating
|
|
468
|
+
:type use_selection: bool | None
|
|
501
469
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
502
470
|
:type flip: typing.Literal['NONE','FLIP','AUTO'] | None
|
|
503
471
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
@@ -543,7 +511,7 @@ def interpolate_sequence(
|
|
|
543
511
|
Elastic -- Exponentially decaying sine wave, like an elastic band.
|
|
544
512
|
:type type: typing.Literal['LINEAR','CUSTOM','SINE','QUAD','CUBIC','QUART','QUINT','EXPO','CIRC','BACK','BOUNCE','ELASTIC'] | None
|
|
545
513
|
:param easing: Easing, Which ends of the segment between the preceding and following Grease Pencil frames easing interpolation is applied to
|
|
546
|
-
:type easing: bpy.
|
|
514
|
+
:type easing: bpy._typing.rna_enums.BeztripleInterpolationEasingItems | None
|
|
547
515
|
:param back: Back, Amount of overshoot for 'back' easing
|
|
548
516
|
:type back: float | None
|
|
549
517
|
:param amplitude: Amplitude, Amount to boost elastic bounces for 'elastic' easing
|
|
@@ -553,15 +521,14 @@ def interpolate_sequence(
|
|
|
553
521
|
"""
|
|
554
522
|
|
|
555
523
|
def join_selection(
|
|
556
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
557
524
|
execution_context: int | str | None = None,
|
|
558
525
|
undo: bool | None = None,
|
|
526
|
+
/,
|
|
559
527
|
*,
|
|
560
528
|
type: typing.Literal["JOINCOPY", "JOIN"] | None = "JOIN",
|
|
561
529
|
):
|
|
562
530
|
"""New stroke from selected points/strokes
|
|
563
531
|
|
|
564
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
565
532
|
:type execution_context: int | str | None
|
|
566
533
|
:type undo: bool | None
|
|
567
534
|
:param type: Type, Defines how the operator will behave on the selection in the active layer
|
|
@@ -575,15 +542,14 @@ def join_selection(
|
|
|
575
542
|
"""
|
|
576
543
|
|
|
577
544
|
def layer_active(
|
|
578
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
579
545
|
execution_context: int | str | None = None,
|
|
580
546
|
undo: bool | None = None,
|
|
547
|
+
/,
|
|
581
548
|
*,
|
|
582
549
|
layer: int | None = 0,
|
|
583
550
|
):
|
|
584
551
|
"""Set the active Grease Pencil layer
|
|
585
552
|
|
|
586
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
587
553
|
:type execution_context: int | str | None
|
|
588
554
|
:type undo: bool | None
|
|
589
555
|
:param layer: Grease Pencil Layer
|
|
@@ -591,15 +557,14 @@ def layer_active(
|
|
|
591
557
|
"""
|
|
592
558
|
|
|
593
559
|
def layer_add(
|
|
594
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
595
560
|
execution_context: int | str | None = None,
|
|
596
561
|
undo: bool | None = None,
|
|
562
|
+
/,
|
|
597
563
|
*,
|
|
598
564
|
new_layer_name: str = "Layer",
|
|
599
565
|
):
|
|
600
566
|
"""Add a new Grease Pencil layer in the active object
|
|
601
567
|
|
|
602
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
603
568
|
:type execution_context: int | str | None
|
|
604
569
|
:type undo: bool | None
|
|
605
570
|
:param new_layer_name: Name, Name of the new layer
|
|
@@ -607,15 +572,14 @@ def layer_add(
|
|
|
607
572
|
"""
|
|
608
573
|
|
|
609
574
|
def layer_duplicate(
|
|
610
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
611
575
|
execution_context: int | str | None = None,
|
|
612
576
|
undo: bool | None = None,
|
|
577
|
+
/,
|
|
613
578
|
*,
|
|
614
579
|
empty_keyframes: bool | None = False,
|
|
615
580
|
):
|
|
616
581
|
"""Make a copy of the active Grease Pencil layer
|
|
617
582
|
|
|
618
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
619
583
|
:type execution_context: int | str | None
|
|
620
584
|
:type undo: bool | None
|
|
621
585
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
@@ -623,16 +587,15 @@ def layer_duplicate(
|
|
|
623
587
|
"""
|
|
624
588
|
|
|
625
589
|
def layer_duplicate_object(
|
|
626
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
627
590
|
execution_context: int | str | None = None,
|
|
628
591
|
undo: bool | None = None,
|
|
592
|
+
/,
|
|
629
593
|
*,
|
|
630
594
|
only_active: bool | None = True,
|
|
631
595
|
mode: typing.Literal["ALL", "ACTIVE"] | None = "ALL",
|
|
632
596
|
):
|
|
633
597
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
634
598
|
|
|
635
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
636
599
|
:type execution_context: int | str | None
|
|
637
600
|
:type undo: bool | None
|
|
638
601
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
@@ -642,15 +605,14 @@ def layer_duplicate_object(
|
|
|
642
605
|
"""
|
|
643
606
|
|
|
644
607
|
def layer_group_add(
|
|
645
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
646
608
|
execution_context: int | str | None = None,
|
|
647
609
|
undo: bool | None = None,
|
|
610
|
+
/,
|
|
648
611
|
*,
|
|
649
612
|
new_layer_group_name: str = "",
|
|
650
613
|
):
|
|
651
614
|
"""Add a new Grease Pencil layer group in the active object
|
|
652
615
|
|
|
653
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
654
616
|
:type execution_context: int | str | None
|
|
655
617
|
:type undo: bool | None
|
|
656
618
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
@@ -658,9 +620,9 @@ def layer_group_add(
|
|
|
658
620
|
"""
|
|
659
621
|
|
|
660
622
|
def layer_group_color_tag(
|
|
661
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
662
623
|
execution_context: int | str | None = None,
|
|
663
624
|
undo: bool | None = None,
|
|
625
|
+
/,
|
|
664
626
|
*,
|
|
665
627
|
color_tag: typing.Literal[
|
|
666
628
|
"NONE",
|
|
@@ -677,7 +639,6 @@ def layer_group_color_tag(
|
|
|
677
639
|
):
|
|
678
640
|
"""Change layer group icon
|
|
679
641
|
|
|
680
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
681
642
|
:type execution_context: int | str | None
|
|
682
643
|
:type undo: bool | None
|
|
683
644
|
:param color_tag: Color Tag
|
|
@@ -685,15 +646,14 @@ def layer_group_color_tag(
|
|
|
685
646
|
"""
|
|
686
647
|
|
|
687
648
|
def layer_group_remove(
|
|
688
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
689
649
|
execution_context: int | str | None = None,
|
|
690
650
|
undo: bool | None = None,
|
|
651
|
+
/,
|
|
691
652
|
*,
|
|
692
653
|
keep_children: bool | None = False,
|
|
693
654
|
):
|
|
694
655
|
"""Remove Grease Pencil layer group in the active object
|
|
695
656
|
|
|
696
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
697
657
|
:type execution_context: int | str | None
|
|
698
658
|
:type undo: bool | None
|
|
699
659
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
@@ -701,15 +661,14 @@ def layer_group_remove(
|
|
|
701
661
|
"""
|
|
702
662
|
|
|
703
663
|
def layer_hide(
|
|
704
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
705
664
|
execution_context: int | str | None = None,
|
|
706
665
|
undo: bool | None = None,
|
|
666
|
+
/,
|
|
707
667
|
*,
|
|
708
668
|
unselected: bool | None = False,
|
|
709
669
|
):
|
|
710
670
|
"""Hide selected/unselected Grease Pencil layers
|
|
711
671
|
|
|
712
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
713
672
|
:type execution_context: int | str | None
|
|
714
673
|
:type undo: bool | None
|
|
715
674
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
@@ -717,15 +676,14 @@ def layer_hide(
|
|
|
717
676
|
"""
|
|
718
677
|
|
|
719
678
|
def layer_isolate(
|
|
720
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
721
679
|
execution_context: int | str | None = None,
|
|
722
680
|
undo: bool | None = None,
|
|
681
|
+
/,
|
|
723
682
|
*,
|
|
724
683
|
affect_visibility: bool | None = False,
|
|
725
684
|
):
|
|
726
685
|
"""Make only active layer visible/editable
|
|
727
686
|
|
|
728
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
729
687
|
:type execution_context: int | str | None
|
|
730
688
|
:type undo: bool | None
|
|
731
689
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
@@ -733,15 +691,14 @@ def layer_isolate(
|
|
|
733
691
|
"""
|
|
734
692
|
|
|
735
693
|
def layer_lock_all(
|
|
736
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
737
694
|
execution_context: int | str | None = None,
|
|
738
695
|
undo: bool | None = None,
|
|
696
|
+
/,
|
|
739
697
|
*,
|
|
740
698
|
lock: bool | None = True,
|
|
741
699
|
):
|
|
742
700
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
743
701
|
|
|
744
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
745
702
|
:type execution_context: int | str | None
|
|
746
703
|
:type undo: bool | None
|
|
747
704
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
@@ -749,15 +706,14 @@ def layer_lock_all(
|
|
|
749
706
|
"""
|
|
750
707
|
|
|
751
708
|
def layer_mask_add(
|
|
752
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
753
709
|
execution_context: int | str | None = None,
|
|
754
710
|
undo: bool | None = None,
|
|
711
|
+
/,
|
|
755
712
|
*,
|
|
756
713
|
name: str = "",
|
|
757
714
|
):
|
|
758
715
|
"""Add new layer as masking
|
|
759
716
|
|
|
760
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
761
717
|
:type execution_context: int | str | None
|
|
762
718
|
:type undo: bool | None
|
|
763
719
|
:param name: Layer, Name of the layer
|
|
@@ -765,27 +721,23 @@ def layer_mask_add(
|
|
|
765
721
|
"""
|
|
766
722
|
|
|
767
723
|
def layer_mask_remove(
|
|
768
|
-
|
|
769
|
-
execution_context: int | str | None = None,
|
|
770
|
-
undo: bool | None = None,
|
|
724
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
771
725
|
):
|
|
772
726
|
"""Remove Layer Mask
|
|
773
727
|
|
|
774
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
775
728
|
:type execution_context: int | str | None
|
|
776
729
|
:type undo: bool | None
|
|
777
730
|
"""
|
|
778
731
|
|
|
779
732
|
def layer_mask_reorder(
|
|
780
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
781
733
|
execution_context: int | str | None = None,
|
|
782
734
|
undo: bool | None = None,
|
|
735
|
+
/,
|
|
783
736
|
*,
|
|
784
737
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
785
738
|
):
|
|
786
739
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
787
740
|
|
|
788
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
789
741
|
:type execution_context: int | str | None
|
|
790
742
|
:type undo: bool | None
|
|
791
743
|
:param direction: Direction
|
|
@@ -793,15 +745,14 @@ def layer_mask_reorder(
|
|
|
793
745
|
"""
|
|
794
746
|
|
|
795
747
|
def layer_merge(
|
|
796
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
797
748
|
execution_context: int | str | None = None,
|
|
798
749
|
undo: bool | None = None,
|
|
750
|
+
/,
|
|
799
751
|
*,
|
|
800
752
|
mode: typing.Literal["ACTIVE", "GROUP", "ALL"] | None = "ACTIVE",
|
|
801
753
|
):
|
|
802
754
|
"""Combine layers based on the mode into one layer
|
|
803
755
|
|
|
804
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
805
756
|
:type execution_context: int | str | None
|
|
806
757
|
:type undo: bool | None
|
|
807
758
|
:param mode: Mode
|
|
@@ -818,74 +769,43 @@ def layer_merge(
|
|
|
818
769
|
"""
|
|
819
770
|
|
|
820
771
|
def layer_move(
|
|
821
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
822
772
|
execution_context: int | str | None = None,
|
|
823
773
|
undo: bool | None = None,
|
|
774
|
+
/,
|
|
824
775
|
*,
|
|
825
776
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
826
777
|
):
|
|
827
778
|
"""Move the active Grease Pencil layer or Group
|
|
828
779
|
|
|
829
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
830
780
|
:type execution_context: int | str | None
|
|
831
781
|
:type undo: bool | None
|
|
832
782
|
:param direction: Direction
|
|
833
783
|
:type direction: typing.Literal['UP','DOWN'] | None
|
|
834
784
|
"""
|
|
835
785
|
|
|
836
|
-
def layer_remove(
|
|
837
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
838
|
-
execution_context: int | str | None = None,
|
|
839
|
-
undo: bool | None = None,
|
|
840
|
-
):
|
|
786
|
+
def layer_remove(execution_context: int | str | None = None, undo: bool | None = None):
|
|
841
787
|
"""Remove the active Grease Pencil layer
|
|
842
788
|
|
|
843
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
844
789
|
:type execution_context: int | str | None
|
|
845
790
|
:type undo: bool | None
|
|
846
791
|
"""
|
|
847
792
|
|
|
848
|
-
def
|
|
849
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
850
|
-
execution_context: int | str | None = None,
|
|
851
|
-
undo: bool | None = None,
|
|
852
|
-
*,
|
|
853
|
-
target_layer_name: str = "Layer",
|
|
854
|
-
location: typing.Literal["ABOVE", "BELOW"] | None = "ABOVE",
|
|
855
|
-
):
|
|
856
|
-
"""Reorder the active Grease Pencil layer
|
|
857
|
-
|
|
858
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
859
|
-
:type execution_context: int | str | None
|
|
860
|
-
:type undo: bool | None
|
|
861
|
-
:param target_layer_name: Target Name, Name of the target layer
|
|
862
|
-
:type target_layer_name: str
|
|
863
|
-
:param location: Location
|
|
864
|
-
:type location: typing.Literal['ABOVE','BELOW'] | None
|
|
865
|
-
"""
|
|
866
|
-
|
|
867
|
-
def layer_reveal(
|
|
868
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
869
|
-
execution_context: int | str | None = None,
|
|
870
|
-
undo: bool | None = None,
|
|
871
|
-
):
|
|
793
|
+
def layer_reveal(execution_context: int | str | None = None, undo: bool | None = None):
|
|
872
794
|
"""Show all Grease Pencil layers
|
|
873
795
|
|
|
874
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
875
796
|
:type execution_context: int | str | None
|
|
876
797
|
:type undo: bool | None
|
|
877
798
|
"""
|
|
878
799
|
|
|
879
800
|
def material_copy_to_object(
|
|
880
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
881
801
|
execution_context: int | str | None = None,
|
|
882
802
|
undo: bool | None = None,
|
|
803
|
+
/,
|
|
883
804
|
*,
|
|
884
805
|
only_active: bool | None = True,
|
|
885
806
|
):
|
|
886
807
|
"""Append Materials of the active Grease Pencil to other object
|
|
887
808
|
|
|
888
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
889
809
|
:type execution_context: int | str | None
|
|
890
810
|
:type undo: bool | None
|
|
891
811
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
@@ -893,15 +813,14 @@ def material_copy_to_object(
|
|
|
893
813
|
"""
|
|
894
814
|
|
|
895
815
|
def material_hide(
|
|
896
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
897
816
|
execution_context: int | str | None = None,
|
|
898
817
|
undo: bool | None = None,
|
|
818
|
+
/,
|
|
899
819
|
*,
|
|
900
820
|
invert: bool | None = False,
|
|
901
821
|
):
|
|
902
822
|
"""Hide active/inactive Grease Pencil material(s)
|
|
903
823
|
|
|
904
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
905
824
|
:type execution_context: int | str | None
|
|
906
825
|
:type undo: bool | None
|
|
907
826
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
@@ -909,15 +828,14 @@ def material_hide(
|
|
|
909
828
|
"""
|
|
910
829
|
|
|
911
830
|
def material_isolate(
|
|
912
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
913
831
|
execution_context: int | str | None = None,
|
|
914
832
|
undo: bool | None = None,
|
|
833
|
+
/,
|
|
915
834
|
*,
|
|
916
835
|
affect_visibility: bool | None = False,
|
|
917
836
|
):
|
|
918
837
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
919
838
|
|
|
920
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
921
839
|
:type execution_context: int | str | None
|
|
922
840
|
:type undo: bool | None
|
|
923
841
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
@@ -925,63 +843,50 @@ def material_isolate(
|
|
|
925
843
|
"""
|
|
926
844
|
|
|
927
845
|
def material_lock_all(
|
|
928
|
-
|
|
929
|
-
execution_context: int | str | None = None,
|
|
930
|
-
undo: bool | None = None,
|
|
846
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
931
847
|
):
|
|
932
848
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
933
849
|
|
|
934
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
935
850
|
:type execution_context: int | str | None
|
|
936
851
|
:type undo: bool | None
|
|
937
852
|
"""
|
|
938
853
|
|
|
939
854
|
def material_lock_unselected(
|
|
940
|
-
|
|
941
|
-
execution_context: int | str | None = None,
|
|
942
|
-
undo: bool | None = None,
|
|
855
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
943
856
|
):
|
|
944
857
|
"""Lock any material not used in any selected stroke
|
|
945
858
|
|
|
946
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
947
859
|
:type execution_context: int | str | None
|
|
948
860
|
:type undo: bool | None
|
|
949
861
|
"""
|
|
950
862
|
|
|
951
863
|
def material_lock_unused(
|
|
952
|
-
|
|
953
|
-
execution_context: int | str | None = None,
|
|
954
|
-
undo: bool | None = None,
|
|
864
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
955
865
|
):
|
|
956
866
|
"""Lock and hide any material not used
|
|
957
867
|
|
|
958
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
959
868
|
:type execution_context: int | str | None
|
|
960
869
|
:type undo: bool | None
|
|
961
870
|
"""
|
|
962
871
|
|
|
963
872
|
def material_reveal(
|
|
964
|
-
|
|
965
|
-
execution_context: int | str | None = None,
|
|
966
|
-
undo: bool | None = None,
|
|
873
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
967
874
|
):
|
|
968
875
|
"""Unhide all hidden Grease Pencil materials
|
|
969
876
|
|
|
970
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
971
877
|
:type execution_context: int | str | None
|
|
972
878
|
:type undo: bool | None
|
|
973
879
|
"""
|
|
974
880
|
|
|
975
881
|
def material_select(
|
|
976
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
977
882
|
execution_context: int | str | None = None,
|
|
978
883
|
undo: bool | None = None,
|
|
884
|
+
/,
|
|
979
885
|
*,
|
|
980
886
|
deselect: bool | None = False,
|
|
981
887
|
):
|
|
982
888
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
983
889
|
|
|
984
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
985
890
|
:type execution_context: int | str | None
|
|
986
891
|
:type undo: bool | None
|
|
987
892
|
:param deselect: Deselect, Unselect strokes
|
|
@@ -989,28 +894,24 @@ def material_select(
|
|
|
989
894
|
"""
|
|
990
895
|
|
|
991
896
|
def material_unlock_all(
|
|
992
|
-
|
|
993
|
-
execution_context: int | str | None = None,
|
|
994
|
-
undo: bool | None = None,
|
|
897
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
995
898
|
):
|
|
996
899
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
997
900
|
|
|
998
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
999
901
|
:type execution_context: int | str | None
|
|
1000
902
|
:type undo: bool | None
|
|
1001
903
|
"""
|
|
1002
904
|
|
|
1003
905
|
def move_to_layer(
|
|
1004
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1005
906
|
execution_context: int | str | None = None,
|
|
1006
907
|
undo: bool | None = None,
|
|
908
|
+
/,
|
|
1007
909
|
*,
|
|
1008
910
|
target_layer_name: str = "",
|
|
1009
911
|
add_new_layer: bool | None = False,
|
|
1010
912
|
):
|
|
1011
913
|
"""Move selected strokes to another layer
|
|
1012
914
|
|
|
1013
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1014
915
|
:type execution_context: int | str | None
|
|
1015
916
|
:type undo: bool | None
|
|
1016
917
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
@@ -1020,15 +921,14 @@ def move_to_layer(
|
|
|
1020
921
|
"""
|
|
1021
922
|
|
|
1022
923
|
def paintmode_toggle(
|
|
1023
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1024
924
|
execution_context: int | str | None = None,
|
|
1025
925
|
undo: bool | None = None,
|
|
926
|
+
/,
|
|
1026
927
|
*,
|
|
1027
928
|
back: bool | None = False,
|
|
1028
929
|
):
|
|
1029
930
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1030
931
|
|
|
1031
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1032
932
|
:type execution_context: int | str | None
|
|
1033
933
|
:type undo: bool | None
|
|
1034
934
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -1036,16 +936,15 @@ def paintmode_toggle(
|
|
|
1036
936
|
"""
|
|
1037
937
|
|
|
1038
938
|
def paste(
|
|
1039
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1040
939
|
execution_context: int | str | None = None,
|
|
1041
940
|
undo: bool | None = None,
|
|
941
|
+
/,
|
|
1042
942
|
*,
|
|
1043
943
|
paste_back: bool | None = False,
|
|
1044
944
|
keep_world_transform: bool | None = False,
|
|
1045
945
|
):
|
|
1046
946
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
1047
947
|
|
|
1048
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1049
948
|
:type execution_context: int | str | None
|
|
1050
949
|
:type undo: bool | None
|
|
1051
950
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
@@ -1055,9 +954,9 @@ def paste(
|
|
|
1055
954
|
"""
|
|
1056
955
|
|
|
1057
956
|
def primitive_arc(
|
|
1058
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1059
957
|
execution_context: int | str | None = None,
|
|
1060
958
|
undo: bool | None = None,
|
|
959
|
+
/,
|
|
1061
960
|
*,
|
|
1062
961
|
subdivision: int | None = 62,
|
|
1063
962
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
@@ -1065,7 +964,6 @@ def primitive_arc(
|
|
|
1065
964
|
):
|
|
1066
965
|
"""Create predefined Grease Pencil stroke arcs
|
|
1067
966
|
|
|
1068
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1069
967
|
:type execution_context: int | str | None
|
|
1070
968
|
:type undo: bool | None
|
|
1071
969
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1075,9 +973,9 @@ def primitive_arc(
|
|
|
1075
973
|
"""
|
|
1076
974
|
|
|
1077
975
|
def primitive_box(
|
|
1078
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1079
976
|
execution_context: int | str | None = None,
|
|
1080
977
|
undo: bool | None = None,
|
|
978
|
+
/,
|
|
1081
979
|
*,
|
|
1082
980
|
subdivision: int | None = 3,
|
|
1083
981
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
@@ -1085,7 +983,6 @@ def primitive_box(
|
|
|
1085
983
|
):
|
|
1086
984
|
"""Create predefined Grease Pencil stroke boxes
|
|
1087
985
|
|
|
1088
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1089
986
|
:type execution_context: int | str | None
|
|
1090
987
|
:type undo: bool | None
|
|
1091
988
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1095,9 +992,9 @@ def primitive_box(
|
|
|
1095
992
|
"""
|
|
1096
993
|
|
|
1097
994
|
def primitive_circle(
|
|
1098
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1099
995
|
execution_context: int | str | None = None,
|
|
1100
996
|
undo: bool | None = None,
|
|
997
|
+
/,
|
|
1101
998
|
*,
|
|
1102
999
|
subdivision: int | None = 94,
|
|
1103
1000
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
@@ -1105,7 +1002,6 @@ def primitive_circle(
|
|
|
1105
1002
|
):
|
|
1106
1003
|
"""Create predefined Grease Pencil stroke circles
|
|
1107
1004
|
|
|
1108
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1109
1005
|
:type execution_context: int | str | None
|
|
1110
1006
|
:type undo: bool | None
|
|
1111
1007
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1115,9 +1011,9 @@ def primitive_circle(
|
|
|
1115
1011
|
"""
|
|
1116
1012
|
|
|
1117
1013
|
def primitive_curve(
|
|
1118
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1119
1014
|
execution_context: int | str | None = None,
|
|
1120
1015
|
undo: bool | None = None,
|
|
1016
|
+
/,
|
|
1121
1017
|
*,
|
|
1122
1018
|
subdivision: int | None = 62,
|
|
1123
1019
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
@@ -1125,7 +1021,6 @@ def primitive_curve(
|
|
|
1125
1021
|
):
|
|
1126
1022
|
"""Create predefined Grease Pencil stroke curve shapes
|
|
1127
1023
|
|
|
1128
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1129
1024
|
:type execution_context: int | str | None
|
|
1130
1025
|
:type undo: bool | None
|
|
1131
1026
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1135,9 +1030,9 @@ def primitive_curve(
|
|
|
1135
1030
|
"""
|
|
1136
1031
|
|
|
1137
1032
|
def primitive_line(
|
|
1138
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1139
1033
|
execution_context: int | str | None = None,
|
|
1140
1034
|
undo: bool | None = None,
|
|
1035
|
+
/,
|
|
1141
1036
|
*,
|
|
1142
1037
|
subdivision: int | None = 6,
|
|
1143
1038
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
@@ -1145,7 +1040,6 @@ def primitive_line(
|
|
|
1145
1040
|
):
|
|
1146
1041
|
"""Create predefined Grease Pencil stroke lines
|
|
1147
1042
|
|
|
1148
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1149
1043
|
:type execution_context: int | str | None
|
|
1150
1044
|
:type undo: bool | None
|
|
1151
1045
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1155,9 +1049,9 @@ def primitive_line(
|
|
|
1155
1049
|
"""
|
|
1156
1050
|
|
|
1157
1051
|
def primitive_polyline(
|
|
1158
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1159
1052
|
execution_context: int | str | None = None,
|
|
1160
1053
|
undo: bool | None = None,
|
|
1054
|
+
/,
|
|
1161
1055
|
*,
|
|
1162
1056
|
subdivision: int | None = 6,
|
|
1163
1057
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
@@ -1165,7 +1059,6 @@ def primitive_polyline(
|
|
|
1165
1059
|
):
|
|
1166
1060
|
"""Create predefined Grease Pencil stroke polylines
|
|
1167
1061
|
|
|
1168
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1169
1062
|
:type execution_context: int | str | None
|
|
1170
1063
|
:type undo: bool | None
|
|
1171
1064
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -1175,15 +1068,14 @@ def primitive_polyline(
|
|
|
1175
1068
|
"""
|
|
1176
1069
|
|
|
1177
1070
|
def reorder(
|
|
1178
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1179
1071
|
execution_context: int | str | None = None,
|
|
1180
1072
|
undo: bool | None = None,
|
|
1073
|
+
/,
|
|
1181
1074
|
*,
|
|
1182
1075
|
direction: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
|
|
1183
1076
|
):
|
|
1184
1077
|
"""Change the display order of the selected strokes
|
|
1185
1078
|
|
|
1186
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1187
1079
|
:type execution_context: int | str | None
|
|
1188
1080
|
:type undo: bool | None
|
|
1189
1081
|
:param direction: Direction
|
|
@@ -1191,9 +1083,9 @@ def reorder(
|
|
|
1191
1083
|
"""
|
|
1192
1084
|
|
|
1193
1085
|
def reproject(
|
|
1194
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1195
1086
|
execution_context: int | str | None = None,
|
|
1196
1087
|
undo: bool | None = None,
|
|
1088
|
+
/,
|
|
1197
1089
|
*,
|
|
1198
1090
|
type: typing.Literal["FRONT", "SIDE", "TOP", "VIEW", "SURFACE", "CURSOR"]
|
|
1199
1091
|
| None = "VIEW",
|
|
@@ -1202,7 +1094,6 @@ def reproject(
|
|
|
1202
1094
|
):
|
|
1203
1095
|
"""Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
|
|
1204
1096
|
|
|
1205
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1206
1097
|
:type execution_context: int | str | None
|
|
1207
1098
|
:type undo: bool | None
|
|
1208
1099
|
:param type: Projection Type
|
|
@@ -1231,22 +1122,17 @@ def reproject(
|
|
|
1231
1122
|
:type offset: float | None
|
|
1232
1123
|
"""
|
|
1233
1124
|
|
|
1234
|
-
def reset_uvs(
|
|
1235
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1236
|
-
execution_context: int | str | None = None,
|
|
1237
|
-
undo: bool | None = None,
|
|
1238
|
-
):
|
|
1125
|
+
def reset_uvs(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1239
1126
|
"""Reset UV transformation to default values
|
|
1240
1127
|
|
|
1241
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1242
1128
|
:type execution_context: int | str | None
|
|
1243
1129
|
:type undo: bool | None
|
|
1244
1130
|
"""
|
|
1245
1131
|
|
|
1246
1132
|
def sculpt_paint(
|
|
1247
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1248
1133
|
execution_context: int | str | None = None,
|
|
1249
1134
|
undo: bool | None = None,
|
|
1135
|
+
/,
|
|
1250
1136
|
*,
|
|
1251
1137
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1252
1138
|
| None = None,
|
|
@@ -1255,7 +1141,6 @@ def sculpt_paint(
|
|
|
1255
1141
|
):
|
|
1256
1142
|
"""Sculpt strokes in the active Grease Pencil object
|
|
1257
1143
|
|
|
1258
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1259
1144
|
:type execution_context: int | str | None
|
|
1260
1145
|
:type undo: bool | None
|
|
1261
1146
|
:param stroke: Stroke
|
|
@@ -1279,15 +1164,14 @@ def sculpt_paint(
|
|
|
1279
1164
|
"""
|
|
1280
1165
|
|
|
1281
1166
|
def sculptmode_toggle(
|
|
1282
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1283
1167
|
execution_context: int | str | None = None,
|
|
1284
1168
|
undo: bool | None = None,
|
|
1169
|
+
/,
|
|
1285
1170
|
*,
|
|
1286
1171
|
back: bool | None = False,
|
|
1287
1172
|
):
|
|
1288
1173
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1289
1174
|
|
|
1290
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1291
1175
|
:type execution_context: int | str | None
|
|
1292
1176
|
:type undo: bool | None
|
|
1293
1177
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -1295,15 +1179,14 @@ def sculptmode_toggle(
|
|
|
1295
1179
|
"""
|
|
1296
1180
|
|
|
1297
1181
|
def select_all(
|
|
1298
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1299
1182
|
execution_context: int | str | None = None,
|
|
1300
1183
|
undo: bool | None = None,
|
|
1184
|
+
/,
|
|
1301
1185
|
*,
|
|
1302
1186
|
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
1303
1187
|
):
|
|
1304
1188
|
"""(De)select all visible strokes
|
|
1305
1189
|
|
|
1306
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1307
1190
|
:type execution_context: int | str | None
|
|
1308
1191
|
:type undo: bool | None
|
|
1309
1192
|
:param action: Action, Selection action to execute
|
|
@@ -1323,15 +1206,14 @@ def select_all(
|
|
|
1323
1206
|
"""
|
|
1324
1207
|
|
|
1325
1208
|
def select_alternate(
|
|
1326
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1327
1209
|
execution_context: int | str | None = None,
|
|
1328
1210
|
undo: bool | None = None,
|
|
1211
|
+
/,
|
|
1329
1212
|
*,
|
|
1330
1213
|
deselect_ends: bool | None = False,
|
|
1331
1214
|
):
|
|
1332
1215
|
"""Select alternated points in strokes with already selected points
|
|
1333
1216
|
|
|
1334
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1335
1217
|
:type execution_context: int | str | None
|
|
1336
1218
|
:type undo: bool | None
|
|
1337
1219
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
@@ -1339,16 +1221,15 @@ def select_alternate(
|
|
|
1339
1221
|
"""
|
|
1340
1222
|
|
|
1341
1223
|
def select_ends(
|
|
1342
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1343
1224
|
execution_context: int | str | None = None,
|
|
1344
1225
|
undo: bool | None = None,
|
|
1226
|
+
/,
|
|
1345
1227
|
*,
|
|
1346
1228
|
amount_start: int | None = 0,
|
|
1347
1229
|
amount_end: int | None = 1,
|
|
1348
1230
|
):
|
|
1349
1231
|
"""Select end points of strokes
|
|
1350
1232
|
|
|
1351
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1352
1233
|
:type execution_context: int | str | None
|
|
1353
1234
|
:type undo: bool | None
|
|
1354
1235
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
@@ -1357,46 +1238,31 @@ def select_ends(
|
|
|
1357
1238
|
:type amount_end: int | None
|
|
1358
1239
|
"""
|
|
1359
1240
|
|
|
1360
|
-
def select_less(
|
|
1361
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1362
|
-
execution_context: int | str | None = None,
|
|
1363
|
-
undo: bool | None = None,
|
|
1364
|
-
):
|
|
1241
|
+
def select_less(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1365
1242
|
"""Shrink the selection by one point
|
|
1366
1243
|
|
|
1367
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1368
1244
|
:type execution_context: int | str | None
|
|
1369
1245
|
:type undo: bool | None
|
|
1370
1246
|
"""
|
|
1371
1247
|
|
|
1372
|
-
def select_linked(
|
|
1373
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1374
|
-
execution_context: int | str | None = None,
|
|
1375
|
-
undo: bool | None = None,
|
|
1376
|
-
):
|
|
1248
|
+
def select_linked(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1377
1249
|
"""Select all points in curves with any point selection
|
|
1378
1250
|
|
|
1379
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1380
1251
|
:type execution_context: int | str | None
|
|
1381
1252
|
:type undo: bool | None
|
|
1382
1253
|
"""
|
|
1383
1254
|
|
|
1384
|
-
def select_more(
|
|
1385
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1386
|
-
execution_context: int | str | None = None,
|
|
1387
|
-
undo: bool | None = None,
|
|
1388
|
-
):
|
|
1255
|
+
def select_more(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1389
1256
|
"""Grow the selection by one point
|
|
1390
1257
|
|
|
1391
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1392
1258
|
:type execution_context: int | str | None
|
|
1393
1259
|
:type undo: bool | None
|
|
1394
1260
|
"""
|
|
1395
1261
|
|
|
1396
1262
|
def select_random(
|
|
1397
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1398
1263
|
execution_context: int | str | None = None,
|
|
1399
1264
|
undo: bool | None = None,
|
|
1265
|
+
/,
|
|
1400
1266
|
*,
|
|
1401
1267
|
ratio: float | None = 0.5,
|
|
1402
1268
|
seed: int | None = 0,
|
|
@@ -1404,7 +1270,6 @@ def select_random(
|
|
|
1404
1270
|
):
|
|
1405
1271
|
"""Selects random points from the current strokes selection
|
|
1406
1272
|
|
|
1407
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1408
1273
|
:type execution_context: int | str | None
|
|
1409
1274
|
:type undo: bool | None
|
|
1410
1275
|
:param ratio: Ratio, Portion of items to select randomly
|
|
@@ -1422,9 +1287,9 @@ def select_random(
|
|
|
1422
1287
|
"""
|
|
1423
1288
|
|
|
1424
1289
|
def select_similar(
|
|
1425
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1426
1290
|
execution_context: int | str | None = None,
|
|
1427
1291
|
undo: bool | None = None,
|
|
1292
|
+
/,
|
|
1428
1293
|
*,
|
|
1429
1294
|
mode: typing.Literal["LAYER", "MATERIAL", "VERTEX_COLOR", "RADIUS", "OPACITY"]
|
|
1430
1295
|
| None = "LAYER",
|
|
@@ -1432,7 +1297,6 @@ def select_similar(
|
|
|
1432
1297
|
):
|
|
1433
1298
|
"""Select all strokes with similar characteristics
|
|
1434
1299
|
|
|
1435
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1436
1300
|
:type execution_context: int | str | None
|
|
1437
1301
|
:type undo: bool | None
|
|
1438
1302
|
:param mode: Mode
|
|
@@ -1442,15 +1306,14 @@ def select_similar(
|
|
|
1442
1306
|
"""
|
|
1443
1307
|
|
|
1444
1308
|
def separate(
|
|
1445
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1446
1309
|
execution_context: int | str | None = None,
|
|
1447
1310
|
undo: bool | None = None,
|
|
1311
|
+
/,
|
|
1448
1312
|
*,
|
|
1449
1313
|
mode: typing.Literal["SELECTED", "MATERIAL", "LAYER"] | None = "SELECTED",
|
|
1450
1314
|
):
|
|
1451
1315
|
"""Separate the selected geometry into a new Grease Pencil object
|
|
1452
1316
|
|
|
1453
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1454
1317
|
:type execution_context: int | str | None
|
|
1455
1318
|
:type undo: bool | None
|
|
1456
1319
|
:param mode: Mode
|
|
@@ -1467,27 +1330,23 @@ def separate(
|
|
|
1467
1330
|
"""
|
|
1468
1331
|
|
|
1469
1332
|
def set_active_material(
|
|
1470
|
-
|
|
1471
|
-
execution_context: int | str | None = None,
|
|
1472
|
-
undo: bool | None = None,
|
|
1333
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1473
1334
|
):
|
|
1474
1335
|
"""Set the selected stroke material as the active material
|
|
1475
1336
|
|
|
1476
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1477
1337
|
:type execution_context: int | str | None
|
|
1478
1338
|
:type undo: bool | None
|
|
1479
1339
|
"""
|
|
1480
1340
|
|
|
1481
1341
|
def set_curve_resolution(
|
|
1482
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1483
1342
|
execution_context: int | str | None = None,
|
|
1484
1343
|
undo: bool | None = None,
|
|
1344
|
+
/,
|
|
1485
1345
|
*,
|
|
1486
1346
|
resolution: int | None = 12,
|
|
1487
1347
|
):
|
|
1488
1348
|
"""Set resolution of selected curves
|
|
1489
1349
|
|
|
1490
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1491
1350
|
:type execution_context: int | str | None
|
|
1492
1351
|
:type undo: bool | None
|
|
1493
1352
|
:param resolution: Resolution, The resolution to use for each curve segment
|
|
@@ -1495,50 +1354,47 @@ def set_curve_resolution(
|
|
|
1495
1354
|
"""
|
|
1496
1355
|
|
|
1497
1356
|
def set_curve_type(
|
|
1498
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1499
1357
|
execution_context: int | str | None = None,
|
|
1500
1358
|
undo: bool | None = None,
|
|
1359
|
+
/,
|
|
1501
1360
|
*,
|
|
1502
|
-
type: bpy.
|
|
1361
|
+
type: bpy._typing.rna_enums.CurvesTypeItems | None = "POLY",
|
|
1503
1362
|
use_handles: bool | None = False,
|
|
1504
1363
|
):
|
|
1505
1364
|
"""Set type of selected curves
|
|
1506
1365
|
|
|
1507
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1508
1366
|
:type execution_context: int | str | None
|
|
1509
1367
|
:type undo: bool | None
|
|
1510
1368
|
:param type: Type, Curve type
|
|
1511
|
-
:type type: bpy.
|
|
1369
|
+
:type type: bpy._typing.rna_enums.CurvesTypeItems | None
|
|
1512
1370
|
:param use_handles: Handles, Take handle information into account in the conversion
|
|
1513
1371
|
:type use_handles: bool | None
|
|
1514
1372
|
"""
|
|
1515
1373
|
|
|
1516
1374
|
def set_handle_type(
|
|
1517
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1518
1375
|
execution_context: int | str | None = None,
|
|
1519
1376
|
undo: bool | None = None,
|
|
1377
|
+
/,
|
|
1520
1378
|
*,
|
|
1521
|
-
type: bpy.
|
|
1379
|
+
type: bpy._typing.rna_enums.CurvesHandleTypeItems | None = "AUTO",
|
|
1522
1380
|
):
|
|
1523
1381
|
"""Set the handle type for bezier curves
|
|
1524
1382
|
|
|
1525
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1526
1383
|
:type execution_context: int | str | None
|
|
1527
1384
|
:type undo: bool | None
|
|
1528
1385
|
:param type: Type
|
|
1529
|
-
:type type: bpy.
|
|
1386
|
+
:type type: bpy._typing.rna_enums.CurvesHandleTypeItems | None
|
|
1530
1387
|
"""
|
|
1531
1388
|
|
|
1532
1389
|
def set_material(
|
|
1533
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1534
1390
|
execution_context: int | str | None = None,
|
|
1535
1391
|
undo: bool | None = None,
|
|
1392
|
+
/,
|
|
1536
1393
|
*,
|
|
1537
1394
|
slot: str | None = "DEFAULT",
|
|
1538
1395
|
):
|
|
1539
1396
|
"""Set active material
|
|
1540
1397
|
|
|
1541
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1542
1398
|
:type execution_context: int | str | None
|
|
1543
1399
|
:type undo: bool | None
|
|
1544
1400
|
:param slot: Material Slot
|
|
@@ -1546,43 +1402,38 @@ def set_material(
|
|
|
1546
1402
|
"""
|
|
1547
1403
|
|
|
1548
1404
|
def set_selection_mode(
|
|
1549
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1550
1405
|
execution_context: int | str | None = None,
|
|
1551
1406
|
undo: bool | None = None,
|
|
1407
|
+
/,
|
|
1552
1408
|
*,
|
|
1553
|
-
mode: bpy.
|
|
1409
|
+
mode: bpy._typing.rna_enums.GreasePencilSelectmodeItems | None = "POINT",
|
|
1554
1410
|
):
|
|
1555
1411
|
"""Change the selection mode for Grease Pencil strokes
|
|
1556
1412
|
|
|
1557
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1558
1413
|
:type execution_context: int | str | None
|
|
1559
1414
|
:type undo: bool | None
|
|
1560
1415
|
:param mode: Mode
|
|
1561
|
-
:type mode: bpy.
|
|
1416
|
+
:type mode: bpy._typing.rna_enums.GreasePencilSelectmodeItems | None
|
|
1562
1417
|
"""
|
|
1563
1418
|
|
|
1564
1419
|
def set_start_point(
|
|
1565
|
-
|
|
1566
|
-
execution_context: int | str | None = None,
|
|
1567
|
-
undo: bool | None = None,
|
|
1420
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1568
1421
|
):
|
|
1569
1422
|
"""Select which point is the beginning of the curve
|
|
1570
1423
|
|
|
1571
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1572
1424
|
:type execution_context: int | str | None
|
|
1573
1425
|
:type undo: bool | None
|
|
1574
1426
|
"""
|
|
1575
1427
|
|
|
1576
1428
|
def set_uniform_opacity(
|
|
1577
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1578
1429
|
execution_context: int | str | None = None,
|
|
1579
1430
|
undo: bool | None = None,
|
|
1431
|
+
/,
|
|
1580
1432
|
*,
|
|
1581
1433
|
opacity: float | None = 1.0,
|
|
1582
1434
|
):
|
|
1583
1435
|
"""Set all stroke points to same opacity
|
|
1584
1436
|
|
|
1585
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1586
1437
|
:type execution_context: int | str | None
|
|
1587
1438
|
:type undo: bool | None
|
|
1588
1439
|
:param opacity: Opacity
|
|
@@ -1590,15 +1441,14 @@ def set_uniform_opacity(
|
|
|
1590
1441
|
"""
|
|
1591
1442
|
|
|
1592
1443
|
def set_uniform_thickness(
|
|
1593
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1594
1444
|
execution_context: int | str | None = None,
|
|
1595
1445
|
undo: bool | None = None,
|
|
1446
|
+
/,
|
|
1596
1447
|
*,
|
|
1597
1448
|
thickness: float | None = 0.1,
|
|
1598
1449
|
):
|
|
1599
1450
|
"""Set all stroke points to same thickness
|
|
1600
1451
|
|
|
1601
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1602
1452
|
:type execution_context: int | str | None
|
|
1603
1453
|
:type undo: bool | None
|
|
1604
1454
|
:param thickness: Thickness, Thickness
|
|
@@ -1606,55 +1456,45 @@ def set_uniform_thickness(
|
|
|
1606
1456
|
"""
|
|
1607
1457
|
|
|
1608
1458
|
def snap_cursor_to_selected(
|
|
1609
|
-
|
|
1610
|
-
execution_context: int | str | None = None,
|
|
1611
|
-
undo: bool | None = None,
|
|
1459
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1612
1460
|
):
|
|
1613
1461
|
"""Snap cursor to center of selected points
|
|
1614
1462
|
|
|
1615
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1616
1463
|
:type execution_context: int | str | None
|
|
1617
1464
|
:type undo: bool | None
|
|
1618
1465
|
"""
|
|
1619
1466
|
|
|
1620
1467
|
def snap_to_cursor(
|
|
1621
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1622
1468
|
execution_context: int | str | None = None,
|
|
1623
1469
|
undo: bool | None = None,
|
|
1470
|
+
/,
|
|
1624
1471
|
*,
|
|
1625
1472
|
use_offset: bool | None = True,
|
|
1626
1473
|
):
|
|
1627
1474
|
"""Snap selected points/strokes to the cursor
|
|
1628
1475
|
|
|
1629
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1630
1476
|
:type execution_context: int | str | None
|
|
1631
1477
|
:type undo: bool | None
|
|
1632
1478
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1633
1479
|
:type use_offset: bool | None
|
|
1634
1480
|
"""
|
|
1635
1481
|
|
|
1636
|
-
def snap_to_grid(
|
|
1637
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1638
|
-
execution_context: int | str | None = None,
|
|
1639
|
-
undo: bool | None = None,
|
|
1640
|
-
):
|
|
1482
|
+
def snap_to_grid(execution_context: int | str | None = None, undo: bool | None = None):
|
|
1641
1483
|
"""Snap selected points to the nearest grid points
|
|
1642
1484
|
|
|
1643
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1644
1485
|
:type execution_context: int | str | None
|
|
1645
1486
|
:type undo: bool | None
|
|
1646
1487
|
"""
|
|
1647
1488
|
|
|
1648
1489
|
def stroke_material_set(
|
|
1649
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1650
1490
|
execution_context: int | str | None = None,
|
|
1651
1491
|
undo: bool | None = None,
|
|
1492
|
+
/,
|
|
1652
1493
|
*,
|
|
1653
1494
|
material: str = "",
|
|
1654
1495
|
):
|
|
1655
1496
|
"""Assign the active material slot to the selected strokes
|
|
1656
1497
|
|
|
1657
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1658
1498
|
:type execution_context: int | str | None
|
|
1659
1499
|
:type undo: bool | None
|
|
1660
1500
|
:param material: Material, Name of the material
|
|
@@ -1662,16 +1502,15 @@ def stroke_material_set(
|
|
|
1662
1502
|
"""
|
|
1663
1503
|
|
|
1664
1504
|
def stroke_merge_by_distance(
|
|
1665
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1666
1505
|
execution_context: int | str | None = None,
|
|
1667
1506
|
undo: bool | None = None,
|
|
1507
|
+
/,
|
|
1668
1508
|
*,
|
|
1669
1509
|
threshold: float | None = 0.001,
|
|
1670
1510
|
use_unselected: bool | None = False,
|
|
1671
1511
|
):
|
|
1672
1512
|
"""Merge points by distance
|
|
1673
1513
|
|
|
1674
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1675
1514
|
:type execution_context: int | str | None
|
|
1676
1515
|
:type undo: bool | None
|
|
1677
1516
|
:param threshold: Threshold
|
|
@@ -1681,15 +1520,14 @@ def stroke_merge_by_distance(
|
|
|
1681
1520
|
"""
|
|
1682
1521
|
|
|
1683
1522
|
def stroke_reset_vertex_color(
|
|
1684
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1685
1523
|
execution_context: int | str | None = None,
|
|
1686
1524
|
undo: bool | None = None,
|
|
1525
|
+
/,
|
|
1687
1526
|
*,
|
|
1688
1527
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1689
1528
|
):
|
|
1690
1529
|
"""Reset vertex color for all or selected strokes
|
|
1691
1530
|
|
|
1692
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1693
1531
|
:type execution_context: int | str | None
|
|
1694
1532
|
:type undo: bool | None
|
|
1695
1533
|
:param mode: Mode
|
|
@@ -1697,9 +1535,9 @@ def stroke_reset_vertex_color(
|
|
|
1697
1535
|
"""
|
|
1698
1536
|
|
|
1699
1537
|
def stroke_simplify(
|
|
1700
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1701
1538
|
execution_context: int | str | None = None,
|
|
1702
1539
|
undo: bool | None = None,
|
|
1540
|
+
/,
|
|
1703
1541
|
*,
|
|
1704
1542
|
factor: float | None = 0.01,
|
|
1705
1543
|
length: float | None = 0.05,
|
|
@@ -1709,7 +1547,6 @@ def stroke_simplify(
|
|
|
1709
1547
|
):
|
|
1710
1548
|
"""Simplify selected strokes
|
|
1711
1549
|
|
|
1712
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1713
1550
|
:type execution_context: int | str | None
|
|
1714
1551
|
:type undo: bool | None
|
|
1715
1552
|
:param factor: Factor
|
|
@@ -1737,9 +1574,9 @@ def stroke_simplify(
|
|
|
1737
1574
|
"""
|
|
1738
1575
|
|
|
1739
1576
|
def stroke_smooth(
|
|
1740
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1741
1577
|
execution_context: int | str | None = None,
|
|
1742
1578
|
undo: bool | None = None,
|
|
1579
|
+
/,
|
|
1743
1580
|
*,
|
|
1744
1581
|
iterations: int | None = 10,
|
|
1745
1582
|
factor: float | None = 1.0,
|
|
@@ -1751,7 +1588,6 @@ def stroke_smooth(
|
|
|
1751
1588
|
):
|
|
1752
1589
|
"""Smooth selected strokes
|
|
1753
1590
|
|
|
1754
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1755
1591
|
:type execution_context: int | str | None
|
|
1756
1592
|
:type undo: bool | None
|
|
1757
1593
|
:param iterations: Iterations
|
|
@@ -1771,16 +1607,15 @@ def stroke_smooth(
|
|
|
1771
1607
|
"""
|
|
1772
1608
|
|
|
1773
1609
|
def stroke_subdivide(
|
|
1774
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1775
1610
|
execution_context: int | str | None = None,
|
|
1776
1611
|
undo: bool | None = None,
|
|
1612
|
+
/,
|
|
1777
1613
|
*,
|
|
1778
1614
|
number_cuts: int | None = 1,
|
|
1779
1615
|
only_selected: bool | None = True,
|
|
1780
1616
|
):
|
|
1781
1617
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1782
1618
|
|
|
1783
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1784
1619
|
:type execution_context: int | str | None
|
|
1785
1620
|
:type undo: bool | None
|
|
1786
1621
|
:param number_cuts: Number of Cuts
|
|
@@ -1790,16 +1625,15 @@ def stroke_subdivide(
|
|
|
1790
1625
|
"""
|
|
1791
1626
|
|
|
1792
1627
|
def stroke_subdivide_smooth(
|
|
1793
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1794
1628
|
execution_context: int | str | None = None,
|
|
1795
1629
|
undo: bool | None = None,
|
|
1630
|
+
/,
|
|
1796
1631
|
*,
|
|
1797
1632
|
GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
|
|
1798
1633
|
GREASE_PENCIL_OT_stroke_smooth: typing.Any | None = None,
|
|
1799
1634
|
):
|
|
1800
1635
|
"""Subdivide strokes and smooth them
|
|
1801
1636
|
|
|
1802
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1803
1637
|
:type execution_context: int | str | None
|
|
1804
1638
|
:type undo: bool | None
|
|
1805
1639
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
@@ -1809,21 +1643,18 @@ def stroke_subdivide_smooth(
|
|
|
1809
1643
|
"""
|
|
1810
1644
|
|
|
1811
1645
|
def stroke_switch_direction(
|
|
1812
|
-
|
|
1813
|
-
execution_context: int | str | None = None,
|
|
1814
|
-
undo: bool | None = None,
|
|
1646
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1815
1647
|
):
|
|
1816
1648
|
"""Change direction of the points of the selected strokes
|
|
1817
1649
|
|
|
1818
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1819
1650
|
:type execution_context: int | str | None
|
|
1820
1651
|
:type undo: bool | None
|
|
1821
1652
|
"""
|
|
1822
1653
|
|
|
1823
1654
|
def stroke_trim(
|
|
1824
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1825
1655
|
execution_context: int | str | None = None,
|
|
1826
1656
|
undo: bool | None = None,
|
|
1657
|
+
/,
|
|
1827
1658
|
*,
|
|
1828
1659
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1829
1660
|
use_smooth_stroke: bool | None = False,
|
|
@@ -1832,7 +1663,6 @@ def stroke_trim(
|
|
|
1832
1663
|
):
|
|
1833
1664
|
"""Delete stroke points in between intersecting strokes
|
|
1834
1665
|
|
|
1835
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1836
1666
|
:type execution_context: int | str | None
|
|
1837
1667
|
:type undo: bool | None
|
|
1838
1668
|
:param path: Path
|
|
@@ -1846,9 +1676,9 @@ def stroke_trim(
|
|
|
1846
1676
|
"""
|
|
1847
1677
|
|
|
1848
1678
|
def texture_gradient(
|
|
1849
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1850
1679
|
execution_context: int | str | None = None,
|
|
1851
1680
|
undo: bool | None = None,
|
|
1681
|
+
/,
|
|
1852
1682
|
*,
|
|
1853
1683
|
xstart: int | None = 0,
|
|
1854
1684
|
xend: int | None = 0,
|
|
@@ -1859,7 +1689,6 @@ def texture_gradient(
|
|
|
1859
1689
|
):
|
|
1860
1690
|
"""Draw a line to set the fill material gradient for the selected strokes
|
|
1861
1691
|
|
|
1862
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1863
1692
|
:type execution_context: int | str | None
|
|
1864
1693
|
:type undo: bool | None
|
|
1865
1694
|
:param xstart: X Start
|
|
@@ -1877,9 +1706,9 @@ def texture_gradient(
|
|
|
1877
1706
|
"""
|
|
1878
1707
|
|
|
1879
1708
|
def trace_image(
|
|
1880
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1881
1709
|
execution_context: int | str | None = None,
|
|
1882
1710
|
undo: bool | None = None,
|
|
1711
|
+
/,
|
|
1883
1712
|
*,
|
|
1884
1713
|
target: typing.Literal["NEW", "SELECTED"] | None = "NEW",
|
|
1885
1714
|
radius: float | None = 0.01,
|
|
@@ -1894,7 +1723,6 @@ def trace_image(
|
|
|
1894
1723
|
):
|
|
1895
1724
|
"""Extract Grease Pencil strokes from image
|
|
1896
1725
|
|
|
1897
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1898
1726
|
:type execution_context: int | str | None
|
|
1899
1727
|
:type undo: bool | None
|
|
1900
1728
|
:param target: Target Object, Target Grease Pencil
|
|
@@ -1941,9 +1769,9 @@ def trace_image(
|
|
|
1941
1769
|
"""
|
|
1942
1770
|
|
|
1943
1771
|
def vertex_brush_stroke(
|
|
1944
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1945
1772
|
execution_context: int | str | None = None,
|
|
1946
1773
|
undo: bool | None = None,
|
|
1774
|
+
/,
|
|
1947
1775
|
*,
|
|
1948
1776
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
1949
1777
|
| None = None,
|
|
@@ -1952,7 +1780,6 @@ def vertex_brush_stroke(
|
|
|
1952
1780
|
):
|
|
1953
1781
|
"""Draw on vertex colors in the active Grease Pencil object
|
|
1954
1782
|
|
|
1955
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1956
1783
|
:type execution_context: int | str | None
|
|
1957
1784
|
:type undo: bool | None
|
|
1958
1785
|
:param stroke: Stroke
|
|
@@ -1976,9 +1803,9 @@ def vertex_brush_stroke(
|
|
|
1976
1803
|
"""
|
|
1977
1804
|
|
|
1978
1805
|
def vertex_color_brightness_contrast(
|
|
1979
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1980
1806
|
execution_context: int | str | None = None,
|
|
1981
1807
|
undo: bool | None = None,
|
|
1808
|
+
/,
|
|
1982
1809
|
*,
|
|
1983
1810
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1984
1811
|
brightness: float | None = 0.0,
|
|
@@ -1986,7 +1813,6 @@ def vertex_color_brightness_contrast(
|
|
|
1986
1813
|
):
|
|
1987
1814
|
"""Adjust vertex color brightness/contrast
|
|
1988
1815
|
|
|
1989
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1990
1816
|
:type execution_context: int | str | None
|
|
1991
1817
|
:type undo: bool | None
|
|
1992
1818
|
:param mode: Mode
|
|
@@ -1998,9 +1824,9 @@ def vertex_color_brightness_contrast(
|
|
|
1998
1824
|
"""
|
|
1999
1825
|
|
|
2000
1826
|
def vertex_color_hsv(
|
|
2001
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2002
1827
|
execution_context: int | str | None = None,
|
|
2003
1828
|
undo: bool | None = None,
|
|
1829
|
+
/,
|
|
2004
1830
|
*,
|
|
2005
1831
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
2006
1832
|
h: float | None = 0.5,
|
|
@@ -2009,7 +1835,6 @@ def vertex_color_hsv(
|
|
|
2009
1835
|
):
|
|
2010
1836
|
"""Adjust vertex color HSV values
|
|
2011
1837
|
|
|
2012
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2013
1838
|
:type execution_context: int | str | None
|
|
2014
1839
|
:type undo: bool | None
|
|
2015
1840
|
:param mode: Mode
|
|
@@ -2023,15 +1848,14 @@ def vertex_color_hsv(
|
|
|
2023
1848
|
"""
|
|
2024
1849
|
|
|
2025
1850
|
def vertex_color_invert(
|
|
2026
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2027
1851
|
execution_context: int | str | None = None,
|
|
2028
1852
|
undo: bool | None = None,
|
|
1853
|
+
/,
|
|
2029
1854
|
*,
|
|
2030
1855
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
2031
1856
|
):
|
|
2032
1857
|
"""Invert RGB values
|
|
2033
1858
|
|
|
2034
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2035
1859
|
:type execution_context: int | str | None
|
|
2036
1860
|
:type undo: bool | None
|
|
2037
1861
|
:param mode: Mode
|
|
@@ -2039,9 +1863,9 @@ def vertex_color_invert(
|
|
|
2039
1863
|
"""
|
|
2040
1864
|
|
|
2041
1865
|
def vertex_color_levels(
|
|
2042
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2043
1866
|
execution_context: int | str | None = None,
|
|
2044
1867
|
undo: bool | None = None,
|
|
1868
|
+
/,
|
|
2045
1869
|
*,
|
|
2046
1870
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
2047
1871
|
offset: float | None = 0.0,
|
|
@@ -2049,7 +1873,6 @@ def vertex_color_levels(
|
|
|
2049
1873
|
):
|
|
2050
1874
|
"""Adjust levels of vertex colors
|
|
2051
1875
|
|
|
2052
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2053
1876
|
:type execution_context: int | str | None
|
|
2054
1877
|
:type undo: bool | None
|
|
2055
1878
|
:param mode: Mode
|
|
@@ -2061,16 +1884,15 @@ def vertex_color_levels(
|
|
|
2061
1884
|
"""
|
|
2062
1885
|
|
|
2063
1886
|
def vertex_color_set(
|
|
2064
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2065
1887
|
execution_context: int | str | None = None,
|
|
2066
1888
|
undo: bool | None = None,
|
|
1889
|
+
/,
|
|
2067
1890
|
*,
|
|
2068
1891
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
2069
1892
|
factor: float | None = 1.0,
|
|
2070
1893
|
):
|
|
2071
1894
|
"""Set active color to all selected vertex
|
|
2072
1895
|
|
|
2073
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2074
1896
|
:type execution_context: int | str | None
|
|
2075
1897
|
:type undo: bool | None
|
|
2076
1898
|
:param mode: Mode
|
|
@@ -2080,27 +1902,23 @@ def vertex_color_set(
|
|
|
2080
1902
|
"""
|
|
2081
1903
|
|
|
2082
1904
|
def vertex_group_normalize(
|
|
2083
|
-
|
|
2084
|
-
execution_context: int | str | None = None,
|
|
2085
|
-
undo: bool | None = None,
|
|
1905
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
2086
1906
|
):
|
|
2087
1907
|
"""Normalize weights of the active vertex group
|
|
2088
1908
|
|
|
2089
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2090
1909
|
:type execution_context: int | str | None
|
|
2091
1910
|
:type undo: bool | None
|
|
2092
1911
|
"""
|
|
2093
1912
|
|
|
2094
1913
|
def vertex_group_normalize_all(
|
|
2095
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2096
1914
|
execution_context: int | str | None = None,
|
|
2097
1915
|
undo: bool | None = None,
|
|
1916
|
+
/,
|
|
2098
1917
|
*,
|
|
2099
1918
|
lock_active: bool | None = True,
|
|
2100
1919
|
):
|
|
2101
1920
|
"""Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
2102
1921
|
|
|
2103
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2104
1922
|
:type execution_context: int | str | None
|
|
2105
1923
|
:type undo: bool | None
|
|
2106
1924
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
@@ -2108,16 +1926,15 @@ def vertex_group_normalize_all(
|
|
|
2108
1926
|
"""
|
|
2109
1927
|
|
|
2110
1928
|
def vertex_group_smooth(
|
|
2111
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2112
1929
|
execution_context: int | str | None = None,
|
|
2113
1930
|
undo: bool | None = None,
|
|
1931
|
+
/,
|
|
2114
1932
|
*,
|
|
2115
1933
|
factor: float | None = 0.5,
|
|
2116
1934
|
repeat: int | None = 1,
|
|
2117
1935
|
):
|
|
2118
1936
|
"""Smooth the weights of the active vertex group
|
|
2119
1937
|
|
|
2120
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2121
1938
|
:type execution_context: int | str | None
|
|
2122
1939
|
:type undo: bool | None
|
|
2123
1940
|
:param factor: Factor
|
|
@@ -2127,15 +1944,14 @@ def vertex_group_smooth(
|
|
|
2127
1944
|
"""
|
|
2128
1945
|
|
|
2129
1946
|
def vertexmode_toggle(
|
|
2130
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2131
1947
|
execution_context: int | str | None = None,
|
|
2132
1948
|
undo: bool | None = None,
|
|
1949
|
+
/,
|
|
2133
1950
|
*,
|
|
2134
1951
|
back: bool | None = False,
|
|
2135
1952
|
):
|
|
2136
1953
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
2137
1954
|
|
|
2138
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2139
1955
|
:type execution_context: int | str | None
|
|
2140
1956
|
:type undo: bool | None
|
|
2141
1957
|
:param back: Return to Previous Mode, Return to previous mode
|
|
@@ -2143,9 +1959,9 @@ def vertexmode_toggle(
|
|
|
2143
1959
|
"""
|
|
2144
1960
|
|
|
2145
1961
|
def weight_brush_stroke(
|
|
2146
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2147
1962
|
execution_context: int | str | None = None,
|
|
2148
1963
|
undo: bool | None = None,
|
|
1964
|
+
/,
|
|
2149
1965
|
*,
|
|
2150
1966
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
2151
1967
|
| None = None,
|
|
@@ -2154,7 +1970,6 @@ def weight_brush_stroke(
|
|
|
2154
1970
|
):
|
|
2155
1971
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
2156
1972
|
|
|
2157
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2158
1973
|
:type execution_context: int | str | None
|
|
2159
1974
|
:type undo: bool | None
|
|
2160
1975
|
:param stroke: Stroke
|
|
@@ -2177,52 +1992,38 @@ def weight_brush_stroke(
|
|
|
2177
1992
|
:type pen_flip: bool | None
|
|
2178
1993
|
"""
|
|
2179
1994
|
|
|
2180
|
-
def weight_invert(
|
|
2181
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2182
|
-
execution_context: int | str | None = None,
|
|
2183
|
-
undo: bool | None = None,
|
|
2184
|
-
):
|
|
1995
|
+
def weight_invert(execution_context: int | str | None = None, undo: bool | None = None):
|
|
2185
1996
|
"""Invert the weight of active vertex group
|
|
2186
1997
|
|
|
2187
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2188
1998
|
:type execution_context: int | str | None
|
|
2189
1999
|
:type undo: bool | None
|
|
2190
2000
|
"""
|
|
2191
2001
|
|
|
2192
|
-
def weight_sample(
|
|
2193
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2194
|
-
execution_context: int | str | None = None,
|
|
2195
|
-
undo: bool | None = None,
|
|
2196
|
-
):
|
|
2002
|
+
def weight_sample(execution_context: int | str | None = None, undo: bool | None = None):
|
|
2197
2003
|
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
2198
2004
|
|
|
2199
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2200
2005
|
:type execution_context: int | str | None
|
|
2201
2006
|
:type undo: bool | None
|
|
2202
2007
|
"""
|
|
2203
2008
|
|
|
2204
2009
|
def weight_toggle_direction(
|
|
2205
|
-
|
|
2206
|
-
execution_context: int | str | None = None,
|
|
2207
|
-
undo: bool | None = None,
|
|
2010
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
2208
2011
|
):
|
|
2209
2012
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
2210
2013
|
|
|
2211
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2212
2014
|
:type execution_context: int | str | None
|
|
2213
2015
|
:type undo: bool | None
|
|
2214
2016
|
"""
|
|
2215
2017
|
|
|
2216
2018
|
def weightmode_toggle(
|
|
2217
|
-
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
2218
2019
|
execution_context: int | str | None = None,
|
|
2219
2020
|
undo: bool | None = None,
|
|
2021
|
+
/,
|
|
2220
2022
|
*,
|
|
2221
2023
|
back: bool | None = False,
|
|
2222
2024
|
):
|
|
2223
2025
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
2224
2026
|
|
|
2225
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
2226
2027
|
:type execution_context: int | str | None
|
|
2227
2028
|
:type undo: bool | None
|
|
2228
2029
|
:param back: Return to Previous Mode, Return to previous mode
|