fake-bpy-module 20240812__py3-none-any.whl → 20240814__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- bl_ui/space_view3d/__init__.pyi +31 -0
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +110 -110
- bpy/ops/armature/__init__.pyi +96 -96
- bpy/ops/asset/__init__.pyi +32 -32
- bpy/ops/boid/__init__.pyi +16 -16
- bpy/ops/brush/__init__.pyi +26 -26
- bpy/ops/buttons/__init__.pyi +12 -12
- bpy/ops/cachefile/__init__.pyi +10 -10
- bpy/ops/camera/__init__.pyi +4 -4
- bpy/ops/clip/__init__.pyi +184 -184
- bpy/ops/cloth/__init__.pyi +2 -2
- bpy/ops/collection/__init__.pyi +18 -18
- bpy/ops/console/__init__.pyi +42 -42
- bpy/ops/constraint/__init__.pyi +36 -36
- bpy/ops/curve/__init__.pyi +102 -102
- bpy/ops/curves/__init__.pyi +54 -54
- bpy/ops/cycles/__init__.pyi +6 -6
- bpy/ops/dpaint/__init__.pyi +10 -10
- bpy/ops/ed/__init__.pyi +24 -24
- bpy/ops/export_anim/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +4 -4
- bpy/ops/extensions/__init__.pyi +68 -68
- bpy/ops/file/__init__.pyi +80 -80
- bpy/ops/fluid/__init__.pyi +28 -28
- bpy/ops/font/__init__.pyi +46 -46
- bpy/ops/geometry/__init__.pyi +20 -20
- bpy/ops/gizmogroup/__init__.pyi +4 -4
- bpy/ops/gpencil/__init__.pyi +284 -284
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +166 -166
- bpy/ops/image/__init__.pyi +98 -98
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +4 -4
- bpy/ops/info/__init__.pyi +14 -14
- bpy/ops/lattice/__init__.pyi +16 -16
- bpy/ops/marker/__init__.pyi +22 -22
- bpy/ops/mask/__init__.pyi +78 -78
- bpy/ops/material/__init__.pyi +6 -6
- bpy/ops/mball/__init__.pyi +16 -16
- bpy/ops/mesh/__init__.pyi +326 -326
- bpy/ops/nla/__init__.pyi +78 -78
- bpy/ops/node/__init__.pyi +208 -208
- bpy/ops/object/__init__.pyi +473 -473
- bpy/ops/outliner/__init__.pyi +142 -142
- bpy/ops/paint/__init__.pyi +108 -108
- bpy/ops/paintcurve/__init__.pyi +16 -16
- bpy/ops/palette/__init__.pyi +14 -14
- bpy/ops/particle/__init__.pyi +72 -72
- bpy/ops/pose/__init__.pyi +102 -102
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +70 -70
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +26 -26
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +74 -74
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +72 -72
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +174 -174
- bpy/ops/sound/__init__.pyi +14 -14
- bpy/ops/spreadsheet/__init__.pyi +8 -8
- bpy/ops/surface/__init__.pyi +12 -12
- bpy/ops/text/__init__.pyi +86 -86
- bpy/ops/text_editor/__init__.pyi +2 -2
- bpy/ops/texture/__init__.pyi +8 -8
- bpy/ops/transform/__init__.pyi +54 -54
- bpy/ops/ui/__init__.pyi +64 -64
- bpy/ops/uilist/__init__.pyi +6 -6
- bpy/ops/uv/__init__.pyi +98 -98
- bpy/ops/view2d/__init__.pyi +28 -28
- bpy/ops/view3d/__init__.pyi +134 -134
- bpy/ops/wm/__init__.pyi +226 -226
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +4 -4
- bpy/types/__init__.pyi +52 -36
- {fake_bpy_module-20240812.dist-info → fake_bpy_module-20240814.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240812.dist-info → fake_bpy_module-20240814.dist-info}/RECORD +83 -83
- {fake_bpy_module-20240812.dist-info → fake_bpy_module-20240814.dist-info}/WHEEL +1 -1
- freestyle/utils/__init__.pyi +1 -1
- {fake_bpy_module-20240812.dist-info → fake_bpy_module-20240814.dist-info}/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
8
8
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
9
9
|
|
|
10
10
|
def active_frame_delete(
|
|
11
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
11
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
12
12
|
execution_context: int | str | None = None,
|
|
13
13
|
undo: bool | None = None,
|
|
14
14
|
*,
|
|
@@ -16,7 +16,7 @@ def active_frame_delete(
|
|
|
16
16
|
):
|
|
17
17
|
"""Delete the active Grease Pencil frame(s)
|
|
18
18
|
|
|
19
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
19
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
20
20
|
:type execution_context: int | str | None
|
|
21
21
|
:type undo: bool | None
|
|
22
22
|
:param all: Delete all, Delete active keyframes of all layer
|
|
@@ -26,7 +26,7 @@ def active_frame_delete(
|
|
|
26
26
|
...
|
|
27
27
|
|
|
28
28
|
def brush_stroke(
|
|
29
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
29
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
30
30
|
execution_context: int | str | None = None,
|
|
31
31
|
undo: bool | None = None,
|
|
32
32
|
*,
|
|
@@ -36,7 +36,7 @@ def brush_stroke(
|
|
|
36
36
|
):
|
|
37
37
|
"""Draw a new stroke in the active Grease Pencil object
|
|
38
38
|
|
|
39
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
39
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
40
40
|
:type execution_context: int | str | None
|
|
41
41
|
:type undo: bool | None
|
|
42
42
|
:param stroke: Stroke
|
|
@@ -60,7 +60,7 @@ def brush_stroke(
|
|
|
60
60
|
...
|
|
61
61
|
|
|
62
62
|
def caps_set(
|
|
63
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
63
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
64
64
|
execution_context: int | str | None = None,
|
|
65
65
|
undo: bool | None = None,
|
|
66
66
|
*,
|
|
@@ -68,7 +68,7 @@ def caps_set(
|
|
|
68
68
|
):
|
|
69
69
|
"""Change curve caps mode (rounded or flat)
|
|
70
70
|
|
|
71
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
71
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
72
72
|
:type execution_context: int | str | None
|
|
73
73
|
:type undo: bool | None
|
|
74
74
|
:param type: Type
|
|
@@ -90,7 +90,7 @@ def caps_set(
|
|
|
90
90
|
...
|
|
91
91
|
|
|
92
92
|
def clean_loose(
|
|
93
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
93
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
94
94
|
execution_context: int | str | None = None,
|
|
95
95
|
undo: bool | None = None,
|
|
96
96
|
*,
|
|
@@ -98,7 +98,7 @@ def clean_loose(
|
|
|
98
98
|
):
|
|
99
99
|
"""Remove loose points
|
|
100
100
|
|
|
101
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
101
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
102
102
|
:type execution_context: int | str | None
|
|
103
103
|
:type undo: bool | None
|
|
104
104
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
@@ -108,13 +108,13 @@ def clean_loose(
|
|
|
108
108
|
...
|
|
109
109
|
|
|
110
110
|
def copy(
|
|
111
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
111
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
112
112
|
execution_context: int | str | None = None,
|
|
113
113
|
undo: bool | None = None,
|
|
114
114
|
):
|
|
115
115
|
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
116
116
|
|
|
117
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
117
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
118
118
|
:type execution_context: int | str | None
|
|
119
119
|
:type undo: bool | None
|
|
120
120
|
"""
|
|
@@ -122,7 +122,7 @@ def copy(
|
|
|
122
122
|
...
|
|
123
123
|
|
|
124
124
|
def cyclical_set(
|
|
125
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
125
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
126
126
|
execution_context: int | str | None = None,
|
|
127
127
|
undo: bool | None = None,
|
|
128
128
|
*,
|
|
@@ -130,7 +130,7 @@ def cyclical_set(
|
|
|
130
130
|
):
|
|
131
131
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
132
132
|
|
|
133
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
133
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
134
134
|
:type execution_context: int | str | None
|
|
135
135
|
:type undo: bool | None
|
|
136
136
|
:param type: Type
|
|
@@ -140,13 +140,13 @@ def cyclical_set(
|
|
|
140
140
|
...
|
|
141
141
|
|
|
142
142
|
def delete(
|
|
143
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
143
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
144
144
|
execution_context: int | str | None = None,
|
|
145
145
|
undo: bool | None = None,
|
|
146
146
|
):
|
|
147
147
|
"""Delete selected strokes or points
|
|
148
148
|
|
|
149
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
149
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
150
150
|
:type execution_context: int | str | None
|
|
151
151
|
:type undo: bool | None
|
|
152
152
|
"""
|
|
@@ -154,7 +154,7 @@ def delete(
|
|
|
154
154
|
...
|
|
155
155
|
|
|
156
156
|
def delete_frame(
|
|
157
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
157
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
158
158
|
execution_context: int | str | None = None,
|
|
159
159
|
undo: bool | None = None,
|
|
160
160
|
*,
|
|
@@ -162,7 +162,7 @@ def delete_frame(
|
|
|
162
162
|
):
|
|
163
163
|
"""Delete Grease Pencil Frame(s)
|
|
164
164
|
|
|
165
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
165
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
166
166
|
:type execution_context: int | str | None
|
|
167
167
|
:type undo: bool | None
|
|
168
168
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
@@ -178,7 +178,7 @@ def delete_frame(
|
|
|
178
178
|
...
|
|
179
179
|
|
|
180
180
|
def dissolve(
|
|
181
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
181
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
182
182
|
execution_context: int | str | None = None,
|
|
183
183
|
undo: bool | None = None,
|
|
184
184
|
*,
|
|
@@ -186,7 +186,7 @@ def dissolve(
|
|
|
186
186
|
):
|
|
187
187
|
"""Delete selected points without splitting strokes
|
|
188
188
|
|
|
189
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
189
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
190
190
|
:type execution_context: int | str | None
|
|
191
191
|
:type undo: bool | None
|
|
192
192
|
:param type: Type, Method used for dissolving stroke points
|
|
@@ -205,13 +205,13 @@ def dissolve(
|
|
|
205
205
|
...
|
|
206
206
|
|
|
207
207
|
def duplicate(
|
|
208
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
208
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
209
209
|
execution_context: int | str | None = None,
|
|
210
210
|
undo: bool | None = None,
|
|
211
211
|
):
|
|
212
212
|
"""Duplicate the selected points
|
|
213
213
|
|
|
214
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
214
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
215
215
|
:type execution_context: int | str | None
|
|
216
216
|
:type undo: bool | None
|
|
217
217
|
"""
|
|
@@ -219,7 +219,7 @@ def duplicate(
|
|
|
219
219
|
...
|
|
220
220
|
|
|
221
221
|
def duplicate_move(
|
|
222
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
222
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
223
223
|
execution_context: int | str | None = None,
|
|
224
224
|
undo: bool | None = None,
|
|
225
225
|
*,
|
|
@@ -228,7 +228,7 @@ def duplicate_move(
|
|
|
228
228
|
):
|
|
229
229
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
230
230
|
|
|
231
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
231
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
232
232
|
:type execution_context: int | str | None
|
|
233
233
|
:type undo: bool | None
|
|
234
234
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
@@ -240,13 +240,13 @@ def duplicate_move(
|
|
|
240
240
|
...
|
|
241
241
|
|
|
242
242
|
def extrude(
|
|
243
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
243
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
244
244
|
execution_context: int | str | None = None,
|
|
245
245
|
undo: bool | None = None,
|
|
246
246
|
):
|
|
247
247
|
"""Extrude the selected points
|
|
248
248
|
|
|
249
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
249
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
250
250
|
:type execution_context: int | str | None
|
|
251
251
|
:type undo: bool | None
|
|
252
252
|
"""
|
|
@@ -254,7 +254,7 @@ def extrude(
|
|
|
254
254
|
...
|
|
255
255
|
|
|
256
256
|
def extrude_move(
|
|
257
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
257
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
258
258
|
execution_context: int | str | None = None,
|
|
259
259
|
undo: bool | None = None,
|
|
260
260
|
*,
|
|
@@ -263,7 +263,7 @@ def extrude_move(
|
|
|
263
263
|
):
|
|
264
264
|
"""Extrude selected points and move them
|
|
265
265
|
|
|
266
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
266
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
267
267
|
:type execution_context: int | str | None
|
|
268
268
|
:type undo: bool | None
|
|
269
269
|
:param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
|
|
@@ -275,7 +275,7 @@ def extrude_move(
|
|
|
275
275
|
...
|
|
276
276
|
|
|
277
277
|
def fill(
|
|
278
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
278
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
279
279
|
execution_context: int | str | None = None,
|
|
280
280
|
undo: bool | None = None,
|
|
281
281
|
*,
|
|
@@ -284,7 +284,7 @@ def fill(
|
|
|
284
284
|
):
|
|
285
285
|
"""Fill with color the shape formed by strokes
|
|
286
286
|
|
|
287
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
287
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
288
288
|
:type execution_context: int | str | None
|
|
289
289
|
:type undo: bool | None
|
|
290
290
|
:param invert: Invert, Find boundary of unfilled instead of filled regions
|
|
@@ -296,7 +296,7 @@ def fill(
|
|
|
296
296
|
...
|
|
297
297
|
|
|
298
298
|
def frame_clean_duplicate(
|
|
299
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
299
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
300
300
|
execution_context: int | str | None = None,
|
|
301
301
|
undo: bool | None = None,
|
|
302
302
|
*,
|
|
@@ -304,7 +304,7 @@ def frame_clean_duplicate(
|
|
|
304
304
|
):
|
|
305
305
|
"""Remove any keyframe that is a duplicate of the previous one
|
|
306
306
|
|
|
307
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
307
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
308
308
|
:type execution_context: int | str | None
|
|
309
309
|
:type undo: bool | None
|
|
310
310
|
:param selected: Selected, Only delete selected keyframes
|
|
@@ -314,7 +314,7 @@ def frame_clean_duplicate(
|
|
|
314
314
|
...
|
|
315
315
|
|
|
316
316
|
def frame_duplicate(
|
|
317
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
317
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
318
318
|
execution_context: int | str | None = None,
|
|
319
319
|
undo: bool | None = None,
|
|
320
320
|
*,
|
|
@@ -322,7 +322,7 @@ def frame_duplicate(
|
|
|
322
322
|
):
|
|
323
323
|
"""Make a copy of the active Grease Pencil frame(s)
|
|
324
324
|
|
|
325
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
325
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
326
326
|
:type execution_context: int | str | None
|
|
327
327
|
:type undo: bool | None
|
|
328
328
|
:param all: Duplicate all, Duplicate active keyframes of all layer
|
|
@@ -332,7 +332,7 @@ def frame_duplicate(
|
|
|
332
332
|
...
|
|
333
333
|
|
|
334
334
|
def insert_blank_frame(
|
|
335
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
335
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
336
336
|
execution_context: int | str | None = None,
|
|
337
337
|
undo: bool | None = None,
|
|
338
338
|
*,
|
|
@@ -341,7 +341,7 @@ def insert_blank_frame(
|
|
|
341
341
|
):
|
|
342
342
|
"""Insert a blank frame on the current scene frame
|
|
343
343
|
|
|
344
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
344
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
345
345
|
:type execution_context: int | str | None
|
|
346
346
|
:type undo: bool | None
|
|
347
347
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
@@ -353,7 +353,7 @@ def insert_blank_frame(
|
|
|
353
353
|
...
|
|
354
354
|
|
|
355
355
|
def interpolate(
|
|
356
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
356
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
357
357
|
execution_context: int | str | None = None,
|
|
358
358
|
undo: bool | None = None,
|
|
359
359
|
*,
|
|
@@ -366,7 +366,7 @@ def interpolate(
|
|
|
366
366
|
):
|
|
367
367
|
"""Interpolate grease pencil strokes between frames
|
|
368
368
|
|
|
369
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
369
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
370
370
|
:type execution_context: int | str | None
|
|
371
371
|
:type undo: bool | None
|
|
372
372
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
@@ -386,7 +386,7 @@ def interpolate(
|
|
|
386
386
|
...
|
|
387
387
|
|
|
388
388
|
def layer_active(
|
|
389
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
389
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
390
390
|
execution_context: int | str | None = None,
|
|
391
391
|
undo: bool | None = None,
|
|
392
392
|
*,
|
|
@@ -394,7 +394,7 @@ def layer_active(
|
|
|
394
394
|
):
|
|
395
395
|
"""Set the active Grease Pencil layer
|
|
396
396
|
|
|
397
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
397
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
398
398
|
:type execution_context: int | str | None
|
|
399
399
|
:type undo: bool | None
|
|
400
400
|
:param layer: Grease Pencil Layer
|
|
@@ -404,7 +404,7 @@ def layer_active(
|
|
|
404
404
|
...
|
|
405
405
|
|
|
406
406
|
def layer_add(
|
|
407
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
407
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
408
408
|
execution_context: int | str | None = None,
|
|
409
409
|
undo: bool | None = None,
|
|
410
410
|
*,
|
|
@@ -412,7 +412,7 @@ def layer_add(
|
|
|
412
412
|
):
|
|
413
413
|
"""Add a new Grease Pencil layer in the active object
|
|
414
414
|
|
|
415
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
415
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
416
416
|
:type execution_context: int | str | None
|
|
417
417
|
:type undo: bool | None
|
|
418
418
|
:param new_layer_name: Name, Name of the new layer
|
|
@@ -422,7 +422,7 @@ def layer_add(
|
|
|
422
422
|
...
|
|
423
423
|
|
|
424
424
|
def layer_duplicate(
|
|
425
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
425
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
426
426
|
execution_context: int | str | None = None,
|
|
427
427
|
undo: bool | None = None,
|
|
428
428
|
*,
|
|
@@ -430,7 +430,7 @@ def layer_duplicate(
|
|
|
430
430
|
):
|
|
431
431
|
"""Make a copy of the active Grease Pencil layer
|
|
432
432
|
|
|
433
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
433
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
434
434
|
:type execution_context: int | str | None
|
|
435
435
|
:type undo: bool | None
|
|
436
436
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
@@ -440,7 +440,7 @@ def layer_duplicate(
|
|
|
440
440
|
...
|
|
441
441
|
|
|
442
442
|
def layer_duplicate_object(
|
|
443
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
443
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
444
444
|
execution_context: int | str | None = None,
|
|
445
445
|
undo: bool | None = None,
|
|
446
446
|
*,
|
|
@@ -449,7 +449,7 @@ def layer_duplicate_object(
|
|
|
449
449
|
):
|
|
450
450
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
451
451
|
|
|
452
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
452
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
453
453
|
:type execution_context: int | str | None
|
|
454
454
|
:type undo: bool | None
|
|
455
455
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
@@ -461,7 +461,7 @@ def layer_duplicate_object(
|
|
|
461
461
|
...
|
|
462
462
|
|
|
463
463
|
def layer_group_add(
|
|
464
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
464
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
465
465
|
execution_context: int | str | None = None,
|
|
466
466
|
undo: bool | None = None,
|
|
467
467
|
*,
|
|
@@ -469,7 +469,7 @@ def layer_group_add(
|
|
|
469
469
|
):
|
|
470
470
|
"""Add a new Grease Pencil layer group in the active object
|
|
471
471
|
|
|
472
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
472
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
473
473
|
:type execution_context: int | str | None
|
|
474
474
|
:type undo: bool | None
|
|
475
475
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
@@ -479,7 +479,7 @@ def layer_group_add(
|
|
|
479
479
|
...
|
|
480
480
|
|
|
481
481
|
def layer_group_color_tag(
|
|
482
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
482
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
483
483
|
execution_context: int | str | None = None,
|
|
484
484
|
undo: bool | None = None,
|
|
485
485
|
*,
|
|
@@ -498,7 +498,7 @@ def layer_group_color_tag(
|
|
|
498
498
|
):
|
|
499
499
|
"""Change layer group icon
|
|
500
500
|
|
|
501
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
501
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
502
502
|
:type execution_context: int | str | None
|
|
503
503
|
:type undo: bool | None
|
|
504
504
|
:param color_tag: color tag
|
|
@@ -508,7 +508,7 @@ def layer_group_color_tag(
|
|
|
508
508
|
...
|
|
509
509
|
|
|
510
510
|
def layer_group_remove(
|
|
511
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
511
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
512
512
|
execution_context: int | str | None = None,
|
|
513
513
|
undo: bool | None = None,
|
|
514
514
|
*,
|
|
@@ -516,7 +516,7 @@ def layer_group_remove(
|
|
|
516
516
|
):
|
|
517
517
|
"""Remove Grease Pencil layer group in the active object
|
|
518
518
|
|
|
519
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
519
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
520
520
|
:type execution_context: int | str | None
|
|
521
521
|
:type undo: bool | None
|
|
522
522
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
@@ -526,7 +526,7 @@ def layer_group_remove(
|
|
|
526
526
|
...
|
|
527
527
|
|
|
528
528
|
def layer_hide(
|
|
529
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
529
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
530
530
|
execution_context: int | str | None = None,
|
|
531
531
|
undo: bool | None = None,
|
|
532
532
|
*,
|
|
@@ -534,7 +534,7 @@ def layer_hide(
|
|
|
534
534
|
):
|
|
535
535
|
"""Hide selected/unselected Grease Pencil layers
|
|
536
536
|
|
|
537
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
537
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
538
538
|
:type execution_context: int | str | None
|
|
539
539
|
:type undo: bool | None
|
|
540
540
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
@@ -544,7 +544,7 @@ def layer_hide(
|
|
|
544
544
|
...
|
|
545
545
|
|
|
546
546
|
def layer_isolate(
|
|
547
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
547
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
548
548
|
execution_context: int | str | None = None,
|
|
549
549
|
undo: bool | None = None,
|
|
550
550
|
*,
|
|
@@ -552,7 +552,7 @@ def layer_isolate(
|
|
|
552
552
|
):
|
|
553
553
|
"""Make only active layer visible/editable
|
|
554
554
|
|
|
555
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
555
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
556
556
|
:type execution_context: int | str | None
|
|
557
557
|
:type undo: bool | None
|
|
558
558
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
@@ -562,7 +562,7 @@ def layer_isolate(
|
|
|
562
562
|
...
|
|
563
563
|
|
|
564
564
|
def layer_lock_all(
|
|
565
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
565
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
566
566
|
execution_context: int | str | None = None,
|
|
567
567
|
undo: bool | None = None,
|
|
568
568
|
*,
|
|
@@ -570,7 +570,7 @@ def layer_lock_all(
|
|
|
570
570
|
):
|
|
571
571
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
572
572
|
|
|
573
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
573
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
574
574
|
:type execution_context: int | str | None
|
|
575
575
|
:type undo: bool | None
|
|
576
576
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
@@ -580,7 +580,7 @@ def layer_lock_all(
|
|
|
580
580
|
...
|
|
581
581
|
|
|
582
582
|
def layer_mask_add(
|
|
583
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
583
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
584
584
|
execution_context: int | str | None = None,
|
|
585
585
|
undo: bool | None = None,
|
|
586
586
|
*,
|
|
@@ -588,7 +588,7 @@ def layer_mask_add(
|
|
|
588
588
|
):
|
|
589
589
|
"""Add new layer as masking
|
|
590
590
|
|
|
591
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
591
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
592
592
|
:type execution_context: int | str | None
|
|
593
593
|
:type undo: bool | None
|
|
594
594
|
:param name: Layer, Name of the layer
|
|
@@ -598,13 +598,13 @@ def layer_mask_add(
|
|
|
598
598
|
...
|
|
599
599
|
|
|
600
600
|
def layer_mask_remove(
|
|
601
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
601
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
602
602
|
execution_context: int | str | None = None,
|
|
603
603
|
undo: bool | None = None,
|
|
604
604
|
):
|
|
605
605
|
"""Remove Layer Mask
|
|
606
606
|
|
|
607
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
607
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
608
608
|
:type execution_context: int | str | None
|
|
609
609
|
:type undo: bool | None
|
|
610
610
|
"""
|
|
@@ -612,7 +612,7 @@ def layer_mask_remove(
|
|
|
612
612
|
...
|
|
613
613
|
|
|
614
614
|
def layer_mask_reorder(
|
|
615
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
615
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
616
616
|
execution_context: int | str | None = None,
|
|
617
617
|
undo: bool | None = None,
|
|
618
618
|
*,
|
|
@@ -620,7 +620,7 @@ def layer_mask_reorder(
|
|
|
620
620
|
):
|
|
621
621
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
622
622
|
|
|
623
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
623
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
624
624
|
:type execution_context: int | str | None
|
|
625
625
|
:type undo: bool | None
|
|
626
626
|
:param direction: Direction
|
|
@@ -630,13 +630,13 @@ def layer_mask_reorder(
|
|
|
630
630
|
...
|
|
631
631
|
|
|
632
632
|
def layer_remove(
|
|
633
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
633
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
634
634
|
execution_context: int | str | None = None,
|
|
635
635
|
undo: bool | None = None,
|
|
636
636
|
):
|
|
637
637
|
"""Remove the active Grease Pencil layer
|
|
638
638
|
|
|
639
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
639
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
640
640
|
:type execution_context: int | str | None
|
|
641
641
|
:type undo: bool | None
|
|
642
642
|
"""
|
|
@@ -644,7 +644,7 @@ def layer_remove(
|
|
|
644
644
|
...
|
|
645
645
|
|
|
646
646
|
def layer_reorder(
|
|
647
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
647
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
648
648
|
execution_context: int | str | None = None,
|
|
649
649
|
undo: bool | None = None,
|
|
650
650
|
*,
|
|
@@ -653,7 +653,7 @@ def layer_reorder(
|
|
|
653
653
|
):
|
|
654
654
|
"""Reorder the active Grease Pencil layer
|
|
655
655
|
|
|
656
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
656
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
657
657
|
:type execution_context: int | str | None
|
|
658
658
|
:type undo: bool | None
|
|
659
659
|
:param target_layer_name: Target Name, Name of the target layer
|
|
@@ -665,13 +665,13 @@ def layer_reorder(
|
|
|
665
665
|
...
|
|
666
666
|
|
|
667
667
|
def layer_reveal(
|
|
668
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
668
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
669
669
|
execution_context: int | str | None = None,
|
|
670
670
|
undo: bool | None = None,
|
|
671
671
|
):
|
|
672
672
|
"""Show all Grease Pencil layers
|
|
673
673
|
|
|
674
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
674
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
675
675
|
:type execution_context: int | str | None
|
|
676
676
|
:type undo: bool | None
|
|
677
677
|
"""
|
|
@@ -679,7 +679,7 @@ def layer_reveal(
|
|
|
679
679
|
...
|
|
680
680
|
|
|
681
681
|
def material_copy_to_object(
|
|
682
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
682
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
683
683
|
execution_context: int | str | None = None,
|
|
684
684
|
undo: bool | None = None,
|
|
685
685
|
*,
|
|
@@ -687,7 +687,7 @@ def material_copy_to_object(
|
|
|
687
687
|
):
|
|
688
688
|
"""Append Materials of the active Grease Pencil to other object
|
|
689
689
|
|
|
690
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
690
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
691
691
|
:type execution_context: int | str | None
|
|
692
692
|
:type undo: bool | None
|
|
693
693
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
@@ -697,7 +697,7 @@ def material_copy_to_object(
|
|
|
697
697
|
...
|
|
698
698
|
|
|
699
699
|
def material_hide(
|
|
700
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
700
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
701
701
|
execution_context: int | str | None = None,
|
|
702
702
|
undo: bool | None = None,
|
|
703
703
|
*,
|
|
@@ -705,7 +705,7 @@ def material_hide(
|
|
|
705
705
|
):
|
|
706
706
|
"""Hide active/inactive Grease Pencil material(s)
|
|
707
707
|
|
|
708
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
708
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
709
709
|
:type execution_context: int | str | None
|
|
710
710
|
:type undo: bool | None
|
|
711
711
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
@@ -715,13 +715,13 @@ def material_hide(
|
|
|
715
715
|
...
|
|
716
716
|
|
|
717
717
|
def material_lock_all(
|
|
718
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
718
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
719
719
|
execution_context: int | str | None = None,
|
|
720
720
|
undo: bool | None = None,
|
|
721
721
|
):
|
|
722
722
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
723
723
|
|
|
724
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
724
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
725
725
|
:type execution_context: int | str | None
|
|
726
726
|
:type undo: bool | None
|
|
727
727
|
"""
|
|
@@ -729,13 +729,13 @@ def material_lock_all(
|
|
|
729
729
|
...
|
|
730
730
|
|
|
731
731
|
def material_lock_unselected(
|
|
732
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
732
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
733
733
|
execution_context: int | str | None = None,
|
|
734
734
|
undo: bool | None = None,
|
|
735
735
|
):
|
|
736
736
|
"""Lock any material not used in any selected stroke
|
|
737
737
|
|
|
738
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
738
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
739
739
|
:type execution_context: int | str | None
|
|
740
740
|
:type undo: bool | None
|
|
741
741
|
"""
|
|
@@ -743,13 +743,13 @@ def material_lock_unselected(
|
|
|
743
743
|
...
|
|
744
744
|
|
|
745
745
|
def material_lock_unused(
|
|
746
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
746
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
747
747
|
execution_context: int | str | None = None,
|
|
748
748
|
undo: bool | None = None,
|
|
749
749
|
):
|
|
750
750
|
"""Lock and hide any material not used
|
|
751
751
|
|
|
752
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
752
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
753
753
|
:type execution_context: int | str | None
|
|
754
754
|
:type undo: bool | None
|
|
755
755
|
"""
|
|
@@ -757,13 +757,13 @@ def material_lock_unused(
|
|
|
757
757
|
...
|
|
758
758
|
|
|
759
759
|
def material_reveal(
|
|
760
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
760
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
761
761
|
execution_context: int | str | None = None,
|
|
762
762
|
undo: bool | None = None,
|
|
763
763
|
):
|
|
764
764
|
"""Unhide all hidden Grease Pencil materials
|
|
765
765
|
|
|
766
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
766
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
767
767
|
:type execution_context: int | str | None
|
|
768
768
|
:type undo: bool | None
|
|
769
769
|
"""
|
|
@@ -771,7 +771,7 @@ def material_reveal(
|
|
|
771
771
|
...
|
|
772
772
|
|
|
773
773
|
def material_select(
|
|
774
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
774
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
775
775
|
execution_context: int | str | None = None,
|
|
776
776
|
undo: bool | None = None,
|
|
777
777
|
*,
|
|
@@ -779,7 +779,7 @@ def material_select(
|
|
|
779
779
|
):
|
|
780
780
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
781
781
|
|
|
782
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
782
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
783
783
|
:type execution_context: int | str | None
|
|
784
784
|
:type undo: bool | None
|
|
785
785
|
:param deselect: Deselect, Unselect strokes
|
|
@@ -789,13 +789,13 @@ def material_select(
|
|
|
789
789
|
...
|
|
790
790
|
|
|
791
791
|
def material_unlock_all(
|
|
792
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
792
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
793
793
|
execution_context: int | str | None = None,
|
|
794
794
|
undo: bool | None = None,
|
|
795
795
|
):
|
|
796
796
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
797
797
|
|
|
798
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
798
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
799
799
|
:type execution_context: int | str | None
|
|
800
800
|
:type undo: bool | None
|
|
801
801
|
"""
|
|
@@ -803,7 +803,7 @@ def material_unlock_all(
|
|
|
803
803
|
...
|
|
804
804
|
|
|
805
805
|
def move_to_layer(
|
|
806
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
806
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
807
807
|
execution_context: int | str | None = None,
|
|
808
808
|
undo: bool | None = None,
|
|
809
809
|
*,
|
|
@@ -812,7 +812,7 @@ def move_to_layer(
|
|
|
812
812
|
):
|
|
813
813
|
"""Move selected strokes to another layer
|
|
814
814
|
|
|
815
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
815
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
816
816
|
:type execution_context: int | str | None
|
|
817
817
|
:type undo: bool | None
|
|
818
818
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
@@ -824,7 +824,7 @@ def move_to_layer(
|
|
|
824
824
|
...
|
|
825
825
|
|
|
826
826
|
def paste(
|
|
827
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
827
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
828
828
|
execution_context: int | str | None = None,
|
|
829
829
|
undo: bool | None = None,
|
|
830
830
|
*,
|
|
@@ -832,7 +832,7 @@ def paste(
|
|
|
832
832
|
):
|
|
833
833
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
834
834
|
|
|
835
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
835
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
836
836
|
:type execution_context: int | str | None
|
|
837
837
|
:type undo: bool | None
|
|
838
838
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
@@ -842,7 +842,7 @@ def paste(
|
|
|
842
842
|
...
|
|
843
843
|
|
|
844
844
|
def primitive_arc(
|
|
845
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
845
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
846
846
|
execution_context: int | str | None = None,
|
|
847
847
|
undo: bool | None = None,
|
|
848
848
|
*,
|
|
@@ -852,7 +852,7 @@ def primitive_arc(
|
|
|
852
852
|
):
|
|
853
853
|
"""Create predefined grease pencil stroke arcs
|
|
854
854
|
|
|
855
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
855
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
856
856
|
:type execution_context: int | str | None
|
|
857
857
|
:type undo: bool | None
|
|
858
858
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -864,7 +864,7 @@ def primitive_arc(
|
|
|
864
864
|
...
|
|
865
865
|
|
|
866
866
|
def primitive_box(
|
|
867
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
867
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
868
868
|
execution_context: int | str | None = None,
|
|
869
869
|
undo: bool | None = None,
|
|
870
870
|
*,
|
|
@@ -874,7 +874,7 @@ def primitive_box(
|
|
|
874
874
|
):
|
|
875
875
|
"""Create predefined grease pencil stroke boxes
|
|
876
876
|
|
|
877
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
877
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
878
878
|
:type execution_context: int | str | None
|
|
879
879
|
:type undo: bool | None
|
|
880
880
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -886,7 +886,7 @@ def primitive_box(
|
|
|
886
886
|
...
|
|
887
887
|
|
|
888
888
|
def primitive_circle(
|
|
889
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
889
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
890
890
|
execution_context: int | str | None = None,
|
|
891
891
|
undo: bool | None = None,
|
|
892
892
|
*,
|
|
@@ -896,7 +896,7 @@ def primitive_circle(
|
|
|
896
896
|
):
|
|
897
897
|
"""Create predefined grease pencil stroke circles
|
|
898
898
|
|
|
899
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
899
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
900
900
|
:type execution_context: int | str | None
|
|
901
901
|
:type undo: bool | None
|
|
902
902
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -908,7 +908,7 @@ def primitive_circle(
|
|
|
908
908
|
...
|
|
909
909
|
|
|
910
910
|
def primitive_curve(
|
|
911
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
911
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
912
912
|
execution_context: int | str | None = None,
|
|
913
913
|
undo: bool | None = None,
|
|
914
914
|
*,
|
|
@@ -918,7 +918,7 @@ def primitive_curve(
|
|
|
918
918
|
):
|
|
919
919
|
"""Create predefined grease pencil stroke curve shapes
|
|
920
920
|
|
|
921
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
921
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
922
922
|
:type execution_context: int | str | None
|
|
923
923
|
:type undo: bool | None
|
|
924
924
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -930,7 +930,7 @@ def primitive_curve(
|
|
|
930
930
|
...
|
|
931
931
|
|
|
932
932
|
def primitive_line(
|
|
933
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
933
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
934
934
|
execution_context: int | str | None = None,
|
|
935
935
|
undo: bool | None = None,
|
|
936
936
|
*,
|
|
@@ -940,7 +940,7 @@ def primitive_line(
|
|
|
940
940
|
):
|
|
941
941
|
"""Create predefined grease pencil stroke lines
|
|
942
942
|
|
|
943
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
943
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
944
944
|
:type execution_context: int | str | None
|
|
945
945
|
:type undo: bool | None
|
|
946
946
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -952,7 +952,7 @@ def primitive_line(
|
|
|
952
952
|
...
|
|
953
953
|
|
|
954
954
|
def primitive_polyline(
|
|
955
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
955
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
956
956
|
execution_context: int | str | None = None,
|
|
957
957
|
undo: bool | None = None,
|
|
958
958
|
*,
|
|
@@ -962,7 +962,7 @@ def primitive_polyline(
|
|
|
962
962
|
):
|
|
963
963
|
"""Create predefined grease pencil stroke polylines
|
|
964
964
|
|
|
965
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
965
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
966
966
|
:type execution_context: int | str | None
|
|
967
967
|
:type undo: bool | None
|
|
968
968
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
@@ -974,7 +974,7 @@ def primitive_polyline(
|
|
|
974
974
|
...
|
|
975
975
|
|
|
976
976
|
def reorder(
|
|
977
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
977
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
978
978
|
execution_context: int | str | None = None,
|
|
979
979
|
undo: bool | None = None,
|
|
980
980
|
*,
|
|
@@ -982,7 +982,7 @@ def reorder(
|
|
|
982
982
|
):
|
|
983
983
|
"""Change the display order of the selected strokes
|
|
984
984
|
|
|
985
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
985
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
986
986
|
:type execution_context: int | str | None
|
|
987
987
|
:type undo: bool | None
|
|
988
988
|
:param direction: Direction
|
|
@@ -992,7 +992,7 @@ def reorder(
|
|
|
992
992
|
...
|
|
993
993
|
|
|
994
994
|
def sculpt_paint(
|
|
995
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
995
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
996
996
|
execution_context: int | str | None = None,
|
|
997
997
|
undo: bool | None = None,
|
|
998
998
|
*,
|
|
@@ -1002,7 +1002,7 @@ def sculpt_paint(
|
|
|
1002
1002
|
):
|
|
1003
1003
|
"""Draw a new stroke in the active Grease Pencil object
|
|
1004
1004
|
|
|
1005
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1005
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1006
1006
|
:type execution_context: int | str | None
|
|
1007
1007
|
:type undo: bool | None
|
|
1008
1008
|
:param stroke: Stroke
|
|
@@ -1026,7 +1026,7 @@ def sculpt_paint(
|
|
|
1026
1026
|
...
|
|
1027
1027
|
|
|
1028
1028
|
def select_all(
|
|
1029
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1029
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1030
1030
|
execution_context: int | str | None = None,
|
|
1031
1031
|
undo: bool | None = None,
|
|
1032
1032
|
*,
|
|
@@ -1034,7 +1034,7 @@ def select_all(
|
|
|
1034
1034
|
):
|
|
1035
1035
|
"""(De)select all visible strokes
|
|
1036
1036
|
|
|
1037
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1037
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1038
1038
|
:type execution_context: int | str | None
|
|
1039
1039
|
:type undo: bool | None
|
|
1040
1040
|
:param action: Action, Selection action to execute
|
|
@@ -1056,7 +1056,7 @@ def select_all(
|
|
|
1056
1056
|
...
|
|
1057
1057
|
|
|
1058
1058
|
def select_alternate(
|
|
1059
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1059
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1060
1060
|
execution_context: int | str | None = None,
|
|
1061
1061
|
undo: bool | None = None,
|
|
1062
1062
|
*,
|
|
@@ -1064,7 +1064,7 @@ def select_alternate(
|
|
|
1064
1064
|
):
|
|
1065
1065
|
"""Select alternated points in strokes with already selected points
|
|
1066
1066
|
|
|
1067
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1067
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1068
1068
|
:type execution_context: int | str | None
|
|
1069
1069
|
:type undo: bool | None
|
|
1070
1070
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
@@ -1074,7 +1074,7 @@ def select_alternate(
|
|
|
1074
1074
|
...
|
|
1075
1075
|
|
|
1076
1076
|
def select_ends(
|
|
1077
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1077
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1078
1078
|
execution_context: int | str | None = None,
|
|
1079
1079
|
undo: bool | None = None,
|
|
1080
1080
|
*,
|
|
@@ -1083,7 +1083,7 @@ def select_ends(
|
|
|
1083
1083
|
):
|
|
1084
1084
|
"""Select end points of strokes
|
|
1085
1085
|
|
|
1086
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1086
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1087
1087
|
:type execution_context: int | str | None
|
|
1088
1088
|
:type undo: bool | None
|
|
1089
1089
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
@@ -1095,13 +1095,13 @@ def select_ends(
|
|
|
1095
1095
|
...
|
|
1096
1096
|
|
|
1097
1097
|
def select_less(
|
|
1098
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1098
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1099
1099
|
execution_context: int | str | None = None,
|
|
1100
1100
|
undo: bool | None = None,
|
|
1101
1101
|
):
|
|
1102
1102
|
"""Shrink the selection by one point
|
|
1103
1103
|
|
|
1104
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1104
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1105
1105
|
:type execution_context: int | str | None
|
|
1106
1106
|
:type undo: bool | None
|
|
1107
1107
|
"""
|
|
@@ -1109,13 +1109,13 @@ def select_less(
|
|
|
1109
1109
|
...
|
|
1110
1110
|
|
|
1111
1111
|
def select_linked(
|
|
1112
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1112
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1113
1113
|
execution_context: int | str | None = None,
|
|
1114
1114
|
undo: bool | None = None,
|
|
1115
1115
|
):
|
|
1116
1116
|
"""Select all points in curves with any point selection
|
|
1117
1117
|
|
|
1118
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1118
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1119
1119
|
:type execution_context: int | str | None
|
|
1120
1120
|
:type undo: bool | None
|
|
1121
1121
|
"""
|
|
@@ -1123,13 +1123,13 @@ def select_linked(
|
|
|
1123
1123
|
...
|
|
1124
1124
|
|
|
1125
1125
|
def select_more(
|
|
1126
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1126
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1127
1127
|
execution_context: int | str | None = None,
|
|
1128
1128
|
undo: bool | None = None,
|
|
1129
1129
|
):
|
|
1130
1130
|
"""Grow the selection by one point
|
|
1131
1131
|
|
|
1132
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1132
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1133
1133
|
:type execution_context: int | str | None
|
|
1134
1134
|
:type undo: bool | None
|
|
1135
1135
|
"""
|
|
@@ -1137,7 +1137,7 @@ def select_more(
|
|
|
1137
1137
|
...
|
|
1138
1138
|
|
|
1139
1139
|
def select_random(
|
|
1140
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1140
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1141
1141
|
execution_context: int | str | None = None,
|
|
1142
1142
|
undo: bool | None = None,
|
|
1143
1143
|
*,
|
|
@@ -1147,7 +1147,7 @@ def select_random(
|
|
|
1147
1147
|
):
|
|
1148
1148
|
"""Selects random points from the current strokes selection
|
|
1149
1149
|
|
|
1150
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1150
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1151
1151
|
:type execution_context: int | str | None
|
|
1152
1152
|
:type undo: bool | None
|
|
1153
1153
|
:param ratio: Ratio, Portion of items to select randomly
|
|
@@ -1167,7 +1167,7 @@ def select_random(
|
|
|
1167
1167
|
...
|
|
1168
1168
|
|
|
1169
1169
|
def separate(
|
|
1170
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1170
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1171
1171
|
execution_context: int | str | None = None,
|
|
1172
1172
|
undo: bool | None = None,
|
|
1173
1173
|
*,
|
|
@@ -1175,7 +1175,7 @@ def separate(
|
|
|
1175
1175
|
):
|
|
1176
1176
|
"""Separate the selected geometry into a new grease pencil object
|
|
1177
1177
|
|
|
1178
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1178
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1179
1179
|
:type execution_context: int | str | None
|
|
1180
1180
|
:type undo: bool | None
|
|
1181
1181
|
:param mode: Mode
|
|
@@ -1194,13 +1194,13 @@ def separate(
|
|
|
1194
1194
|
...
|
|
1195
1195
|
|
|
1196
1196
|
def set_active_material(
|
|
1197
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1197
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1198
1198
|
execution_context: int | str | None = None,
|
|
1199
1199
|
undo: bool | None = None,
|
|
1200
1200
|
):
|
|
1201
1201
|
"""Set the selected stroke material as the active material
|
|
1202
1202
|
|
|
1203
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1203
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1204
1204
|
:type execution_context: int | str | None
|
|
1205
1205
|
:type undo: bool | None
|
|
1206
1206
|
"""
|
|
@@ -1208,7 +1208,7 @@ def set_active_material(
|
|
|
1208
1208
|
...
|
|
1209
1209
|
|
|
1210
1210
|
def set_curve_resolution(
|
|
1211
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1211
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1212
1212
|
execution_context: int | str | None = None,
|
|
1213
1213
|
undo: bool | None = None,
|
|
1214
1214
|
*,
|
|
@@ -1216,7 +1216,7 @@ def set_curve_resolution(
|
|
|
1216
1216
|
):
|
|
1217
1217
|
"""Set resolution of selected curves
|
|
1218
1218
|
|
|
1219
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1219
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1220
1220
|
:type execution_context: int | str | None
|
|
1221
1221
|
:type undo: bool | None
|
|
1222
1222
|
:param resolution: Resolution, The resolution to use for each curve segment
|
|
@@ -1226,7 +1226,7 @@ def set_curve_resolution(
|
|
|
1226
1226
|
...
|
|
1227
1227
|
|
|
1228
1228
|
def set_curve_type(
|
|
1229
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1229
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1230
1230
|
execution_context: int | str | None = None,
|
|
1231
1231
|
undo: bool | None = None,
|
|
1232
1232
|
*,
|
|
@@ -1235,7 +1235,7 @@ def set_curve_type(
|
|
|
1235
1235
|
):
|
|
1236
1236
|
"""Set type of selected curves
|
|
1237
1237
|
|
|
1238
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1238
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1239
1239
|
:type execution_context: int | str | None
|
|
1240
1240
|
:type undo: bool | None
|
|
1241
1241
|
:param type: Type, Curve type
|
|
@@ -1247,7 +1247,7 @@ def set_curve_type(
|
|
|
1247
1247
|
...
|
|
1248
1248
|
|
|
1249
1249
|
def set_handle_type(
|
|
1250
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1250
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1251
1251
|
execution_context: int | str | None = None,
|
|
1252
1252
|
undo: bool | None = None,
|
|
1253
1253
|
*,
|
|
@@ -1255,7 +1255,7 @@ def set_handle_type(
|
|
|
1255
1255
|
):
|
|
1256
1256
|
"""Set the handle type for bezier curves
|
|
1257
1257
|
|
|
1258
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1258
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1259
1259
|
:type execution_context: int | str | None
|
|
1260
1260
|
:type undo: bool | None
|
|
1261
1261
|
:param type: Type
|
|
@@ -1265,7 +1265,7 @@ def set_handle_type(
|
|
|
1265
1265
|
...
|
|
1266
1266
|
|
|
1267
1267
|
def set_material(
|
|
1268
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1268
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1269
1269
|
execution_context: int | str | None = None,
|
|
1270
1270
|
undo: bool | None = None,
|
|
1271
1271
|
*,
|
|
@@ -1273,7 +1273,7 @@ def set_material(
|
|
|
1273
1273
|
):
|
|
1274
1274
|
"""Set active material
|
|
1275
1275
|
|
|
1276
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1276
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1277
1277
|
:type execution_context: int | str | None
|
|
1278
1278
|
:type undo: bool | None
|
|
1279
1279
|
:param slot: Material Slot
|
|
@@ -1283,7 +1283,7 @@ def set_material(
|
|
|
1283
1283
|
...
|
|
1284
1284
|
|
|
1285
1285
|
def set_selection_mode(
|
|
1286
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1286
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1287
1287
|
execution_context: int | str | None = None,
|
|
1288
1288
|
undo: bool | None = None,
|
|
1289
1289
|
*,
|
|
@@ -1291,7 +1291,7 @@ def set_selection_mode(
|
|
|
1291
1291
|
):
|
|
1292
1292
|
"""Change the selection mode for Grease Pencil strokes
|
|
1293
1293
|
|
|
1294
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1294
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1295
1295
|
:type execution_context: int | str | None
|
|
1296
1296
|
:type undo: bool | None
|
|
1297
1297
|
:param mode: Mode
|
|
@@ -1301,7 +1301,7 @@ def set_selection_mode(
|
|
|
1301
1301
|
...
|
|
1302
1302
|
|
|
1303
1303
|
def set_uniform_opacity(
|
|
1304
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1304
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1305
1305
|
execution_context: int | str | None = None,
|
|
1306
1306
|
undo: bool | None = None,
|
|
1307
1307
|
*,
|
|
@@ -1309,7 +1309,7 @@ def set_uniform_opacity(
|
|
|
1309
1309
|
):
|
|
1310
1310
|
"""Set all stroke points to same opacity
|
|
1311
1311
|
|
|
1312
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1312
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1313
1313
|
:type execution_context: int | str | None
|
|
1314
1314
|
:type undo: bool | None
|
|
1315
1315
|
:param opacity: Opacity
|
|
@@ -1319,7 +1319,7 @@ def set_uniform_opacity(
|
|
|
1319
1319
|
...
|
|
1320
1320
|
|
|
1321
1321
|
def set_uniform_thickness(
|
|
1322
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1322
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1323
1323
|
execution_context: int | str | None = None,
|
|
1324
1324
|
undo: bool | None = None,
|
|
1325
1325
|
*,
|
|
@@ -1327,7 +1327,7 @@ def set_uniform_thickness(
|
|
|
1327
1327
|
):
|
|
1328
1328
|
"""Set all stroke points to same thickness
|
|
1329
1329
|
|
|
1330
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1330
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1331
1331
|
:type execution_context: int | str | None
|
|
1332
1332
|
:type undo: bool | None
|
|
1333
1333
|
:param thickness: Thickness, Thickness
|
|
@@ -1337,13 +1337,13 @@ def set_uniform_thickness(
|
|
|
1337
1337
|
...
|
|
1338
1338
|
|
|
1339
1339
|
def snap_cursor_to_selected(
|
|
1340
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1340
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1341
1341
|
execution_context: int | str | None = None,
|
|
1342
1342
|
undo: bool | None = None,
|
|
1343
1343
|
):
|
|
1344
1344
|
"""Snap cursor to center of selected points
|
|
1345
1345
|
|
|
1346
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1346
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1347
1347
|
:type execution_context: int | str | None
|
|
1348
1348
|
:type undo: bool | None
|
|
1349
1349
|
"""
|
|
@@ -1351,7 +1351,7 @@ def snap_cursor_to_selected(
|
|
|
1351
1351
|
...
|
|
1352
1352
|
|
|
1353
1353
|
def snap_to_cursor(
|
|
1354
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1354
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1355
1355
|
execution_context: int | str | None = None,
|
|
1356
1356
|
undo: bool | None = None,
|
|
1357
1357
|
*,
|
|
@@ -1359,7 +1359,7 @@ def snap_to_cursor(
|
|
|
1359
1359
|
):
|
|
1360
1360
|
"""Snap selected points/strokes to the cursor
|
|
1361
1361
|
|
|
1362
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1362
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1363
1363
|
:type execution_context: int | str | None
|
|
1364
1364
|
:type undo: bool | None
|
|
1365
1365
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
@@ -1369,13 +1369,13 @@ def snap_to_cursor(
|
|
|
1369
1369
|
...
|
|
1370
1370
|
|
|
1371
1371
|
def snap_to_grid(
|
|
1372
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1372
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1373
1373
|
execution_context: int | str | None = None,
|
|
1374
1374
|
undo: bool | None = None,
|
|
1375
1375
|
):
|
|
1376
1376
|
"""Snap selected points to the nearest grid points
|
|
1377
1377
|
|
|
1378
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1378
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1379
1379
|
:type execution_context: int | str | None
|
|
1380
1380
|
:type undo: bool | None
|
|
1381
1381
|
"""
|
|
@@ -1383,7 +1383,7 @@ def snap_to_grid(
|
|
|
1383
1383
|
...
|
|
1384
1384
|
|
|
1385
1385
|
def stroke_cutter(
|
|
1386
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1386
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1387
1387
|
execution_context: int | str | None = None,
|
|
1388
1388
|
undo: bool | None = None,
|
|
1389
1389
|
*,
|
|
@@ -1394,7 +1394,7 @@ def stroke_cutter(
|
|
|
1394
1394
|
):
|
|
1395
1395
|
"""Delete stroke points in between intersecting strokes
|
|
1396
1396
|
|
|
1397
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1397
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1398
1398
|
:type execution_context: int | str | None
|
|
1399
1399
|
:type undo: bool | None
|
|
1400
1400
|
:param path: Path
|
|
@@ -1410,7 +1410,7 @@ def stroke_cutter(
|
|
|
1410
1410
|
...
|
|
1411
1411
|
|
|
1412
1412
|
def stroke_material_set(
|
|
1413
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1413
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1414
1414
|
execution_context: int | str | None = None,
|
|
1415
1415
|
undo: bool | None = None,
|
|
1416
1416
|
*,
|
|
@@ -1418,7 +1418,7 @@ def stroke_material_set(
|
|
|
1418
1418
|
):
|
|
1419
1419
|
"""Assign the active material slot to the selected strokes
|
|
1420
1420
|
|
|
1421
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1421
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1422
1422
|
:type execution_context: int | str | None
|
|
1423
1423
|
:type undo: bool | None
|
|
1424
1424
|
:param material: Material, Name of the material
|
|
@@ -1428,7 +1428,7 @@ def stroke_material_set(
|
|
|
1428
1428
|
...
|
|
1429
1429
|
|
|
1430
1430
|
def stroke_merge_by_distance(
|
|
1431
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1431
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1432
1432
|
execution_context: int | str | None = None,
|
|
1433
1433
|
undo: bool | None = None,
|
|
1434
1434
|
*,
|
|
@@ -1437,7 +1437,7 @@ def stroke_merge_by_distance(
|
|
|
1437
1437
|
):
|
|
1438
1438
|
"""Merge points by distance
|
|
1439
1439
|
|
|
1440
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1440
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1441
1441
|
:type execution_context: int | str | None
|
|
1442
1442
|
:type undo: bool | None
|
|
1443
1443
|
:param threshold: Threshold
|
|
@@ -1449,7 +1449,7 @@ def stroke_merge_by_distance(
|
|
|
1449
1449
|
...
|
|
1450
1450
|
|
|
1451
1451
|
def stroke_simplify(
|
|
1452
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1452
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1453
1453
|
execution_context: int | str | None = None,
|
|
1454
1454
|
undo: bool | None = None,
|
|
1455
1455
|
*,
|
|
@@ -1457,7 +1457,7 @@ def stroke_simplify(
|
|
|
1457
1457
|
):
|
|
1458
1458
|
"""Simplify selected strokes
|
|
1459
1459
|
|
|
1460
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1460
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1461
1461
|
:type execution_context: int | str | None
|
|
1462
1462
|
:type undo: bool | None
|
|
1463
1463
|
:param factor: Factor
|
|
@@ -1467,7 +1467,7 @@ def stroke_simplify(
|
|
|
1467
1467
|
...
|
|
1468
1468
|
|
|
1469
1469
|
def stroke_smooth(
|
|
1470
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1470
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1471
1471
|
execution_context: int | str | None = None,
|
|
1472
1472
|
undo: bool | None = None,
|
|
1473
1473
|
*,
|
|
@@ -1481,7 +1481,7 @@ def stroke_smooth(
|
|
|
1481
1481
|
):
|
|
1482
1482
|
"""Smooth selected strokes
|
|
1483
1483
|
|
|
1484
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1484
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1485
1485
|
:type execution_context: int | str | None
|
|
1486
1486
|
:type undo: bool | None
|
|
1487
1487
|
:param iterations: Iterations
|
|
@@ -1503,7 +1503,7 @@ def stroke_smooth(
|
|
|
1503
1503
|
...
|
|
1504
1504
|
|
|
1505
1505
|
def stroke_subdivide(
|
|
1506
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1506
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1507
1507
|
execution_context: int | str | None = None,
|
|
1508
1508
|
undo: bool | None = None,
|
|
1509
1509
|
*,
|
|
@@ -1512,7 +1512,7 @@ def stroke_subdivide(
|
|
|
1512
1512
|
):
|
|
1513
1513
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1514
1514
|
|
|
1515
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1515
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1516
1516
|
:type execution_context: int | str | None
|
|
1517
1517
|
:type undo: bool | None
|
|
1518
1518
|
:param number_cuts: Number of Cuts
|
|
@@ -1524,7 +1524,7 @@ def stroke_subdivide(
|
|
|
1524
1524
|
...
|
|
1525
1525
|
|
|
1526
1526
|
def stroke_subdivide_smooth(
|
|
1527
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1527
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1528
1528
|
execution_context: int | str | None = None,
|
|
1529
1529
|
undo: bool | None = None,
|
|
1530
1530
|
*,
|
|
@@ -1533,7 +1533,7 @@ def stroke_subdivide_smooth(
|
|
|
1533
1533
|
):
|
|
1534
1534
|
"""Subdivide strokes and smooth them
|
|
1535
1535
|
|
|
1536
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1536
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1537
1537
|
:type execution_context: int | str | None
|
|
1538
1538
|
:type undo: bool | None
|
|
1539
1539
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
@@ -1545,13 +1545,13 @@ def stroke_subdivide_smooth(
|
|
|
1545
1545
|
...
|
|
1546
1546
|
|
|
1547
1547
|
def stroke_switch_direction(
|
|
1548
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1548
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1549
1549
|
execution_context: int | str | None = None,
|
|
1550
1550
|
undo: bool | None = None,
|
|
1551
1551
|
):
|
|
1552
1552
|
"""Change direction of the points of the selected strokes
|
|
1553
1553
|
|
|
1554
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1554
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1555
1555
|
:type execution_context: int | str | None
|
|
1556
1556
|
:type undo: bool | None
|
|
1557
1557
|
"""
|
|
@@ -1559,7 +1559,7 @@ def stroke_switch_direction(
|
|
|
1559
1559
|
...
|
|
1560
1560
|
|
|
1561
1561
|
def trace_image(
|
|
1562
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1562
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1563
1563
|
execution_context: int | str | None = None,
|
|
1564
1564
|
undo: bool | None = None,
|
|
1565
1565
|
*,
|
|
@@ -1576,7 +1576,7 @@ def trace_image(
|
|
|
1576
1576
|
):
|
|
1577
1577
|
"""Extract Grease Pencil strokes from image
|
|
1578
1578
|
|
|
1579
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1579
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1580
1580
|
:type execution_context: int | str | None
|
|
1581
1581
|
:type undo: bool | None
|
|
1582
1582
|
:param target: Target Object, Target grease pencil
|
|
@@ -1625,7 +1625,7 @@ def trace_image(
|
|
|
1625
1625
|
...
|
|
1626
1626
|
|
|
1627
1627
|
def weight_brush_stroke(
|
|
1628
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1628
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1629
1629
|
execution_context: int | str | None = None,
|
|
1630
1630
|
undo: bool | None = None,
|
|
1631
1631
|
*,
|
|
@@ -1635,7 +1635,7 @@ def weight_brush_stroke(
|
|
|
1635
1635
|
):
|
|
1636
1636
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1637
1637
|
|
|
1638
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1638
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1639
1639
|
:type execution_context: int | str | None
|
|
1640
1640
|
:type undo: bool | None
|
|
1641
1641
|
:param stroke: Stroke
|
|
@@ -1659,13 +1659,13 @@ def weight_brush_stroke(
|
|
|
1659
1659
|
...
|
|
1660
1660
|
|
|
1661
1661
|
def weight_sample(
|
|
1662
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1662
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1663
1663
|
execution_context: int | str | None = None,
|
|
1664
1664
|
undo: bool | None = None,
|
|
1665
1665
|
):
|
|
1666
1666
|
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
1667
1667
|
|
|
1668
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1668
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1669
1669
|
:type execution_context: int | str | None
|
|
1670
1670
|
:type undo: bool | None
|
|
1671
1671
|
"""
|
|
@@ -1673,13 +1673,13 @@ def weight_sample(
|
|
|
1673
1673
|
...
|
|
1674
1674
|
|
|
1675
1675
|
def weight_toggle_direction(
|
|
1676
|
-
override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1676
|
+
override_context: bpy.types.Context | dict[str, typing.Any] = None,
|
|
1677
1677
|
execution_context: int | str | None = None,
|
|
1678
1678
|
undo: bool | None = None,
|
|
1679
1679
|
):
|
|
1680
1680
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
1681
1681
|
|
|
1682
|
-
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1682
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any]
|
|
1683
1683
|
:type execution_context: int | str | None
|
|
1684
1684
|
:type undo: bool | None
|
|
1685
1685
|
"""
|