fake-bpy-module-latest 20260113__py3-none-any.whl → 20260114__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.
- _bl_console_utils/autocomplete/complete_calltip/__init__.pyi +0 -13
- _bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -5
- _bl_console_utils/autocomplete/complete_namespace/__init__.pyi +0 -11
- _bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -10
- _bpy_types/__init__.pyi +1 -122
- _rna_info/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +0 -146
- bl_math/__init__.pyi +0 -12
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +0 -26
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +0 -10
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -4
- bl_operators/node/__init__.pyi +0 -44
- bl_operators/object/__init__.pyi +0 -30
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +0 -50
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +0 -2
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +0 -4
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +0 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +0 -10
- bl_ui/node_add_menu_compositor/__init__.pyi +0 -38
- bl_ui/node_add_menu_geometry/__init__.pyi +0 -112
- bl_ui/node_add_menu_shader/__init__.pyi +0 -20
- bl_ui/node_add_menu_texture/__init__.pyi +0 -16
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +0 -154
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +0 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +0 -18
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -14
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +0 -22
- bl_ui/properties_object/__init__.pyi +0 -44
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +0 -4
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +0 -90
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +0 -42
- bl_ui/properties_strip_modifier/__init__.pyi +0 -2
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +0 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +0 -150
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +0 -64
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -44
- bl_ui/space_image/__init__.pyi +0 -142
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -36
- bl_ui/space_node/__init__.pyi +0 -66
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +0 -8
- bl_ui/space_sequencer/__init__.pyi +0 -136
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +0 -12
- bl_ui/space_topbar/__init__.pyi +0 -52
- bl_ui/space_userpref/__init__.pyi +0 -186
- bl_ui/space_view3d/__init__.pyi +0 -536
- bl_ui/space_view3d_sidebar/__init__.pyi +0 -8
- bl_ui/space_view3d_toolbar/__init__.pyi +0 -162
- blf/__init__.pyi +0 -47
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +0 -451
- bmesh/types/__init__.pyi +65 -427
- bmesh/utils/__init__.pyi +0 -44
- bpy/app/__init__.pyi +0 -5
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +0 -15
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +15 -165
- bpy/ops/anim/__init__.pyi +27 -274
- bpy/ops/armature/__init__.pyi +17 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -72
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +2 -34
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +15 -164
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +0 -11
- bpy/ops/export_scene/__init__.pyi +0 -154
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +27 -217
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -41
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -38
- bpy/ops/graph/__init__.pyi +18 -316
- bpy/ops/grease_pencil/__init__.pyi +27 -522
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +0 -14
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +2 -50
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +30 -913
- bpy/ops/nla/__init__.pyi +19 -183
- bpy/ops/node/__init__.pyi +53 -745
- bpy/ops/object/__init__.pyi +75 -1285
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +14 -279
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +25 -230
- bpy/ops/poselib/__init__.pyi +4 -47
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +3 -70
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +22 -167
- bpy/ops/screen/__init__.pyi +19 -214
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +7 -271
- bpy/ops/sculpt_curves/__init__.pyi +1 -20
- bpy/ops/sequencer/__init__.pyi +36 -672
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +25 -226
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +2 -381
- bpy/ops/ui/__init__.pyi +21 -158
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +9 -316
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +25 -1308
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +12 -148
- bpy/types/__init__.pyi +9867 -55713
- bpy/utils/__init__.pyi +2 -73
- bpy/utils/previews/__init__.pyi +0 -9
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +0 -8
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +4 -5
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +2 -22
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/METADATA +2 -1
- fake_bpy_module_latest-20260114.dist-info/RECORD +382 -0
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +0 -9
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +0 -5
- gpu/state/__init__.pyi +0 -29
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +10 -149
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +0 -9
- idprop/types/__init__.pyi +0 -4
- imbuf/__init__.pyi +0 -7
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +0 -44
- mathutils/__init__.pyi +46 -2160
- mathutils/bvhtree/__init__.pyi +1 -24
- mathutils/geometry/__init__.pyi +0 -129
- mathutils/interpolate/__init__.pyi +0 -3
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module_latest-20260113.dist-info/RECORD +0 -382
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/WHEEL +0 -0
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/top_level.txt +0 -0
|
@@ -15,10 +15,7 @@ def active_frame_delete(
|
|
|
15
15
|
) -> None:
|
|
16
16
|
"""Delete the active Grease Pencil frame(s)
|
|
17
17
|
|
|
18
|
-
:type execution_context: int | str | None
|
|
19
|
-
:type undo: bool | None
|
|
20
18
|
:param all: Delete all, Delete active keyframes of all layers
|
|
21
|
-
:type all: bool | None
|
|
22
19
|
"""
|
|
23
20
|
|
|
24
21
|
def bake_grease_pencil_animation(
|
|
@@ -36,18 +33,11 @@ def bake_grease_pencil_animation(
|
|
|
36
33
|
) -> None:
|
|
37
34
|
"""Bake Grease Pencil object transform to Grease Pencil keyframes
|
|
38
35
|
|
|
39
|
-
:type execution_context: int | str | None
|
|
40
|
-
:type undo: bool | None
|
|
41
36
|
:param frame_start: Start Frame, The start frame
|
|
42
|
-
:type frame_start: int | None
|
|
43
37
|
:param frame_end: End Frame, The end frame of animation
|
|
44
|
-
:type frame_end: int | None
|
|
45
38
|
:param step: Step, Step between generated frames
|
|
46
|
-
:type step: int | None
|
|
47
39
|
:param only_selected: Only Selected Keyframes, Convert only selected keyframes
|
|
48
|
-
:type only_selected: bool | None
|
|
49
40
|
:param frame_target: Target Frame, Destination frame
|
|
50
|
-
:type frame_target: int | None
|
|
51
41
|
:param project_type: Projection Type
|
|
52
42
|
|
|
53
43
|
KEEP
|
|
@@ -67,7 +57,6 @@ def bake_grease_pencil_animation(
|
|
|
67
57
|
|
|
68
58
|
CURSOR
|
|
69
59
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
70
|
-
:type project_type: typing.Literal['KEEP','FRONT','SIDE','TOP','VIEW','CURSOR'] | None
|
|
71
60
|
"""
|
|
72
61
|
|
|
73
62
|
def brush_stroke(
|
|
@@ -82,10 +71,7 @@ def brush_stroke(
|
|
|
82
71
|
) -> None:
|
|
83
72
|
"""Draw a new stroke in the active Grease Pencil object
|
|
84
73
|
|
|
85
|
-
:type execution_context: int | str | None
|
|
86
|
-
:type undo: bool | None
|
|
87
74
|
:param stroke: Stroke
|
|
88
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
89
75
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
90
76
|
|
|
91
77
|
NORMAL
|
|
@@ -99,9 +85,7 @@ def brush_stroke(
|
|
|
99
85
|
|
|
100
86
|
ERASE
|
|
101
87
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
102
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
103
88
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
104
|
-
:type pen_flip: bool | None
|
|
105
89
|
"""
|
|
106
90
|
|
|
107
91
|
def caps_set(
|
|
@@ -113,8 +97,6 @@ def caps_set(
|
|
|
113
97
|
) -> None:
|
|
114
98
|
"""Change curve caps mode (rounded or flat)
|
|
115
99
|
|
|
116
|
-
:type execution_context: int | str | None
|
|
117
|
-
:type undo: bool | None
|
|
118
100
|
:param type: Type
|
|
119
101
|
|
|
120
102
|
ROUND
|
|
@@ -128,7 +110,6 @@ def caps_set(
|
|
|
128
110
|
|
|
129
111
|
END
|
|
130
112
|
Toggle End.
|
|
131
|
-
:type type: typing.Literal['ROUND','FLAT','START','END'] | None
|
|
132
113
|
"""
|
|
133
114
|
|
|
134
115
|
def clean_loose(
|
|
@@ -140,10 +121,7 @@ def clean_loose(
|
|
|
140
121
|
) -> None:
|
|
141
122
|
"""Remove loose points
|
|
142
123
|
|
|
143
|
-
:type execution_context: int | str | None
|
|
144
|
-
:type undo: bool | None
|
|
145
124
|
:param limit: Limit, Number of points to consider stroke as loose
|
|
146
|
-
:type limit: int | None
|
|
147
125
|
"""
|
|
148
126
|
|
|
149
127
|
def convert_curve_type(
|
|
@@ -156,12 +134,8 @@ def convert_curve_type(
|
|
|
156
134
|
) -> None:
|
|
157
135
|
"""Convert type of selected curves
|
|
158
136
|
|
|
159
|
-
:type execution_context: int | str | None
|
|
160
|
-
:type undo: bool | None
|
|
161
137
|
:param type: Type
|
|
162
|
-
:type type: bpy.stub_internal.rna_enums.CurvesTypeItems | None
|
|
163
138
|
:param threshold: Threshold, The distance that the resulting points are allowed to be within
|
|
164
|
-
:type threshold: float | None
|
|
165
139
|
"""
|
|
166
140
|
|
|
167
141
|
def copy(
|
|
@@ -169,11 +143,7 @@ def copy(
|
|
|
169
143
|
undo: bool | None = None,
|
|
170
144
|
/,
|
|
171
145
|
) -> None:
|
|
172
|
-
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
173
|
-
|
|
174
|
-
:type execution_context: int | str | None
|
|
175
|
-
:type undo: bool | None
|
|
176
|
-
"""
|
|
146
|
+
"""Copy the selected Grease Pencil points or strokes to the internal clipboard"""
|
|
177
147
|
|
|
178
148
|
def cyclical_set(
|
|
179
149
|
execution_context: int | str | None = None,
|
|
@@ -185,12 +155,8 @@ def cyclical_set(
|
|
|
185
155
|
) -> None:
|
|
186
156
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
187
157
|
|
|
188
|
-
:type execution_context: int | str | None
|
|
189
|
-
:type undo: bool | None
|
|
190
158
|
:param type: Type
|
|
191
|
-
:type type: typing.Literal['CLOSE','OPEN','TOGGLE'] | None
|
|
192
159
|
:param subdivide_cyclic_segment: Match Point Density, Add point in the new segment to keep the same density
|
|
193
|
-
:type subdivide_cyclic_segment: bool | None
|
|
194
160
|
"""
|
|
195
161
|
|
|
196
162
|
def delete(
|
|
@@ -198,22 +164,14 @@ def delete(
|
|
|
198
164
|
undo: bool | None = None,
|
|
199
165
|
/,
|
|
200
166
|
) -> None:
|
|
201
|
-
"""Delete selected strokes or points
|
|
202
|
-
|
|
203
|
-
:type execution_context: int | str | None
|
|
204
|
-
:type undo: bool | None
|
|
205
|
-
"""
|
|
167
|
+
"""Delete selected strokes or points"""
|
|
206
168
|
|
|
207
169
|
def delete_breakdown(
|
|
208
170
|
execution_context: int | str | None = None,
|
|
209
171
|
undo: bool | None = None,
|
|
210
172
|
/,
|
|
211
173
|
) -> None:
|
|
212
|
-
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
213
|
-
|
|
214
|
-
:type execution_context: int | str | None
|
|
215
|
-
:type undo: bool | None
|
|
216
|
-
"""
|
|
174
|
+
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames"""
|
|
217
175
|
|
|
218
176
|
def delete_frame(
|
|
219
177
|
execution_context: int | str | None = None,
|
|
@@ -224,8 +182,6 @@ def delete_frame(
|
|
|
224
182
|
) -> None:
|
|
225
183
|
"""Delete Grease Pencil Frame(s)
|
|
226
184
|
|
|
227
|
-
:type execution_context: int | str | None
|
|
228
|
-
:type undo: bool | None
|
|
229
185
|
:param type: Type, Method used for deleting Grease Pencil frames
|
|
230
186
|
|
|
231
187
|
ACTIVE_FRAME
|
|
@@ -233,7 +189,6 @@ def delete_frame(
|
|
|
233
189
|
|
|
234
190
|
ALL_FRAMES
|
|
235
191
|
All Active Frames -- Delete active frames for all layers.
|
|
236
|
-
:type type: typing.Literal['ACTIVE_FRAME','ALL_FRAMES'] | None
|
|
237
192
|
"""
|
|
238
193
|
|
|
239
194
|
def dissolve(
|
|
@@ -245,8 +200,6 @@ def dissolve(
|
|
|
245
200
|
) -> None:
|
|
246
201
|
"""Delete selected points without splitting strokes
|
|
247
202
|
|
|
248
|
-
:type execution_context: int | str | None
|
|
249
|
-
:type undo: bool | None
|
|
250
203
|
:param type: Type, Method used for dissolving stroke points
|
|
251
204
|
|
|
252
205
|
POINTS
|
|
@@ -257,7 +210,6 @@ def dissolve(
|
|
|
257
210
|
|
|
258
211
|
UNSELECT
|
|
259
212
|
Dissolve Unselect -- Dissolve all unselected points.
|
|
260
|
-
:type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
|
|
261
213
|
"""
|
|
262
214
|
|
|
263
215
|
def duplicate(
|
|
@@ -265,11 +217,7 @@ def duplicate(
|
|
|
265
217
|
undo: bool | None = None,
|
|
266
218
|
/,
|
|
267
219
|
) -> None:
|
|
268
|
-
"""Duplicate the selected points
|
|
269
|
-
|
|
270
|
-
:type execution_context: int | str | None
|
|
271
|
-
:type undo: bool | None
|
|
272
|
-
"""
|
|
220
|
+
"""Duplicate the selected points"""
|
|
273
221
|
|
|
274
222
|
def duplicate_move(
|
|
275
223
|
execution_context: int | str | None = None,
|
|
@@ -281,12 +229,8 @@ def duplicate_move(
|
|
|
281
229
|
) -> None:
|
|
282
230
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
283
231
|
|
|
284
|
-
:type execution_context: int | str | None
|
|
285
|
-
:type undo: bool | None
|
|
286
232
|
:param GREASE_PENCIL_OT_duplicate: Duplicate, Duplicate the selected points
|
|
287
|
-
:type GREASE_PENCIL_OT_duplicate: typing.Any | None
|
|
288
233
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
289
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
290
234
|
"""
|
|
291
235
|
|
|
292
236
|
def erase_box(
|
|
@@ -302,18 +246,11 @@ def erase_box(
|
|
|
302
246
|
) -> None:
|
|
303
247
|
"""Erase points in the box region
|
|
304
248
|
|
|
305
|
-
:type execution_context: int | str | None
|
|
306
|
-
:type undo: bool | None
|
|
307
249
|
:param xmin: X Min
|
|
308
|
-
:type xmin: int | None
|
|
309
250
|
:param xmax: X Max
|
|
310
|
-
:type xmax: int | None
|
|
311
251
|
:param ymin: Y Min
|
|
312
|
-
:type ymin: int | None
|
|
313
252
|
:param ymax: Y Max
|
|
314
|
-
:type ymax: int | None
|
|
315
253
|
:param wait_for_input: Wait for Input
|
|
316
|
-
:type wait_for_input: bool | None
|
|
317
254
|
"""
|
|
318
255
|
|
|
319
256
|
def erase_lasso(
|
|
@@ -328,16 +265,10 @@ def erase_lasso(
|
|
|
328
265
|
) -> None:
|
|
329
266
|
"""Erase points in the lasso region
|
|
330
267
|
|
|
331
|
-
:type execution_context: int | str | None
|
|
332
|
-
:type undo: bool | None
|
|
333
268
|
:param path: Path
|
|
334
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
335
269
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
336
|
-
:type use_smooth_stroke: bool | None
|
|
337
270
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
338
|
-
:type smooth_stroke_factor: float | None
|
|
339
271
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
340
|
-
:type smooth_stroke_radius: int | None
|
|
341
272
|
"""
|
|
342
273
|
|
|
343
274
|
def extrude(
|
|
@@ -345,11 +276,7 @@ def extrude(
|
|
|
345
276
|
undo: bool | None = None,
|
|
346
277
|
/,
|
|
347
278
|
) -> None:
|
|
348
|
-
"""Extrude the selected points
|
|
349
|
-
|
|
350
|
-
:type execution_context: int | str | None
|
|
351
|
-
:type undo: bool | None
|
|
352
|
-
"""
|
|
279
|
+
"""Extrude the selected points"""
|
|
353
280
|
|
|
354
281
|
def extrude_move(
|
|
355
282
|
execution_context: int | str | None = None,
|
|
@@ -361,12 +288,8 @@ def extrude_move(
|
|
|
361
288
|
) -> None:
|
|
362
289
|
"""Extrude selected points and move them
|
|
363
290
|
|
|
364
|
-
:type execution_context: int | str | None
|
|
365
|
-
:type undo: bool | None
|
|
366
291
|
:param GREASE_PENCIL_OT_extrude: Extrude Stroke Points, Extrude the selected points
|
|
367
|
-
:type GREASE_PENCIL_OT_extrude: typing.Any | None
|
|
368
292
|
:param TRANSFORM_OT_translate: Move, Move selected items
|
|
369
|
-
:type TRANSFORM_OT_translate: bpy.ops.transform.translate | None
|
|
370
293
|
"""
|
|
371
294
|
|
|
372
295
|
def fill(
|
|
@@ -379,12 +302,8 @@ def fill(
|
|
|
379
302
|
) -> None:
|
|
380
303
|
"""Fill with color the shape formed by strokes
|
|
381
304
|
|
|
382
|
-
:type execution_context: int | str | None
|
|
383
|
-
:type undo: bool | None
|
|
384
305
|
:param invert: Invert, Find boundary of unfilled instead of filled regions
|
|
385
|
-
:type invert: bool | None
|
|
386
306
|
:param precision: Precision, Use precision movement for extension lines
|
|
387
|
-
:type precision: bool | None
|
|
388
307
|
"""
|
|
389
308
|
|
|
390
309
|
def frame_clean_duplicate(
|
|
@@ -396,10 +315,7 @@ def frame_clean_duplicate(
|
|
|
396
315
|
) -> None:
|
|
397
316
|
"""Remove any keyframe that is a duplicate of the previous one
|
|
398
317
|
|
|
399
|
-
:type execution_context: int | str | None
|
|
400
|
-
:type undo: bool | None
|
|
401
318
|
:param selected: Selected, Only delete selected keyframes
|
|
402
|
-
:type selected: bool | None
|
|
403
319
|
"""
|
|
404
320
|
|
|
405
321
|
def frame_duplicate(
|
|
@@ -411,10 +327,7 @@ def frame_duplicate(
|
|
|
411
327
|
) -> None:
|
|
412
328
|
"""Make a copy of the active Grease Pencil frame(s)
|
|
413
329
|
|
|
414
|
-
:type execution_context: int | str | None
|
|
415
|
-
:type undo: bool | None
|
|
416
330
|
:param all: Duplicate all, Duplicate active keyframes of all layer
|
|
417
|
-
:type all: bool | None
|
|
418
331
|
"""
|
|
419
332
|
|
|
420
333
|
def insert_blank_frame(
|
|
@@ -427,12 +340,8 @@ def insert_blank_frame(
|
|
|
427
340
|
) -> None:
|
|
428
341
|
"""Insert a blank frame on the current scene frame
|
|
429
342
|
|
|
430
|
-
:type execution_context: int | str | None
|
|
431
|
-
:type undo: bool | None
|
|
432
343
|
:param all_layers: All Layers, Insert a blank frame in all editable layers
|
|
433
|
-
:type all_layers: bool | None
|
|
434
344
|
:param duration: Duration
|
|
435
|
-
:type duration: int | None
|
|
436
345
|
"""
|
|
437
346
|
|
|
438
347
|
def interpolate(
|
|
@@ -450,22 +359,13 @@ def interpolate(
|
|
|
450
359
|
) -> None:
|
|
451
360
|
"""Interpolate Grease Pencil strokes between frames
|
|
452
361
|
|
|
453
|
-
:type execution_context: int | str | None
|
|
454
|
-
:type undo: bool | None
|
|
455
362
|
:param shift: Shift, Bias factor for which frame has more influence on the interpolated strokes
|
|
456
|
-
:type shift: float | None
|
|
457
363
|
:param layers: Layer, Layers included in the interpolation
|
|
458
|
-
:type layers: typing.Literal['ACTIVE','ALL'] | None
|
|
459
364
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
460
|
-
:type exclude_breakdowns: bool | None
|
|
461
365
|
:param use_selection: Use Selection, Use only selected strokes for interpolating
|
|
462
|
-
:type use_selection: bool | None
|
|
463
366
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
464
|
-
:type flip: typing.Literal['NONE','FLIP','AUTO'] | None
|
|
465
367
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
466
|
-
:type smooth_steps: int | None
|
|
467
368
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
468
|
-
:type smooth_factor: float | None
|
|
469
369
|
"""
|
|
470
370
|
|
|
471
371
|
def interpolate_sequence(
|
|
@@ -503,22 +403,13 @@ def interpolate_sequence(
|
|
|
503
403
|
) -> None:
|
|
504
404
|
"""Generate in-betweens to smoothly interpolate between Grease Pencil frames
|
|
505
405
|
|
|
506
|
-
:type execution_context: int | str | None
|
|
507
|
-
:type undo: bool | None
|
|
508
406
|
:param step: Step, Number of frames between generated interpolated frames
|
|
509
|
-
:type step: int | None
|
|
510
407
|
:param layers: Layer, Layers included in the interpolation
|
|
511
|
-
:type layers: typing.Literal['ACTIVE','ALL'] | None
|
|
512
408
|
:param exclude_breakdowns: Exclude Breakdowns, Exclude existing Breakdowns keyframes as interpolation extremes
|
|
513
|
-
:type exclude_breakdowns: bool | None
|
|
514
409
|
:param use_selection: Use Selection, Use only selected strokes for interpolating
|
|
515
|
-
:type use_selection: bool | None
|
|
516
410
|
:param flip: Flip Mode, Invert destination stroke to match start and end with source stroke
|
|
517
|
-
:type flip: typing.Literal['NONE','FLIP','AUTO'] | None
|
|
518
411
|
:param smooth_steps: Iterations, Number of times to smooth newly created strokes
|
|
519
|
-
:type smooth_steps: int | None
|
|
520
412
|
:param smooth_factor: Smooth, Amount of smoothing to apply to interpolated strokes, to reduce jitter/noise
|
|
521
|
-
:type smooth_factor: float | None
|
|
522
413
|
:param type: Type, Interpolation method to use the next time Interpolate Sequence is run
|
|
523
414
|
|
|
524
415
|
LINEAR
|
|
@@ -556,15 +447,10 @@ def interpolate_sequence(
|
|
|
556
447
|
|
|
557
448
|
ELASTIC
|
|
558
449
|
Elastic -- Exponentially decaying sine wave, like an elastic band.
|
|
559
|
-
:type type: typing.Literal['LINEAR','CUSTOM','SINE','QUAD','CUBIC','QUART','QUINT','EXPO','CIRC','BACK','BOUNCE','ELASTIC'] | None
|
|
560
450
|
:param easing: Easing, Which ends of the segment between the preceding and following Grease Pencil frames easing interpolation is applied to
|
|
561
|
-
:type easing: bpy.stub_internal.rna_enums.BeztripleInterpolationEasingItems | None
|
|
562
451
|
:param back: Back, Amount of overshoot for back easing
|
|
563
|
-
:type back: float | None
|
|
564
452
|
:param amplitude: Amplitude, Amount to boost elastic bounces for elastic easing
|
|
565
|
-
:type amplitude: float | None
|
|
566
453
|
:param period: Period, Time between bounces for elastic easing
|
|
567
|
-
:type period: float | None
|
|
568
454
|
"""
|
|
569
455
|
|
|
570
456
|
def join_selection(
|
|
@@ -576,8 +462,6 @@ def join_selection(
|
|
|
576
462
|
) -> None:
|
|
577
463
|
"""New stroke from selected points/strokes
|
|
578
464
|
|
|
579
|
-
:type execution_context: int | str | None
|
|
580
|
-
:type undo: bool | None
|
|
581
465
|
:param type: Type, Defines how the operator will behave on the selection in the active layer
|
|
582
466
|
|
|
583
467
|
JOINSTROKES
|
|
@@ -588,7 +472,6 @@ def join_selection(
|
|
|
588
472
|
|
|
589
473
|
SPLIT
|
|
590
474
|
Split -- Split the selected point to a new stroke.
|
|
591
|
-
:type type: typing.Literal['JOINSTROKES','SPLITCOPY','SPLIT'] | None
|
|
592
475
|
"""
|
|
593
476
|
|
|
594
477
|
def layer_active(
|
|
@@ -600,10 +483,7 @@ def layer_active(
|
|
|
600
483
|
) -> None:
|
|
601
484
|
"""Set the active Grease Pencil layer
|
|
602
485
|
|
|
603
|
-
:type execution_context: int | str | None
|
|
604
|
-
:type undo: bool | None
|
|
605
486
|
:param layer: Grease Pencil Layer
|
|
606
|
-
:type layer: int | None
|
|
607
487
|
"""
|
|
608
488
|
|
|
609
489
|
def layer_add(
|
|
@@ -615,10 +495,7 @@ def layer_add(
|
|
|
615
495
|
) -> None:
|
|
616
496
|
"""Add a new Grease Pencil layer in the active object
|
|
617
497
|
|
|
618
|
-
:type execution_context: int | str | None
|
|
619
|
-
:type undo: bool | None
|
|
620
498
|
:param new_layer_name: Name, Name of the new layer
|
|
621
|
-
:type new_layer_name: str
|
|
622
499
|
"""
|
|
623
500
|
|
|
624
501
|
def layer_duplicate(
|
|
@@ -630,10 +507,7 @@ def layer_duplicate(
|
|
|
630
507
|
) -> None:
|
|
631
508
|
"""Make a copy of the active Grease Pencil layer
|
|
632
509
|
|
|
633
|
-
:type execution_context: int | str | None
|
|
634
|
-
:type undo: bool | None
|
|
635
510
|
:param empty_keyframes: Empty Keyframes, Add Empty Keyframes
|
|
636
|
-
:type empty_keyframes: bool | None
|
|
637
511
|
"""
|
|
638
512
|
|
|
639
513
|
def layer_duplicate_object(
|
|
@@ -646,12 +520,8 @@ def layer_duplicate_object(
|
|
|
646
520
|
) -> None:
|
|
647
521
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
648
522
|
|
|
649
|
-
:type execution_context: int | str | None
|
|
650
|
-
:type undo: bool | None
|
|
651
523
|
:param only_active: Only Active, Copy only active Layer, uncheck to append all layers
|
|
652
|
-
:type only_active: bool | None
|
|
653
524
|
:param mode: Mode
|
|
654
|
-
:type mode: typing.Literal['ALL','ACTIVE'] | None
|
|
655
525
|
"""
|
|
656
526
|
|
|
657
527
|
def layer_group_add(
|
|
@@ -663,10 +533,7 @@ def layer_group_add(
|
|
|
663
533
|
) -> None:
|
|
664
534
|
"""Add a new Grease Pencil layer group in the active object
|
|
665
535
|
|
|
666
|
-
:type execution_context: int | str | None
|
|
667
|
-
:type undo: bool | None
|
|
668
536
|
:param new_layer_group_name: Name, Name of the new layer group
|
|
669
|
-
:type new_layer_group_name: str
|
|
670
537
|
"""
|
|
671
538
|
|
|
672
539
|
def layer_group_color_tag(
|
|
@@ -689,10 +556,7 @@ def layer_group_color_tag(
|
|
|
689
556
|
) -> None:
|
|
690
557
|
"""Change layer group icon
|
|
691
558
|
|
|
692
|
-
:type execution_context: int | str | None
|
|
693
|
-
:type undo: bool | None
|
|
694
559
|
:param color_tag: Color Tag
|
|
695
|
-
:type color_tag: typing.Literal['NONE','COLOR1','COLOR2','COLOR3','COLOR4','COLOR5','COLOR6','COLOR7','COLOR8'] | None
|
|
696
560
|
"""
|
|
697
561
|
|
|
698
562
|
def layer_group_remove(
|
|
@@ -704,10 +568,7 @@ def layer_group_remove(
|
|
|
704
568
|
) -> None:
|
|
705
569
|
"""Remove Grease Pencil layer group in the active object
|
|
706
570
|
|
|
707
|
-
:type execution_context: int | str | None
|
|
708
|
-
:type undo: bool | None
|
|
709
571
|
:param keep_children: Keep children nodes, Keep the children nodes of the group and only delete the group itself
|
|
710
|
-
:type keep_children: bool | None
|
|
711
572
|
"""
|
|
712
573
|
|
|
713
574
|
def layer_hide(
|
|
@@ -719,10 +580,7 @@ def layer_hide(
|
|
|
719
580
|
) -> None:
|
|
720
581
|
"""Hide selected/unselected Grease Pencil layers
|
|
721
582
|
|
|
722
|
-
:type execution_context: int | str | None
|
|
723
|
-
:type undo: bool | None
|
|
724
583
|
:param unselected: Unselected, Hide unselected rather than selected layers
|
|
725
|
-
:type unselected: bool | None
|
|
726
584
|
"""
|
|
727
585
|
|
|
728
586
|
def layer_isolate(
|
|
@@ -734,10 +592,7 @@ def layer_isolate(
|
|
|
734
592
|
) -> None:
|
|
735
593
|
"""Make only active layer visible/editable
|
|
736
594
|
|
|
737
|
-
:type execution_context: int | str | None
|
|
738
|
-
:type undo: bool | None
|
|
739
595
|
:param affect_visibility: Affect Visibility, Also affect the visibility
|
|
740
|
-
:type affect_visibility: bool | None
|
|
741
596
|
"""
|
|
742
597
|
|
|
743
598
|
def layer_lock_all(
|
|
@@ -749,10 +604,7 @@ def layer_lock_all(
|
|
|
749
604
|
) -> None:
|
|
750
605
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
751
606
|
|
|
752
|
-
:type execution_context: int | str | None
|
|
753
|
-
:type undo: bool | None
|
|
754
607
|
:param lock: Lock Value, Lock/Unlock all layers
|
|
755
|
-
:type lock: bool | None
|
|
756
608
|
"""
|
|
757
609
|
|
|
758
610
|
def layer_mask_add(
|
|
@@ -764,10 +616,7 @@ def layer_mask_add(
|
|
|
764
616
|
) -> None:
|
|
765
617
|
"""Add new layer as masking
|
|
766
618
|
|
|
767
|
-
:type execution_context: int | str | None
|
|
768
|
-
:type undo: bool | None
|
|
769
619
|
:param name: Layer, Name of the layer
|
|
770
|
-
:type name: str
|
|
771
620
|
"""
|
|
772
621
|
|
|
773
622
|
def layer_mask_remove(
|
|
@@ -775,11 +624,7 @@ def layer_mask_remove(
|
|
|
775
624
|
undo: bool | None = None,
|
|
776
625
|
/,
|
|
777
626
|
) -> None:
|
|
778
|
-
"""Remove Layer Mask
|
|
779
|
-
|
|
780
|
-
:type execution_context: int | str | None
|
|
781
|
-
:type undo: bool | None
|
|
782
|
-
"""
|
|
627
|
+
"""Remove Layer Mask"""
|
|
783
628
|
|
|
784
629
|
def layer_mask_reorder(
|
|
785
630
|
execution_context: int | str | None = None,
|
|
@@ -790,10 +635,7 @@ def layer_mask_reorder(
|
|
|
790
635
|
) -> None:
|
|
791
636
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
792
637
|
|
|
793
|
-
:type execution_context: int | str | None
|
|
794
|
-
:type undo: bool | None
|
|
795
638
|
:param direction: Direction
|
|
796
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
797
639
|
"""
|
|
798
640
|
|
|
799
641
|
def layer_merge(
|
|
@@ -805,8 +647,6 @@ def layer_merge(
|
|
|
805
647
|
) -> None:
|
|
806
648
|
"""Combine layers based on the mode into one layer
|
|
807
649
|
|
|
808
|
-
:type execution_context: int | str | None
|
|
809
|
-
:type undo: bool | None
|
|
810
650
|
:param mode: Mode
|
|
811
651
|
|
|
812
652
|
ACTIVE
|
|
@@ -817,7 +657,6 @@ def layer_merge(
|
|
|
817
657
|
|
|
818
658
|
ALL
|
|
819
659
|
All -- Combine all layers into a single layer.
|
|
820
|
-
:type mode: typing.Literal['ACTIVE','GROUP','ALL'] | None
|
|
821
660
|
"""
|
|
822
661
|
|
|
823
662
|
def layer_move(
|
|
@@ -829,10 +668,7 @@ def layer_move(
|
|
|
829
668
|
) -> None:
|
|
830
669
|
"""Move the active Grease Pencil layer or Group
|
|
831
670
|
|
|
832
|
-
:type execution_context: int | str | None
|
|
833
|
-
:type undo: bool | None
|
|
834
671
|
:param direction: Direction
|
|
835
|
-
:type direction: typing.Literal['UP','DOWN'] | None
|
|
836
672
|
"""
|
|
837
673
|
|
|
838
674
|
def layer_remove(
|
|
@@ -840,22 +676,14 @@ def layer_remove(
|
|
|
840
676
|
undo: bool | None = None,
|
|
841
677
|
/,
|
|
842
678
|
) -> None:
|
|
843
|
-
"""Remove the active Grease Pencil layer
|
|
844
|
-
|
|
845
|
-
:type execution_context: int | str | None
|
|
846
|
-
:type undo: bool | None
|
|
847
|
-
"""
|
|
679
|
+
"""Remove the active Grease Pencil layer"""
|
|
848
680
|
|
|
849
681
|
def layer_reveal(
|
|
850
682
|
execution_context: int | str | None = None,
|
|
851
683
|
undo: bool | None = None,
|
|
852
684
|
/,
|
|
853
685
|
) -> None:
|
|
854
|
-
"""Show all Grease Pencil layers
|
|
855
|
-
|
|
856
|
-
:type execution_context: int | str | None
|
|
857
|
-
:type undo: bool | None
|
|
858
|
-
"""
|
|
686
|
+
"""Show all Grease Pencil layers"""
|
|
859
687
|
|
|
860
688
|
def material_copy_to_object(
|
|
861
689
|
execution_context: int | str | None = None,
|
|
@@ -866,10 +694,7 @@ def material_copy_to_object(
|
|
|
866
694
|
) -> None:
|
|
867
695
|
"""Append Materials of the active Grease Pencil to other object
|
|
868
696
|
|
|
869
|
-
:type execution_context: int | str | None
|
|
870
|
-
:type undo: bool | None
|
|
871
697
|
:param only_active: Only Active, Append only active material, uncheck to append all materials
|
|
872
|
-
:type only_active: bool | None
|
|
873
698
|
"""
|
|
874
699
|
|
|
875
700
|
def material_hide(
|
|
@@ -881,10 +706,7 @@ def material_hide(
|
|
|
881
706
|
) -> None:
|
|
882
707
|
"""Hide active/inactive Grease Pencil material(s)
|
|
883
708
|
|
|
884
|
-
:type execution_context: int | str | None
|
|
885
|
-
:type undo: bool | None
|
|
886
709
|
:param invert: Invert, Hide inactive materials instead of the active one
|
|
887
|
-
:type invert: bool | None
|
|
888
710
|
"""
|
|
889
711
|
|
|
890
712
|
def material_isolate(
|
|
@@ -896,10 +718,7 @@ def material_isolate(
|
|
|
896
718
|
) -> None:
|
|
897
719
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
898
720
|
|
|
899
|
-
:type execution_context: int | str | None
|
|
900
|
-
:type undo: bool | None
|
|
901
721
|
:param affect_visibility: Affect Visibility, In addition to toggling the editability, also affect the visibility
|
|
902
|
-
:type affect_visibility: bool | None
|
|
903
722
|
"""
|
|
904
723
|
|
|
905
724
|
def material_lock_all(
|
|
@@ -907,44 +726,28 @@ def material_lock_all(
|
|
|
907
726
|
undo: bool | None = None,
|
|
908
727
|
/,
|
|
909
728
|
) -> None:
|
|
910
|
-
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
911
|
-
|
|
912
|
-
:type execution_context: int | str | None
|
|
913
|
-
:type undo: bool | None
|
|
914
|
-
"""
|
|
729
|
+
"""Lock all Grease Pencil materials to prevent them from being accidentally modified"""
|
|
915
730
|
|
|
916
731
|
def material_lock_unselected(
|
|
917
732
|
execution_context: int | str | None = None,
|
|
918
733
|
undo: bool | None = None,
|
|
919
734
|
/,
|
|
920
735
|
) -> None:
|
|
921
|
-
"""Lock any material not used in any selected stroke
|
|
922
|
-
|
|
923
|
-
:type execution_context: int | str | None
|
|
924
|
-
:type undo: bool | None
|
|
925
|
-
"""
|
|
736
|
+
"""Lock any material not used in any selected stroke"""
|
|
926
737
|
|
|
927
738
|
def material_lock_unused(
|
|
928
739
|
execution_context: int | str | None = None,
|
|
929
740
|
undo: bool | None = None,
|
|
930
741
|
/,
|
|
931
742
|
) -> None:
|
|
932
|
-
"""Lock and hide any material not used
|
|
933
|
-
|
|
934
|
-
:type execution_context: int | str | None
|
|
935
|
-
:type undo: bool | None
|
|
936
|
-
"""
|
|
743
|
+
"""Lock and hide any material not used"""
|
|
937
744
|
|
|
938
745
|
def material_reveal(
|
|
939
746
|
execution_context: int | str | None = None,
|
|
940
747
|
undo: bool | None = None,
|
|
941
748
|
/,
|
|
942
749
|
) -> None:
|
|
943
|
-
"""Unhide all hidden Grease Pencil materials
|
|
944
|
-
|
|
945
|
-
:type execution_context: int | str | None
|
|
946
|
-
:type undo: bool | None
|
|
947
|
-
"""
|
|
750
|
+
"""Unhide all hidden Grease Pencil materials"""
|
|
948
751
|
|
|
949
752
|
def material_select(
|
|
950
753
|
execution_context: int | str | None = None,
|
|
@@ -955,10 +758,7 @@ def material_select(
|
|
|
955
758
|
) -> None:
|
|
956
759
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
957
760
|
|
|
958
|
-
:type execution_context: int | str | None
|
|
959
|
-
:type undo: bool | None
|
|
960
761
|
:param deselect: Deselect, Unselect strokes
|
|
961
|
-
:type deselect: bool | None
|
|
962
762
|
"""
|
|
963
763
|
|
|
964
764
|
def material_unlock_all(
|
|
@@ -966,11 +766,7 @@ def material_unlock_all(
|
|
|
966
766
|
undo: bool | None = None,
|
|
967
767
|
/,
|
|
968
768
|
) -> None:
|
|
969
|
-
"""Unlock all Grease Pencil materials so that they can be edited
|
|
970
|
-
|
|
971
|
-
:type execution_context: int | str | None
|
|
972
|
-
:type undo: bool | None
|
|
973
|
-
"""
|
|
769
|
+
"""Unlock all Grease Pencil materials so that they can be edited"""
|
|
974
770
|
|
|
975
771
|
def move_to_layer(
|
|
976
772
|
execution_context: int | str | None = None,
|
|
@@ -982,12 +778,8 @@ def move_to_layer(
|
|
|
982
778
|
) -> None:
|
|
983
779
|
"""Move selected strokes to another layer
|
|
984
780
|
|
|
985
|
-
:type execution_context: int | str | None
|
|
986
|
-
:type undo: bool | None
|
|
987
781
|
:param target_layer_name: Name, Target Grease Pencil Layer
|
|
988
|
-
:type target_layer_name: str
|
|
989
782
|
:param add_new_layer: New Layer, Move selection to a new layer
|
|
990
|
-
:type add_new_layer: bool | None
|
|
991
783
|
"""
|
|
992
784
|
|
|
993
785
|
def outline(
|
|
@@ -1003,16 +795,10 @@ def outline(
|
|
|
1003
795
|
) -> None:
|
|
1004
796
|
"""Convert selected strokes to perimeter
|
|
1005
797
|
|
|
1006
|
-
:type execution_context: int | str | None
|
|
1007
|
-
:type undo: bool | None
|
|
1008
798
|
:param type: Projection Mode
|
|
1009
|
-
:type type: typing.Literal['VIEW','FRONT','SIDE','TOP','CURSOR','CAMERA'] | None
|
|
1010
799
|
:param radius: Radius
|
|
1011
|
-
:type radius: float | None
|
|
1012
800
|
:param offset_factor: Offset Factor
|
|
1013
|
-
:type offset_factor: float | None
|
|
1014
801
|
:param corner_subdivisions: Corner Subdivisions
|
|
1015
|
-
:type corner_subdivisions: int | None
|
|
1016
802
|
"""
|
|
1017
803
|
|
|
1018
804
|
def paintmode_toggle(
|
|
@@ -1024,10 +810,7 @@ def paintmode_toggle(
|
|
|
1024
810
|
) -> None:
|
|
1025
811
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
1026
812
|
|
|
1027
|
-
:type execution_context: int | str | None
|
|
1028
|
-
:type undo: bool | None
|
|
1029
813
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1030
|
-
:type back: bool | None
|
|
1031
814
|
"""
|
|
1032
815
|
|
|
1033
816
|
def paste(
|
|
@@ -1041,14 +824,9 @@ def paste(
|
|
|
1041
824
|
) -> None:
|
|
1042
825
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
1043
826
|
|
|
1044
|
-
:type execution_context: int | str | None
|
|
1045
|
-
:type undo: bool | None
|
|
1046
827
|
:param type: Type
|
|
1047
|
-
:type type: typing.Literal['ACTIVE','LAYER'] | None
|
|
1048
828
|
:param paste_back: Paste on Back, Add pasted strokes behind all strokes
|
|
1049
|
-
:type paste_back: bool | None
|
|
1050
829
|
:param keep_world_transform: Keep World Transform, Keep the world transform of strokes from the clipboard unchanged
|
|
1051
|
-
:type keep_world_transform: bool | None
|
|
1052
830
|
"""
|
|
1053
831
|
|
|
1054
832
|
def pen(
|
|
@@ -1073,36 +851,20 @@ def pen(
|
|
|
1073
851
|
) -> None:
|
|
1074
852
|
"""Construct and edit splines
|
|
1075
853
|
|
|
1076
|
-
:type execution_context: int | str | None
|
|
1077
|
-
:type undo: bool | None
|
|
1078
854
|
:param extend: Extend, Extend selection instead of deselecting everything first
|
|
1079
|
-
:type extend: bool | None
|
|
1080
855
|
:param deselect: Deselect, Remove from selection
|
|
1081
|
-
:type deselect: bool | None
|
|
1082
856
|
:param toggle: Toggle Selection, Toggle the selection
|
|
1083
|
-
:type toggle: bool | None
|
|
1084
857
|
:param deselect_all: Deselect On Nothing, Deselect all when nothing under the cursor
|
|
1085
|
-
:type deselect_all: bool | None
|
|
1086
858
|
:param select_passthrough: Only Select Unselected, Ignore the select action when the element is already selected
|
|
1087
|
-
:type select_passthrough: bool | None
|
|
1088
859
|
:param extrude_point: Extrude Point, Add a point connected to the last selected point
|
|
1089
|
-
:type extrude_point: bool | None
|
|
1090
860
|
:param extrude_handle: Extrude Handle Type, Type of the extruded handle
|
|
1091
|
-
:type extrude_handle: typing.Literal['AUTO','VECTOR'] | None
|
|
1092
861
|
:param delete_point: Delete Point, Delete an existing point
|
|
1093
|
-
:type delete_point: bool | None
|
|
1094
862
|
:param insert_point: Insert Point, Insert Point into a curve segment
|
|
1095
|
-
:type insert_point: bool | None
|
|
1096
863
|
:param move_segment: Move Segment, Delete an existing point
|
|
1097
|
-
:type move_segment: bool | None
|
|
1098
864
|
:param select_point: Select Point, Select a point or its handles
|
|
1099
|
-
:type select_point: bool | None
|
|
1100
865
|
:param move_point: Move Point, Move a point or its handles
|
|
1101
|
-
:type move_point: bool | None
|
|
1102
866
|
:param cycle_handle_type: Cycle Handle Type, Cycle between all four handle types
|
|
1103
|
-
:type cycle_handle_type: bool | None
|
|
1104
867
|
:param size: Size, Diameter of new points
|
|
1105
|
-
:type size: float | None
|
|
1106
868
|
"""
|
|
1107
869
|
|
|
1108
870
|
def primitive_arc(
|
|
@@ -1116,12 +878,8 @@ def primitive_arc(
|
|
|
1116
878
|
) -> None:
|
|
1117
879
|
"""Create predefined Grease Pencil stroke arcs
|
|
1118
880
|
|
|
1119
|
-
:type execution_context: int | str | None
|
|
1120
|
-
:type undo: bool | None
|
|
1121
881
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1122
|
-
:type subdivision: int | None
|
|
1123
882
|
:param type: Type, Type of shape
|
|
1124
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1125
883
|
"""
|
|
1126
884
|
|
|
1127
885
|
def primitive_box(
|
|
@@ -1135,12 +893,8 @@ def primitive_box(
|
|
|
1135
893
|
) -> None:
|
|
1136
894
|
"""Create predefined Grease Pencil stroke boxes
|
|
1137
895
|
|
|
1138
|
-
:type execution_context: int | str | None
|
|
1139
|
-
:type undo: bool | None
|
|
1140
896
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1141
|
-
:type subdivision: int | None
|
|
1142
897
|
:param type: Type, Type of shape
|
|
1143
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1144
898
|
"""
|
|
1145
899
|
|
|
1146
900
|
def primitive_circle(
|
|
@@ -1154,12 +908,8 @@ def primitive_circle(
|
|
|
1154
908
|
) -> None:
|
|
1155
909
|
"""Create predefined Grease Pencil stroke circles
|
|
1156
910
|
|
|
1157
|
-
:type execution_context: int | str | None
|
|
1158
|
-
:type undo: bool | None
|
|
1159
911
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1160
|
-
:type subdivision: int | None
|
|
1161
912
|
:param type: Type, Type of shape
|
|
1162
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1163
913
|
"""
|
|
1164
914
|
|
|
1165
915
|
def primitive_curve(
|
|
@@ -1173,12 +923,8 @@ def primitive_curve(
|
|
|
1173
923
|
) -> None:
|
|
1174
924
|
"""Create predefined Grease Pencil stroke curve shapes
|
|
1175
925
|
|
|
1176
|
-
:type execution_context: int | str | None
|
|
1177
|
-
:type undo: bool | None
|
|
1178
926
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1179
|
-
:type subdivision: int | None
|
|
1180
927
|
:param type: Type, Type of shape
|
|
1181
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1182
928
|
"""
|
|
1183
929
|
|
|
1184
930
|
def primitive_line(
|
|
@@ -1192,12 +938,8 @@ def primitive_line(
|
|
|
1192
938
|
) -> None:
|
|
1193
939
|
"""Create predefined Grease Pencil stroke lines
|
|
1194
940
|
|
|
1195
|
-
:type execution_context: int | str | None
|
|
1196
|
-
:type undo: bool | None
|
|
1197
941
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1198
|
-
:type subdivision: int | None
|
|
1199
942
|
:param type: Type, Type of shape
|
|
1200
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1201
943
|
"""
|
|
1202
944
|
|
|
1203
945
|
def primitive_polyline(
|
|
@@ -1211,12 +953,8 @@ def primitive_polyline(
|
|
|
1211
953
|
) -> None:
|
|
1212
954
|
"""Create predefined Grease Pencil stroke polylines
|
|
1213
955
|
|
|
1214
|
-
:type execution_context: int | str | None
|
|
1215
|
-
:type undo: bool | None
|
|
1216
956
|
:param subdivision: Subdivisions, Number of subdivisions per segment
|
|
1217
|
-
:type subdivision: int | None
|
|
1218
957
|
:param type: Type, Type of shape
|
|
1219
|
-
:type type: typing.Literal['BOX','LINE','POLYLINE','CIRCLE','ARC','CURVE'] | None
|
|
1220
958
|
"""
|
|
1221
959
|
|
|
1222
960
|
def relative_layer_mask_add(
|
|
@@ -1228,10 +966,7 @@ def relative_layer_mask_add(
|
|
|
1228
966
|
) -> None:
|
|
1229
967
|
"""Mask active layer with layer above or below
|
|
1230
968
|
|
|
1231
|
-
:type execution_context: int | str | None
|
|
1232
|
-
:type undo: bool | None
|
|
1233
969
|
:param mode: Mode, Which relative layer (above or below) to use as a mask
|
|
1234
|
-
:type mode: typing.Literal['ABOVE','BELOW'] | None
|
|
1235
970
|
"""
|
|
1236
971
|
|
|
1237
972
|
def remove_fill_guides(
|
|
@@ -1243,10 +978,7 @@ def remove_fill_guides(
|
|
|
1243
978
|
) -> None:
|
|
1244
979
|
"""Remove all the strokes that were created from the fill tool as guides
|
|
1245
980
|
|
|
1246
|
-
:type execution_context: int | str | None
|
|
1247
|
-
:type undo: bool | None
|
|
1248
981
|
:param mode: Mode
|
|
1249
|
-
:type mode: typing.Literal['ACTIVE_FRAME','ALL_FRAMES'] | None
|
|
1250
982
|
"""
|
|
1251
983
|
|
|
1252
984
|
def reorder(
|
|
@@ -1258,10 +990,7 @@ def reorder(
|
|
|
1258
990
|
) -> None:
|
|
1259
991
|
"""Change the display order of the selected strokes
|
|
1260
992
|
|
|
1261
|
-
:type execution_context: int | str | None
|
|
1262
|
-
:type undo: bool | None
|
|
1263
993
|
:param direction: Direction
|
|
1264
|
-
:type direction: typing.Literal['TOP','UP','DOWN','BOTTOM'] | None
|
|
1265
994
|
"""
|
|
1266
995
|
|
|
1267
996
|
def reproject(
|
|
@@ -1276,8 +1005,6 @@ def reproject(
|
|
|
1276
1005
|
) -> None:
|
|
1277
1006
|
"""Reproject the selected strokes from the current viewpoint as if they had been newly drawn (e.g. to fix problems from accidental 3D cursor movement or accidental viewport changes, or for matching deforming geometry)
|
|
1278
1007
|
|
|
1279
|
-
:type execution_context: int | str | None
|
|
1280
|
-
:type undo: bool | None
|
|
1281
1008
|
:param type: Projection Type
|
|
1282
1009
|
|
|
1283
1010
|
FRONT
|
|
@@ -1297,11 +1024,8 @@ def reproject(
|
|
|
1297
1024
|
|
|
1298
1025
|
CURSOR
|
|
1299
1026
|
Cursor -- Reproject the strokes using the orientation of 3D cursor.
|
|
1300
|
-
:type type: typing.Literal['FRONT','SIDE','TOP','VIEW','SURFACE','CURSOR'] | None
|
|
1301
1027
|
:param keep_original: Keep Original, Keep original strokes and create a copy before reprojecting
|
|
1302
|
-
:type keep_original: bool | None
|
|
1303
1028
|
:param offset: Surface Offset
|
|
1304
|
-
:type offset: float | None
|
|
1305
1029
|
"""
|
|
1306
1030
|
|
|
1307
1031
|
def reset_uvs(
|
|
@@ -1309,11 +1033,7 @@ def reset_uvs(
|
|
|
1309
1033
|
undo: bool | None = None,
|
|
1310
1034
|
/,
|
|
1311
1035
|
) -> None:
|
|
1312
|
-
"""Reset UV transformation to default values
|
|
1313
|
-
|
|
1314
|
-
:type execution_context: int | str | None
|
|
1315
|
-
:type undo: bool | None
|
|
1316
|
-
"""
|
|
1036
|
+
"""Reset UV transformation to default values"""
|
|
1317
1037
|
|
|
1318
1038
|
def sculpt_paint(
|
|
1319
1039
|
execution_context: int | str | None = None,
|
|
@@ -1327,10 +1047,7 @@ def sculpt_paint(
|
|
|
1327
1047
|
) -> None:
|
|
1328
1048
|
"""Sculpt strokes in the active Grease Pencil object
|
|
1329
1049
|
|
|
1330
|
-
:type execution_context: int | str | None
|
|
1331
|
-
:type undo: bool | None
|
|
1332
1050
|
:param stroke: Stroke
|
|
1333
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
1334
1051
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
1335
1052
|
|
|
1336
1053
|
NORMAL
|
|
@@ -1344,9 +1061,7 @@ def sculpt_paint(
|
|
|
1344
1061
|
|
|
1345
1062
|
ERASE
|
|
1346
1063
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
1347
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
1348
1064
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
1349
|
-
:type pen_flip: bool | None
|
|
1350
1065
|
"""
|
|
1351
1066
|
|
|
1352
1067
|
def sculptmode_toggle(
|
|
@@ -1358,10 +1073,7 @@ def sculptmode_toggle(
|
|
|
1358
1073
|
) -> None:
|
|
1359
1074
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1360
1075
|
|
|
1361
|
-
:type execution_context: int | str | None
|
|
1362
|
-
:type undo: bool | None
|
|
1363
1076
|
:param back: Return to Previous Mode, Return to previous mode
|
|
1364
|
-
:type back: bool | None
|
|
1365
1077
|
"""
|
|
1366
1078
|
|
|
1367
1079
|
def select_all(
|
|
@@ -1373,8 +1085,6 @@ def select_all(
|
|
|
1373
1085
|
) -> None:
|
|
1374
1086
|
"""(De)select all visible strokes
|
|
1375
1087
|
|
|
1376
|
-
:type execution_context: int | str | None
|
|
1377
|
-
:type undo: bool | None
|
|
1378
1088
|
:param action: Action, Selection action to execute
|
|
1379
1089
|
|
|
1380
1090
|
TOGGLE
|
|
@@ -1388,7 +1098,6 @@ def select_all(
|
|
|
1388
1098
|
|
|
1389
1099
|
INVERT
|
|
1390
1100
|
Invert -- Invert selection of all elements.
|
|
1391
|
-
:type action: typing.Literal['TOGGLE','SELECT','DESELECT','INVERT'] | None
|
|
1392
1101
|
"""
|
|
1393
1102
|
|
|
1394
1103
|
def select_alternate(
|
|
@@ -1400,10 +1109,7 @@ def select_alternate(
|
|
|
1400
1109
|
) -> None:
|
|
1401
1110
|
"""Select alternated points in strokes with already selected points
|
|
1402
1111
|
|
|
1403
|
-
:type execution_context: int | str | None
|
|
1404
|
-
:type undo: bool | None
|
|
1405
1112
|
:param deselect_ends: Deselect Ends, (De)select the first and last point of each stroke
|
|
1406
|
-
:type deselect_ends: bool | None
|
|
1407
1113
|
"""
|
|
1408
1114
|
|
|
1409
1115
|
def select_ends(
|
|
@@ -1416,12 +1122,8 @@ def select_ends(
|
|
|
1416
1122
|
) -> None:
|
|
1417
1123
|
"""Select end points of strokes
|
|
1418
1124
|
|
|
1419
|
-
:type execution_context: int | str | None
|
|
1420
|
-
:type undo: bool | None
|
|
1421
1125
|
:param amount_start: Amount Start, Number of points to select from the start
|
|
1422
|
-
:type amount_start: int | None
|
|
1423
1126
|
:param amount_end: Amount End, Number of points to select from the end
|
|
1424
|
-
:type amount_end: int | None
|
|
1425
1127
|
"""
|
|
1426
1128
|
|
|
1427
1129
|
def select_less(
|
|
@@ -1429,33 +1131,21 @@ def select_less(
|
|
|
1429
1131
|
undo: bool | None = None,
|
|
1430
1132
|
/,
|
|
1431
1133
|
) -> None:
|
|
1432
|
-
"""Shrink the selection by one point
|
|
1433
|
-
|
|
1434
|
-
:type execution_context: int | str | None
|
|
1435
|
-
:type undo: bool | None
|
|
1436
|
-
"""
|
|
1134
|
+
"""Shrink the selection by one point"""
|
|
1437
1135
|
|
|
1438
1136
|
def select_linked(
|
|
1439
1137
|
execution_context: int | str | None = None,
|
|
1440
1138
|
undo: bool | None = None,
|
|
1441
1139
|
/,
|
|
1442
1140
|
) -> None:
|
|
1443
|
-
"""Select all points in curves with any point selection
|
|
1444
|
-
|
|
1445
|
-
:type execution_context: int | str | None
|
|
1446
|
-
:type undo: bool | None
|
|
1447
|
-
"""
|
|
1141
|
+
"""Select all points in curves with any point selection"""
|
|
1448
1142
|
|
|
1449
1143
|
def select_more(
|
|
1450
1144
|
execution_context: int | str | None = None,
|
|
1451
1145
|
undo: bool | None = None,
|
|
1452
1146
|
/,
|
|
1453
1147
|
) -> None:
|
|
1454
|
-
"""Grow the selection by one point
|
|
1455
|
-
|
|
1456
|
-
:type execution_context: int | str | None
|
|
1457
|
-
:type undo: bool | None
|
|
1458
|
-
"""
|
|
1148
|
+
"""Grow the selection by one point"""
|
|
1459
1149
|
|
|
1460
1150
|
def select_random(
|
|
1461
1151
|
execution_context: int | str | None = None,
|
|
@@ -1468,12 +1158,8 @@ def select_random(
|
|
|
1468
1158
|
) -> None:
|
|
1469
1159
|
"""Selects random points from the current strokes selection
|
|
1470
1160
|
|
|
1471
|
-
:type execution_context: int | str | None
|
|
1472
|
-
:type undo: bool | None
|
|
1473
1161
|
:param ratio: Ratio, Portion of items to select randomly
|
|
1474
|
-
:type ratio: float | None
|
|
1475
1162
|
:param seed: Random Seed, Seed for the random number generator
|
|
1476
|
-
:type seed: int | None
|
|
1477
1163
|
:param action: Action, Selection action to execute
|
|
1478
1164
|
|
|
1479
1165
|
SELECT
|
|
@@ -1481,7 +1167,6 @@ def select_random(
|
|
|
1481
1167
|
|
|
1482
1168
|
DESELECT
|
|
1483
1169
|
Deselect -- Deselect all elements.
|
|
1484
|
-
:type action: typing.Literal['SELECT','DESELECT'] | None
|
|
1485
1170
|
"""
|
|
1486
1171
|
|
|
1487
1172
|
def select_similar(
|
|
@@ -1495,12 +1180,8 @@ def select_similar(
|
|
|
1495
1180
|
) -> None:
|
|
1496
1181
|
"""Select all strokes with similar characteristics
|
|
1497
1182
|
|
|
1498
|
-
:type execution_context: int | str | None
|
|
1499
|
-
:type undo: bool | None
|
|
1500
1183
|
:param mode: Mode
|
|
1501
|
-
:type mode: typing.Literal['LAYER','MATERIAL','VERTEX_COLOR','RADIUS','OPACITY'] | None
|
|
1502
1184
|
:param threshold: Threshold
|
|
1503
|
-
:type threshold: float | None
|
|
1504
1185
|
"""
|
|
1505
1186
|
|
|
1506
1187
|
def separate(
|
|
@@ -1512,8 +1193,6 @@ def separate(
|
|
|
1512
1193
|
) -> None:
|
|
1513
1194
|
"""Separate the selected geometry into a new Grease Pencil object
|
|
1514
1195
|
|
|
1515
|
-
:type execution_context: int | str | None
|
|
1516
|
-
:type undo: bool | None
|
|
1517
1196
|
:param mode: Mode
|
|
1518
1197
|
|
|
1519
1198
|
SELECTED
|
|
@@ -1524,7 +1203,6 @@ def separate(
|
|
|
1524
1203
|
|
|
1525
1204
|
LAYER
|
|
1526
1205
|
By Layer -- Separate by layer.
|
|
1527
|
-
:type mode: typing.Literal['SELECTED','MATERIAL','LAYER'] | None
|
|
1528
1206
|
"""
|
|
1529
1207
|
|
|
1530
1208
|
def set_active_material(
|
|
@@ -1532,11 +1210,7 @@ def set_active_material(
|
|
|
1532
1210
|
undo: bool | None = None,
|
|
1533
1211
|
/,
|
|
1534
1212
|
) -> None:
|
|
1535
|
-
"""Set the selected stroke material as the active material
|
|
1536
|
-
|
|
1537
|
-
:type execution_context: int | str | None
|
|
1538
|
-
:type undo: bool | None
|
|
1539
|
-
"""
|
|
1213
|
+
"""Set the selected stroke material as the active material"""
|
|
1540
1214
|
|
|
1541
1215
|
def set_corner_type(
|
|
1542
1216
|
execution_context: int | str | None = None,
|
|
@@ -1548,12 +1222,8 @@ def set_corner_type(
|
|
|
1548
1222
|
) -> None:
|
|
1549
1223
|
"""Set the corner type of the selected points
|
|
1550
1224
|
|
|
1551
|
-
:type execution_context: int | str | None
|
|
1552
|
-
:type undo: bool | None
|
|
1553
1225
|
:param corner_type: Corner Type
|
|
1554
|
-
:type corner_type: typing.Literal['ROUND','FLAT','SHARP'] | None
|
|
1555
1226
|
:param miter_angle: Miter Cut Angle, All corners sharper than the Miter angle will be cut flat
|
|
1556
|
-
:type miter_angle: float | None
|
|
1557
1227
|
"""
|
|
1558
1228
|
|
|
1559
1229
|
def set_curve_resolution(
|
|
@@ -1565,10 +1235,7 @@ def set_curve_resolution(
|
|
|
1565
1235
|
) -> None:
|
|
1566
1236
|
"""Set resolution of selected curves
|
|
1567
1237
|
|
|
1568
|
-
:type execution_context: int | str | None
|
|
1569
|
-
:type undo: bool | None
|
|
1570
1238
|
:param resolution: Resolution, The resolution to use for each curve segment
|
|
1571
|
-
:type resolution: int | None
|
|
1572
1239
|
"""
|
|
1573
1240
|
|
|
1574
1241
|
def set_curve_type(
|
|
@@ -1581,12 +1248,8 @@ def set_curve_type(
|
|
|
1581
1248
|
) -> None:
|
|
1582
1249
|
"""Set type of selected curves
|
|
1583
1250
|
|
|
1584
|
-
:type execution_context: int | str | None
|
|
1585
|
-
:type undo: bool | None
|
|
1586
1251
|
:param type: Type, Curve type
|
|
1587
|
-
:type type: bpy.stub_internal.rna_enums.CurvesTypeItems | None
|
|
1588
1252
|
:param use_handles: Handles, Take handle information into account in the conversion
|
|
1589
|
-
:type use_handles: bool | None
|
|
1590
1253
|
"""
|
|
1591
1254
|
|
|
1592
1255
|
def set_handle_type(
|
|
@@ -1599,8 +1262,6 @@ def set_handle_type(
|
|
|
1599
1262
|
) -> None:
|
|
1600
1263
|
"""Set the handle type for Bézier curves
|
|
1601
1264
|
|
|
1602
|
-
:type execution_context: int | str | None
|
|
1603
|
-
:type undo: bool | None
|
|
1604
1265
|
:param type: Type
|
|
1605
1266
|
|
|
1606
1267
|
AUTO
|
|
@@ -1617,7 +1278,6 @@ def set_handle_type(
|
|
|
1617
1278
|
|
|
1618
1279
|
TOGGLE_FREE_ALIGN
|
|
1619
1280
|
Toggle Free/Align -- Replace Free handles with Align, and all Align with Free handles.
|
|
1620
|
-
:type type: typing.Literal['AUTO','VECTOR','ALIGN','FREE_ALIGN','TOGGLE_FREE_ALIGN'] | None
|
|
1621
1281
|
"""
|
|
1622
1282
|
|
|
1623
1283
|
def set_material(
|
|
@@ -1629,10 +1289,7 @@ def set_material(
|
|
|
1629
1289
|
) -> None:
|
|
1630
1290
|
"""Set active material
|
|
1631
1291
|
|
|
1632
|
-
:type execution_context: int | str | None
|
|
1633
|
-
:type undo: bool | None
|
|
1634
1292
|
:param slot: Material Slot
|
|
1635
|
-
:type slot: str | None
|
|
1636
1293
|
"""
|
|
1637
1294
|
|
|
1638
1295
|
def set_selection_mode(
|
|
@@ -1644,10 +1301,7 @@ def set_selection_mode(
|
|
|
1644
1301
|
) -> None:
|
|
1645
1302
|
"""Change the selection mode for Grease Pencil strokes
|
|
1646
1303
|
|
|
1647
|
-
:type execution_context: int | str | None
|
|
1648
|
-
:type undo: bool | None
|
|
1649
1304
|
:param mode: Mode
|
|
1650
|
-
:type mode: bpy.stub_internal.rna_enums.GreasePencilSelectmodeItems | None
|
|
1651
1305
|
"""
|
|
1652
1306
|
|
|
1653
1307
|
def set_start_point(
|
|
@@ -1655,11 +1309,7 @@ def set_start_point(
|
|
|
1655
1309
|
undo: bool | None = None,
|
|
1656
1310
|
/,
|
|
1657
1311
|
) -> None:
|
|
1658
|
-
"""Select which point is the beginning of the curve
|
|
1659
|
-
|
|
1660
|
-
:type execution_context: int | str | None
|
|
1661
|
-
:type undo: bool | None
|
|
1662
|
-
"""
|
|
1312
|
+
"""Select which point is the beginning of the curve"""
|
|
1663
1313
|
|
|
1664
1314
|
def set_uniform_opacity(
|
|
1665
1315
|
execution_context: int | str | None = None,
|
|
@@ -1671,12 +1321,8 @@ def set_uniform_opacity(
|
|
|
1671
1321
|
) -> None:
|
|
1672
1322
|
"""Set all stroke points to same opacity
|
|
1673
1323
|
|
|
1674
|
-
:type execution_context: int | str | None
|
|
1675
|
-
:type undo: bool | None
|
|
1676
1324
|
:param opacity_stroke: Stroke Opacity
|
|
1677
|
-
:type opacity_stroke: float | None
|
|
1678
1325
|
:param opacity_fill: Fill Opacity
|
|
1679
|
-
:type opacity_fill: float | None
|
|
1680
1326
|
"""
|
|
1681
1327
|
|
|
1682
1328
|
def set_uniform_thickness(
|
|
@@ -1688,10 +1334,7 @@ def set_uniform_thickness(
|
|
|
1688
1334
|
) -> None:
|
|
1689
1335
|
"""Set all stroke points to same thickness
|
|
1690
1336
|
|
|
1691
|
-
:type execution_context: int | str | None
|
|
1692
|
-
:type undo: bool | None
|
|
1693
1337
|
:param thickness: Thickness, Thickness
|
|
1694
|
-
:type thickness: float | None
|
|
1695
1338
|
"""
|
|
1696
1339
|
|
|
1697
1340
|
def snap_cursor_to_selected(
|
|
@@ -1699,11 +1342,7 @@ def snap_cursor_to_selected(
|
|
|
1699
1342
|
undo: bool | None = None,
|
|
1700
1343
|
/,
|
|
1701
1344
|
) -> None:
|
|
1702
|
-
"""Snap cursor to center of selected points
|
|
1703
|
-
|
|
1704
|
-
:type execution_context: int | str | None
|
|
1705
|
-
:type undo: bool | None
|
|
1706
|
-
"""
|
|
1345
|
+
"""Snap cursor to center of selected points"""
|
|
1707
1346
|
|
|
1708
1347
|
def snap_to_cursor(
|
|
1709
1348
|
execution_context: int | str | None = None,
|
|
@@ -1714,10 +1353,7 @@ def snap_to_cursor(
|
|
|
1714
1353
|
) -> None:
|
|
1715
1354
|
"""Snap selected points/strokes to the cursor
|
|
1716
1355
|
|
|
1717
|
-
:type execution_context: int | str | None
|
|
1718
|
-
:type undo: bool | None
|
|
1719
1356
|
:param use_offset: With Offset, Offset the entire stroke instead of selected points only
|
|
1720
|
-
:type use_offset: bool | None
|
|
1721
1357
|
"""
|
|
1722
1358
|
|
|
1723
1359
|
def snap_to_grid(
|
|
@@ -1725,11 +1361,7 @@ def snap_to_grid(
|
|
|
1725
1361
|
undo: bool | None = None,
|
|
1726
1362
|
/,
|
|
1727
1363
|
) -> None:
|
|
1728
|
-
"""Snap selected points to the nearest grid points
|
|
1729
|
-
|
|
1730
|
-
:type execution_context: int | str | None
|
|
1731
|
-
:type undo: bool | None
|
|
1732
|
-
"""
|
|
1364
|
+
"""Snap selected points to the nearest grid points"""
|
|
1733
1365
|
|
|
1734
1366
|
def stroke_material_set(
|
|
1735
1367
|
execution_context: int | str | None = None,
|
|
@@ -1740,10 +1372,7 @@ def stroke_material_set(
|
|
|
1740
1372
|
) -> None:
|
|
1741
1373
|
"""Assign the active material slot to the selected strokes
|
|
1742
1374
|
|
|
1743
|
-
:type execution_context: int | str | None
|
|
1744
|
-
:type undo: bool | None
|
|
1745
1375
|
:param material: Material, Name of the material
|
|
1746
|
-
:type material: str
|
|
1747
1376
|
"""
|
|
1748
1377
|
|
|
1749
1378
|
def stroke_merge_by_distance(
|
|
@@ -1756,12 +1385,8 @@ def stroke_merge_by_distance(
|
|
|
1756
1385
|
) -> None:
|
|
1757
1386
|
"""Merge points by distance
|
|
1758
1387
|
|
|
1759
|
-
:type execution_context: int | str | None
|
|
1760
|
-
:type undo: bool | None
|
|
1761
1388
|
:param threshold: Threshold
|
|
1762
|
-
:type threshold: float | None
|
|
1763
1389
|
:param use_unselected: Unselected, Use whole stroke, not only selected points
|
|
1764
|
-
:type use_unselected: bool | None
|
|
1765
1390
|
"""
|
|
1766
1391
|
|
|
1767
1392
|
def stroke_reset_vertex_color(
|
|
@@ -1773,10 +1398,7 @@ def stroke_reset_vertex_color(
|
|
|
1773
1398
|
) -> None:
|
|
1774
1399
|
"""Reset vertex color for all or selected strokes
|
|
1775
1400
|
|
|
1776
|
-
:type execution_context: int | str | None
|
|
1777
|
-
:type undo: bool | None
|
|
1778
1401
|
:param mode: Mode
|
|
1779
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
1780
1402
|
"""
|
|
1781
1403
|
|
|
1782
1404
|
def stroke_simplify(
|
|
@@ -1792,16 +1414,10 @@ def stroke_simplify(
|
|
|
1792
1414
|
) -> None:
|
|
1793
1415
|
"""Simplify selected strokes
|
|
1794
1416
|
|
|
1795
|
-
:type execution_context: int | str | None
|
|
1796
|
-
:type undo: bool | None
|
|
1797
1417
|
:param factor: Factor
|
|
1798
|
-
:type factor: float | None
|
|
1799
1418
|
:param length: Length
|
|
1800
|
-
:type length: float | None
|
|
1801
1419
|
:param distance: Distance
|
|
1802
|
-
:type distance: float | None
|
|
1803
1420
|
:param steps: Steps
|
|
1804
|
-
:type steps: int | None
|
|
1805
1421
|
:param mode: Mode, Method used for simplifying stroke points
|
|
1806
1422
|
|
|
1807
1423
|
FIXED
|
|
@@ -1815,7 +1431,6 @@ def stroke_simplify(
|
|
|
1815
1431
|
|
|
1816
1432
|
MERGE
|
|
1817
1433
|
Merge -- Simplify the stroke by merging vertices closer than a given distance.
|
|
1818
|
-
:type mode: typing.Literal['FIXED','ADAPTIVE','SAMPLE','MERGE'] | None
|
|
1819
1434
|
"""
|
|
1820
1435
|
|
|
1821
1436
|
def stroke_smooth(
|
|
@@ -1833,22 +1448,13 @@ def stroke_smooth(
|
|
|
1833
1448
|
) -> None:
|
|
1834
1449
|
"""Smooth selected strokes
|
|
1835
1450
|
|
|
1836
|
-
:type execution_context: int | str | None
|
|
1837
|
-
:type undo: bool | None
|
|
1838
1451
|
:param iterations: Iterations
|
|
1839
|
-
:type iterations: int | None
|
|
1840
1452
|
:param factor: Factor
|
|
1841
|
-
:type factor: float | None
|
|
1842
1453
|
:param smooth_ends: Smooth Endpoints
|
|
1843
|
-
:type smooth_ends: bool | None
|
|
1844
1454
|
:param keep_shape: Keep Shape
|
|
1845
|
-
:type keep_shape: bool | None
|
|
1846
1455
|
:param smooth_position: Position
|
|
1847
|
-
:type smooth_position: bool | None
|
|
1848
1456
|
:param smooth_radius: Radius
|
|
1849
|
-
:type smooth_radius: bool | None
|
|
1850
1457
|
:param smooth_opacity: Opacity
|
|
1851
|
-
:type smooth_opacity: bool | None
|
|
1852
1458
|
"""
|
|
1853
1459
|
|
|
1854
1460
|
def stroke_split(
|
|
@@ -1856,11 +1462,7 @@ def stroke_split(
|
|
|
1856
1462
|
undo: bool | None = None,
|
|
1857
1463
|
/,
|
|
1858
1464
|
) -> None:
|
|
1859
|
-
"""Split selected points to a new stroke
|
|
1860
|
-
|
|
1861
|
-
:type execution_context: int | str | None
|
|
1862
|
-
:type undo: bool | None
|
|
1863
|
-
"""
|
|
1465
|
+
"""Split selected points to a new stroke"""
|
|
1864
1466
|
|
|
1865
1467
|
def stroke_subdivide(
|
|
1866
1468
|
execution_context: int | str | None = None,
|
|
@@ -1872,12 +1474,8 @@ def stroke_subdivide(
|
|
|
1872
1474
|
) -> None:
|
|
1873
1475
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1874
1476
|
|
|
1875
|
-
:type execution_context: int | str | None
|
|
1876
|
-
:type undo: bool | None
|
|
1877
1477
|
:param number_cuts: Number of Cuts
|
|
1878
|
-
:type number_cuts: int | None
|
|
1879
1478
|
:param only_selected: Selected Points, Smooth only selected points in the stroke
|
|
1880
|
-
:type only_selected: bool | None
|
|
1881
1479
|
"""
|
|
1882
1480
|
|
|
1883
1481
|
def stroke_subdivide_smooth(
|
|
@@ -1890,12 +1488,8 @@ def stroke_subdivide_smooth(
|
|
|
1890
1488
|
) -> None:
|
|
1891
1489
|
"""Subdivide strokes and smooth them
|
|
1892
1490
|
|
|
1893
|
-
:type execution_context: int | str | None
|
|
1894
|
-
:type undo: bool | None
|
|
1895
1491
|
:param GREASE_PENCIL_OT_stroke_subdivide: Subdivide Stroke, Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1896
|
-
:type GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None
|
|
1897
1492
|
:param GREASE_PENCIL_OT_stroke_smooth: Smooth Stroke, Smooth selected strokes
|
|
1898
|
-
:type GREASE_PENCIL_OT_stroke_smooth: typing.Any | None
|
|
1899
1493
|
"""
|
|
1900
1494
|
|
|
1901
1495
|
def stroke_switch_direction(
|
|
@@ -1903,11 +1497,7 @@ def stroke_switch_direction(
|
|
|
1903
1497
|
undo: bool | None = None,
|
|
1904
1498
|
/,
|
|
1905
1499
|
) -> None:
|
|
1906
|
-
"""Change direction of the points of the selected strokes
|
|
1907
|
-
|
|
1908
|
-
:type execution_context: int | str | None
|
|
1909
|
-
:type undo: bool | None
|
|
1910
|
-
"""
|
|
1500
|
+
"""Change direction of the points of the selected strokes"""
|
|
1911
1501
|
|
|
1912
1502
|
def stroke_trim(
|
|
1913
1503
|
execution_context: int | str | None = None,
|
|
@@ -1921,16 +1511,10 @@ def stroke_trim(
|
|
|
1921
1511
|
) -> None:
|
|
1922
1512
|
"""Delete stroke points in between intersecting strokes
|
|
1923
1513
|
|
|
1924
|
-
:type execution_context: int | str | None
|
|
1925
|
-
:type undo: bool | None
|
|
1926
1514
|
:param path: Path
|
|
1927
|
-
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1928
1515
|
:param use_smooth_stroke: Stabilize Stroke, Selection lags behind mouse and follows a smoother path
|
|
1929
|
-
:type use_smooth_stroke: bool | None
|
|
1930
1516
|
:param smooth_stroke_factor: Smooth Stroke Factor, Higher values gives a smoother stroke
|
|
1931
|
-
:type smooth_stroke_factor: float | None
|
|
1932
1517
|
:param smooth_stroke_radius: Smooth Stroke Radius, Minimum distance from last point before selection continues
|
|
1933
|
-
:type smooth_stroke_radius: int | None
|
|
1934
1518
|
"""
|
|
1935
1519
|
|
|
1936
1520
|
def texture_gradient(
|
|
@@ -1947,20 +1531,12 @@ def texture_gradient(
|
|
|
1947
1531
|
) -> None:
|
|
1948
1532
|
"""Draw a line to set the fill material gradient for the selected strokes
|
|
1949
1533
|
|
|
1950
|
-
:type execution_context: int | str | None
|
|
1951
|
-
:type undo: bool | None
|
|
1952
1534
|
:param xstart: X Start
|
|
1953
|
-
:type xstart: int | None
|
|
1954
1535
|
:param xend: X End
|
|
1955
|
-
:type xend: int | None
|
|
1956
1536
|
:param ystart: Y Start
|
|
1957
|
-
:type ystart: int | None
|
|
1958
1537
|
:param yend: Y End
|
|
1959
|
-
:type yend: int | None
|
|
1960
1538
|
:param flip: Flip
|
|
1961
|
-
:type flip: bool | None
|
|
1962
1539
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1963
|
-
:type cursor: int | None
|
|
1964
1540
|
"""
|
|
1965
1541
|
|
|
1966
1542
|
def trace_image(
|
|
@@ -1981,14 +1557,9 @@ def trace_image(
|
|
|
1981
1557
|
) -> None:
|
|
1982
1558
|
"""Extract Grease Pencil strokes from image
|
|
1983
1559
|
|
|
1984
|
-
:type execution_context: int | str | None
|
|
1985
|
-
:type undo: bool | None
|
|
1986
1560
|
:param target: Target Object, Target Grease Pencil
|
|
1987
|
-
:type target: typing.Literal['NEW','SELECTED'] | None
|
|
1988
1561
|
:param radius: Radius
|
|
1989
|
-
:type radius: float | None
|
|
1990
1562
|
:param threshold: Color Threshold, Determine the lightness threshold above which strokes are generated
|
|
1991
|
-
:type threshold: float | None
|
|
1992
1563
|
:param turnpolicy: Turn Policy, Determines how to resolve ambiguities during decomposition of bitmaps into paths
|
|
1993
1564
|
|
|
1994
1565
|
FOREGROUND
|
|
@@ -2011,7 +1582,6 @@ def trace_image(
|
|
|
2011
1582
|
|
|
2012
1583
|
RANDOM
|
|
2013
1584
|
Random -- Choose pseudo-randomly.
|
|
2014
|
-
:type turnpolicy: typing.Literal['FOREGROUND','BACKGROUND','LEFT','RIGHT','MINORITY','MAJORITY','RANDOM'] | None
|
|
2015
1585
|
:param mode: Mode, Determines if trace simple image or full sequence
|
|
2016
1586
|
|
|
2017
1587
|
SINGLE
|
|
@@ -2019,11 +1589,8 @@ def trace_image(
|
|
|
2019
1589
|
|
|
2020
1590
|
SEQUENCE
|
|
2021
1591
|
Sequence -- Trace full sequence.
|
|
2022
|
-
:type mode: typing.Literal['SINGLE','SEQUENCE'] | None
|
|
2023
1592
|
:param use_current_frame: Start At Current Frame, Trace Image starting in current image frame
|
|
2024
|
-
:type use_current_frame: bool | None
|
|
2025
1593
|
:param frame_number: Trace Frame, Used to trace only one frame of the image sequence, set to zero to trace all
|
|
2026
|
-
:type frame_number: int | None
|
|
2027
1594
|
"""
|
|
2028
1595
|
|
|
2029
1596
|
def vertex_brush_stroke(
|
|
@@ -2038,10 +1605,7 @@ def vertex_brush_stroke(
|
|
|
2038
1605
|
) -> None:
|
|
2039
1606
|
"""Draw on vertex colors in the active Grease Pencil object
|
|
2040
1607
|
|
|
2041
|
-
:type execution_context: int | str | None
|
|
2042
|
-
:type undo: bool | None
|
|
2043
1608
|
:param stroke: Stroke
|
|
2044
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
2045
1609
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
2046
1610
|
|
|
2047
1611
|
NORMAL
|
|
@@ -2055,9 +1619,7 @@ def vertex_brush_stroke(
|
|
|
2055
1619
|
|
|
2056
1620
|
ERASE
|
|
2057
1621
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
2058
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
2059
1622
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
2060
|
-
:type pen_flip: bool | None
|
|
2061
1623
|
"""
|
|
2062
1624
|
|
|
2063
1625
|
def vertex_color_brightness_contrast(
|
|
@@ -2071,14 +1633,9 @@ def vertex_color_brightness_contrast(
|
|
|
2071
1633
|
) -> None:
|
|
2072
1634
|
"""Adjust vertex color brightness/contrast
|
|
2073
1635
|
|
|
2074
|
-
:type execution_context: int | str | None
|
|
2075
|
-
:type undo: bool | None
|
|
2076
1636
|
:param mode: Mode
|
|
2077
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2078
1637
|
:param brightness: Brightness
|
|
2079
|
-
:type brightness: float | None
|
|
2080
1638
|
:param contrast: Contrast
|
|
2081
|
-
:type contrast: float | None
|
|
2082
1639
|
"""
|
|
2083
1640
|
|
|
2084
1641
|
def vertex_color_hsv(
|
|
@@ -2093,16 +1650,10 @@ def vertex_color_hsv(
|
|
|
2093
1650
|
) -> None:
|
|
2094
1651
|
"""Adjust vertex color HSV values
|
|
2095
1652
|
|
|
2096
|
-
:type execution_context: int | str | None
|
|
2097
|
-
:type undo: bool | None
|
|
2098
1653
|
:param mode: Mode
|
|
2099
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2100
1654
|
:param h: Hue
|
|
2101
|
-
:type h: float | None
|
|
2102
1655
|
:param s: Saturation
|
|
2103
|
-
:type s: float | None
|
|
2104
1656
|
:param v: Value
|
|
2105
|
-
:type v: float | None
|
|
2106
1657
|
"""
|
|
2107
1658
|
|
|
2108
1659
|
def vertex_color_invert(
|
|
@@ -2114,10 +1665,7 @@ def vertex_color_invert(
|
|
|
2114
1665
|
) -> None:
|
|
2115
1666
|
"""Invert RGB values
|
|
2116
1667
|
|
|
2117
|
-
:type execution_context: int | str | None
|
|
2118
|
-
:type undo: bool | None
|
|
2119
1668
|
:param mode: Mode
|
|
2120
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2121
1669
|
"""
|
|
2122
1670
|
|
|
2123
1671
|
def vertex_color_levels(
|
|
@@ -2131,14 +1679,9 @@ def vertex_color_levels(
|
|
|
2131
1679
|
) -> None:
|
|
2132
1680
|
"""Adjust levels of vertex colors
|
|
2133
1681
|
|
|
2134
|
-
:type execution_context: int | str | None
|
|
2135
|
-
:type undo: bool | None
|
|
2136
1682
|
:param mode: Mode
|
|
2137
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2138
1683
|
:param offset: Offset, Value to add to colors
|
|
2139
|
-
:type offset: float | None
|
|
2140
1684
|
:param gain: Gain, Value to multiply colors by
|
|
2141
|
-
:type gain: float | None
|
|
2142
1685
|
"""
|
|
2143
1686
|
|
|
2144
1687
|
def vertex_color_set(
|
|
@@ -2151,12 +1694,8 @@ def vertex_color_set(
|
|
|
2151
1694
|
) -> None:
|
|
2152
1695
|
"""Set active color to all selected vertex
|
|
2153
1696
|
|
|
2154
|
-
:type execution_context: int | str | None
|
|
2155
|
-
:type undo: bool | None
|
|
2156
1697
|
:param mode: Mode
|
|
2157
|
-
:type mode: typing.Literal['STROKE','FILL','BOTH'] | None
|
|
2158
1698
|
:param factor: Factor, Mix Factor
|
|
2159
|
-
:type factor: float | None
|
|
2160
1699
|
"""
|
|
2161
1700
|
|
|
2162
1701
|
def vertex_group_normalize(
|
|
@@ -2164,11 +1703,7 @@ def vertex_group_normalize(
|
|
|
2164
1703
|
undo: bool | None = None,
|
|
2165
1704
|
/,
|
|
2166
1705
|
) -> None:
|
|
2167
|
-
"""Normalize weights of the active vertex group
|
|
2168
|
-
|
|
2169
|
-
:type execution_context: int | str | None
|
|
2170
|
-
:type undo: bool | None
|
|
2171
|
-
"""
|
|
1706
|
+
"""Normalize weights of the active vertex group"""
|
|
2172
1707
|
|
|
2173
1708
|
def vertex_group_normalize_all(
|
|
2174
1709
|
execution_context: int | str | None = None,
|
|
@@ -2179,10 +1714,7 @@ def vertex_group_normalize_all(
|
|
|
2179
1714
|
) -> None:
|
|
2180
1715
|
"""Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
2181
1716
|
|
|
2182
|
-
:type execution_context: int | str | None
|
|
2183
|
-
:type undo: bool | None
|
|
2184
1717
|
:param lock_active: Lock Active, Keep the values of the active group while normalizing others
|
|
2185
|
-
:type lock_active: bool | None
|
|
2186
1718
|
"""
|
|
2187
1719
|
|
|
2188
1720
|
def vertex_group_smooth(
|
|
@@ -2195,12 +1727,8 @@ def vertex_group_smooth(
|
|
|
2195
1727
|
) -> None:
|
|
2196
1728
|
"""Smooth the weights of the active vertex group
|
|
2197
1729
|
|
|
2198
|
-
:type execution_context: int | str | None
|
|
2199
|
-
:type undo: bool | None
|
|
2200
1730
|
:param factor: Factor
|
|
2201
|
-
:type factor: float | None
|
|
2202
1731
|
:param repeat: Iterations
|
|
2203
|
-
:type repeat: int | None
|
|
2204
1732
|
"""
|
|
2205
1733
|
|
|
2206
1734
|
def vertexmode_toggle(
|
|
@@ -2212,10 +1740,7 @@ def vertexmode_toggle(
|
|
|
2212
1740
|
) -> None:
|
|
2213
1741
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
2214
1742
|
|
|
2215
|
-
:type execution_context: int | str | None
|
|
2216
|
-
:type undo: bool | None
|
|
2217
1743
|
:param back: Return to Previous Mode, Return to previous mode
|
|
2218
|
-
:type back: bool | None
|
|
2219
1744
|
"""
|
|
2220
1745
|
|
|
2221
1746
|
def weight_brush_stroke(
|
|
@@ -2230,10 +1755,7 @@ def weight_brush_stroke(
|
|
|
2230
1755
|
) -> None:
|
|
2231
1756
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
2232
1757
|
|
|
2233
|
-
:type execution_context: int | str | None
|
|
2234
|
-
:type undo: bool | None
|
|
2235
1758
|
:param stroke: Stroke
|
|
2236
|
-
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
2237
1759
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
2238
1760
|
|
|
2239
1761
|
NORMAL
|
|
@@ -2247,9 +1769,7 @@ def weight_brush_stroke(
|
|
|
2247
1769
|
|
|
2248
1770
|
ERASE
|
|
2249
1771
|
Erase -- Switch brush to erase mode for duration of stroke.
|
|
2250
|
-
:type mode: typing.Literal['NORMAL','INVERT','SMOOTH','ERASE'] | None
|
|
2251
1772
|
:param pen_flip: Pen Flip, Whether a tablets eraser mode is being used
|
|
2252
|
-
:type pen_flip: bool | None
|
|
2253
1773
|
"""
|
|
2254
1774
|
|
|
2255
1775
|
def weight_invert(
|
|
@@ -2257,33 +1777,21 @@ def weight_invert(
|
|
|
2257
1777
|
undo: bool | None = None,
|
|
2258
1778
|
/,
|
|
2259
1779
|
) -> None:
|
|
2260
|
-
"""Invert the weight of active vertex group
|
|
2261
|
-
|
|
2262
|
-
:type execution_context: int | str | None
|
|
2263
|
-
:type undo: bool | None
|
|
2264
|
-
"""
|
|
1780
|
+
"""Invert the weight of active vertex group"""
|
|
2265
1781
|
|
|
2266
1782
|
def weight_sample(
|
|
2267
1783
|
execution_context: int | str | None = None,
|
|
2268
1784
|
undo: bool | None = None,
|
|
2269
1785
|
/,
|
|
2270
1786
|
) -> None:
|
|
2271
|
-
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
2272
|
-
|
|
2273
|
-
:type execution_context: int | str | None
|
|
2274
|
-
:type undo: bool | None
|
|
2275
|
-
"""
|
|
1787
|
+
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor"""
|
|
2276
1788
|
|
|
2277
1789
|
def weight_toggle_direction(
|
|
2278
1790
|
execution_context: int | str | None = None,
|
|
2279
1791
|
undo: bool | None = None,
|
|
2280
1792
|
/,
|
|
2281
1793
|
) -> None:
|
|
2282
|
-
"""Toggle Add/Subtract for the weight paint draw tool
|
|
2283
|
-
|
|
2284
|
-
:type execution_context: int | str | None
|
|
2285
|
-
:type undo: bool | None
|
|
2286
|
-
"""
|
|
1794
|
+
"""Toggle Add/Subtract for the weight paint draw tool"""
|
|
2287
1795
|
|
|
2288
1796
|
def weightmode_toggle(
|
|
2289
1797
|
execution_context: int | str | None = None,
|
|
@@ -2294,8 +1802,5 @@ def weightmode_toggle(
|
|
|
2294
1802
|
) -> None:
|
|
2295
1803
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
2296
1804
|
|
|
2297
|
-
:type execution_context: int | str | None
|
|
2298
|
-
:type undo: bool | None
|
|
2299
1805
|
:param back: Return to Previous Mode, Return to previous mode
|
|
2300
|
-
:type back: bool | None
|
|
2301
1806
|
"""
|