fake-bpy-module 20240601__py3-none-any.whl → 20240604__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.
- aud/__init__.pyi +4 -4
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -4
- bl_ui/generic_ui_list/__init__.pyi +2 -2
- bl_ui/space_sequencer/__init__.pyi +14 -0
- bl_ui/space_userpref/__init__.pyi +234 -0
- bl_ui/space_view3d/__init__.pyi +810 -0
- blf/__init__.pyi +4 -4
- bmesh/ops/__init__.pyi +97 -82
- bmesh/types/__init__.pyi +37 -32
- bmesh/utils/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +152 -152
- bpy/ops/anim/__init__.pyi +216 -216
- bpy/ops/armature/__init__.pyi +192 -192
- bpy/ops/asset/__init__.pyi +64 -64
- bpy/ops/boid/__init__.pyi +32 -32
- bpy/ops/brush/__init__.pyi +36 -36
- bpy/ops/buttons/__init__.pyi +24 -24
- bpy/ops/cachefile/__init__.pyi +20 -20
- bpy/ops/camera/__init__.pyi +8 -8
- bpy/ops/clip/__init__.pyi +368 -368
- bpy/ops/cloth/__init__.pyi +4 -4
- bpy/ops/collection/__init__.pyi +36 -36
- bpy/ops/console/__init__.pyi +84 -84
- bpy/ops/constraint/__init__.pyi +72 -72
- bpy/ops/curve/__init__.pyi +204 -204
- bpy/ops/curves/__init__.pyi +108 -108
- bpy/ops/cycles/__init__.pyi +12 -12
- bpy/ops/dpaint/__init__.pyi +20 -20
- bpy/ops/ed/__init__.pyi +48 -48
- bpy/ops/export_anim/__init__.pyi +4 -4
- bpy/ops/export_scene/__init__.pyi +8 -8
- bpy/ops/extensions/__init__.pyi +123 -109
- bpy/ops/file/__init__.pyi +160 -160
- bpy/ops/fluid/__init__.pyi +56 -56
- bpy/ops/font/__init__.pyi +92 -92
- bpy/ops/geometry/__init__.pyi +40 -40
- bpy/ops/gizmogroup/__init__.pyi +8 -8
- bpy/ops/gpencil/__init__.pyi +600 -600
- bpy/ops/graph/__init__.pyi +260 -260
- bpy/ops/grease_pencil/__init__.pyi +292 -292
- bpy/ops/image/__init__.pyi +192 -192
- bpy/ops/import_anim/__init__.pyi +4 -4
- bpy/ops/import_curve/__init__.pyi +4 -4
- bpy/ops/import_scene/__init__.pyi +8 -8
- bpy/ops/info/__init__.pyi +28 -28
- bpy/ops/lattice/__init__.pyi +32 -32
- bpy/ops/marker/__init__.pyi +44 -44
- bpy/ops/mask/__init__.pyi +156 -156
- bpy/ops/material/__init__.pyi +12 -12
- bpy/ops/mball/__init__.pyi +32 -32
- bpy/ops/mesh/__init__.pyi +652 -652
- bpy/ops/nla/__init__.pyi +156 -156
- bpy/ops/node/__init__.pyi +416 -416
- bpy/ops/object/__init__.pyi +984 -984
- bpy/ops/outliner/__init__.pyi +284 -284
- bpy/ops/paint/__init__.pyi +220 -220
- bpy/ops/paintcurve/__init__.pyi +32 -32
- bpy/ops/palette/__init__.pyi +28 -28
- bpy/ops/particle/__init__.pyi +144 -144
- bpy/ops/pose/__init__.pyi +156 -156
- bpy/ops/poselib/__init__.pyi +36 -36
- bpy/ops/preferences/__init__.pyi +148 -148
- bpy/ops/ptcache/__init__.pyi +28 -28
- bpy/ops/render/__init__.pyi +48 -48
- bpy/ops/rigidbody/__init__.pyi +52 -52
- bpy/ops/scene/__init__.pyi +156 -156
- bpy/ops/screen/__init__.pyi +156 -156
- bpy/ops/script/__init__.pyi +12 -12
- bpy/ops/sculpt/__init__.pyi +144 -144
- bpy/ops/sculpt_curves/__init__.pyi +16 -16
- bpy/ops/sequencer/__init__.pyi +364 -340
- bpy/ops/sound/__init__.pyi +28 -28
- bpy/ops/spreadsheet/__init__.pyi +16 -16
- bpy/ops/surface/__init__.pyi +24 -24
- bpy/ops/text/__init__.pyi +172 -172
- bpy/ops/text_editor/__init__.pyi +4 -4
- bpy/ops/texture/__init__.pyi +16 -16
- bpy/ops/transform/__init__.pyi +111 -108
- bpy/ops/ui/__init__.pyi +132 -132
- bpy/ops/uilist/__init__.pyi +12 -12
- bpy/ops/uv/__init__.pyi +196 -196
- bpy/ops/view2d/__init__.pyi +56 -56
- bpy/ops/view3d/__init__.pyi +268 -268
- bpy/ops/wm/__init__.pyi +448 -448
- bpy/ops/workspace/__init__.pyi +28 -28
- bpy/ops/world/__init__.pyi +8 -8
- bpy/path/__init__.pyi +18 -18
- bpy/props/__init__.pyi +11 -11
- bpy/types/__init__.pyi +1527 -1737
- bpy/utils/__init__.pyi +4 -4
- bpy_extras/mesh_utils/__init__.pyi +4 -4
- bpy_extras/view3d_utils/__init__.pyi +24 -20
- bpy_types/__init__.pyi +12 -7
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240604.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240604.dist-info}/RECORD +106 -106
- freestyle/types/__init__.pyi +64 -64
- freestyle/utils/__init__.pyi +2 -2
- gpu/matrix/__init__.pyi +15 -6
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +6 -4
- gpu_extras/presets/__init__.pyi +8 -4
- imbuf/__init__.pyi +4 -4
- mathutils/__init__.pyi +292 -187
- mathutils/geometry/__init__.pyi +2 -5
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240604.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240601.dist-info → fake_bpy_module-20240604.dist-info}/top_level.txt +0 -0
|
@@ -7,8 +7,8 @@ GenericType1 = typing.TypeVar("GenericType1")
|
|
|
7
7
|
GenericType2 = typing.TypeVar("GenericType2")
|
|
8
8
|
|
|
9
9
|
def brush_stroke(
|
|
10
|
-
override_context: dict[str, typing.Any] |
|
|
11
|
-
execution_context:
|
|
10
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
11
|
+
execution_context: int | str | None = None,
|
|
12
12
|
undo: bool | None = None,
|
|
13
13
|
*,
|
|
14
14
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -17,8 +17,8 @@ def brush_stroke(
|
|
|
17
17
|
):
|
|
18
18
|
"""Draw a new stroke in the active Grease Pencil object
|
|
19
19
|
|
|
20
|
-
:type override_context: dict[str, typing.Any] |
|
|
21
|
-
:type execution_context:
|
|
20
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
21
|
+
:type execution_context: int | str | None
|
|
22
22
|
:type undo: bool | None
|
|
23
23
|
:param stroke: Stroke
|
|
24
24
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
@@ -38,16 +38,16 @@ def brush_stroke(
|
|
|
38
38
|
...
|
|
39
39
|
|
|
40
40
|
def caps_set(
|
|
41
|
-
override_context: dict[str, typing.Any] |
|
|
42
|
-
execution_context:
|
|
41
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
42
|
+
execution_context: int | str | None = None,
|
|
43
43
|
undo: bool | None = None,
|
|
44
44
|
*,
|
|
45
45
|
type: str | None = "ROUND",
|
|
46
46
|
):
|
|
47
47
|
"""Change curve caps mode (rounded or flat)
|
|
48
48
|
|
|
49
|
-
:type override_context: dict[str, typing.Any] |
|
|
50
|
-
:type execution_context:
|
|
49
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
50
|
+
:type execution_context: int | str | None
|
|
51
51
|
:type undo: bool | None
|
|
52
52
|
:param type: Type
|
|
53
53
|
|
|
@@ -68,16 +68,16 @@ def caps_set(
|
|
|
68
68
|
...
|
|
69
69
|
|
|
70
70
|
def clean_loose(
|
|
71
|
-
override_context: dict[str, typing.Any] |
|
|
72
|
-
execution_context:
|
|
71
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
72
|
+
execution_context: int | str | None = None,
|
|
73
73
|
undo: bool | None = None,
|
|
74
74
|
*,
|
|
75
75
|
limit: typing.Any | None = 1,
|
|
76
76
|
):
|
|
77
77
|
"""Remove loose points
|
|
78
78
|
|
|
79
|
-
:type override_context: dict[str, typing.Any] |
|
|
80
|
-
:type execution_context:
|
|
79
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
80
|
+
:type execution_context: int | str | None
|
|
81
81
|
:type undo: bool | None
|
|
82
82
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
83
83
|
:type limit: typing.Any | None
|
|
@@ -86,30 +86,30 @@ def clean_loose(
|
|
|
86
86
|
...
|
|
87
87
|
|
|
88
88
|
def copy(
|
|
89
|
-
override_context: dict[str, typing.Any] |
|
|
90
|
-
execution_context:
|
|
89
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
90
|
+
execution_context: int | str | None = None,
|
|
91
91
|
undo: bool | None = None,
|
|
92
92
|
):
|
|
93
93
|
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
94
94
|
|
|
95
|
-
:type override_context: dict[str, typing.Any] |
|
|
96
|
-
:type execution_context:
|
|
95
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
96
|
+
:type execution_context: int | str | None
|
|
97
97
|
:type undo: bool | None
|
|
98
98
|
"""
|
|
99
99
|
|
|
100
100
|
...
|
|
101
101
|
|
|
102
102
|
def cyclical_set(
|
|
103
|
-
override_context: dict[str, typing.Any] |
|
|
104
|
-
execution_context:
|
|
103
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
104
|
+
execution_context: int | str | None = None,
|
|
105
105
|
undo: bool | None = None,
|
|
106
106
|
*,
|
|
107
107
|
type: str | None = "TOGGLE",
|
|
108
108
|
):
|
|
109
109
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
110
110
|
|
|
111
|
-
:type override_context: dict[str, typing.Any] |
|
|
112
|
-
:type execution_context:
|
|
111
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
112
|
+
:type execution_context: int | str | None
|
|
113
113
|
:type undo: bool | None
|
|
114
114
|
:param type: Type
|
|
115
115
|
:type type: str | None
|
|
@@ -118,30 +118,30 @@ def cyclical_set(
|
|
|
118
118
|
...
|
|
119
119
|
|
|
120
120
|
def delete(
|
|
121
|
-
override_context: dict[str, typing.Any] |
|
|
122
|
-
execution_context:
|
|
121
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
122
|
+
execution_context: int | str | None = None,
|
|
123
123
|
undo: bool | None = None,
|
|
124
124
|
):
|
|
125
125
|
"""Delete selected strokes or points
|
|
126
126
|
|
|
127
|
-
:type override_context: dict[str, typing.Any] |
|
|
128
|
-
:type execution_context:
|
|
127
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
128
|
+
:type execution_context: int | str | None
|
|
129
129
|
:type undo: bool | None
|
|
130
130
|
"""
|
|
131
131
|
|
|
132
132
|
...
|
|
133
133
|
|
|
134
134
|
def delete_frame(
|
|
135
|
-
override_context: dict[str, typing.Any] |
|
|
136
|
-
execution_context:
|
|
135
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
136
|
+
execution_context: int | str | None = None,
|
|
137
137
|
undo: bool | None = None,
|
|
138
138
|
*,
|
|
139
139
|
type: str | None = "ACTIVE_FRAME",
|
|
140
140
|
):
|
|
141
141
|
"""Delete Grease Pencil Frame(s)
|
|
142
142
|
|
|
143
|
-
:type override_context: dict[str, typing.Any] |
|
|
144
|
-
:type execution_context:
|
|
143
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
144
|
+
:type execution_context: int | str | None
|
|
145
145
|
:type undo: bool | None
|
|
146
146
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
147
147
|
|
|
@@ -156,16 +156,16 @@ def delete_frame(
|
|
|
156
156
|
...
|
|
157
157
|
|
|
158
158
|
def dissolve(
|
|
159
|
-
override_context: dict[str, typing.Any] |
|
|
160
|
-
execution_context:
|
|
159
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
160
|
+
execution_context: int | str | None = None,
|
|
161
161
|
undo: bool | None = None,
|
|
162
162
|
*,
|
|
163
163
|
type: str | None = "POINTS",
|
|
164
164
|
):
|
|
165
165
|
"""Delete selected points without splitting strokes
|
|
166
166
|
|
|
167
|
-
:type override_context: dict[str, typing.Any] |
|
|
168
|
-
:type execution_context:
|
|
167
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
168
|
+
:type execution_context: int | str | None
|
|
169
169
|
:type undo: bool | None
|
|
170
170
|
:param type: Type, Method used for dissolving stroke points
|
|
171
171
|
|
|
@@ -183,22 +183,22 @@ def dissolve(
|
|
|
183
183
|
...
|
|
184
184
|
|
|
185
185
|
def duplicate(
|
|
186
|
-
override_context: dict[str, typing.Any] |
|
|
187
|
-
execution_context:
|
|
186
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
187
|
+
execution_context: int | str | None = None,
|
|
188
188
|
undo: bool | None = None,
|
|
189
189
|
):
|
|
190
190
|
"""Duplicate the selected points
|
|
191
191
|
|
|
192
|
-
:type override_context: dict[str, typing.Any] |
|
|
193
|
-
:type execution_context:
|
|
192
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
193
|
+
:type execution_context: int | str | None
|
|
194
194
|
:type undo: bool | None
|
|
195
195
|
"""
|
|
196
196
|
|
|
197
197
|
...
|
|
198
198
|
|
|
199
199
|
def duplicate_move(
|
|
200
|
-
override_context: dict[str, typing.Any] |
|
|
201
|
-
execution_context:
|
|
200
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
201
|
+
execution_context: int | str | None = None,
|
|
202
202
|
undo: bool | None = None,
|
|
203
203
|
*,
|
|
204
204
|
GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
|
|
@@ -206,8 +206,8 @@ def duplicate_move(
|
|
|
206
206
|
):
|
|
207
207
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
208
208
|
|
|
209
|
-
:type override_context: dict[str, typing.Any] |
|
|
210
|
-
:type execution_context:
|
|
209
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
210
|
+
:type execution_context: int | str | None
|
|
211
211
|
:type undo: bool | None
|
|
212
212
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
213
213
|
:type GREASE_PENCIL_OT_duplicate: typing.Any | None
|
|
@@ -218,22 +218,22 @@ def duplicate_move(
|
|
|
218
218
|
...
|
|
219
219
|
|
|
220
220
|
def extrude(
|
|
221
|
-
override_context: dict[str, typing.Any] |
|
|
222
|
-
execution_context:
|
|
221
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
222
|
+
execution_context: int | str | None = None,
|
|
223
223
|
undo: bool | None = None,
|
|
224
224
|
):
|
|
225
225
|
"""Extrude the selected points
|
|
226
226
|
|
|
227
|
-
:type override_context: dict[str, typing.Any] |
|
|
228
|
-
:type execution_context:
|
|
227
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
228
|
+
:type execution_context: int | str | None
|
|
229
229
|
:type undo: bool | None
|
|
230
230
|
"""
|
|
231
231
|
|
|
232
232
|
...
|
|
233
233
|
|
|
234
234
|
def extrude_move(
|
|
235
|
-
override_context: dict[str, typing.Any] |
|
|
236
|
-
execution_context:
|
|
235
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
236
|
+
execution_context: int | str | None = None,
|
|
237
237
|
undo: bool | None = None,
|
|
238
238
|
*,
|
|
239
239
|
GREASE_PENCIL_OT_extrude: typing.Any | None = None,
|
|
@@ -241,8 +241,8 @@ def extrude_move(
|
|
|
241
241
|
):
|
|
242
242
|
"""Extrude selected points and move them
|
|
243
243
|
|
|
244
|
-
:type override_context: dict[str, typing.Any] |
|
|
245
|
-
:type execution_context:
|
|
244
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
245
|
+
:type execution_context: int | str | None
|
|
246
246
|
:type undo: bool | None
|
|
247
247
|
:param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
|
|
248
248
|
:type GREASE_PENCIL_OT_extrude: typing.Any | None
|
|
@@ -253,8 +253,8 @@ def extrude_move(
|
|
|
253
253
|
...
|
|
254
254
|
|
|
255
255
|
def fill(
|
|
256
|
-
override_context: dict[str, typing.Any] |
|
|
257
|
-
execution_context:
|
|
256
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
257
|
+
execution_context: int | str | None = None,
|
|
258
258
|
undo: bool | None = None,
|
|
259
259
|
*,
|
|
260
260
|
on_back: bool | typing.Any | None = False,
|
|
@@ -263,8 +263,8 @@ def fill(
|
|
|
263
263
|
):
|
|
264
264
|
"""Fill with color the shape formed by strokes
|
|
265
265
|
|
|
266
|
-
:type override_context: dict[str, typing.Any] |
|
|
267
|
-
:type execution_context:
|
|
266
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
267
|
+
:type execution_context: int | str | None
|
|
268
268
|
:type undo: bool | None
|
|
269
269
|
:param on_back: Draw on Back, Send new stroke to back
|
|
270
270
|
:type on_back: bool | typing.Any | None
|
|
@@ -277,8 +277,8 @@ def fill(
|
|
|
277
277
|
...
|
|
278
278
|
|
|
279
279
|
def insert_blank_frame(
|
|
280
|
-
override_context: dict[str, typing.Any] |
|
|
281
|
-
execution_context:
|
|
280
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
281
|
+
execution_context: int | str | None = None,
|
|
282
282
|
undo: bool | None = None,
|
|
283
283
|
*,
|
|
284
284
|
all_layers: bool | typing.Any | None = False,
|
|
@@ -286,8 +286,8 @@ def insert_blank_frame(
|
|
|
286
286
|
):
|
|
287
287
|
"""Insert a blank frame on the current scene frame
|
|
288
288
|
|
|
289
|
-
:type override_context: dict[str, typing.Any] |
|
|
290
|
-
:type execution_context:
|
|
289
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
290
|
+
:type execution_context: int | str | None
|
|
291
291
|
:type undo: bool | None
|
|
292
292
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
293
293
|
:type all_layers: bool | typing.Any | None
|
|
@@ -298,16 +298,16 @@ def insert_blank_frame(
|
|
|
298
298
|
...
|
|
299
299
|
|
|
300
300
|
def layer_active(
|
|
301
|
-
override_context: dict[str, typing.Any] |
|
|
302
|
-
execution_context:
|
|
301
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
302
|
+
execution_context: int | str | None = None,
|
|
303
303
|
undo: bool | None = None,
|
|
304
304
|
*,
|
|
305
305
|
layer: typing.Any | None = 0,
|
|
306
306
|
):
|
|
307
307
|
"""Set the active Grease Pencil layer
|
|
308
308
|
|
|
309
|
-
:type override_context: dict[str, typing.Any] |
|
|
310
|
-
:type execution_context:
|
|
309
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
310
|
+
:type execution_context: int | str | None
|
|
311
311
|
:type undo: bool | None
|
|
312
312
|
:param layer: Grease Pencil Layer
|
|
313
313
|
:type layer: typing.Any | None
|
|
@@ -316,16 +316,16 @@ def layer_active(
|
|
|
316
316
|
...
|
|
317
317
|
|
|
318
318
|
def layer_add(
|
|
319
|
-
override_context: dict[str, typing.Any] |
|
|
320
|
-
execution_context:
|
|
319
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
320
|
+
execution_context: int | str | None = None,
|
|
321
321
|
undo: bool | None = None,
|
|
322
322
|
*,
|
|
323
323
|
new_layer_name: str | typing.Any = "Layer",
|
|
324
324
|
):
|
|
325
325
|
"""Add a new Grease Pencil layer in the active object
|
|
326
326
|
|
|
327
|
-
:type override_context: dict[str, typing.Any] |
|
|
328
|
-
:type execution_context:
|
|
327
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
328
|
+
:type execution_context: int | str | None
|
|
329
329
|
:type undo: bool | None
|
|
330
330
|
:param new_layer_name: Name, Name of the new layer
|
|
331
331
|
:type new_layer_name: str | typing.Any
|
|
@@ -334,16 +334,16 @@ def layer_add(
|
|
|
334
334
|
...
|
|
335
335
|
|
|
336
336
|
def layer_duplicate(
|
|
337
|
-
override_context: dict[str, typing.Any] |
|
|
338
|
-
execution_context:
|
|
337
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
338
|
+
execution_context: int | str | None = None,
|
|
339
339
|
undo: bool | None = None,
|
|
340
340
|
*,
|
|
341
341
|
empty_keyframes: bool | typing.Any | None = False,
|
|
342
342
|
):
|
|
343
343
|
"""Make a copy of the active Grease Pencil layer
|
|
344
344
|
|
|
345
|
-
:type override_context: dict[str, typing.Any] |
|
|
346
|
-
:type execution_context:
|
|
345
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
346
|
+
:type execution_context: int | str | None
|
|
347
347
|
:type undo: bool | None
|
|
348
348
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
349
349
|
:type empty_keyframes: bool | typing.Any | None
|
|
@@ -352,16 +352,16 @@ def layer_duplicate(
|
|
|
352
352
|
...
|
|
353
353
|
|
|
354
354
|
def layer_group_add(
|
|
355
|
-
override_context: dict[str, typing.Any] |
|
|
356
|
-
execution_context:
|
|
355
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
356
|
+
execution_context: int | str | None = None,
|
|
357
357
|
undo: bool | None = None,
|
|
358
358
|
*,
|
|
359
359
|
new_layer_group_name: str | typing.Any = "",
|
|
360
360
|
):
|
|
361
361
|
"""Add a new Grease Pencil layer group in the active object
|
|
362
362
|
|
|
363
|
-
:type override_context: dict[str, typing.Any] |
|
|
364
|
-
:type execution_context:
|
|
363
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
364
|
+
:type execution_context: int | str | None
|
|
365
365
|
:type undo: bool | None
|
|
366
366
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
367
367
|
:type new_layer_group_name: str | typing.Any
|
|
@@ -370,16 +370,16 @@ def layer_group_add(
|
|
|
370
370
|
...
|
|
371
371
|
|
|
372
372
|
def layer_group_remove(
|
|
373
|
-
override_context: dict[str, typing.Any] |
|
|
374
|
-
execution_context:
|
|
373
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
374
|
+
execution_context: int | str | None = None,
|
|
375
375
|
undo: bool | None = None,
|
|
376
376
|
*,
|
|
377
377
|
keep_children: bool | typing.Any | None = False,
|
|
378
378
|
):
|
|
379
379
|
"""Remove Grease Pencil layer group in the active object
|
|
380
380
|
|
|
381
|
-
:type override_context: dict[str, typing.Any] |
|
|
382
|
-
:type execution_context:
|
|
381
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
382
|
+
:type execution_context: int | str | None
|
|
383
383
|
:type undo: bool | None
|
|
384
384
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
385
385
|
:type keep_children: bool | typing.Any | None
|
|
@@ -388,16 +388,16 @@ def layer_group_remove(
|
|
|
388
388
|
...
|
|
389
389
|
|
|
390
390
|
def layer_hide(
|
|
391
|
-
override_context: dict[str, typing.Any] |
|
|
392
|
-
execution_context:
|
|
391
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
392
|
+
execution_context: int | str | None = None,
|
|
393
393
|
undo: bool | None = None,
|
|
394
394
|
*,
|
|
395
395
|
unselected: bool | typing.Any | None = False,
|
|
396
396
|
):
|
|
397
397
|
"""Hide selected/unselected Grease Pencil layers
|
|
398
398
|
|
|
399
|
-
:type override_context: dict[str, typing.Any] |
|
|
400
|
-
:type execution_context:
|
|
399
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
400
|
+
:type execution_context: int | str | None
|
|
401
401
|
:type undo: bool | None
|
|
402
402
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
403
403
|
:type unselected: bool | typing.Any | None
|
|
@@ -406,16 +406,16 @@ def layer_hide(
|
|
|
406
406
|
...
|
|
407
407
|
|
|
408
408
|
def layer_isolate(
|
|
409
|
-
override_context: dict[str, typing.Any] |
|
|
410
|
-
execution_context:
|
|
409
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
410
|
+
execution_context: int | str | None = None,
|
|
411
411
|
undo: bool | None = None,
|
|
412
412
|
*,
|
|
413
413
|
affect_visibility: bool | typing.Any | None = False,
|
|
414
414
|
):
|
|
415
415
|
"""Make only active layer visible/editable
|
|
416
416
|
|
|
417
|
-
:type override_context: dict[str, typing.Any] |
|
|
418
|
-
:type execution_context:
|
|
417
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
418
|
+
:type execution_context: int | str | None
|
|
419
419
|
:type undo: bool | None
|
|
420
420
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
421
421
|
:type affect_visibility: bool | typing.Any | None
|
|
@@ -424,16 +424,16 @@ def layer_isolate(
|
|
|
424
424
|
...
|
|
425
425
|
|
|
426
426
|
def layer_lock_all(
|
|
427
|
-
override_context: dict[str, typing.Any] |
|
|
428
|
-
execution_context:
|
|
427
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
428
|
+
execution_context: int | str | None = None,
|
|
429
429
|
undo: bool | None = None,
|
|
430
430
|
*,
|
|
431
431
|
lock: bool | typing.Any | None = True,
|
|
432
432
|
):
|
|
433
433
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
434
434
|
|
|
435
|
-
:type override_context: dict[str, typing.Any] |
|
|
436
|
-
:type execution_context:
|
|
435
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
436
|
+
:type execution_context: int | str | None
|
|
437
437
|
:type undo: bool | None
|
|
438
438
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
439
439
|
:type lock: bool | typing.Any | None
|
|
@@ -442,16 +442,16 @@ def layer_lock_all(
|
|
|
442
442
|
...
|
|
443
443
|
|
|
444
444
|
def layer_mask_add(
|
|
445
|
-
override_context: dict[str, typing.Any] |
|
|
446
|
-
execution_context:
|
|
445
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
446
|
+
execution_context: int | str | None = None,
|
|
447
447
|
undo: bool | None = None,
|
|
448
448
|
*,
|
|
449
449
|
name: str | typing.Any = "",
|
|
450
450
|
):
|
|
451
451
|
"""Add new layer as masking
|
|
452
452
|
|
|
453
|
-
:type override_context: dict[str, typing.Any] |
|
|
454
|
-
:type execution_context:
|
|
453
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
454
|
+
:type execution_context: int | str | None
|
|
455
455
|
:type undo: bool | None
|
|
456
456
|
:param name: Layer, Name of the layer
|
|
457
457
|
:type name: str | typing.Any
|
|
@@ -460,30 +460,30 @@ def layer_mask_add(
|
|
|
460
460
|
...
|
|
461
461
|
|
|
462
462
|
def layer_mask_remove(
|
|
463
|
-
override_context: dict[str, typing.Any] |
|
|
464
|
-
execution_context:
|
|
463
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
464
|
+
execution_context: int | str | None = None,
|
|
465
465
|
undo: bool | None = None,
|
|
466
466
|
):
|
|
467
467
|
"""Remove Layer Mask
|
|
468
468
|
|
|
469
|
-
:type override_context: dict[str, typing.Any] |
|
|
470
|
-
:type execution_context:
|
|
469
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
470
|
+
:type execution_context: int | str | None
|
|
471
471
|
:type undo: bool | None
|
|
472
472
|
"""
|
|
473
473
|
|
|
474
474
|
...
|
|
475
475
|
|
|
476
476
|
def layer_mask_reorder(
|
|
477
|
-
override_context: dict[str, typing.Any] |
|
|
478
|
-
execution_context:
|
|
477
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
478
|
+
execution_context: int | str | None = None,
|
|
479
479
|
undo: bool | None = None,
|
|
480
480
|
*,
|
|
481
481
|
direction: str | None = "UP",
|
|
482
482
|
):
|
|
483
483
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
484
484
|
|
|
485
|
-
:type override_context: dict[str, typing.Any] |
|
|
486
|
-
:type execution_context:
|
|
485
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
486
|
+
:type execution_context: int | str | None
|
|
487
487
|
:type undo: bool | None
|
|
488
488
|
:param direction: Direction
|
|
489
489
|
:type direction: str | None
|
|
@@ -492,22 +492,22 @@ def layer_mask_reorder(
|
|
|
492
492
|
...
|
|
493
493
|
|
|
494
494
|
def layer_remove(
|
|
495
|
-
override_context: dict[str, typing.Any] |
|
|
496
|
-
execution_context:
|
|
495
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
496
|
+
execution_context: int | str | None = None,
|
|
497
497
|
undo: bool | None = None,
|
|
498
498
|
):
|
|
499
499
|
"""Remove the active Grease Pencil layer
|
|
500
500
|
|
|
501
|
-
:type override_context: dict[str, typing.Any] |
|
|
502
|
-
:type execution_context:
|
|
501
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
502
|
+
:type execution_context: int | str | None
|
|
503
503
|
:type undo: bool | None
|
|
504
504
|
"""
|
|
505
505
|
|
|
506
506
|
...
|
|
507
507
|
|
|
508
508
|
def layer_reorder(
|
|
509
|
-
override_context: dict[str, typing.Any] |
|
|
510
|
-
execution_context:
|
|
509
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
510
|
+
execution_context: int | str | None = None,
|
|
511
511
|
undo: bool | None = None,
|
|
512
512
|
*,
|
|
513
513
|
target_layer_name: str | typing.Any = "Layer",
|
|
@@ -515,8 +515,8 @@ def layer_reorder(
|
|
|
515
515
|
):
|
|
516
516
|
"""Reorder the active Grease Pencil layer
|
|
517
517
|
|
|
518
|
-
:type override_context: dict[str, typing.Any] |
|
|
519
|
-
:type execution_context:
|
|
518
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
519
|
+
:type execution_context: int | str | None
|
|
520
520
|
:type undo: bool | None
|
|
521
521
|
:param target_layer_name: Target Name, Name of the target layer
|
|
522
522
|
:type target_layer_name: str | typing.Any
|
|
@@ -527,30 +527,30 @@ def layer_reorder(
|
|
|
527
527
|
...
|
|
528
528
|
|
|
529
529
|
def layer_reveal(
|
|
530
|
-
override_context: dict[str, typing.Any] |
|
|
531
|
-
execution_context:
|
|
530
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
531
|
+
execution_context: int | str | None = None,
|
|
532
532
|
undo: bool | None = None,
|
|
533
533
|
):
|
|
534
534
|
"""Show all Grease Pencil layers
|
|
535
535
|
|
|
536
|
-
:type override_context: dict[str, typing.Any] |
|
|
537
|
-
:type execution_context:
|
|
536
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
537
|
+
:type execution_context: int | str | None
|
|
538
538
|
:type undo: bool | None
|
|
539
539
|
"""
|
|
540
540
|
|
|
541
541
|
...
|
|
542
542
|
|
|
543
543
|
def material_copy_to_object(
|
|
544
|
-
override_context: dict[str, typing.Any] |
|
|
545
|
-
execution_context:
|
|
544
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
545
|
+
execution_context: int | str | None = None,
|
|
546
546
|
undo: bool | None = None,
|
|
547
547
|
*,
|
|
548
548
|
only_active: bool | typing.Any | None = True,
|
|
549
549
|
):
|
|
550
550
|
"""Append Materials of the active Grease Pencil to other object
|
|
551
551
|
|
|
552
|
-
:type override_context: dict[str, typing.Any] |
|
|
553
|
-
:type execution_context:
|
|
552
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
553
|
+
:type execution_context: int | str | None
|
|
554
554
|
:type undo: bool | None
|
|
555
555
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
556
556
|
:type only_active: bool | typing.Any | None
|
|
@@ -559,16 +559,16 @@ def material_copy_to_object(
|
|
|
559
559
|
...
|
|
560
560
|
|
|
561
561
|
def material_hide(
|
|
562
|
-
override_context: dict[str, typing.Any] |
|
|
563
|
-
execution_context:
|
|
562
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
563
|
+
execution_context: int | str | None = None,
|
|
564
564
|
undo: bool | None = None,
|
|
565
565
|
*,
|
|
566
566
|
invert: bool | typing.Any | None = False,
|
|
567
567
|
):
|
|
568
568
|
"""Hide active/inactive Grease Pencil material(s)
|
|
569
569
|
|
|
570
|
-
:type override_context: dict[str, typing.Any] |
|
|
571
|
-
:type execution_context:
|
|
570
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
571
|
+
:type execution_context: int | str | None
|
|
572
572
|
:type undo: bool | None
|
|
573
573
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
574
574
|
:type invert: bool | typing.Any | None
|
|
@@ -577,72 +577,72 @@ def material_hide(
|
|
|
577
577
|
...
|
|
578
578
|
|
|
579
579
|
def material_lock_all(
|
|
580
|
-
override_context: dict[str, typing.Any] |
|
|
581
|
-
execution_context:
|
|
580
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
581
|
+
execution_context: int | str | None = None,
|
|
582
582
|
undo: bool | None = None,
|
|
583
583
|
):
|
|
584
584
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
585
585
|
|
|
586
|
-
:type override_context: dict[str, typing.Any] |
|
|
587
|
-
:type execution_context:
|
|
586
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
587
|
+
:type execution_context: int | str | None
|
|
588
588
|
:type undo: bool | None
|
|
589
589
|
"""
|
|
590
590
|
|
|
591
591
|
...
|
|
592
592
|
|
|
593
593
|
def material_lock_unselected(
|
|
594
|
-
override_context: dict[str, typing.Any] |
|
|
595
|
-
execution_context:
|
|
594
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
595
|
+
execution_context: int | str | None = None,
|
|
596
596
|
undo: bool | None = None,
|
|
597
597
|
):
|
|
598
598
|
"""Lock any material not used in any selected stroke
|
|
599
599
|
|
|
600
|
-
:type override_context: dict[str, typing.Any] |
|
|
601
|
-
:type execution_context:
|
|
600
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
601
|
+
:type execution_context: int | str | None
|
|
602
602
|
:type undo: bool | None
|
|
603
603
|
"""
|
|
604
604
|
|
|
605
605
|
...
|
|
606
606
|
|
|
607
607
|
def material_lock_unused(
|
|
608
|
-
override_context: dict[str, typing.Any] |
|
|
609
|
-
execution_context:
|
|
608
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
609
|
+
execution_context: int | str | None = None,
|
|
610
610
|
undo: bool | None = None,
|
|
611
611
|
):
|
|
612
612
|
"""Lock and hide any material not used
|
|
613
613
|
|
|
614
|
-
:type override_context: dict[str, typing.Any] |
|
|
615
|
-
:type execution_context:
|
|
614
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
615
|
+
:type execution_context: int | str | None
|
|
616
616
|
:type undo: bool | None
|
|
617
617
|
"""
|
|
618
618
|
|
|
619
619
|
...
|
|
620
620
|
|
|
621
621
|
def material_reveal(
|
|
622
|
-
override_context: dict[str, typing.Any] |
|
|
623
|
-
execution_context:
|
|
622
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
623
|
+
execution_context: int | str | None = None,
|
|
624
624
|
undo: bool | None = None,
|
|
625
625
|
):
|
|
626
626
|
"""Unhide all hidden Grease Pencil materials
|
|
627
627
|
|
|
628
|
-
:type override_context: dict[str, typing.Any] |
|
|
629
|
-
:type execution_context:
|
|
628
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
629
|
+
:type execution_context: int | str | None
|
|
630
630
|
:type undo: bool | None
|
|
631
631
|
"""
|
|
632
632
|
|
|
633
633
|
...
|
|
634
634
|
|
|
635
635
|
def material_select(
|
|
636
|
-
override_context: dict[str, typing.Any] |
|
|
637
|
-
execution_context:
|
|
636
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
637
|
+
execution_context: int | str | None = None,
|
|
638
638
|
undo: bool | None = None,
|
|
639
639
|
*,
|
|
640
640
|
deselect: bool | typing.Any | None = False,
|
|
641
641
|
):
|
|
642
642
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
643
643
|
|
|
644
|
-
:type override_context: dict[str, typing.Any] |
|
|
645
|
-
:type execution_context:
|
|
644
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
645
|
+
:type execution_context: int | str | None
|
|
646
646
|
:type undo: bool | None
|
|
647
647
|
:param deselect: Deselect, Unselect strokes
|
|
648
648
|
:type deselect: bool | typing.Any | None
|
|
@@ -651,22 +651,22 @@ def material_select(
|
|
|
651
651
|
...
|
|
652
652
|
|
|
653
653
|
def material_unlock_all(
|
|
654
|
-
override_context: dict[str, typing.Any] |
|
|
655
|
-
execution_context:
|
|
654
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
655
|
+
execution_context: int | str | None = None,
|
|
656
656
|
undo: bool | None = None,
|
|
657
657
|
):
|
|
658
658
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
659
659
|
|
|
660
|
-
:type override_context: dict[str, typing.Any] |
|
|
661
|
-
:type execution_context:
|
|
660
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
661
|
+
:type execution_context: int | str | None
|
|
662
662
|
:type undo: bool | None
|
|
663
663
|
"""
|
|
664
664
|
|
|
665
665
|
...
|
|
666
666
|
|
|
667
667
|
def move_to_layer(
|
|
668
|
-
override_context: dict[str, typing.Any] |
|
|
669
|
-
execution_context:
|
|
668
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
669
|
+
execution_context: int | str | None = None,
|
|
670
670
|
undo: bool | None = None,
|
|
671
671
|
*,
|
|
672
672
|
target_layer_name: str | typing.Any = "Layer",
|
|
@@ -674,8 +674,8 @@ def move_to_layer(
|
|
|
674
674
|
):
|
|
675
675
|
"""Move selected strokes to another layer
|
|
676
676
|
|
|
677
|
-
:type override_context: dict[str, typing.Any] |
|
|
678
|
-
:type execution_context:
|
|
677
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
678
|
+
:type execution_context: int | str | None
|
|
679
679
|
:type undo: bool | None
|
|
680
680
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
681
681
|
:type target_layer_name: str | typing.Any
|
|
@@ -686,16 +686,16 @@ def move_to_layer(
|
|
|
686
686
|
...
|
|
687
687
|
|
|
688
688
|
def paste(
|
|
689
|
-
override_context: dict[str, typing.Any] |
|
|
690
|
-
execution_context:
|
|
689
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
690
|
+
execution_context: int | str | None = None,
|
|
691
691
|
undo: bool | None = None,
|
|
692
692
|
*,
|
|
693
693
|
paste_back: bool | typing.Any | None = False,
|
|
694
694
|
):
|
|
695
695
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
696
696
|
|
|
697
|
-
:type override_context: dict[str, typing.Any] |
|
|
698
|
-
:type execution_context:
|
|
697
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
698
|
+
:type execution_context: int | str | None
|
|
699
699
|
:type undo: bool | None
|
|
700
700
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
701
701
|
:type paste_back: bool | typing.Any | None
|
|
@@ -704,8 +704,8 @@ def paste(
|
|
|
704
704
|
...
|
|
705
705
|
|
|
706
706
|
def primitive_arc(
|
|
707
|
-
override_context: dict[str, typing.Any] |
|
|
708
|
-
execution_context:
|
|
707
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
708
|
+
execution_context: int | str | None = None,
|
|
709
709
|
undo: bool | None = None,
|
|
710
710
|
*,
|
|
711
711
|
subdivision: typing.Any | None = 62,
|
|
@@ -713,8 +713,8 @@ def primitive_arc(
|
|
|
713
713
|
):
|
|
714
714
|
"""Create predefined grease pencil stroke arcs
|
|
715
715
|
|
|
716
|
-
:type override_context: dict[str, typing.Any] |
|
|
717
|
-
:type execution_context:
|
|
716
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
717
|
+
:type execution_context: int | str | None
|
|
718
718
|
:type undo: bool | None
|
|
719
719
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
720
720
|
:type subdivision: typing.Any | None
|
|
@@ -725,8 +725,8 @@ def primitive_arc(
|
|
|
725
725
|
...
|
|
726
726
|
|
|
727
727
|
def primitive_box(
|
|
728
|
-
override_context: dict[str, typing.Any] |
|
|
729
|
-
execution_context:
|
|
728
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
729
|
+
execution_context: int | str | None = None,
|
|
730
730
|
undo: bool | None = None,
|
|
731
731
|
*,
|
|
732
732
|
subdivision: typing.Any | None = 3,
|
|
@@ -734,8 +734,8 @@ def primitive_box(
|
|
|
734
734
|
):
|
|
735
735
|
"""Create predefined grease pencil stroke boxes
|
|
736
736
|
|
|
737
|
-
:type override_context: dict[str, typing.Any] |
|
|
738
|
-
:type execution_context:
|
|
737
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
738
|
+
:type execution_context: int | str | None
|
|
739
739
|
:type undo: bool | None
|
|
740
740
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
741
741
|
:type subdivision: typing.Any | None
|
|
@@ -746,8 +746,8 @@ def primitive_box(
|
|
|
746
746
|
...
|
|
747
747
|
|
|
748
748
|
def primitive_circle(
|
|
749
|
-
override_context: dict[str, typing.Any] |
|
|
750
|
-
execution_context:
|
|
749
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
750
|
+
execution_context: int | str | None = None,
|
|
751
751
|
undo: bool | None = None,
|
|
752
752
|
*,
|
|
753
753
|
subdivision: typing.Any | None = 94,
|
|
@@ -755,8 +755,8 @@ def primitive_circle(
|
|
|
755
755
|
):
|
|
756
756
|
"""Create predefined grease pencil stroke circles
|
|
757
757
|
|
|
758
|
-
:type override_context: dict[str, typing.Any] |
|
|
759
|
-
:type execution_context:
|
|
758
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
759
|
+
:type execution_context: int | str | None
|
|
760
760
|
:type undo: bool | None
|
|
761
761
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
762
762
|
:type subdivision: typing.Any | None
|
|
@@ -767,8 +767,8 @@ def primitive_circle(
|
|
|
767
767
|
...
|
|
768
768
|
|
|
769
769
|
def primitive_curve(
|
|
770
|
-
override_context: dict[str, typing.Any] |
|
|
771
|
-
execution_context:
|
|
770
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
771
|
+
execution_context: int | str | None = None,
|
|
772
772
|
undo: bool | None = None,
|
|
773
773
|
*,
|
|
774
774
|
subdivision: typing.Any | None = 62,
|
|
@@ -776,8 +776,8 @@ def primitive_curve(
|
|
|
776
776
|
):
|
|
777
777
|
"""Create predefined grease pencil stroke curve shapes
|
|
778
778
|
|
|
779
|
-
:type override_context: dict[str, typing.Any] |
|
|
780
|
-
:type execution_context:
|
|
779
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
780
|
+
:type execution_context: int | str | None
|
|
781
781
|
:type undo: bool | None
|
|
782
782
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
783
783
|
:type subdivision: typing.Any | None
|
|
@@ -788,8 +788,8 @@ def primitive_curve(
|
|
|
788
788
|
...
|
|
789
789
|
|
|
790
790
|
def primitive_line(
|
|
791
|
-
override_context: dict[str, typing.Any] |
|
|
792
|
-
execution_context:
|
|
791
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
792
|
+
execution_context: int | str | None = None,
|
|
793
793
|
undo: bool | None = None,
|
|
794
794
|
*,
|
|
795
795
|
subdivision: typing.Any | None = 6,
|
|
@@ -797,8 +797,8 @@ def primitive_line(
|
|
|
797
797
|
):
|
|
798
798
|
"""Create predefined grease pencil stroke lines
|
|
799
799
|
|
|
800
|
-
:type override_context: dict[str, typing.Any] |
|
|
801
|
-
:type execution_context:
|
|
800
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
801
|
+
:type execution_context: int | str | None
|
|
802
802
|
:type undo: bool | None
|
|
803
803
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
804
804
|
:type subdivision: typing.Any | None
|
|
@@ -809,8 +809,8 @@ def primitive_line(
|
|
|
809
809
|
...
|
|
810
810
|
|
|
811
811
|
def primitive_polyline(
|
|
812
|
-
override_context: dict[str, typing.Any] |
|
|
813
|
-
execution_context:
|
|
812
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
813
|
+
execution_context: int | str | None = None,
|
|
814
814
|
undo: bool | None = None,
|
|
815
815
|
*,
|
|
816
816
|
subdivision: typing.Any | None = 6,
|
|
@@ -818,8 +818,8 @@ def primitive_polyline(
|
|
|
818
818
|
):
|
|
819
819
|
"""Create predefined grease pencil stroke polylines
|
|
820
820
|
|
|
821
|
-
:type override_context: dict[str, typing.Any] |
|
|
822
|
-
:type execution_context:
|
|
821
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
822
|
+
:type execution_context: int | str | None
|
|
823
823
|
:type undo: bool | None
|
|
824
824
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
825
825
|
:type subdivision: typing.Any | None
|
|
@@ -830,16 +830,16 @@ def primitive_polyline(
|
|
|
830
830
|
...
|
|
831
831
|
|
|
832
832
|
def reorder(
|
|
833
|
-
override_context: dict[str, typing.Any] |
|
|
834
|
-
execution_context:
|
|
833
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
834
|
+
execution_context: int | str | None = None,
|
|
835
835
|
undo: bool | None = None,
|
|
836
836
|
*,
|
|
837
837
|
direction: str | None = "TOP",
|
|
838
838
|
):
|
|
839
839
|
"""Change the display order of the selected strokes
|
|
840
840
|
|
|
841
|
-
:type override_context: dict[str, typing.Any] |
|
|
842
|
-
:type execution_context:
|
|
841
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
842
|
+
:type execution_context: int | str | None
|
|
843
843
|
:type undo: bool | None
|
|
844
844
|
:param direction: Direction
|
|
845
845
|
:type direction: str | None
|
|
@@ -848,8 +848,8 @@ def reorder(
|
|
|
848
848
|
...
|
|
849
849
|
|
|
850
850
|
def sculpt_paint(
|
|
851
|
-
override_context: dict[str, typing.Any] |
|
|
852
|
-
execution_context:
|
|
851
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
852
|
+
execution_context: int | str | None = None,
|
|
853
853
|
undo: bool | None = None,
|
|
854
854
|
*,
|
|
855
855
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -858,8 +858,8 @@ def sculpt_paint(
|
|
|
858
858
|
):
|
|
859
859
|
"""Draw a new stroke in the active Grease Pencil object
|
|
860
860
|
|
|
861
|
-
:type override_context: dict[str, typing.Any] |
|
|
862
|
-
:type execution_context:
|
|
861
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
862
|
+
:type execution_context: int | str | None
|
|
863
863
|
:type undo: bool | None
|
|
864
864
|
:param stroke: Stroke
|
|
865
865
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
@@ -879,16 +879,16 @@ def sculpt_paint(
|
|
|
879
879
|
...
|
|
880
880
|
|
|
881
881
|
def select_all(
|
|
882
|
-
override_context: dict[str, typing.Any] |
|
|
883
|
-
execution_context:
|
|
882
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
883
|
+
execution_context: int | str | None = None,
|
|
884
884
|
undo: bool | None = None,
|
|
885
885
|
*,
|
|
886
886
|
action: str | None = "TOGGLE",
|
|
887
887
|
):
|
|
888
888
|
"""(De)select all visible strokes
|
|
889
889
|
|
|
890
|
-
:type override_context: dict[str, typing.Any] |
|
|
891
|
-
:type execution_context:
|
|
890
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
891
|
+
:type execution_context: int | str | None
|
|
892
892
|
:type undo: bool | None
|
|
893
893
|
:param action: Action, Selection action to execute
|
|
894
894
|
|
|
@@ -909,16 +909,16 @@ def select_all(
|
|
|
909
909
|
...
|
|
910
910
|
|
|
911
911
|
def select_alternate(
|
|
912
|
-
override_context: dict[str, typing.Any] |
|
|
913
|
-
execution_context:
|
|
912
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
913
|
+
execution_context: int | str | None = None,
|
|
914
914
|
undo: bool | None = None,
|
|
915
915
|
*,
|
|
916
916
|
deselect_ends: bool | typing.Any | None = False,
|
|
917
917
|
):
|
|
918
918
|
"""Select alternated points in strokes with already selected points
|
|
919
919
|
|
|
920
|
-
:type override_context: dict[str, typing.Any] |
|
|
921
|
-
:type execution_context:
|
|
920
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
921
|
+
:type execution_context: int | str | None
|
|
922
922
|
:type undo: bool | None
|
|
923
923
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
924
924
|
:type deselect_ends: bool | typing.Any | None
|
|
@@ -927,8 +927,8 @@ def select_alternate(
|
|
|
927
927
|
...
|
|
928
928
|
|
|
929
929
|
def select_ends(
|
|
930
|
-
override_context: dict[str, typing.Any] |
|
|
931
|
-
execution_context:
|
|
930
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
931
|
+
execution_context: int | str | None = None,
|
|
932
932
|
undo: bool | None = None,
|
|
933
933
|
*,
|
|
934
934
|
amount_start: typing.Any | None = 0,
|
|
@@ -936,8 +936,8 @@ def select_ends(
|
|
|
936
936
|
):
|
|
937
937
|
"""Select end points of strokes
|
|
938
938
|
|
|
939
|
-
:type override_context: dict[str, typing.Any] |
|
|
940
|
-
:type execution_context:
|
|
939
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
940
|
+
:type execution_context: int | str | None
|
|
941
941
|
:type undo: bool | None
|
|
942
942
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
943
943
|
:type amount_start: typing.Any | None
|
|
@@ -948,50 +948,50 @@ def select_ends(
|
|
|
948
948
|
...
|
|
949
949
|
|
|
950
950
|
def select_less(
|
|
951
|
-
override_context: dict[str, typing.Any] |
|
|
952
|
-
execution_context:
|
|
951
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
952
|
+
execution_context: int | str | None = None,
|
|
953
953
|
undo: bool | None = None,
|
|
954
954
|
):
|
|
955
955
|
"""Shrink the selection by one point
|
|
956
956
|
|
|
957
|
-
:type override_context: dict[str, typing.Any] |
|
|
958
|
-
:type execution_context:
|
|
957
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
958
|
+
:type execution_context: int | str | None
|
|
959
959
|
:type undo: bool | None
|
|
960
960
|
"""
|
|
961
961
|
|
|
962
962
|
...
|
|
963
963
|
|
|
964
964
|
def select_linked(
|
|
965
|
-
override_context: dict[str, typing.Any] |
|
|
966
|
-
execution_context:
|
|
965
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
966
|
+
execution_context: int | str | None = None,
|
|
967
967
|
undo: bool | None = None,
|
|
968
968
|
):
|
|
969
969
|
"""Select all points in curves with any point selection
|
|
970
970
|
|
|
971
|
-
:type override_context: dict[str, typing.Any] |
|
|
972
|
-
:type execution_context:
|
|
971
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
972
|
+
:type execution_context: int | str | None
|
|
973
973
|
:type undo: bool | None
|
|
974
974
|
"""
|
|
975
975
|
|
|
976
976
|
...
|
|
977
977
|
|
|
978
978
|
def select_more(
|
|
979
|
-
override_context: dict[str, typing.Any] |
|
|
980
|
-
execution_context:
|
|
979
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
980
|
+
execution_context: int | str | None = None,
|
|
981
981
|
undo: bool | None = None,
|
|
982
982
|
):
|
|
983
983
|
"""Grow the selection by one point
|
|
984
984
|
|
|
985
|
-
:type override_context: dict[str, typing.Any] |
|
|
986
|
-
:type execution_context:
|
|
985
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
986
|
+
:type execution_context: int | str | None
|
|
987
987
|
:type undo: bool | None
|
|
988
988
|
"""
|
|
989
989
|
|
|
990
990
|
...
|
|
991
991
|
|
|
992
992
|
def select_random(
|
|
993
|
-
override_context: dict[str, typing.Any] |
|
|
994
|
-
execution_context:
|
|
993
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
994
|
+
execution_context: int | str | None = None,
|
|
995
995
|
undo: bool | None = None,
|
|
996
996
|
*,
|
|
997
997
|
ratio: typing.Any | None = 0.5,
|
|
@@ -1000,8 +1000,8 @@ def select_random(
|
|
|
1000
1000
|
):
|
|
1001
1001
|
"""Selects random points from the current strokes selection
|
|
1002
1002
|
|
|
1003
|
-
:type override_context: dict[str, typing.Any] |
|
|
1004
|
-
:type execution_context:
|
|
1003
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1004
|
+
:type execution_context: int | str | None
|
|
1005
1005
|
:type undo: bool | None
|
|
1006
1006
|
:param ratio: Ratio, Portion of items to select randomly
|
|
1007
1007
|
:type ratio: typing.Any | None
|
|
@@ -1020,16 +1020,16 @@ def select_random(
|
|
|
1020
1020
|
...
|
|
1021
1021
|
|
|
1022
1022
|
def separate(
|
|
1023
|
-
override_context: dict[str, typing.Any] |
|
|
1024
|
-
execution_context:
|
|
1023
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1024
|
+
execution_context: int | str | None = None,
|
|
1025
1025
|
undo: bool | None = None,
|
|
1026
1026
|
*,
|
|
1027
1027
|
mode: str | None = "SELECTED",
|
|
1028
1028
|
):
|
|
1029
1029
|
"""Separate the selected geometry into a new grease pencil object
|
|
1030
1030
|
|
|
1031
|
-
:type override_context: dict[str, typing.Any] |
|
|
1032
|
-
:type execution_context:
|
|
1031
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1032
|
+
:type execution_context: int | str | None
|
|
1033
1033
|
:type undo: bool | None
|
|
1034
1034
|
:param mode: Mode
|
|
1035
1035
|
|
|
@@ -1047,30 +1047,30 @@ def separate(
|
|
|
1047
1047
|
...
|
|
1048
1048
|
|
|
1049
1049
|
def set_active_material(
|
|
1050
|
-
override_context: dict[str, typing.Any] |
|
|
1051
|
-
execution_context:
|
|
1050
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1051
|
+
execution_context: int | str | None = None,
|
|
1052
1052
|
undo: bool | None = None,
|
|
1053
1053
|
):
|
|
1054
1054
|
"""Set the selected stroke material as the active material
|
|
1055
1055
|
|
|
1056
|
-
:type override_context: dict[str, typing.Any] |
|
|
1057
|
-
:type execution_context:
|
|
1056
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1057
|
+
:type execution_context: int | str | None
|
|
1058
1058
|
:type undo: bool | None
|
|
1059
1059
|
"""
|
|
1060
1060
|
|
|
1061
1061
|
...
|
|
1062
1062
|
|
|
1063
1063
|
def set_material(
|
|
1064
|
-
override_context: dict[str, typing.Any] |
|
|
1065
|
-
execution_context:
|
|
1064
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1065
|
+
execution_context: int | str | None = None,
|
|
1066
1066
|
undo: bool | None = None,
|
|
1067
1067
|
*,
|
|
1068
1068
|
slot: str | None = "DEFAULT",
|
|
1069
1069
|
):
|
|
1070
1070
|
"""Set active material
|
|
1071
1071
|
|
|
1072
|
-
:type override_context: dict[str, typing.Any] |
|
|
1073
|
-
:type execution_context:
|
|
1072
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1073
|
+
:type execution_context: int | str | None
|
|
1074
1074
|
:type undo: bool | None
|
|
1075
1075
|
:param slot: Material Slot
|
|
1076
1076
|
:type slot: str | None
|
|
@@ -1079,16 +1079,16 @@ def set_material(
|
|
|
1079
1079
|
...
|
|
1080
1080
|
|
|
1081
1081
|
def set_selection_mode(
|
|
1082
|
-
override_context: dict[str, typing.Any] |
|
|
1083
|
-
execution_context:
|
|
1082
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1083
|
+
execution_context: int | str | None = None,
|
|
1084
1084
|
undo: bool | None = None,
|
|
1085
1085
|
*,
|
|
1086
1086
|
mode: str | None = "POINT",
|
|
1087
1087
|
):
|
|
1088
1088
|
"""Change the selection mode for Grease Pencil strokes
|
|
1089
1089
|
|
|
1090
|
-
:type override_context: dict[str, typing.Any] |
|
|
1091
|
-
:type execution_context:
|
|
1090
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1091
|
+
:type execution_context: int | str | None
|
|
1092
1092
|
:type undo: bool | None
|
|
1093
1093
|
:param mode: Mode
|
|
1094
1094
|
:type mode: str | None
|
|
@@ -1097,16 +1097,16 @@ def set_selection_mode(
|
|
|
1097
1097
|
...
|
|
1098
1098
|
|
|
1099
1099
|
def set_uniform_opacity(
|
|
1100
|
-
override_context: dict[str, typing.Any] |
|
|
1101
|
-
execution_context:
|
|
1100
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1101
|
+
execution_context: int | str | None = None,
|
|
1102
1102
|
undo: bool | None = None,
|
|
1103
1103
|
*,
|
|
1104
1104
|
opacity: typing.Any | None = 1.0,
|
|
1105
1105
|
):
|
|
1106
1106
|
"""Set all stroke points to same opacity
|
|
1107
1107
|
|
|
1108
|
-
:type override_context: dict[str, typing.Any] |
|
|
1109
|
-
:type execution_context:
|
|
1108
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1109
|
+
:type execution_context: int | str | None
|
|
1110
1110
|
:type undo: bool | None
|
|
1111
1111
|
:param opacity: Opacity
|
|
1112
1112
|
:type opacity: typing.Any | None
|
|
@@ -1115,16 +1115,16 @@ def set_uniform_opacity(
|
|
|
1115
1115
|
...
|
|
1116
1116
|
|
|
1117
1117
|
def set_uniform_thickness(
|
|
1118
|
-
override_context: dict[str, typing.Any] |
|
|
1119
|
-
execution_context:
|
|
1118
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1119
|
+
execution_context: int | str | None = None,
|
|
1120
1120
|
undo: bool | None = None,
|
|
1121
1121
|
*,
|
|
1122
1122
|
thickness: typing.Any | None = 0.1,
|
|
1123
1123
|
):
|
|
1124
1124
|
"""Set all stroke points to same thickness
|
|
1125
1125
|
|
|
1126
|
-
:type override_context: dict[str, typing.Any] |
|
|
1127
|
-
:type execution_context:
|
|
1126
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1127
|
+
:type execution_context: int | str | None
|
|
1128
1128
|
:type undo: bool | None
|
|
1129
1129
|
:param thickness: Thickness, Thickness
|
|
1130
1130
|
:type thickness: typing.Any | None
|
|
@@ -1133,30 +1133,30 @@ def set_uniform_thickness(
|
|
|
1133
1133
|
...
|
|
1134
1134
|
|
|
1135
1135
|
def snap_cursor_to_selected(
|
|
1136
|
-
override_context: dict[str, typing.Any] |
|
|
1137
|
-
execution_context:
|
|
1136
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1137
|
+
execution_context: int | str | None = None,
|
|
1138
1138
|
undo: bool | None = None,
|
|
1139
1139
|
):
|
|
1140
1140
|
"""Snap cursor to center of selected points
|
|
1141
1141
|
|
|
1142
|
-
:type override_context: dict[str, typing.Any] |
|
|
1143
|
-
:type execution_context:
|
|
1142
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1143
|
+
:type execution_context: int | str | None
|
|
1144
1144
|
:type undo: bool | None
|
|
1145
1145
|
"""
|
|
1146
1146
|
|
|
1147
1147
|
...
|
|
1148
1148
|
|
|
1149
1149
|
def snap_to_cursor(
|
|
1150
|
-
override_context: dict[str, typing.Any] |
|
|
1151
|
-
execution_context:
|
|
1150
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1151
|
+
execution_context: int | str | None = None,
|
|
1152
1152
|
undo: bool | None = None,
|
|
1153
1153
|
*,
|
|
1154
1154
|
use_offset: bool | typing.Any | None = True,
|
|
1155
1155
|
):
|
|
1156
1156
|
"""Snap selected points/strokes to the cursor
|
|
1157
1157
|
|
|
1158
|
-
:type override_context: dict[str, typing.Any] |
|
|
1159
|
-
:type execution_context:
|
|
1158
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1159
|
+
:type execution_context: int | str | None
|
|
1160
1160
|
:type undo: bool | None
|
|
1161
1161
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1162
1162
|
:type use_offset: bool | typing.Any | None
|
|
@@ -1165,30 +1165,30 @@ def snap_to_cursor(
|
|
|
1165
1165
|
...
|
|
1166
1166
|
|
|
1167
1167
|
def snap_to_grid(
|
|
1168
|
-
override_context: dict[str, typing.Any] |
|
|
1169
|
-
execution_context:
|
|
1168
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1169
|
+
execution_context: int | str | None = None,
|
|
1170
1170
|
undo: bool | None = None,
|
|
1171
1171
|
):
|
|
1172
1172
|
"""Snap selected points to the nearest grid points
|
|
1173
1173
|
|
|
1174
|
-
:type override_context: dict[str, typing.Any] |
|
|
1175
|
-
:type execution_context:
|
|
1174
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1175
|
+
:type execution_context: int | str | None
|
|
1176
1176
|
:type undo: bool | None
|
|
1177
1177
|
"""
|
|
1178
1178
|
|
|
1179
1179
|
...
|
|
1180
1180
|
|
|
1181
1181
|
def stroke_cutter(
|
|
1182
|
-
override_context: dict[str, typing.Any] |
|
|
1183
|
-
execution_context:
|
|
1182
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1183
|
+
execution_context: int | str | None = None,
|
|
1184
1184
|
undo: bool | None = None,
|
|
1185
1185
|
*,
|
|
1186
1186
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
1187
1187
|
):
|
|
1188
1188
|
"""Delete stroke points in between intersecting strokes
|
|
1189
1189
|
|
|
1190
|
-
:type override_context: dict[str, typing.Any] |
|
|
1191
|
-
:type execution_context:
|
|
1190
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1191
|
+
:type execution_context: int | str | None
|
|
1192
1192
|
:type undo: bool | None
|
|
1193
1193
|
:param path: Path
|
|
1194
1194
|
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
@@ -1197,16 +1197,16 @@ def stroke_cutter(
|
|
|
1197
1197
|
...
|
|
1198
1198
|
|
|
1199
1199
|
def stroke_material_set(
|
|
1200
|
-
override_context: dict[str, typing.Any] |
|
|
1201
|
-
execution_context:
|
|
1200
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1201
|
+
execution_context: int | str | None = None,
|
|
1202
1202
|
undo: bool | None = None,
|
|
1203
1203
|
*,
|
|
1204
1204
|
material: str | typing.Any = "",
|
|
1205
1205
|
):
|
|
1206
1206
|
"""Assign the active material slot to the selected strokes
|
|
1207
1207
|
|
|
1208
|
-
:type override_context: dict[str, typing.Any] |
|
|
1209
|
-
:type execution_context:
|
|
1208
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1209
|
+
:type execution_context: int | str | None
|
|
1210
1210
|
:type undo: bool | None
|
|
1211
1211
|
:param material: Material, Name of the material
|
|
1212
1212
|
:type material: str | typing.Any
|
|
@@ -1215,8 +1215,8 @@ def stroke_material_set(
|
|
|
1215
1215
|
...
|
|
1216
1216
|
|
|
1217
1217
|
def stroke_merge_by_distance(
|
|
1218
|
-
override_context: dict[str, typing.Any] |
|
|
1219
|
-
execution_context:
|
|
1218
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1219
|
+
execution_context: int | str | None = None,
|
|
1220
1220
|
undo: bool | None = None,
|
|
1221
1221
|
*,
|
|
1222
1222
|
threshold: typing.Any | None = 0.001,
|
|
@@ -1224,8 +1224,8 @@ def stroke_merge_by_distance(
|
|
|
1224
1224
|
):
|
|
1225
1225
|
"""Merge points by distance
|
|
1226
1226
|
|
|
1227
|
-
:type override_context: dict[str, typing.Any] |
|
|
1228
|
-
:type execution_context:
|
|
1227
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1228
|
+
:type execution_context: int | str | None
|
|
1229
1229
|
:type undo: bool | None
|
|
1230
1230
|
:param threshold: Threshold
|
|
1231
1231
|
:type threshold: typing.Any | None
|
|
@@ -1236,16 +1236,16 @@ def stroke_merge_by_distance(
|
|
|
1236
1236
|
...
|
|
1237
1237
|
|
|
1238
1238
|
def stroke_simplify(
|
|
1239
|
-
override_context: dict[str, typing.Any] |
|
|
1240
|
-
execution_context:
|
|
1239
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1240
|
+
execution_context: int | str | None = None,
|
|
1241
1241
|
undo: bool | None = None,
|
|
1242
1242
|
*,
|
|
1243
1243
|
factor: typing.Any | None = 0.01,
|
|
1244
1244
|
):
|
|
1245
1245
|
"""Simplify selected strokes
|
|
1246
1246
|
|
|
1247
|
-
:type override_context: dict[str, typing.Any] |
|
|
1248
|
-
:type execution_context:
|
|
1247
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1248
|
+
:type execution_context: int | str | None
|
|
1249
1249
|
:type undo: bool | None
|
|
1250
1250
|
:param factor: Factor
|
|
1251
1251
|
:type factor: typing.Any | None
|
|
@@ -1254,8 +1254,8 @@ def stroke_simplify(
|
|
|
1254
1254
|
...
|
|
1255
1255
|
|
|
1256
1256
|
def stroke_smooth(
|
|
1257
|
-
override_context: dict[str, typing.Any] |
|
|
1258
|
-
execution_context:
|
|
1257
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1258
|
+
execution_context: int | str | None = None,
|
|
1259
1259
|
undo: bool | None = None,
|
|
1260
1260
|
*,
|
|
1261
1261
|
iterations: typing.Any | None = 10,
|
|
@@ -1268,8 +1268,8 @@ def stroke_smooth(
|
|
|
1268
1268
|
):
|
|
1269
1269
|
"""Smooth selected strokes
|
|
1270
1270
|
|
|
1271
|
-
:type override_context: dict[str, typing.Any] |
|
|
1272
|
-
:type execution_context:
|
|
1271
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1272
|
+
:type execution_context: int | str | None
|
|
1273
1273
|
:type undo: bool | None
|
|
1274
1274
|
:param iterations: Iterations
|
|
1275
1275
|
:type iterations: typing.Any | None
|
|
@@ -1290,8 +1290,8 @@ def stroke_smooth(
|
|
|
1290
1290
|
...
|
|
1291
1291
|
|
|
1292
1292
|
def stroke_subdivide(
|
|
1293
|
-
override_context: dict[str, typing.Any] |
|
|
1294
|
-
execution_context:
|
|
1293
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1294
|
+
execution_context: int | str | None = None,
|
|
1295
1295
|
undo: bool | None = None,
|
|
1296
1296
|
*,
|
|
1297
1297
|
number_cuts: typing.Any | None = 1,
|
|
@@ -1299,8 +1299,8 @@ def stroke_subdivide(
|
|
|
1299
1299
|
):
|
|
1300
1300
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1301
1301
|
|
|
1302
|
-
:type override_context: dict[str, typing.Any] |
|
|
1303
|
-
:type execution_context:
|
|
1302
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1303
|
+
:type execution_context: int | str | None
|
|
1304
1304
|
:type undo: bool | None
|
|
1305
1305
|
:param number_cuts: Number of Cuts
|
|
1306
1306
|
:type number_cuts: typing.Any | None
|
|
@@ -1311,8 +1311,8 @@ def stroke_subdivide(
|
|
|
1311
1311
|
...
|
|
1312
1312
|
|
|
1313
1313
|
def stroke_subdivide_smooth(
|
|
1314
|
-
override_context: dict[str, typing.Any] |
|
|
1315
|
-
execution_context:
|
|
1314
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1315
|
+
execution_context: int | str | None = None,
|
|
1316
1316
|
undo: bool | None = None,
|
|
1317
1317
|
*,
|
|
1318
1318
|
GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
|
|
@@ -1320,8 +1320,8 @@ def stroke_subdivide_smooth(
|
|
|
1320
1320
|
):
|
|
1321
1321
|
"""Subdivide strokes and smooth them
|
|
1322
1322
|
|
|
1323
|
-
:type override_context: dict[str, typing.Any] |
|
|
1324
|
-
:type execution_context:
|
|
1323
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1324
|
+
:type execution_context: int | str | None
|
|
1325
1325
|
:type undo: bool | None
|
|
1326
1326
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1327
1327
|
:type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
|
|
@@ -1332,22 +1332,22 @@ def stroke_subdivide_smooth(
|
|
|
1332
1332
|
...
|
|
1333
1333
|
|
|
1334
1334
|
def stroke_switch_direction(
|
|
1335
|
-
override_context: dict[str, typing.Any] |
|
|
1336
|
-
execution_context:
|
|
1335
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1336
|
+
execution_context: int | str | None = None,
|
|
1337
1337
|
undo: bool | None = None,
|
|
1338
1338
|
):
|
|
1339
1339
|
"""Change direction of the points of the selected strokes
|
|
1340
1340
|
|
|
1341
|
-
:type override_context: dict[str, typing.Any] |
|
|
1342
|
-
:type execution_context:
|
|
1341
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1342
|
+
:type execution_context: int | str | None
|
|
1343
1343
|
:type undo: bool | None
|
|
1344
1344
|
"""
|
|
1345
1345
|
|
|
1346
1346
|
...
|
|
1347
1347
|
|
|
1348
1348
|
def weight_brush_stroke(
|
|
1349
|
-
override_context: dict[str, typing.Any] |
|
|
1350
|
-
execution_context:
|
|
1349
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1350
|
+
execution_context: int | str | None = None,
|
|
1351
1351
|
undo: bool | None = None,
|
|
1352
1352
|
*,
|
|
1353
1353
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -1356,8 +1356,8 @@ def weight_brush_stroke(
|
|
|
1356
1356
|
):
|
|
1357
1357
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
1358
1358
|
|
|
1359
|
-
:type override_context: dict[str, typing.Any] |
|
|
1360
|
-
:type execution_context:
|
|
1359
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1360
|
+
:type execution_context: int | str | None
|
|
1361
1361
|
:type undo: bool | None
|
|
1362
1362
|
:param stroke: Stroke
|
|
1363
1363
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
@@ -1377,28 +1377,28 @@ def weight_brush_stroke(
|
|
|
1377
1377
|
...
|
|
1378
1378
|
|
|
1379
1379
|
def weight_sample(
|
|
1380
|
-
override_context: dict[str, typing.Any] |
|
|
1381
|
-
execution_context:
|
|
1380
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1381
|
+
execution_context: int | str | None = None,
|
|
1382
1382
|
undo: bool | None = None,
|
|
1383
1383
|
):
|
|
1384
1384
|
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
1385
1385
|
|
|
1386
|
-
:type override_context: dict[str, typing.Any] |
|
|
1387
|
-
:type execution_context:
|
|
1386
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1387
|
+
:type execution_context: int | str | None
|
|
1388
1388
|
:type undo: bool | None
|
|
1389
1389
|
"""
|
|
1390
1390
|
|
|
1391
1391
|
...
|
|
1392
1392
|
|
|
1393
1393
|
def weight_toggle_direction(
|
|
1394
|
-
override_context: dict[str, typing.Any] |
|
|
1395
|
-
execution_context:
|
|
1394
|
+
override_context: bpy.types.Context | dict[str, typing.Any] | None = None,
|
|
1395
|
+
execution_context: int | str | None = None,
|
|
1396
1396
|
undo: bool | None = None,
|
|
1397
1397
|
):
|
|
1398
1398
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
1399
1399
|
|
|
1400
|
-
:type override_context: dict[str, typing.Any] |
|
|
1401
|
-
:type execution_context:
|
|
1400
|
+
:type override_context: bpy.types.Context | dict[str, typing.Any] | None
|
|
1401
|
+
:type execution_context: int | str | None
|
|
1402
1402
|
:type undo: bool | None
|
|
1403
1403
|
"""
|
|
1404
1404
|
|