fake-bpy-module 20240411__py3-none-any.whl → 20240418__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.
- _bpy_internal/__init__.pyi +4 -0
- _bpy_internal/freedesktop/__init__.pyi +88 -0
- _bpy_internal/freedesktop/py.typed +0 -0
- _bpy_internal/py.typed +0 -0
- aud/__init__.pyi +121 -48
- bgl/__init__.pyi +2443 -1265
- bl_math/__init__.pyi +19 -3
- bl_operators/presets/__init__.pyi +7 -0
- bl_ui/node_add_menu/__init__.pyi +1 -1
- bl_ui/properties_data_lightprobe/__init__.pyi +1134 -0
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +3 -0
- bl_ui/properties_physics_fluid/__init__.pyi +3 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +17 -0
- bl_ui/space_userpref/__init__.pyi +13 -4
- bl_ui/space_view3d/__init__.pyi +190 -0
- blf/__init__.pyi +63 -13
- bmesh/__init__.pyi +13 -0
- bmesh/geometry/__init__.pyi +5 -0
- bmesh/ops/__init__.pyi +157 -68
- bmesh/types/__init__.pyi +109 -62
- bmesh/utils/__init__.pyi +11 -2
- bpy/__init__.pyi +7 -0
- bpy/app/__init__.pyi +13 -0
- bpy/app/handlers/__init__.pyi +41 -0
- bpy/app/icons/__init__.pyi +4 -2
- bpy/app/timers/__init__.pyi +38 -2
- bpy/app/translations/__init__.pyi +59 -1
- bpy/msgbus/__init__.pyi +46 -0
- bpy/ops/__init__.pyi +151 -0
- bpy/ops/action/__init__.pyi +76 -76
- bpy/ops/anim/__init__.pyi +104 -104
- 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 +18 -18
- 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 +132 -50
- 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_mesh/__init__.pyi +2 -2
- bpy/ops/export_scene/__init__.pyi +11 -8
- 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 +300 -300
- bpy/ops/graph/__init__.pyi +130 -130
- bpy/ops/grease_pencil/__init__.pyi +139 -110
- bpy/ops/image/__init__.pyi +92 -92
- bpy/ops/import_anim/__init__.pyi +2 -2
- bpy/ops/import_curve/__init__.pyi +2 -2
- bpy/ops/import_mesh/__init__.pyi +2 -2
- bpy/ops/import_scene/__init__.pyi +6 -6
- 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 +327 -327
- bpy/ops/nla/__init__.pyi +80 -80
- bpy/ops/node/__init__.pyi +203 -203
- bpy/ops/object/__init__.pyi +496 -508
- bpy/ops/outliner/__init__.pyi +139 -139
- bpy/ops/paint/__init__.pyi +104 -104
- 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 +78 -78
- bpy/ops/poselib/__init__.pyi +18 -18
- bpy/ops/preferences/__init__.pyi +77 -77
- bpy/ops/ptcache/__init__.pyi +14 -14
- bpy/ops/render/__init__.pyi +24 -24
- bpy/ops/rigidbody/__init__.pyi +26 -26
- bpy/ops/scene/__init__.pyi +78 -78
- bpy/ops/screen/__init__.pyi +78 -78
- bpy/ops/script/__init__.pyi +6 -6
- bpy/ops/sculpt/__init__.pyi +68 -62
- bpy/ops/sculpt_curves/__init__.pyi +8 -8
- bpy/ops/sequencer/__init__.pyi +170 -170
- 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 +225 -225
- bpy/ops/workspace/__init__.pyi +14 -14
- bpy/ops/world/__init__.pyi +2 -2
- bpy/path/__init__.pyi +6 -0
- bpy/props/__init__.pyi +141 -29
- bpy/types/__init__.pyi +101773 -5222
- bpy/utils/__init__.pyi +18 -3
- bpy/utils/previews/__init__.pyi +15 -0
- bpy/utils/units/__init__.pyi +11 -3
- bpy_extras/__init__.pyi +19 -0
- bpy_extras/asset_utils/__init__.pyi +5 -0
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/METADATA +1 -1
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/RECORD +145 -141
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/top_level.txt +1 -0
- freestyle/__init__.pyi +18 -0
- freestyle/chainingiterators/__init__.pyi +20 -5
- freestyle/functions/__init__.pyi +151 -155
- freestyle/predicates/__init__.pyi +53 -46
- freestyle/shaders/__init__.pyi +91 -32
- freestyle/types/__init__.pyi +362 -120
- freestyle/utils/ContextFunctions/__init__.pyi +32 -7
- freestyle/utils/__init__.pyi +13 -1
- gpu/__init__.pyi +225 -0
- gpu/capabilities/__init__.pyi +37 -15
- gpu/matrix/__init__.pyi +7 -1
- gpu/platform/__init__.pyi +5 -0
- gpu/select/__init__.pyi +5 -0
- gpu/shader/__init__.pyi +77 -0
- gpu/state/__init__.pyi +15 -4
- gpu/texture/__init__.pyi +5 -0
- gpu/types/__init__.pyi +91 -33
- gpu_extras/__init__.pyi +15 -0
- gpu_extras/presets/__init__.pyi +16 -4
- imbuf/__init__.pyi +13 -0
- imbuf/types/__init__.pyi +20 -5
- mathutils/__init__.pyi +349 -227
- mathutils/bvhtree/__init__.pyi +21 -8
- mathutils/geometry/__init__.pyi +23 -9
- mathutils/interpolate/__init__.pyi +5 -0
- mathutils/kdtree/__init__.pyi +19 -5
- mathutils/noise/__init__.pyi +87 -41
- {fake_bpy_module-20240411.dist-info → fake_bpy_module-20240418.dist-info}/WHEEL +0 -0
|
@@ -5,7 +5,7 @@ GenericType = typing.TypeVar("GenericType")
|
|
|
5
5
|
|
|
6
6
|
def brush_stroke(
|
|
7
7
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
-
execution_context: str = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
9
|
undo: bool = None,
|
|
10
10
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
11
11
|
mode: typing.Any = "NORMAL",
|
|
@@ -13,7 +13,7 @@ def brush_stroke(
|
|
|
13
13
|
"""Draw a new stroke in the active Grease Pencil object
|
|
14
14
|
|
|
15
15
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
16
|
-
:type execution_context: str
|
|
16
|
+
:type execution_context: typing.Union[str, int]
|
|
17
17
|
:type undo: bool
|
|
18
18
|
:param stroke: Stroke
|
|
19
19
|
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
@@ -34,14 +34,14 @@ def brush_stroke(
|
|
|
34
34
|
|
|
35
35
|
def caps_set(
|
|
36
36
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
37
|
-
execution_context: str = None,
|
|
37
|
+
execution_context: typing.Union[str, int] = None,
|
|
38
38
|
undo: bool = None,
|
|
39
39
|
type: typing.Any = "ROUND",
|
|
40
40
|
):
|
|
41
41
|
"""Change curve caps mode (rounded or flat)
|
|
42
42
|
|
|
43
43
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
44
|
-
:type execution_context: str
|
|
44
|
+
:type execution_context: typing.Union[str, int]
|
|
45
45
|
:type undo: bool
|
|
46
46
|
:param type: Type
|
|
47
47
|
|
|
@@ -63,14 +63,14 @@ def caps_set(
|
|
|
63
63
|
|
|
64
64
|
def clean_loose(
|
|
65
65
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
66
|
-
execution_context: str = None,
|
|
66
|
+
execution_context: typing.Union[str, int] = None,
|
|
67
67
|
undo: bool = None,
|
|
68
68
|
limit: typing.Any = 1,
|
|
69
69
|
):
|
|
70
70
|
"""Remove loose points
|
|
71
71
|
|
|
72
72
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
73
|
-
:type execution_context: str
|
|
73
|
+
:type execution_context: typing.Union[str, int]
|
|
74
74
|
:type undo: bool
|
|
75
75
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
76
76
|
:type limit: typing.Any
|
|
@@ -80,13 +80,13 @@ def clean_loose(
|
|
|
80
80
|
|
|
81
81
|
def copy(
|
|
82
82
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
83
|
-
execution_context: str = None,
|
|
83
|
+
execution_context: typing.Union[str, int] = None,
|
|
84
84
|
undo: bool = None,
|
|
85
85
|
):
|
|
86
86
|
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
87
87
|
|
|
88
88
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
89
|
-
:type execution_context: str
|
|
89
|
+
:type execution_context: typing.Union[str, int]
|
|
90
90
|
:type undo: bool
|
|
91
91
|
"""
|
|
92
92
|
|
|
@@ -94,14 +94,14 @@ def copy(
|
|
|
94
94
|
|
|
95
95
|
def cyclical_set(
|
|
96
96
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
97
|
-
execution_context: str = None,
|
|
97
|
+
execution_context: typing.Union[str, int] = None,
|
|
98
98
|
undo: bool = None,
|
|
99
99
|
type: typing.Any = "TOGGLE",
|
|
100
100
|
):
|
|
101
101
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
102
102
|
|
|
103
103
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
104
|
-
:type execution_context: str
|
|
104
|
+
:type execution_context: typing.Union[str, int]
|
|
105
105
|
:type undo: bool
|
|
106
106
|
:param type: Type
|
|
107
107
|
:type type: typing.Any
|
|
@@ -111,13 +111,13 @@ def cyclical_set(
|
|
|
111
111
|
|
|
112
112
|
def delete(
|
|
113
113
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
114
|
-
execution_context: str = None,
|
|
114
|
+
execution_context: typing.Union[str, int] = None,
|
|
115
115
|
undo: bool = None,
|
|
116
116
|
):
|
|
117
117
|
"""Delete selected strokes or points
|
|
118
118
|
|
|
119
119
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
120
|
-
:type execution_context: str
|
|
120
|
+
:type execution_context: typing.Union[str, int]
|
|
121
121
|
:type undo: bool
|
|
122
122
|
"""
|
|
123
123
|
|
|
@@ -125,14 +125,14 @@ def delete(
|
|
|
125
125
|
|
|
126
126
|
def delete_frame(
|
|
127
127
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
128
|
-
execution_context: str = None,
|
|
128
|
+
execution_context: typing.Union[str, int] = None,
|
|
129
129
|
undo: bool = None,
|
|
130
130
|
type: typing.Any = "ACTIVE_FRAME",
|
|
131
131
|
):
|
|
132
132
|
"""Delete Grease Pencil Frame(s)
|
|
133
133
|
|
|
134
134
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
135
|
-
:type execution_context: str
|
|
135
|
+
:type execution_context: typing.Union[str, int]
|
|
136
136
|
:type undo: bool
|
|
137
137
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
138
138
|
|
|
@@ -148,14 +148,14 @@ def delete_frame(
|
|
|
148
148
|
|
|
149
149
|
def dissolve(
|
|
150
150
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
151
|
-
execution_context: str = None,
|
|
151
|
+
execution_context: typing.Union[str, int] = None,
|
|
152
152
|
undo: bool = None,
|
|
153
153
|
type: typing.Any = "POINTS",
|
|
154
154
|
):
|
|
155
155
|
"""Delete selected points without splitting strokes
|
|
156
156
|
|
|
157
157
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
158
|
-
:type execution_context: str
|
|
158
|
+
:type execution_context: typing.Union[str, int]
|
|
159
159
|
:type undo: bool
|
|
160
160
|
:param type: Type, Method used for dissolving stroke points
|
|
161
161
|
|
|
@@ -174,13 +174,13 @@ def dissolve(
|
|
|
174
174
|
|
|
175
175
|
def draw_mode_toggle(
|
|
176
176
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
177
|
-
execution_context: str = None,
|
|
177
|
+
execution_context: typing.Union[str, int] = None,
|
|
178
178
|
undo: bool = None,
|
|
179
179
|
):
|
|
180
180
|
"""Enter/Exit draw mode for grease pencil
|
|
181
181
|
|
|
182
182
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
183
|
-
:type execution_context: str
|
|
183
|
+
:type execution_context: typing.Union[str, int]
|
|
184
184
|
:type undo: bool
|
|
185
185
|
"""
|
|
186
186
|
|
|
@@ -188,13 +188,13 @@ def draw_mode_toggle(
|
|
|
188
188
|
|
|
189
189
|
def duplicate(
|
|
190
190
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
191
|
-
execution_context: str = None,
|
|
191
|
+
execution_context: typing.Union[str, int] = None,
|
|
192
192
|
undo: bool = None,
|
|
193
193
|
):
|
|
194
194
|
"""Duplicate the selected points
|
|
195
195
|
|
|
196
196
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
197
|
-
:type execution_context: str
|
|
197
|
+
:type execution_context: typing.Union[str, int]
|
|
198
198
|
:type undo: bool
|
|
199
199
|
"""
|
|
200
200
|
|
|
@@ -202,7 +202,7 @@ def duplicate(
|
|
|
202
202
|
|
|
203
203
|
def duplicate_move(
|
|
204
204
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
205
|
-
execution_context: str = None,
|
|
205
|
+
execution_context: typing.Union[str, int] = None,
|
|
206
206
|
undo: bool = None,
|
|
207
207
|
GREASE_PENCIL_OT_duplicate: typing.Any = None,
|
|
208
208
|
TRANSFORM_OT_translate: typing.Any = None,
|
|
@@ -210,7 +210,7 @@ def duplicate_move(
|
|
|
210
210
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
211
211
|
|
|
212
212
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
213
|
-
:type execution_context: str
|
|
213
|
+
:type execution_context: typing.Union[str, int]
|
|
214
214
|
:type undo: bool
|
|
215
215
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
216
216
|
:type GREASE_PENCIL_OT_duplicate: typing.Any
|
|
@@ -222,7 +222,7 @@ def duplicate_move(
|
|
|
222
222
|
|
|
223
223
|
def insert_blank_frame(
|
|
224
224
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
225
|
-
execution_context: str = None,
|
|
225
|
+
execution_context: typing.Union[str, int] = None,
|
|
226
226
|
undo: bool = None,
|
|
227
227
|
all_layers: typing.Union[bool, typing.Any] = False,
|
|
228
228
|
duration: typing.Any = 0,
|
|
@@ -230,7 +230,7 @@ def insert_blank_frame(
|
|
|
230
230
|
"""Insert a blank frame on the current scene frame
|
|
231
231
|
|
|
232
232
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
233
|
-
:type execution_context: str
|
|
233
|
+
:type execution_context: typing.Union[str, int]
|
|
234
234
|
:type undo: bool
|
|
235
235
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
236
236
|
:type all_layers: typing.Union[bool, typing.Any]
|
|
@@ -242,14 +242,14 @@ def insert_blank_frame(
|
|
|
242
242
|
|
|
243
243
|
def layer_active(
|
|
244
244
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
245
|
-
execution_context: str = None,
|
|
245
|
+
execution_context: typing.Union[str, int] = None,
|
|
246
246
|
undo: bool = None,
|
|
247
247
|
layer: typing.Any = 0,
|
|
248
248
|
):
|
|
249
249
|
"""Set the active Grease Pencil layer
|
|
250
250
|
|
|
251
251
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
252
|
-
:type execution_context: str
|
|
252
|
+
:type execution_context: typing.Union[str, int]
|
|
253
253
|
:type undo: bool
|
|
254
254
|
:param layer: Grease Pencil Layer
|
|
255
255
|
:type layer: typing.Any
|
|
@@ -259,14 +259,14 @@ def layer_active(
|
|
|
259
259
|
|
|
260
260
|
def layer_add(
|
|
261
261
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
262
|
-
execution_context: str = None,
|
|
262
|
+
execution_context: typing.Union[str, int] = None,
|
|
263
263
|
undo: bool = None,
|
|
264
264
|
new_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
265
265
|
):
|
|
266
266
|
"""Add a new Grease Pencil layer in the active object
|
|
267
267
|
|
|
268
268
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
269
|
-
:type execution_context: str
|
|
269
|
+
:type execution_context: typing.Union[str, int]
|
|
270
270
|
:type undo: bool
|
|
271
271
|
:param new_layer_name: Name, Name of the new layer
|
|
272
272
|
:type new_layer_name: typing.Union[str, typing.Any]
|
|
@@ -276,14 +276,14 @@ def layer_add(
|
|
|
276
276
|
|
|
277
277
|
def layer_duplicate(
|
|
278
278
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
279
|
-
execution_context: str = None,
|
|
279
|
+
execution_context: typing.Union[str, int] = None,
|
|
280
280
|
undo: bool = None,
|
|
281
281
|
empty_keyframes: typing.Union[bool, typing.Any] = False,
|
|
282
282
|
):
|
|
283
283
|
"""Make a copy of the active Grease Pencil layer
|
|
284
284
|
|
|
285
285
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
286
|
-
:type execution_context: str
|
|
286
|
+
:type execution_context: typing.Union[str, int]
|
|
287
287
|
:type undo: bool
|
|
288
288
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
289
289
|
:type empty_keyframes: typing.Union[bool, typing.Any]
|
|
@@ -293,14 +293,14 @@ def layer_duplicate(
|
|
|
293
293
|
|
|
294
294
|
def layer_group_add(
|
|
295
295
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
296
|
-
execution_context: str = None,
|
|
296
|
+
execution_context: typing.Union[str, int] = None,
|
|
297
297
|
undo: bool = None,
|
|
298
298
|
new_layer_group_name: typing.Union[str, typing.Any] = "",
|
|
299
299
|
):
|
|
300
300
|
"""Add a new Grease Pencil layer group in the active object
|
|
301
301
|
|
|
302
302
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
303
|
-
:type execution_context: str
|
|
303
|
+
:type execution_context: typing.Union[str, int]
|
|
304
304
|
:type undo: bool
|
|
305
305
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
306
306
|
:type new_layer_group_name: typing.Union[str, typing.Any]
|
|
@@ -310,14 +310,14 @@ def layer_group_add(
|
|
|
310
310
|
|
|
311
311
|
def layer_hide(
|
|
312
312
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
313
|
-
execution_context: str = None,
|
|
313
|
+
execution_context: typing.Union[str, int] = None,
|
|
314
314
|
undo: bool = None,
|
|
315
315
|
unselected: typing.Union[bool, typing.Any] = False,
|
|
316
316
|
):
|
|
317
317
|
"""Hide selected/unselected Grease Pencil layers
|
|
318
318
|
|
|
319
319
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
320
|
-
:type execution_context: str
|
|
320
|
+
:type execution_context: typing.Union[str, int]
|
|
321
321
|
:type undo: bool
|
|
322
322
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
323
323
|
:type unselected: typing.Union[bool, typing.Any]
|
|
@@ -327,14 +327,14 @@ def layer_hide(
|
|
|
327
327
|
|
|
328
328
|
def layer_isolate(
|
|
329
329
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
330
|
-
execution_context: str = None,
|
|
330
|
+
execution_context: typing.Union[str, int] = None,
|
|
331
331
|
undo: bool = None,
|
|
332
332
|
affect_visibility: typing.Union[bool, typing.Any] = False,
|
|
333
333
|
):
|
|
334
334
|
"""Make only active layer visible/editable
|
|
335
335
|
|
|
336
336
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
337
|
-
:type execution_context: str
|
|
337
|
+
:type execution_context: typing.Union[str, int]
|
|
338
338
|
:type undo: bool
|
|
339
339
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
340
340
|
:type affect_visibility: typing.Union[bool, typing.Any]
|
|
@@ -344,14 +344,14 @@ def layer_isolate(
|
|
|
344
344
|
|
|
345
345
|
def layer_lock_all(
|
|
346
346
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
347
|
-
execution_context: str = None,
|
|
347
|
+
execution_context: typing.Union[str, int] = None,
|
|
348
348
|
undo: bool = None,
|
|
349
349
|
lock: typing.Union[bool, typing.Any] = True,
|
|
350
350
|
):
|
|
351
351
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
352
352
|
|
|
353
353
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
354
|
-
:type execution_context: str
|
|
354
|
+
:type execution_context: typing.Union[str, int]
|
|
355
355
|
:type undo: bool
|
|
356
356
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
357
357
|
:type lock: typing.Union[bool, typing.Any]
|
|
@@ -361,14 +361,14 @@ def layer_lock_all(
|
|
|
361
361
|
|
|
362
362
|
def layer_mask_add(
|
|
363
363
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
364
|
-
execution_context: str = None,
|
|
364
|
+
execution_context: typing.Union[str, int] = None,
|
|
365
365
|
undo: bool = None,
|
|
366
366
|
name: typing.Union[str, typing.Any] = "",
|
|
367
367
|
):
|
|
368
368
|
"""Add new layer as masking
|
|
369
369
|
|
|
370
370
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
371
|
-
:type execution_context: str
|
|
371
|
+
:type execution_context: typing.Union[str, int]
|
|
372
372
|
:type undo: bool
|
|
373
373
|
:param name: Layer, Name of the layer
|
|
374
374
|
:type name: typing.Union[str, typing.Any]
|
|
@@ -378,13 +378,13 @@ def layer_mask_add(
|
|
|
378
378
|
|
|
379
379
|
def layer_mask_remove(
|
|
380
380
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
381
|
-
execution_context: str = None,
|
|
381
|
+
execution_context: typing.Union[str, int] = None,
|
|
382
382
|
undo: bool = None,
|
|
383
383
|
):
|
|
384
384
|
"""Remove Layer Mask
|
|
385
385
|
|
|
386
386
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
387
|
-
:type execution_context: str
|
|
387
|
+
:type execution_context: typing.Union[str, int]
|
|
388
388
|
:type undo: bool
|
|
389
389
|
"""
|
|
390
390
|
|
|
@@ -392,14 +392,14 @@ def layer_mask_remove(
|
|
|
392
392
|
|
|
393
393
|
def layer_mask_reorder(
|
|
394
394
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
-
execution_context: str = None,
|
|
395
|
+
execution_context: typing.Union[str, int] = None,
|
|
396
396
|
undo: bool = None,
|
|
397
397
|
direction: typing.Any = "UP",
|
|
398
398
|
):
|
|
399
399
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
400
400
|
|
|
401
401
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
402
|
-
:type execution_context: str
|
|
402
|
+
:type execution_context: typing.Union[str, int]
|
|
403
403
|
:type undo: bool
|
|
404
404
|
:param direction: Direction
|
|
405
405
|
:type direction: typing.Any
|
|
@@ -409,13 +409,13 @@ def layer_mask_reorder(
|
|
|
409
409
|
|
|
410
410
|
def layer_remove(
|
|
411
411
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
412
|
-
execution_context: str = None,
|
|
412
|
+
execution_context: typing.Union[str, int] = None,
|
|
413
413
|
undo: bool = None,
|
|
414
414
|
):
|
|
415
415
|
"""Remove the active Grease Pencil layer
|
|
416
416
|
|
|
417
417
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
418
|
-
:type execution_context: str
|
|
418
|
+
:type execution_context: typing.Union[str, int]
|
|
419
419
|
:type undo: bool
|
|
420
420
|
"""
|
|
421
421
|
|
|
@@ -423,7 +423,7 @@ def layer_remove(
|
|
|
423
423
|
|
|
424
424
|
def layer_reorder(
|
|
425
425
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
426
|
-
execution_context: str = None,
|
|
426
|
+
execution_context: typing.Union[str, int] = None,
|
|
427
427
|
undo: bool = None,
|
|
428
428
|
target_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
429
429
|
location: typing.Any = "ABOVE",
|
|
@@ -431,7 +431,7 @@ def layer_reorder(
|
|
|
431
431
|
"""Reorder the active Grease Pencil layer
|
|
432
432
|
|
|
433
433
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
434
|
-
:type execution_context: str
|
|
434
|
+
:type execution_context: typing.Union[str, int]
|
|
435
435
|
:type undo: bool
|
|
436
436
|
:param target_layer_name: Target Name, Name of the target layer
|
|
437
437
|
:type target_layer_name: typing.Union[str, typing.Any]
|
|
@@ -443,13 +443,13 @@ def layer_reorder(
|
|
|
443
443
|
|
|
444
444
|
def layer_reveal(
|
|
445
445
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
446
|
-
execution_context: str = None,
|
|
446
|
+
execution_context: typing.Union[str, int] = None,
|
|
447
447
|
undo: bool = None,
|
|
448
448
|
):
|
|
449
449
|
"""Show all Grease Pencil layers
|
|
450
450
|
|
|
451
451
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
452
|
-
:type execution_context: str
|
|
452
|
+
:type execution_context: typing.Union[str, int]
|
|
453
453
|
:type undo: bool
|
|
454
454
|
"""
|
|
455
455
|
|
|
@@ -457,14 +457,14 @@ def layer_reveal(
|
|
|
457
457
|
|
|
458
458
|
def material_copy_to_object(
|
|
459
459
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
460
|
-
execution_context: str = None,
|
|
460
|
+
execution_context: typing.Union[str, int] = None,
|
|
461
461
|
undo: bool = None,
|
|
462
462
|
only_active: typing.Union[bool, typing.Any] = True,
|
|
463
463
|
):
|
|
464
464
|
"""Append Materials of the active Grease Pencil to other object
|
|
465
465
|
|
|
466
466
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
467
|
-
:type execution_context: str
|
|
467
|
+
:type execution_context: typing.Union[str, int]
|
|
468
468
|
:type undo: bool
|
|
469
469
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
470
470
|
:type only_active: typing.Union[bool, typing.Any]
|
|
@@ -474,14 +474,14 @@ def material_copy_to_object(
|
|
|
474
474
|
|
|
475
475
|
def material_hide(
|
|
476
476
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
477
|
-
execution_context: str = None,
|
|
477
|
+
execution_context: typing.Union[str, int] = None,
|
|
478
478
|
undo: bool = None,
|
|
479
479
|
invert: typing.Union[bool, typing.Any] = False,
|
|
480
480
|
):
|
|
481
481
|
"""Hide active/inactive Grease Pencil material(s)
|
|
482
482
|
|
|
483
483
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
484
|
-
:type execution_context: str
|
|
484
|
+
:type execution_context: typing.Union[str, int]
|
|
485
485
|
:type undo: bool
|
|
486
486
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
487
487
|
:type invert: typing.Union[bool, typing.Any]
|
|
@@ -491,13 +491,13 @@ def material_hide(
|
|
|
491
491
|
|
|
492
492
|
def material_lock_all(
|
|
493
493
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
494
|
-
execution_context: str = None,
|
|
494
|
+
execution_context: typing.Union[str, int] = None,
|
|
495
495
|
undo: bool = None,
|
|
496
496
|
):
|
|
497
497
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
498
498
|
|
|
499
499
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
500
|
-
:type execution_context: str
|
|
500
|
+
:type execution_context: typing.Union[str, int]
|
|
501
501
|
:type undo: bool
|
|
502
502
|
"""
|
|
503
503
|
|
|
@@ -505,13 +505,13 @@ def material_lock_all(
|
|
|
505
505
|
|
|
506
506
|
def material_lock_unselected(
|
|
507
507
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
508
|
-
execution_context: str = None,
|
|
508
|
+
execution_context: typing.Union[str, int] = None,
|
|
509
509
|
undo: bool = None,
|
|
510
510
|
):
|
|
511
511
|
"""Lock any material not used in any selected stroke
|
|
512
512
|
|
|
513
513
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
514
|
-
:type execution_context: str
|
|
514
|
+
:type execution_context: typing.Union[str, int]
|
|
515
515
|
:type undo: bool
|
|
516
516
|
"""
|
|
517
517
|
|
|
@@ -519,13 +519,13 @@ def material_lock_unselected(
|
|
|
519
519
|
|
|
520
520
|
def material_lock_unused(
|
|
521
521
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
522
|
-
execution_context: str = None,
|
|
522
|
+
execution_context: typing.Union[str, int] = None,
|
|
523
523
|
undo: bool = None,
|
|
524
524
|
):
|
|
525
525
|
"""Lock and hide any material not used
|
|
526
526
|
|
|
527
527
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
528
|
-
:type execution_context: str
|
|
528
|
+
:type execution_context: typing.Union[str, int]
|
|
529
529
|
:type undo: bool
|
|
530
530
|
"""
|
|
531
531
|
|
|
@@ -533,13 +533,13 @@ def material_lock_unused(
|
|
|
533
533
|
|
|
534
534
|
def material_reveal(
|
|
535
535
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
536
|
-
execution_context: str = None,
|
|
536
|
+
execution_context: typing.Union[str, int] = None,
|
|
537
537
|
undo: bool = None,
|
|
538
538
|
):
|
|
539
539
|
"""Unhide all hidden Grease Pencil materials
|
|
540
540
|
|
|
541
541
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
542
|
-
:type execution_context: str
|
|
542
|
+
:type execution_context: typing.Union[str, int]
|
|
543
543
|
:type undo: bool
|
|
544
544
|
"""
|
|
545
545
|
|
|
@@ -547,14 +547,14 @@ def material_reveal(
|
|
|
547
547
|
|
|
548
548
|
def material_select(
|
|
549
549
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
550
|
-
execution_context: str = None,
|
|
550
|
+
execution_context: typing.Union[str, int] = None,
|
|
551
551
|
undo: bool = None,
|
|
552
552
|
deselect: typing.Union[bool, typing.Any] = False,
|
|
553
553
|
):
|
|
554
554
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
555
555
|
|
|
556
556
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
557
|
-
:type execution_context: str
|
|
557
|
+
:type execution_context: typing.Union[str, int]
|
|
558
558
|
:type undo: bool
|
|
559
559
|
:param deselect: Deselect, Unselect strokes
|
|
560
560
|
:type deselect: typing.Union[bool, typing.Any]
|
|
@@ -564,13 +564,13 @@ def material_select(
|
|
|
564
564
|
|
|
565
565
|
def material_unlock_all(
|
|
566
566
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
567
|
-
execution_context: str = None,
|
|
567
|
+
execution_context: typing.Union[str, int] = None,
|
|
568
568
|
undo: bool = None,
|
|
569
569
|
):
|
|
570
570
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
571
571
|
|
|
572
572
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
573
|
-
:type execution_context: str
|
|
573
|
+
:type execution_context: typing.Union[str, int]
|
|
574
574
|
:type undo: bool
|
|
575
575
|
"""
|
|
576
576
|
|
|
@@ -578,7 +578,7 @@ def material_unlock_all(
|
|
|
578
578
|
|
|
579
579
|
def move_to_layer(
|
|
580
580
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
581
|
-
execution_context: str = None,
|
|
581
|
+
execution_context: typing.Union[str, int] = None,
|
|
582
582
|
undo: bool = None,
|
|
583
583
|
target_layer_name: typing.Union[str, typing.Any] = "Layer",
|
|
584
584
|
add_new_layer: typing.Union[bool, typing.Any] = False,
|
|
@@ -586,7 +586,7 @@ def move_to_layer(
|
|
|
586
586
|
"""Move selected strokes to another layer
|
|
587
587
|
|
|
588
588
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
589
|
-
:type execution_context: str
|
|
589
|
+
:type execution_context: typing.Union[str, int]
|
|
590
590
|
:type undo: bool
|
|
591
591
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
592
592
|
:type target_layer_name: typing.Union[str, typing.Any]
|
|
@@ -598,14 +598,14 @@ def move_to_layer(
|
|
|
598
598
|
|
|
599
599
|
def paste(
|
|
600
600
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
601
|
-
execution_context: str = None,
|
|
601
|
+
execution_context: typing.Union[str, int] = None,
|
|
602
602
|
undo: bool = None,
|
|
603
603
|
paste_back: typing.Union[bool, typing.Any] = False,
|
|
604
604
|
):
|
|
605
605
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
606
606
|
|
|
607
607
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
608
|
-
:type execution_context: str
|
|
608
|
+
:type execution_context: typing.Union[str, int]
|
|
609
609
|
:type undo: bool
|
|
610
610
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
611
611
|
:type paste_back: typing.Union[bool, typing.Any]
|
|
@@ -615,14 +615,14 @@ def paste(
|
|
|
615
615
|
|
|
616
616
|
def reorder(
|
|
617
617
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
618
|
-
execution_context: str = None,
|
|
618
|
+
execution_context: typing.Union[str, int] = None,
|
|
619
619
|
undo: bool = None,
|
|
620
620
|
direction: typing.Any = "TOP",
|
|
621
621
|
):
|
|
622
622
|
"""Change the display order of the selected strokes
|
|
623
623
|
|
|
624
624
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
625
|
-
:type execution_context: str
|
|
625
|
+
:type execution_context: typing.Union[str, int]
|
|
626
626
|
:type undo: bool
|
|
627
627
|
:param direction: Direction
|
|
628
628
|
:type direction: typing.Any
|
|
@@ -630,16 +630,45 @@ def reorder(
|
|
|
630
630
|
|
|
631
631
|
...
|
|
632
632
|
|
|
633
|
+
def sculpt_paint(
|
|
634
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
635
|
+
execution_context: typing.Union[str, int] = None,
|
|
636
|
+
undo: bool = None,
|
|
637
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
638
|
+
mode: typing.Any = "NORMAL",
|
|
639
|
+
):
|
|
640
|
+
"""Draw a new stroke in the active Grease Pencil object
|
|
641
|
+
|
|
642
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
643
|
+
:type execution_context: typing.Union[str, int]
|
|
644
|
+
:type undo: bool
|
|
645
|
+
:param stroke: Stroke
|
|
646
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
647
|
+
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
648
|
+
|
|
649
|
+
NORMAL
|
|
650
|
+
Regular -- Apply brush normally.
|
|
651
|
+
|
|
652
|
+
INVERT
|
|
653
|
+
Invert -- Invert action of brush for duration of stroke.
|
|
654
|
+
|
|
655
|
+
SMOOTH
|
|
656
|
+
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
657
|
+
:type mode: typing.Any
|
|
658
|
+
"""
|
|
659
|
+
|
|
660
|
+
...
|
|
661
|
+
|
|
633
662
|
def select_all(
|
|
634
663
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
635
|
-
execution_context: str = None,
|
|
664
|
+
execution_context: typing.Union[str, int] = None,
|
|
636
665
|
undo: bool = None,
|
|
637
666
|
action: typing.Any = "TOGGLE",
|
|
638
667
|
):
|
|
639
668
|
"""(De)select all visible strokes
|
|
640
669
|
|
|
641
670
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
642
|
-
:type execution_context: str
|
|
671
|
+
:type execution_context: typing.Union[str, int]
|
|
643
672
|
:type undo: bool
|
|
644
673
|
:param action: Action, Selection action to execute
|
|
645
674
|
|
|
@@ -661,14 +690,14 @@ def select_all(
|
|
|
661
690
|
|
|
662
691
|
def select_alternate(
|
|
663
692
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
664
|
-
execution_context: str = None,
|
|
693
|
+
execution_context: typing.Union[str, int] = None,
|
|
665
694
|
undo: bool = None,
|
|
666
695
|
deselect_ends: typing.Union[bool, typing.Any] = False,
|
|
667
696
|
):
|
|
668
697
|
"""Select alternated points in strokes with already selected points
|
|
669
698
|
|
|
670
699
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
671
|
-
:type execution_context: str
|
|
700
|
+
:type execution_context: typing.Union[str, int]
|
|
672
701
|
:type undo: bool
|
|
673
702
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
674
703
|
:type deselect_ends: typing.Union[bool, typing.Any]
|
|
@@ -678,7 +707,7 @@ def select_alternate(
|
|
|
678
707
|
|
|
679
708
|
def select_ends(
|
|
680
709
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
681
|
-
execution_context: str = None,
|
|
710
|
+
execution_context: typing.Union[str, int] = None,
|
|
682
711
|
undo: bool = None,
|
|
683
712
|
amount_start: typing.Any = 0,
|
|
684
713
|
amount_end: typing.Any = 1,
|
|
@@ -686,7 +715,7 @@ def select_ends(
|
|
|
686
715
|
"""Select end points of strokes
|
|
687
716
|
|
|
688
717
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
689
|
-
:type execution_context: str
|
|
718
|
+
:type execution_context: typing.Union[str, int]
|
|
690
719
|
:type undo: bool
|
|
691
720
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
692
721
|
:type amount_start: typing.Any
|
|
@@ -698,13 +727,13 @@ def select_ends(
|
|
|
698
727
|
|
|
699
728
|
def select_less(
|
|
700
729
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
701
|
-
execution_context: str = None,
|
|
730
|
+
execution_context: typing.Union[str, int] = None,
|
|
702
731
|
undo: bool = None,
|
|
703
732
|
):
|
|
704
733
|
"""Shrink the selection by one point
|
|
705
734
|
|
|
706
735
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
707
|
-
:type execution_context: str
|
|
736
|
+
:type execution_context: typing.Union[str, int]
|
|
708
737
|
:type undo: bool
|
|
709
738
|
"""
|
|
710
739
|
|
|
@@ -712,13 +741,13 @@ def select_less(
|
|
|
712
741
|
|
|
713
742
|
def select_linked(
|
|
714
743
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
715
|
-
execution_context: str = None,
|
|
744
|
+
execution_context: typing.Union[str, int] = None,
|
|
716
745
|
undo: bool = None,
|
|
717
746
|
):
|
|
718
747
|
"""Select all points in curves with any point selection
|
|
719
748
|
|
|
720
749
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
721
|
-
:type execution_context: str
|
|
750
|
+
:type execution_context: typing.Union[str, int]
|
|
722
751
|
:type undo: bool
|
|
723
752
|
"""
|
|
724
753
|
|
|
@@ -726,13 +755,13 @@ def select_linked(
|
|
|
726
755
|
|
|
727
756
|
def select_more(
|
|
728
757
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
729
|
-
execution_context: str = None,
|
|
758
|
+
execution_context: typing.Union[str, int] = None,
|
|
730
759
|
undo: bool = None,
|
|
731
760
|
):
|
|
732
761
|
"""Grow the selection by one point
|
|
733
762
|
|
|
734
763
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
735
|
-
:type execution_context: str
|
|
764
|
+
:type execution_context: typing.Union[str, int]
|
|
736
765
|
:type undo: bool
|
|
737
766
|
"""
|
|
738
767
|
|
|
@@ -740,7 +769,7 @@ def select_more(
|
|
|
740
769
|
|
|
741
770
|
def select_random(
|
|
742
771
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
743
|
-
execution_context: str = None,
|
|
772
|
+
execution_context: typing.Union[str, int] = None,
|
|
744
773
|
undo: bool = None,
|
|
745
774
|
ratio: typing.Any = 0.5,
|
|
746
775
|
seed: typing.Any = 0,
|
|
@@ -749,7 +778,7 @@ def select_random(
|
|
|
749
778
|
"""Selects random points from the current strokes selection
|
|
750
779
|
|
|
751
780
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
752
|
-
:type execution_context: str
|
|
781
|
+
:type execution_context: typing.Union[str, int]
|
|
753
782
|
:type undo: bool
|
|
754
783
|
:param ratio: Ratio, Portion of items to select randomly
|
|
755
784
|
:type ratio: typing.Any
|
|
@@ -769,14 +798,14 @@ def select_random(
|
|
|
769
798
|
|
|
770
799
|
def separate(
|
|
771
800
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
772
|
-
execution_context: str = None,
|
|
801
|
+
execution_context: typing.Union[str, int] = None,
|
|
773
802
|
undo: bool = None,
|
|
774
803
|
mode: typing.Any = "SELECTED",
|
|
775
804
|
):
|
|
776
805
|
"""Separate the selected geometry into a new grease pencil object
|
|
777
806
|
|
|
778
807
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
779
|
-
:type execution_context: str
|
|
808
|
+
:type execution_context: typing.Union[str, int]
|
|
780
809
|
:type undo: bool
|
|
781
810
|
:param mode: Mode
|
|
782
811
|
|
|
@@ -795,13 +824,13 @@ def separate(
|
|
|
795
824
|
|
|
796
825
|
def set_active_material(
|
|
797
826
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
798
|
-
execution_context: str = None,
|
|
827
|
+
execution_context: typing.Union[str, int] = None,
|
|
799
828
|
undo: bool = None,
|
|
800
829
|
):
|
|
801
830
|
"""Set the selected stroke material as the active material
|
|
802
831
|
|
|
803
832
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
804
|
-
:type execution_context: str
|
|
833
|
+
:type execution_context: typing.Union[str, int]
|
|
805
834
|
:type undo: bool
|
|
806
835
|
"""
|
|
807
836
|
|
|
@@ -809,14 +838,14 @@ def set_active_material(
|
|
|
809
838
|
|
|
810
839
|
def set_material(
|
|
811
840
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
812
|
-
execution_context: str = None,
|
|
841
|
+
execution_context: typing.Union[str, int] = None,
|
|
813
842
|
undo: bool = None,
|
|
814
843
|
slot: typing.Union[str, int, typing.Any] = "DEFAULT",
|
|
815
844
|
):
|
|
816
845
|
"""Set active material
|
|
817
846
|
|
|
818
847
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
819
|
-
:type execution_context: str
|
|
848
|
+
:type execution_context: typing.Union[str, int]
|
|
820
849
|
:type undo: bool
|
|
821
850
|
:param slot: Material Slot
|
|
822
851
|
:type slot: typing.Union[str, int, typing.Any]
|
|
@@ -826,14 +855,14 @@ def set_material(
|
|
|
826
855
|
|
|
827
856
|
def set_selection_mode(
|
|
828
857
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
829
|
-
execution_context: str = None,
|
|
858
|
+
execution_context: typing.Union[str, int] = None,
|
|
830
859
|
undo: bool = None,
|
|
831
860
|
mode: typing.Union[str, int] = "POINT",
|
|
832
861
|
):
|
|
833
862
|
"""Change the selection mode for Grease Pencil strokes
|
|
834
863
|
|
|
835
864
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
836
|
-
:type execution_context: str
|
|
865
|
+
:type execution_context: typing.Union[str, int]
|
|
837
866
|
:type undo: bool
|
|
838
867
|
:param mode: Mode
|
|
839
868
|
:type mode: typing.Union[str, int]
|
|
@@ -843,14 +872,14 @@ def set_selection_mode(
|
|
|
843
872
|
|
|
844
873
|
def set_uniform_opacity(
|
|
845
874
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
846
|
-
execution_context: str = None,
|
|
875
|
+
execution_context: typing.Union[str, int] = None,
|
|
847
876
|
undo: bool = None,
|
|
848
877
|
opacity: typing.Any = 1.0,
|
|
849
878
|
):
|
|
850
879
|
"""Set all stroke points to same opacity
|
|
851
880
|
|
|
852
881
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
853
|
-
:type execution_context: str
|
|
882
|
+
:type execution_context: typing.Union[str, int]
|
|
854
883
|
:type undo: bool
|
|
855
884
|
:param opacity: Opacity
|
|
856
885
|
:type opacity: typing.Any
|
|
@@ -860,14 +889,14 @@ def set_uniform_opacity(
|
|
|
860
889
|
|
|
861
890
|
def set_uniform_thickness(
|
|
862
891
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
863
|
-
execution_context: str = None,
|
|
892
|
+
execution_context: typing.Union[str, int] = None,
|
|
864
893
|
undo: bool = None,
|
|
865
894
|
thickness: typing.Any = 0.1,
|
|
866
895
|
):
|
|
867
896
|
"""Set all stroke points to same thickness
|
|
868
897
|
|
|
869
898
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
870
|
-
:type execution_context: str
|
|
899
|
+
:type execution_context: typing.Union[str, int]
|
|
871
900
|
:type undo: bool
|
|
872
901
|
:param thickness: Thickness, Thickness
|
|
873
902
|
:type thickness: typing.Any
|
|
@@ -877,14 +906,14 @@ def set_uniform_thickness(
|
|
|
877
906
|
|
|
878
907
|
def stroke_material_set(
|
|
879
908
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
880
|
-
execution_context: str = None,
|
|
909
|
+
execution_context: typing.Union[str, int] = None,
|
|
881
910
|
undo: bool = None,
|
|
882
911
|
material: typing.Union[str, typing.Any] = "",
|
|
883
912
|
):
|
|
884
913
|
"""Assign the active material slot to the selected strokes
|
|
885
914
|
|
|
886
915
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
887
|
-
:type execution_context: str
|
|
916
|
+
:type execution_context: typing.Union[str, int]
|
|
888
917
|
:type undo: bool
|
|
889
918
|
:param material: Material, Name of the material
|
|
890
919
|
:type material: typing.Union[str, typing.Any]
|
|
@@ -894,14 +923,14 @@ def stroke_material_set(
|
|
|
894
923
|
|
|
895
924
|
def stroke_simplify(
|
|
896
925
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
897
|
-
execution_context: str = None,
|
|
926
|
+
execution_context: typing.Union[str, int] = None,
|
|
898
927
|
undo: bool = None,
|
|
899
928
|
factor: typing.Any = 0.01,
|
|
900
929
|
):
|
|
901
930
|
"""Simplify selected strokes
|
|
902
931
|
|
|
903
932
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
904
|
-
:type execution_context: str
|
|
933
|
+
:type execution_context: typing.Union[str, int]
|
|
905
934
|
:type undo: bool
|
|
906
935
|
:param factor: Factor
|
|
907
936
|
:type factor: typing.Any
|
|
@@ -911,7 +940,7 @@ def stroke_simplify(
|
|
|
911
940
|
|
|
912
941
|
def stroke_smooth(
|
|
913
942
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
914
|
-
execution_context: str = None,
|
|
943
|
+
execution_context: typing.Union[str, int] = None,
|
|
915
944
|
undo: bool = None,
|
|
916
945
|
iterations: typing.Any = 10,
|
|
917
946
|
factor: typing.Any = 1.0,
|
|
@@ -924,7 +953,7 @@ def stroke_smooth(
|
|
|
924
953
|
"""Smooth selected strokes
|
|
925
954
|
|
|
926
955
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
927
|
-
:type execution_context: str
|
|
956
|
+
:type execution_context: typing.Union[str, int]
|
|
928
957
|
:type undo: bool
|
|
929
958
|
:param iterations: Iterations
|
|
930
959
|
:type iterations: typing.Any
|
|
@@ -946,7 +975,7 @@ def stroke_smooth(
|
|
|
946
975
|
|
|
947
976
|
def stroke_subdivide(
|
|
948
977
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
949
|
-
execution_context: str = None,
|
|
978
|
+
execution_context: typing.Union[str, int] = None,
|
|
950
979
|
undo: bool = None,
|
|
951
980
|
number_cuts: typing.Any = 1,
|
|
952
981
|
only_selected: typing.Union[bool, typing.Any] = True,
|
|
@@ -954,7 +983,7 @@ def stroke_subdivide(
|
|
|
954
983
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
955
984
|
|
|
956
985
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
957
|
-
:type execution_context: str
|
|
986
|
+
:type execution_context: typing.Union[str, int]
|
|
958
987
|
:type undo: bool
|
|
959
988
|
:param number_cuts: Number of Cuts
|
|
960
989
|
:type number_cuts: typing.Any
|
|
@@ -966,7 +995,7 @@ def stroke_subdivide(
|
|
|
966
995
|
|
|
967
996
|
def stroke_subdivide_smooth(
|
|
968
997
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
969
|
-
execution_context: str = None,
|
|
998
|
+
execution_context: typing.Union[str, int] = None,
|
|
970
999
|
undo: bool = None,
|
|
971
1000
|
GREASE_PENCIL_OT_stroke_subdivide: typing.Any = None,
|
|
972
1001
|
GREASE_PENCIL_OT_stroke_smooth: typing.Any = None,
|
|
@@ -974,7 +1003,7 @@ def stroke_subdivide_smooth(
|
|
|
974
1003
|
"""Subdivide strokes and smooth them
|
|
975
1004
|
|
|
976
1005
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
977
|
-
:type execution_context: str
|
|
1006
|
+
:type execution_context: typing.Union[str, int]
|
|
978
1007
|
:type undo: bool
|
|
979
1008
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
980
1009
|
:type GREASE_PENCIL_OT_stroke_subdivide: typing.Any
|
|
@@ -986,13 +1015,13 @@ def stroke_subdivide_smooth(
|
|
|
986
1015
|
|
|
987
1016
|
def stroke_switch_direction(
|
|
988
1017
|
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
989
|
-
execution_context: str = None,
|
|
1018
|
+
execution_context: typing.Union[str, int] = None,
|
|
990
1019
|
undo: bool = None,
|
|
991
1020
|
):
|
|
992
1021
|
"""Change direction of the points of the selected strokes
|
|
993
1022
|
|
|
994
1023
|
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
995
|
-
:type execution_context: str
|
|
1024
|
+
:type execution_context: typing.Union[str, int]
|
|
996
1025
|
:type undo: bool
|
|
997
1026
|
"""
|
|
998
1027
|
|