fake-bpy-module 20250604__py3-none-any.whl → 20250607__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/addons/cli/__init__.pyi +1 -1
- _bpy_internal/extensions/junction_module/__init__.pyi +7 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +8 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +3 -3
- _bpy_internal/freedesktop/__init__.pyi +16 -16
- _bpy_internal/grease_pencil/stroke/__init__.pyi +4 -4
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +1 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +2 -2
- addon_utils/__init__.pyi +12 -12
- animsys_refactor/__init__.pyi +6 -6
- aud/__init__.pyi +11 -11
- bgl/__init__.pyi +272 -252
- bl_app_override/__init__.pyi +3 -3
- bl_app_override/helpers/__init__.pyi +2 -2
- bl_app_template_utils/__init__.pyi +4 -4
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +18 -16
- bl_i18n_utils/merge_po/__init__.pyi +1 -1
- bl_i18n_utils/settings/__init__.pyi +6 -6
- bl_i18n_utils/utils/__init__.pyi +48 -46
- bl_i18n_utils/utils_cli/__init__.pyi +6 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -2
- bl_keymap_utils/io/__init__.pyi +9 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +1 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_keymap_utils/versioning/__init__.pyi +1 -1
- bl_operators/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +6 -6
- bl_operators/anim/__init__.pyi +24 -24
- bl_operators/assets/__init__.pyi +9 -9
- bl_operators/bmesh/find_adjacent/__init__.pyi +11 -9
- bl_operators/bone_selection_sets/__init__.pyi +18 -18
- bl_operators/clip/__init__.pyi +26 -26
- bl_operators/connect_to_output/__init__.pyi +17 -15
- bl_operators/console/__init__.pyi +10 -10
- bl_operators/constraint/__init__.pyi +8 -8
- bl_operators/file/__init__.pyi +6 -6
- bl_operators/freestyle/__init__.pyi +9 -9
- bl_operators/geometry_nodes/__init__.pyi +24 -24
- bl_operators/grease_pencil/__init__.pyi +2 -2
- bl_operators/image/__init__.pyi +7 -7
- bl_operators/image_as_planes/__init__.pyi +32 -32
- bl_operators/mesh/__init__.pyi +7 -7
- bl_operators/node/__init__.pyi +31 -31
- bl_operators/node_editor/node_functions/__init__.pyi +9 -9
- bl_operators/object/__init__.pyi +31 -31
- bl_operators/object_align/__init__.pyi +5 -5
- bl_operators/object_quick_effects/__init__.pyi +9 -9
- bl_operators/object_randomize_transform/__init__.pyi +3 -3
- bl_operators/presets/__init__.pyi +18 -18
- bl_operators/rigidbody/__init__.pyi +7 -7
- bl_operators/screen_play_rendered_anim/__init__.pyi +2 -2
- bl_operators/sequencer/__init__.pyi +19 -19
- bl_operators/spreadsheet/__init__.pyi +4 -4
- bl_operators/userpref/__init__.pyi +42 -42
- bl_operators/uvcalc_follow_active/__init__.pyi +5 -5
- bl_operators/uvcalc_lightmap/__init__.pyi +8 -8
- bl_operators/uvcalc_transform/__init__.pyi +20 -20
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -4
- bl_operators/view3d/__init__.pyi +21 -19
- bl_operators/wm/__init__.pyi +88 -88
- bl_operators/world/__init__.pyi +2 -2
- bl_previews_utils/bl_previews_render/__init__.pyi +9 -7
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/external_editor/__init__.pyi +1 -1
- bl_ui/__init__.pyi +10 -10
- bl_ui/anim/__init__.pyi +2 -2
- bl_ui/asset_shelf/__init__.pyi +2 -2
- bl_ui/generic_ui_list/__init__.pyi +6 -6
- bl_ui/node_add_menu/__init__.pyi +15 -13
- bl_ui/node_add_menu_compositor/__init__.pyi +18 -18
- bl_ui/node_add_menu_geometry/__init__.pyi +54 -54
- bl_ui/node_add_menu_shader/__init__.pyi +16 -16
- bl_ui/node_add_menu_texture/__init__.pyi +9 -9
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +10 -8
- bl_ui/properties_constraint/__init__.pyi +125 -125
- bl_ui/properties_data_armature/__init__.pyi +22 -22
- bl_ui/properties_data_bone/__init__.pyi +20 -20
- bl_ui/properties_data_camera/__init__.pyi +19 -19
- bl_ui/properties_data_curve/__init__.pyi +23 -23
- bl_ui/properties_data_curves/__init__.pyi +9 -9
- bl_ui/properties_data_empty/__init__.pyi +4 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +25 -25
- bl_ui/properties_data_lattice/__init__.pyi +4 -4
- bl_ui/properties_data_light/__init__.pyi +14 -14
- bl_ui/properties_data_lightprobe/__init__.pyi +18 -18
- bl_ui/properties_data_mesh/__init__.pyi +25 -58
- bl_ui/properties_data_metaball/__init__.pyi +6 -6
- bl_ui/properties_data_modifier/__init__.pyi +12 -12
- bl_ui/properties_data_pointcloud/__init__.pyi +8 -8
- bl_ui/properties_data_shaderfx/__init__.pyi +1 -1
- bl_ui/properties_data_speaker/__init__.pyi +5 -5
- bl_ui/properties_data_volume/__init__.pyi +9 -9
- bl_ui/properties_freestyle/__init__.pyi +51 -51
- bl_ui/properties_grease_pencil_common/__init__.pyi +30 -30
- bl_ui/properties_mask_common/__init__.pyi +24 -24
- bl_ui/properties_material/__init__.pyi +27 -27
- bl_ui/properties_material_gpencil/__init__.pyi +12 -12
- bl_ui/properties_object/__init__.pyi +29 -29
- bl_ui/properties_output/__init__.pyi +29 -29
- bl_ui/properties_paint_common/__init__.pyi +59 -50
- bl_ui/properties_particle/__init__.pyi +101 -101
- bl_ui/properties_physics_cloth/__init__.pyi +20 -20
- bl_ui/properties_physics_common/__init__.pyi +8 -8
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +57 -57
- bl_ui/properties_physics_field/__init__.pyi +23 -23
- bl_ui/properties_physics_fluid/__init__.pyi +76 -76
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -3
- bl_ui/properties_physics_rigidbody/__init__.pyi +18 -18
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +29 -29
- bl_ui/properties_physics_softbody/__init__.pyi +21 -21
- bl_ui/properties_render/__init__.pyi +81 -81
- bl_ui/properties_scene/__init__.pyi +22 -22
- bl_ui/properties_texture/__init__.pyi +39 -39
- bl_ui/properties_view_layer/__init__.pyi +12 -12
- bl_ui/properties_workspace/__init__.pyi +5 -5
- bl_ui/properties_world/__init__.pyi +18 -18
- bl_ui/space_clip/__init__.pyi +81 -81
- bl_ui/space_console/__init__.pyi +6 -6
- bl_ui/space_dopesheet/__init__.pyi +32 -32
- bl_ui/space_filebrowser/__init__.pyi +45 -45
- bl_ui/space_graph/__init__.pyi +21 -21
- bl_ui/space_image/__init__.pyi +73 -75
- bl_ui/space_info/__init__.pyi +6 -6
- bl_ui/space_nla/__init__.pyi +18 -18
- bl_ui/space_node/__init__.pyi +42 -42
- bl_ui/space_outliner/__init__.pyi +21 -21
- bl_ui/space_properties/__init__.pyi +6 -6
- bl_ui/space_sequencer/__init__.pyi +133 -133
- bl_ui/space_spreadsheet/__init__.pyi +4 -4
- bl_ui/space_statusbar/__init__.pyi +1 -1
- bl_ui/space_text/__init__.pyi +17 -17
- bl_ui/space_time/__init__.pyi +12 -12
- bl_ui/space_toolsystem_common/__init__.pyi +28 -26
- bl_ui/space_toolsystem_toolbar/__init__.pyi +36 -36
- bl_ui/space_topbar/__init__.pyi +32 -32
- bl_ui/space_userpref/__init__.pyi +132 -132
- bl_ui/space_view3d/__init__.pyi +297 -307
- bl_ui/space_view3d_toolbar/__init__.pyi +148 -149
- bl_ui/utils/__init__.pyi +5 -5
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +2 -2
- blf/__init__.pyi +15 -15
- bmesh/__init__.pyi +1 -1
- bmesh/ops/__init__.pyi +366 -357
- bmesh/types/__init__.pyi +59 -57
- bmesh/utils/__init__.pyi +2 -2
- bpy/app/__init__.pyi +3 -3
- bpy/app/icons/__init__.pyi +1 -1
- bpy/app/timers/__init__.pyi +2 -2
- bpy/app/translations/__init__.pyi +9 -9
- bpy/msgbus/__init__.pyi +15 -3
- bpy/ops/action/__init__.pyi +62 -38
- bpy/ops/anim/__init__.pyi +63 -61
- bpy/ops/armature/__init__.pyi +58 -48
- bpy/ops/asset/__init__.pyi +31 -20
- bpy/ops/boid/__init__.pyi +18 -8
- bpy/ops/brush/__init__.pyi +19 -16
- bpy/ops/buttons/__init__.pyi +14 -12
- bpy/ops/cachefile/__init__.pyi +9 -11
- bpy/ops/camera/__init__.pyi +2 -2
- bpy/ops/clip/__init__.pyi +112 -95
- bpy/ops/cloth/__init__.pyi +1 -1
- bpy/ops/collection/__init__.pyi +11 -9
- bpy/ops/console/__init__.pyi +37 -21
- bpy/ops/constraint/__init__.pyi +20 -18
- bpy/ops/curve/__init__.pyi +81 -51
- bpy/ops/curves/__init__.pyi +50 -30
- bpy/ops/cycles/__init__.pyi +3 -3
- bpy/ops/dpaint/__init__.pyi +5 -5
- bpy/ops/ed/__init__.pyi +19 -16
- bpy/ops/export_anim/__init__.pyi +1 -1
- bpy/ops/export_scene/__init__.pyi +2 -2
- bpy/ops/extensions/__init__.pyi +38 -32
- bpy/ops/file/__init__.pyi +72 -43
- bpy/ops/fluid/__init__.pyi +36 -14
- bpy/ops/font/__init__.pyi +41 -29
- bpy/ops/geometry/__init__.pyi +10 -10
- bpy/ops/gizmogroup/__init__.pyi +4 -2
- bpy/ops/gpencil/__init__.pyi +12 -8
- bpy/ops/graph/__init__.pyi +81 -68
- bpy/ops/grease_pencil/__init__.pyi +159 -115
- bpy/ops/image/__init__.pyi +63 -61
- bpy/ops/import_anim/__init__.pyi +1 -1
- bpy/ops/import_curve/__init__.pyi +1 -1
- bpy/ops/import_scene/__init__.pyi +2 -2
- bpy/ops/info/__init__.pyi +13 -7
- bpy/ops/lattice/__init__.pyi +14 -8
- bpy/ops/marker/__init__.pyi +13 -11
- bpy/ops/mask/__init__.pyi +59 -39
- bpy/ops/material/__init__.pyi +3 -3
- bpy/ops/mball/__init__.pyi +8 -8
- bpy/ops/mesh/__init__.pyi +182 -164
- bpy/ops/nla/__init__.pyi +65 -39
- bpy/ops/node/__init__.pyi +181 -150
- bpy/ops/object/__init__.pyi +262 -251
- bpy/ops/outliner/__init__.pyi +98 -72
- bpy/ops/paint/__init__.pyi +58 -54
- bpy/ops/paintcurve/__init__.pyi +12 -8
- bpy/ops/palette/__init__.pyi +11 -7
- bpy/ops/particle/__init__.pyi +58 -36
- bpy/ops/pointcloud/__init__.pyi +13 -7
- bpy/ops/pose/__init__.pyi +65 -51
- bpy/ops/poselib/__init__.pyi +17 -11
- bpy/ops/preferences/__init__.pyi +41 -38
- bpy/ops/ptcache/__init__.pyi +13 -7
- bpy/ops/render/__init__.pyi +17 -13
- bpy/ops/rigidbody/__init__.pyi +19 -13
- bpy/ops/scene/__init__.pyi +39 -37
- bpy/ops/screen/__init__.pyi +59 -45
- bpy/ops/script/__init__.pyi +5 -3
- bpy/ops/sculpt/__init__.pyi +44 -40
- bpy/ops/sculpt_curves/__init__.pyi +4 -4
- bpy/ops/sequencer/__init__.pyi +142 -115
- bpy/ops/sound/__init__.pyi +7 -16
- bpy/ops/spreadsheet/__init__.pyi +13 -7
- bpy/ops/surface/__init__.pyi +6 -6
- bpy/ops/text/__init__.pyi +73 -49
- bpy/ops/text_editor/__init__.pyi +1 -1
- bpy/ops/texture/__init__.pyi +8 -4
- bpy/ops/transform/__init__.pyi +29 -27
- bpy/ops/ui/__init__.pyi +42 -34
- bpy/ops/uilist/__init__.pyi +3 -3
- bpy/ops/uv/__init__.pyi +59 -49
- bpy/ops/view2d/__init__.pyi +14 -14
- bpy/ops/view3d/__init__.pyi +87 -67
- bpy/ops/wm/__init__.pyi +136 -574
- bpy/ops/workspace/__init__.pyi +11 -7
- bpy/ops/world/__init__.pyi +2 -2
- bpy/props/__init__.pyi +16 -13
- bpy/types/__init__.pyi +1237 -1281
- bpy/utils/__init__.pyi +23 -23
- bpy/utils/previews/__init__.pyi +3 -3
- bpy_extras/anim_utils/__init__.pyi +7 -7
- bpy_extras/bmesh_utils/__init__.pyi +1 -1
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/io_utils/__init__.pyi +14 -12
- bpy_extras/keyconfig_utils/__init__.pyi +3 -3
- bpy_extras/mesh_utils/__init__.pyi +2 -2
- bpy_extras/node_shader_utils/__init__.pyi +63 -63
- bpy_extras/node_utils/__init__.pyi +3 -3
- bpy_extras/object_utils/__init__.pyi +4 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +10 -10
- bpy_types/__init__.pyi +4 -4
- console_python/__init__.pyi +7 -7
- console_shell/__init__.pyi +5 -5
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/METADATA +1 -1
- fake_bpy_module-20250607.dist-info/RECORD +367 -0
- freestyle/chainingiterators/__init__.pyi +35 -33
- freestyle/functions/__init__.pyi +55 -55
- freestyle/predicates/__init__.pyi +8 -8
- freestyle/shaders/__init__.pyi +79 -75
- freestyle/types/__init__.pyi +146 -142
- freestyle/utils/ContextFunctions/__init__.pyi +3 -1
- freestyle/utils/__init__.pyi +25 -25
- gpu/matrix/__init__.pyi +14 -14
- gpu/select/__init__.pyi +1 -1
- gpu/shader/__init__.pyi +1 -1
- gpu/state/__init__.pyi +19 -19
- gpu/types/__init__.pyi +50 -44
- gpu_extras/presets/__init__.pyi +2 -2
- graphviz_export/__init__.pyi +2 -2
- idprop/types/__init__.pyi +9 -9
- imbuf/__init__.pyi +3 -1
- imbuf/types/__init__.pyi +3 -3
- keyingsets_builtins/__init__.pyi +26 -26
- keyingsets_utils/__init__.pyi +14 -14
- mathutils/__init__.pyi +61 -53
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/kdtree/__init__.pyi +3 -3
- mathutils/noise/__init__.pyi +1 -1
- nodeitems_builtins/__init__.pyi +4 -4
- nodeitems_utils/__init__.pyi +9 -9
- rna_info/__init__.pyi +25 -25
- rna_keymap_ui/__init__.pyi +6 -6
- rna_prop_ui/__init__.pyi +12 -12
- rna_xml/__init__.pyi +6 -6
- fake_bpy_module-20250604.dist-info/RECORD +0 -367
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20250604.dist-info → fake_bpy_module-20250607.dist-info}/top_level.txt +0 -0
|
@@ -12,7 +12,7 @@ def active_frame_delete(
|
|
|
12
12
|
/,
|
|
13
13
|
*,
|
|
14
14
|
all: bool | None = False,
|
|
15
|
-
):
|
|
15
|
+
) -> None:
|
|
16
16
|
"""Delete the active Grease Pencil frame(s)
|
|
17
17
|
|
|
18
18
|
:type execution_context: int | str | None
|
|
@@ -33,7 +33,7 @@ def bake_grease_pencil_animation(
|
|
|
33
33
|
frame_target: int | None = 1,
|
|
34
34
|
project_type: typing.Literal["KEEP", "FRONT", "SIDE", "TOP", "VIEW", "CURSOR"]
|
|
35
35
|
| None = "KEEP",
|
|
36
|
-
):
|
|
36
|
+
) -> None:
|
|
37
37
|
"""Bake Grease Pencil object transform to Grease Pencil keyframes
|
|
38
38
|
|
|
39
39
|
:type execution_context: int | str | None
|
|
@@ -79,7 +79,7 @@ def brush_stroke(
|
|
|
79
79
|
| None = None,
|
|
80
80
|
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
81
81
|
pen_flip: bool | None = False,
|
|
82
|
-
):
|
|
82
|
+
) -> None:
|
|
83
83
|
"""Draw a new stroke in the active Grease Pencil object
|
|
84
84
|
|
|
85
85
|
:type execution_context: int | str | None
|
|
@@ -110,7 +110,7 @@ def caps_set(
|
|
|
110
110
|
/,
|
|
111
111
|
*,
|
|
112
112
|
type: typing.Literal["ROUND", "FLAT", "START", "END"] | None = "ROUND",
|
|
113
|
-
):
|
|
113
|
+
) -> None:
|
|
114
114
|
"""Change curve caps mode (rounded or flat)
|
|
115
115
|
|
|
116
116
|
:type execution_context: int | str | None
|
|
@@ -137,7 +137,7 @@ def clean_loose(
|
|
|
137
137
|
/,
|
|
138
138
|
*,
|
|
139
139
|
limit: int | None = 1,
|
|
140
|
-
):
|
|
140
|
+
) -> None:
|
|
141
141
|
"""Remove loose points
|
|
142
142
|
|
|
143
143
|
:type execution_context: int | str | None
|
|
@@ -146,7 +146,25 @@ def clean_loose(
|
|
|
146
146
|
:type limit: int | None
|
|
147
147
|
"""
|
|
148
148
|
|
|
149
|
-
def
|
|
149
|
+
def convert_curve_type(
|
|
150
|
+
execution_context: int | str | None = None,
|
|
151
|
+
undo: bool | None = None,
|
|
152
|
+
/,
|
|
153
|
+
*,
|
|
154
|
+
type: bpy.stub_internal.rna_enums.CurvesTypeItems | None = "POLY",
|
|
155
|
+
threshold: float | None = 0.01,
|
|
156
|
+
) -> None:
|
|
157
|
+
"""Convert type of selected curves
|
|
158
|
+
|
|
159
|
+
:type execution_context: int | str | None
|
|
160
|
+
:type undo: bool | None
|
|
161
|
+
:param type: Type
|
|
162
|
+
:type type: bpy.stub_internal.rna_enums.CurvesTypeItems | None
|
|
163
|
+
:param threshold: Threshold, The distance that the resulting points are allowed to be within
|
|
164
|
+
:type threshold: float | None
|
|
165
|
+
"""
|
|
166
|
+
|
|
167
|
+
def copy(execution_context: int | str | None = None, undo: bool | None = None) -> None:
|
|
150
168
|
"""Copy the selected Grease Pencil points or strokes to the internal clipboard
|
|
151
169
|
|
|
152
170
|
:type execution_context: int | str | None
|
|
@@ -160,7 +178,7 @@ def cyclical_set(
|
|
|
160
178
|
*,
|
|
161
179
|
type: typing.Literal["CLOSE", "OPEN", "TOGGLE"] | None = "TOGGLE",
|
|
162
180
|
subdivide_cyclic_segment: bool | None = True,
|
|
163
|
-
):
|
|
181
|
+
) -> None:
|
|
164
182
|
"""Close or open the selected stroke adding a segment from last to first point
|
|
165
183
|
|
|
166
184
|
:type execution_context: int | str | None
|
|
@@ -171,7 +189,9 @@ def cyclical_set(
|
|
|
171
189
|
:type subdivide_cyclic_segment: bool | None
|
|
172
190
|
"""
|
|
173
191
|
|
|
174
|
-
def delete(
|
|
192
|
+
def delete(
|
|
193
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
194
|
+
) -> None:
|
|
175
195
|
"""Delete selected strokes or points
|
|
176
196
|
|
|
177
197
|
:type execution_context: int | str | None
|
|
@@ -180,7 +200,7 @@ def delete(execution_context: int | str | None = None, undo: bool | None = None)
|
|
|
180
200
|
|
|
181
201
|
def delete_breakdown(
|
|
182
202
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
183
|
-
):
|
|
203
|
+
) -> None:
|
|
184
204
|
"""Remove breakdown frames generated by interpolating between two Grease Pencil frames
|
|
185
205
|
|
|
186
206
|
:type execution_context: int | str | None
|
|
@@ -193,7 +213,7 @@ def delete_frame(
|
|
|
193
213
|
/,
|
|
194
214
|
*,
|
|
195
215
|
type: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ACTIVE_FRAME",
|
|
196
|
-
):
|
|
216
|
+
) -> None:
|
|
197
217
|
"""Delete Grease Pencil Frame(s)
|
|
198
218
|
|
|
199
219
|
:type execution_context: int | str | None
|
|
@@ -214,7 +234,7 @@ def dissolve(
|
|
|
214
234
|
/,
|
|
215
235
|
*,
|
|
216
236
|
type: typing.Literal["POINTS", "BETWEEN", "UNSELECT"] | None = "POINTS",
|
|
217
|
-
):
|
|
237
|
+
) -> None:
|
|
218
238
|
"""Delete selected points without splitting strokes
|
|
219
239
|
|
|
220
240
|
:type execution_context: int | str | None
|
|
@@ -232,7 +252,9 @@ def dissolve(
|
|
|
232
252
|
:type type: typing.Literal['POINTS','BETWEEN','UNSELECT'] | None
|
|
233
253
|
"""
|
|
234
254
|
|
|
235
|
-
def duplicate(
|
|
255
|
+
def duplicate(
|
|
256
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
257
|
+
) -> None:
|
|
236
258
|
"""Duplicate the selected points
|
|
237
259
|
|
|
238
260
|
:type execution_context: int | str | None
|
|
@@ -246,7 +268,7 @@ def duplicate_move(
|
|
|
246
268
|
*,
|
|
247
269
|
GREASE_PENCIL_OT_duplicate: typing.Any | None = None,
|
|
248
270
|
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
249
|
-
):
|
|
271
|
+
) -> None:
|
|
250
272
|
"""Make copies of the selected Grease Pencil strokes and move them
|
|
251
273
|
|
|
252
274
|
:type execution_context: int | str | None
|
|
@@ -267,7 +289,7 @@ def erase_box(
|
|
|
267
289
|
ymin: int | None = 0,
|
|
268
290
|
ymax: int | None = 0,
|
|
269
291
|
wait_for_input: bool | None = True,
|
|
270
|
-
):
|
|
292
|
+
) -> None:
|
|
271
293
|
"""Erase points in the box region
|
|
272
294
|
|
|
273
295
|
:type execution_context: int | str | None
|
|
@@ -293,7 +315,7 @@ def erase_lasso(
|
|
|
293
315
|
use_smooth_stroke: bool | None = False,
|
|
294
316
|
smooth_stroke_factor: float | None = 0.75,
|
|
295
317
|
smooth_stroke_radius: int | None = 35,
|
|
296
|
-
):
|
|
318
|
+
) -> None:
|
|
297
319
|
"""Erase points in the lasso region
|
|
298
320
|
|
|
299
321
|
:type execution_context: int | str | None
|
|
@@ -308,7 +330,9 @@ def erase_lasso(
|
|
|
308
330
|
:type smooth_stroke_radius: int | None
|
|
309
331
|
"""
|
|
310
332
|
|
|
311
|
-
def extrude(
|
|
333
|
+
def extrude(
|
|
334
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
335
|
+
) -> None:
|
|
312
336
|
"""Extrude the selected points
|
|
313
337
|
|
|
314
338
|
:type execution_context: int | str | None
|
|
@@ -322,7 +346,7 @@ def extrude_move(
|
|
|
322
346
|
*,
|
|
323
347
|
GREASE_PENCIL_OT_extrude: typing.Any | None = None,
|
|
324
348
|
TRANSFORM_OT_translate: bpy.ops.transform.translate | None = None,
|
|
325
|
-
):
|
|
349
|
+
) -> None:
|
|
326
350
|
"""Extrude selected points and move them
|
|
327
351
|
|
|
328
352
|
:type execution_context: int | str | None
|
|
@@ -340,7 +364,7 @@ def fill(
|
|
|
340
364
|
*,
|
|
341
365
|
invert: bool | None = False,
|
|
342
366
|
precision: bool | None = False,
|
|
343
|
-
):
|
|
367
|
+
) -> None:
|
|
344
368
|
"""Fill with color the shape formed by strokes
|
|
345
369
|
|
|
346
370
|
:type execution_context: int | str | None
|
|
@@ -357,7 +381,7 @@ def frame_clean_duplicate(
|
|
|
357
381
|
/,
|
|
358
382
|
*,
|
|
359
383
|
selected: bool | None = False,
|
|
360
|
-
):
|
|
384
|
+
) -> None:
|
|
361
385
|
"""Remove any keyframe that is a duplicate of the previous one
|
|
362
386
|
|
|
363
387
|
:type execution_context: int | str | None
|
|
@@ -372,7 +396,7 @@ def frame_duplicate(
|
|
|
372
396
|
/,
|
|
373
397
|
*,
|
|
374
398
|
all: bool | None = False,
|
|
375
|
-
):
|
|
399
|
+
) -> None:
|
|
376
400
|
"""Make a copy of the active Grease Pencil frame(s)
|
|
377
401
|
|
|
378
402
|
:type execution_context: int | str | None
|
|
@@ -388,7 +412,7 @@ def insert_blank_frame(
|
|
|
388
412
|
*,
|
|
389
413
|
all_layers: bool | None = False,
|
|
390
414
|
duration: int | None = 0,
|
|
391
|
-
):
|
|
415
|
+
) -> None:
|
|
392
416
|
"""Insert a blank frame on the current scene frame
|
|
393
417
|
|
|
394
418
|
:type execution_context: int | str | None
|
|
@@ -411,7 +435,7 @@ def interpolate(
|
|
|
411
435
|
flip: typing.Literal["NONE", "FLIP", "AUTO"] | None = "AUTO",
|
|
412
436
|
smooth_steps: int | None = 1,
|
|
413
437
|
smooth_factor: float | None = 0.0,
|
|
414
|
-
):
|
|
438
|
+
) -> None:
|
|
415
439
|
"""Interpolate Grease Pencil strokes between frames
|
|
416
440
|
|
|
417
441
|
:type execution_context: int | str | None
|
|
@@ -464,7 +488,7 @@ def interpolate_sequence(
|
|
|
464
488
|
back: float | None = 1.702,
|
|
465
489
|
amplitude: float | None = 0.15,
|
|
466
490
|
period: float | None = 0.15,
|
|
467
|
-
):
|
|
491
|
+
) -> None:
|
|
468
492
|
"""Generate 'in-betweens' to smoothly interpolate between Grease Pencil frames
|
|
469
493
|
|
|
470
494
|
:type execution_context: int | str | None
|
|
@@ -537,7 +561,7 @@ def join_selection(
|
|
|
537
561
|
/,
|
|
538
562
|
*,
|
|
539
563
|
type: typing.Literal["JOINCOPY", "JOIN"] | None = "JOIN",
|
|
540
|
-
):
|
|
564
|
+
) -> None:
|
|
541
565
|
"""New stroke from selected points/strokes
|
|
542
566
|
|
|
543
567
|
:type execution_context: int | str | None
|
|
@@ -558,7 +582,7 @@ def layer_active(
|
|
|
558
582
|
/,
|
|
559
583
|
*,
|
|
560
584
|
layer: int | None = 0,
|
|
561
|
-
):
|
|
585
|
+
) -> None:
|
|
562
586
|
"""Set the active Grease Pencil layer
|
|
563
587
|
|
|
564
588
|
:type execution_context: int | str | None
|
|
@@ -573,7 +597,7 @@ def layer_add(
|
|
|
573
597
|
/,
|
|
574
598
|
*,
|
|
575
599
|
new_layer_name: str = "Layer",
|
|
576
|
-
):
|
|
600
|
+
) -> None:
|
|
577
601
|
"""Add a new Grease Pencil layer in the active object
|
|
578
602
|
|
|
579
603
|
:type execution_context: int | str | None
|
|
@@ -588,7 +612,7 @@ def layer_duplicate(
|
|
|
588
612
|
/,
|
|
589
613
|
*,
|
|
590
614
|
empty_keyframes: bool | None = False,
|
|
591
|
-
):
|
|
615
|
+
) -> None:
|
|
592
616
|
"""Make a copy of the active Grease Pencil layer
|
|
593
617
|
|
|
594
618
|
:type execution_context: int | str | None
|
|
@@ -604,7 +628,7 @@ def layer_duplicate_object(
|
|
|
604
628
|
*,
|
|
605
629
|
only_active: bool | None = True,
|
|
606
630
|
mode: typing.Literal["ALL", "ACTIVE"] | None = "ALL",
|
|
607
|
-
):
|
|
631
|
+
) -> None:
|
|
608
632
|
"""Make a copy of the active Grease Pencil layer to selected object
|
|
609
633
|
|
|
610
634
|
:type execution_context: int | str | None
|
|
@@ -621,7 +645,7 @@ def layer_group_add(
|
|
|
621
645
|
/,
|
|
622
646
|
*,
|
|
623
647
|
new_layer_group_name: str = "",
|
|
624
|
-
):
|
|
648
|
+
) -> None:
|
|
625
649
|
"""Add a new Grease Pencil layer group in the active object
|
|
626
650
|
|
|
627
651
|
:type execution_context: int | str | None
|
|
@@ -647,7 +671,7 @@ def layer_group_color_tag(
|
|
|
647
671
|
"COLOR8",
|
|
648
672
|
]
|
|
649
673
|
| None = "COLOR1",
|
|
650
|
-
):
|
|
674
|
+
) -> None:
|
|
651
675
|
"""Change layer group icon
|
|
652
676
|
|
|
653
677
|
:type execution_context: int | str | None
|
|
@@ -662,7 +686,7 @@ def layer_group_remove(
|
|
|
662
686
|
/,
|
|
663
687
|
*,
|
|
664
688
|
keep_children: bool | None = False,
|
|
665
|
-
):
|
|
689
|
+
) -> None:
|
|
666
690
|
"""Remove Grease Pencil layer group in the active object
|
|
667
691
|
|
|
668
692
|
:type execution_context: int | str | None
|
|
@@ -677,7 +701,7 @@ def layer_hide(
|
|
|
677
701
|
/,
|
|
678
702
|
*,
|
|
679
703
|
unselected: bool | None = False,
|
|
680
|
-
):
|
|
704
|
+
) -> None:
|
|
681
705
|
"""Hide selected/unselected Grease Pencil layers
|
|
682
706
|
|
|
683
707
|
:type execution_context: int | str | None
|
|
@@ -692,7 +716,7 @@ def layer_isolate(
|
|
|
692
716
|
/,
|
|
693
717
|
*,
|
|
694
718
|
affect_visibility: bool | None = False,
|
|
695
|
-
):
|
|
719
|
+
) -> None:
|
|
696
720
|
"""Make only active layer visible/editable
|
|
697
721
|
|
|
698
722
|
:type execution_context: int | str | None
|
|
@@ -707,7 +731,7 @@ def layer_lock_all(
|
|
|
707
731
|
/,
|
|
708
732
|
*,
|
|
709
733
|
lock: bool | None = True,
|
|
710
|
-
):
|
|
734
|
+
) -> None:
|
|
711
735
|
"""Lock all Grease Pencil layers to prevent them from being accidentally modified
|
|
712
736
|
|
|
713
737
|
:type execution_context: int | str | None
|
|
@@ -722,7 +746,7 @@ def layer_mask_add(
|
|
|
722
746
|
/,
|
|
723
747
|
*,
|
|
724
748
|
name: str = "",
|
|
725
|
-
):
|
|
749
|
+
) -> None:
|
|
726
750
|
"""Add new layer as masking
|
|
727
751
|
|
|
728
752
|
:type execution_context: int | str | None
|
|
@@ -733,7 +757,7 @@ def layer_mask_add(
|
|
|
733
757
|
|
|
734
758
|
def layer_mask_remove(
|
|
735
759
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
736
|
-
):
|
|
760
|
+
) -> None:
|
|
737
761
|
"""Remove Layer Mask
|
|
738
762
|
|
|
739
763
|
:type execution_context: int | str | None
|
|
@@ -746,7 +770,7 @@ def layer_mask_reorder(
|
|
|
746
770
|
/,
|
|
747
771
|
*,
|
|
748
772
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
749
|
-
):
|
|
773
|
+
) -> None:
|
|
750
774
|
"""Reorder the active Grease Pencil mask layer up/down in the list
|
|
751
775
|
|
|
752
776
|
:type execution_context: int | str | None
|
|
@@ -761,7 +785,7 @@ def layer_merge(
|
|
|
761
785
|
/,
|
|
762
786
|
*,
|
|
763
787
|
mode: typing.Literal["ACTIVE", "GROUP", "ALL"] | None = "ACTIVE",
|
|
764
|
-
):
|
|
788
|
+
) -> None:
|
|
765
789
|
"""Combine layers based on the mode into one layer
|
|
766
790
|
|
|
767
791
|
:type execution_context: int | str | None
|
|
@@ -785,7 +809,7 @@ def layer_move(
|
|
|
785
809
|
/,
|
|
786
810
|
*,
|
|
787
811
|
direction: typing.Literal["UP", "DOWN"] | None = "UP",
|
|
788
|
-
):
|
|
812
|
+
) -> None:
|
|
789
813
|
"""Move the active Grease Pencil layer or Group
|
|
790
814
|
|
|
791
815
|
:type execution_context: int | str | None
|
|
@@ -794,14 +818,18 @@ def layer_move(
|
|
|
794
818
|
:type direction: typing.Literal['UP','DOWN'] | None
|
|
795
819
|
"""
|
|
796
820
|
|
|
797
|
-
def layer_remove(
|
|
821
|
+
def layer_remove(
|
|
822
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
823
|
+
) -> None:
|
|
798
824
|
"""Remove the active Grease Pencil layer
|
|
799
825
|
|
|
800
826
|
:type execution_context: int | str | None
|
|
801
827
|
:type undo: bool | None
|
|
802
828
|
"""
|
|
803
829
|
|
|
804
|
-
def layer_reveal(
|
|
830
|
+
def layer_reveal(
|
|
831
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
832
|
+
) -> None:
|
|
805
833
|
"""Show all Grease Pencil layers
|
|
806
834
|
|
|
807
835
|
:type execution_context: int | str | None
|
|
@@ -814,7 +842,7 @@ def material_copy_to_object(
|
|
|
814
842
|
/,
|
|
815
843
|
*,
|
|
816
844
|
only_active: bool | None = True,
|
|
817
|
-
):
|
|
845
|
+
) -> None:
|
|
818
846
|
"""Append Materials of the active Grease Pencil to other object
|
|
819
847
|
|
|
820
848
|
:type execution_context: int | str | None
|
|
@@ -829,7 +857,7 @@ def material_hide(
|
|
|
829
857
|
/,
|
|
830
858
|
*,
|
|
831
859
|
invert: bool | None = False,
|
|
832
|
-
):
|
|
860
|
+
) -> None:
|
|
833
861
|
"""Hide active/inactive Grease Pencil material(s)
|
|
834
862
|
|
|
835
863
|
:type execution_context: int | str | None
|
|
@@ -844,7 +872,7 @@ def material_isolate(
|
|
|
844
872
|
/,
|
|
845
873
|
*,
|
|
846
874
|
affect_visibility: bool | None = False,
|
|
847
|
-
):
|
|
875
|
+
) -> None:
|
|
848
876
|
"""Toggle whether the active material is the only one that is editable and/or visible
|
|
849
877
|
|
|
850
878
|
:type execution_context: int | str | None
|
|
@@ -855,7 +883,7 @@ def material_isolate(
|
|
|
855
883
|
|
|
856
884
|
def material_lock_all(
|
|
857
885
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
858
|
-
):
|
|
886
|
+
) -> None:
|
|
859
887
|
"""Lock all Grease Pencil materials to prevent them from being accidentally modified
|
|
860
888
|
|
|
861
889
|
:type execution_context: int | str | None
|
|
@@ -864,7 +892,7 @@ def material_lock_all(
|
|
|
864
892
|
|
|
865
893
|
def material_lock_unselected(
|
|
866
894
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
867
|
-
):
|
|
895
|
+
) -> None:
|
|
868
896
|
"""Lock any material not used in any selected stroke
|
|
869
897
|
|
|
870
898
|
:type execution_context: int | str | None
|
|
@@ -873,7 +901,7 @@ def material_lock_unselected(
|
|
|
873
901
|
|
|
874
902
|
def material_lock_unused(
|
|
875
903
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
876
|
-
):
|
|
904
|
+
) -> None:
|
|
877
905
|
"""Lock and hide any material not used
|
|
878
906
|
|
|
879
907
|
:type execution_context: int | str | None
|
|
@@ -882,7 +910,7 @@ def material_lock_unused(
|
|
|
882
910
|
|
|
883
911
|
def material_reveal(
|
|
884
912
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
885
|
-
):
|
|
913
|
+
) -> None:
|
|
886
914
|
"""Unhide all hidden Grease Pencil materials
|
|
887
915
|
|
|
888
916
|
:type execution_context: int | str | None
|
|
@@ -895,7 +923,7 @@ def material_select(
|
|
|
895
923
|
/,
|
|
896
924
|
*,
|
|
897
925
|
deselect: bool | None = False,
|
|
898
|
-
):
|
|
926
|
+
) -> None:
|
|
899
927
|
"""Select/Deselect all Grease Pencil strokes using current material
|
|
900
928
|
|
|
901
929
|
:type execution_context: int | str | None
|
|
@@ -906,7 +934,7 @@ def material_select(
|
|
|
906
934
|
|
|
907
935
|
def material_unlock_all(
|
|
908
936
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
909
|
-
):
|
|
937
|
+
) -> None:
|
|
910
938
|
"""Unlock all Grease Pencil materials so that they can be edited
|
|
911
939
|
|
|
912
940
|
:type execution_context: int | str | None
|
|
@@ -920,7 +948,7 @@ def move_to_layer(
|
|
|
920
948
|
*,
|
|
921
949
|
target_layer_name: str = "",
|
|
922
950
|
add_new_layer: bool | None = False,
|
|
923
|
-
):
|
|
951
|
+
) -> None:
|
|
924
952
|
"""Move selected strokes to another layer
|
|
925
953
|
|
|
926
954
|
:type execution_context: int | str | None
|
|
@@ -941,7 +969,7 @@ def outline(
|
|
|
941
969
|
radius: float | None = 0.01,
|
|
942
970
|
offset_factor: float | None = -1.0,
|
|
943
971
|
corner_subdivisions: int | None = 2,
|
|
944
|
-
):
|
|
972
|
+
) -> None:
|
|
945
973
|
"""Convert selected strokes to perimeter
|
|
946
974
|
|
|
947
975
|
:type execution_context: int | str | None
|
|
@@ -962,7 +990,7 @@ def paintmode_toggle(
|
|
|
962
990
|
/,
|
|
963
991
|
*,
|
|
964
992
|
back: bool | None = False,
|
|
965
|
-
):
|
|
993
|
+
) -> None:
|
|
966
994
|
"""Enter/Exit paint mode for Grease Pencil strokes
|
|
967
995
|
|
|
968
996
|
:type execution_context: int | str | None
|
|
@@ -979,7 +1007,7 @@ def paste(
|
|
|
979
1007
|
type: typing.Literal["ACTIVE", "LAYER"] | None = "ACTIVE",
|
|
980
1008
|
paste_back: bool | None = False,
|
|
981
1009
|
keep_world_transform: bool | None = False,
|
|
982
|
-
):
|
|
1010
|
+
) -> None:
|
|
983
1011
|
"""Paste Grease Pencil points or strokes from the internal clipboard to the active layer
|
|
984
1012
|
|
|
985
1013
|
:type execution_context: int | str | None
|
|
@@ -1000,7 +1028,7 @@ def primitive_arc(
|
|
|
1000
1028
|
subdivision: int | None = 62,
|
|
1001
1029
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
1002
1030
|
| None = "ARC",
|
|
1003
|
-
):
|
|
1031
|
+
) -> None:
|
|
1004
1032
|
"""Create predefined Grease Pencil stroke arcs
|
|
1005
1033
|
|
|
1006
1034
|
:type execution_context: int | str | None
|
|
@@ -1019,7 +1047,7 @@ def primitive_box(
|
|
|
1019
1047
|
subdivision: int | None = 3,
|
|
1020
1048
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
1021
1049
|
| None = "BOX",
|
|
1022
|
-
):
|
|
1050
|
+
) -> None:
|
|
1023
1051
|
"""Create predefined Grease Pencil stroke boxes
|
|
1024
1052
|
|
|
1025
1053
|
:type execution_context: int | str | None
|
|
@@ -1038,7 +1066,7 @@ def primitive_circle(
|
|
|
1038
1066
|
subdivision: int | None = 94,
|
|
1039
1067
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
1040
1068
|
| None = "CIRCLE",
|
|
1041
|
-
):
|
|
1069
|
+
) -> None:
|
|
1042
1070
|
"""Create predefined Grease Pencil stroke circles
|
|
1043
1071
|
|
|
1044
1072
|
:type execution_context: int | str | None
|
|
@@ -1057,7 +1085,7 @@ def primitive_curve(
|
|
|
1057
1085
|
subdivision: int | None = 62,
|
|
1058
1086
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
1059
1087
|
| None = "CURVE",
|
|
1060
|
-
):
|
|
1088
|
+
) -> None:
|
|
1061
1089
|
"""Create predefined Grease Pencil stroke curve shapes
|
|
1062
1090
|
|
|
1063
1091
|
:type execution_context: int | str | None
|
|
@@ -1076,7 +1104,7 @@ def primitive_line(
|
|
|
1076
1104
|
subdivision: int | None = 6,
|
|
1077
1105
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
1078
1106
|
| None = "LINE",
|
|
1079
|
-
):
|
|
1107
|
+
) -> None:
|
|
1080
1108
|
"""Create predefined Grease Pencil stroke lines
|
|
1081
1109
|
|
|
1082
1110
|
:type execution_context: int | str | None
|
|
@@ -1095,7 +1123,7 @@ def primitive_polyline(
|
|
|
1095
1123
|
subdivision: int | None = 6,
|
|
1096
1124
|
type: typing.Literal["BOX", "LINE", "POLYLINE", "CIRCLE", "ARC", "CURVE"]
|
|
1097
1125
|
| None = "POLYLINE",
|
|
1098
|
-
):
|
|
1126
|
+
) -> None:
|
|
1099
1127
|
"""Create predefined Grease Pencil stroke polylines
|
|
1100
1128
|
|
|
1101
1129
|
:type execution_context: int | str | None
|
|
@@ -1112,7 +1140,7 @@ def relative_layer_mask_add(
|
|
|
1112
1140
|
/,
|
|
1113
1141
|
*,
|
|
1114
1142
|
mode: typing.Literal["ABOVE", "BELOW"] | None = "ABOVE",
|
|
1115
|
-
):
|
|
1143
|
+
) -> None:
|
|
1116
1144
|
"""Mask active layer with layer above or below
|
|
1117
1145
|
|
|
1118
1146
|
:type execution_context: int | str | None
|
|
@@ -1127,7 +1155,7 @@ def remove_fill_guides(
|
|
|
1127
1155
|
/,
|
|
1128
1156
|
*,
|
|
1129
1157
|
mode: typing.Literal["ACTIVE_FRAME", "ALL_FRAMES"] | None = "ALL_FRAMES",
|
|
1130
|
-
):
|
|
1158
|
+
) -> None:
|
|
1131
1159
|
"""Remove all the strokes that were created from the fill tool as guides
|
|
1132
1160
|
|
|
1133
1161
|
:type execution_context: int | str | None
|
|
@@ -1142,7 +1170,7 @@ def reorder(
|
|
|
1142
1170
|
/,
|
|
1143
1171
|
*,
|
|
1144
1172
|
direction: typing.Literal["TOP", "UP", "DOWN", "BOTTOM"] | None = "TOP",
|
|
1145
|
-
):
|
|
1173
|
+
) -> None:
|
|
1146
1174
|
"""Change the display order of the selected strokes
|
|
1147
1175
|
|
|
1148
1176
|
:type execution_context: int | str | None
|
|
@@ -1160,7 +1188,7 @@ def reproject(
|
|
|
1160
1188
|
| None = "VIEW",
|
|
1161
1189
|
keep_original: bool | None = False,
|
|
1162
1190
|
offset: float | None = 0.0,
|
|
1163
|
-
):
|
|
1191
|
+
) -> None:
|
|
1164
1192
|
"""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)
|
|
1165
1193
|
|
|
1166
1194
|
:type execution_context: int | str | None
|
|
@@ -1191,7 +1219,9 @@ def reproject(
|
|
|
1191
1219
|
:type offset: float | None
|
|
1192
1220
|
"""
|
|
1193
1221
|
|
|
1194
|
-
def reset_uvs(
|
|
1222
|
+
def reset_uvs(
|
|
1223
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1224
|
+
) -> None:
|
|
1195
1225
|
"""Reset UV transformation to default values
|
|
1196
1226
|
|
|
1197
1227
|
:type execution_context: int | str | None
|
|
@@ -1207,7 +1237,7 @@ def sculpt_paint(
|
|
|
1207
1237
|
| None = None,
|
|
1208
1238
|
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
1209
1239
|
pen_flip: bool | None = False,
|
|
1210
|
-
):
|
|
1240
|
+
) -> None:
|
|
1211
1241
|
"""Sculpt strokes in the active Grease Pencil object
|
|
1212
1242
|
|
|
1213
1243
|
:type execution_context: int | str | None
|
|
@@ -1238,7 +1268,7 @@ def sculptmode_toggle(
|
|
|
1238
1268
|
/,
|
|
1239
1269
|
*,
|
|
1240
1270
|
back: bool | None = False,
|
|
1241
|
-
):
|
|
1271
|
+
) -> None:
|
|
1242
1272
|
"""Enter/Exit sculpt mode for Grease Pencil strokes
|
|
1243
1273
|
|
|
1244
1274
|
:type execution_context: int | str | None
|
|
@@ -1253,7 +1283,7 @@ def select_all(
|
|
|
1253
1283
|
/,
|
|
1254
1284
|
*,
|
|
1255
1285
|
action: typing.Literal["TOGGLE", "SELECT", "DESELECT", "INVERT"] | None = "TOGGLE",
|
|
1256
|
-
):
|
|
1286
|
+
) -> None:
|
|
1257
1287
|
"""(De)select all visible strokes
|
|
1258
1288
|
|
|
1259
1289
|
:type execution_context: int | str | None
|
|
@@ -1280,7 +1310,7 @@ def select_alternate(
|
|
|
1280
1310
|
/,
|
|
1281
1311
|
*,
|
|
1282
1312
|
deselect_ends: bool | None = False,
|
|
1283
|
-
):
|
|
1313
|
+
) -> None:
|
|
1284
1314
|
"""Select alternated points in strokes with already selected points
|
|
1285
1315
|
|
|
1286
1316
|
:type execution_context: int | str | None
|
|
@@ -1296,7 +1326,7 @@ def select_ends(
|
|
|
1296
1326
|
*,
|
|
1297
1327
|
amount_start: int | None = 0,
|
|
1298
1328
|
amount_end: int | None = 1,
|
|
1299
|
-
):
|
|
1329
|
+
) -> None:
|
|
1300
1330
|
"""Select end points of strokes
|
|
1301
1331
|
|
|
1302
1332
|
:type execution_context: int | str | None
|
|
@@ -1307,21 +1337,27 @@ def select_ends(
|
|
|
1307
1337
|
:type amount_end: int | None
|
|
1308
1338
|
"""
|
|
1309
1339
|
|
|
1310
|
-
def select_less(
|
|
1340
|
+
def select_less(
|
|
1341
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1342
|
+
) -> None:
|
|
1311
1343
|
"""Shrink the selection by one point
|
|
1312
1344
|
|
|
1313
1345
|
:type execution_context: int | str | None
|
|
1314
1346
|
:type undo: bool | None
|
|
1315
1347
|
"""
|
|
1316
1348
|
|
|
1317
|
-
def select_linked(
|
|
1349
|
+
def select_linked(
|
|
1350
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1351
|
+
) -> None:
|
|
1318
1352
|
"""Select all points in curves with any point selection
|
|
1319
1353
|
|
|
1320
1354
|
:type execution_context: int | str | None
|
|
1321
1355
|
:type undo: bool | None
|
|
1322
1356
|
"""
|
|
1323
1357
|
|
|
1324
|
-
def select_more(
|
|
1358
|
+
def select_more(
|
|
1359
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1360
|
+
) -> None:
|
|
1325
1361
|
"""Grow the selection by one point
|
|
1326
1362
|
|
|
1327
1363
|
:type execution_context: int | str | None
|
|
@@ -1336,7 +1372,7 @@ def select_random(
|
|
|
1336
1372
|
ratio: float | None = 0.5,
|
|
1337
1373
|
seed: int | None = 0,
|
|
1338
1374
|
action: typing.Literal["SELECT", "DESELECT"] | None = "SELECT",
|
|
1339
|
-
):
|
|
1375
|
+
) -> None:
|
|
1340
1376
|
"""Selects random points from the current strokes selection
|
|
1341
1377
|
|
|
1342
1378
|
:type execution_context: int | str | None
|
|
@@ -1363,7 +1399,7 @@ def select_similar(
|
|
|
1363
1399
|
mode: typing.Literal["LAYER", "MATERIAL", "VERTEX_COLOR", "RADIUS", "OPACITY"]
|
|
1364
1400
|
| None = "LAYER",
|
|
1365
1401
|
threshold: float | None = 0.1,
|
|
1366
|
-
):
|
|
1402
|
+
) -> None:
|
|
1367
1403
|
"""Select all strokes with similar characteristics
|
|
1368
1404
|
|
|
1369
1405
|
:type execution_context: int | str | None
|
|
@@ -1380,7 +1416,7 @@ def separate(
|
|
|
1380
1416
|
/,
|
|
1381
1417
|
*,
|
|
1382
1418
|
mode: typing.Literal["SELECTED", "MATERIAL", "LAYER"] | None = "SELECTED",
|
|
1383
|
-
):
|
|
1419
|
+
) -> None:
|
|
1384
1420
|
"""Separate the selected geometry into a new Grease Pencil object
|
|
1385
1421
|
|
|
1386
1422
|
:type execution_context: int | str | None
|
|
@@ -1400,7 +1436,7 @@ def separate(
|
|
|
1400
1436
|
|
|
1401
1437
|
def set_active_material(
|
|
1402
1438
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1403
|
-
):
|
|
1439
|
+
) -> None:
|
|
1404
1440
|
"""Set the selected stroke material as the active material
|
|
1405
1441
|
|
|
1406
1442
|
:type execution_context: int | str | None
|
|
@@ -1413,7 +1449,7 @@ def set_curve_resolution(
|
|
|
1413
1449
|
/,
|
|
1414
1450
|
*,
|
|
1415
1451
|
resolution: int | None = 12,
|
|
1416
|
-
):
|
|
1452
|
+
) -> None:
|
|
1417
1453
|
"""Set resolution of selected curves
|
|
1418
1454
|
|
|
1419
1455
|
:type execution_context: int | str | None
|
|
@@ -1429,7 +1465,7 @@ def set_curve_type(
|
|
|
1429
1465
|
*,
|
|
1430
1466
|
type: bpy.stub_internal.rna_enums.CurvesTypeItems | None = "POLY",
|
|
1431
1467
|
use_handles: bool | None = False,
|
|
1432
|
-
):
|
|
1468
|
+
) -> None:
|
|
1433
1469
|
"""Set type of selected curves
|
|
1434
1470
|
|
|
1435
1471
|
:type execution_context: int | str | None
|
|
@@ -1446,7 +1482,7 @@ def set_handle_type(
|
|
|
1446
1482
|
/,
|
|
1447
1483
|
*,
|
|
1448
1484
|
type: bpy.stub_internal.rna_enums.CurvesHandleTypeItems | None = "AUTO",
|
|
1449
|
-
):
|
|
1485
|
+
) -> None:
|
|
1450
1486
|
"""Set the handle type for bezier curves
|
|
1451
1487
|
|
|
1452
1488
|
:type execution_context: int | str | None
|
|
@@ -1461,7 +1497,7 @@ def set_material(
|
|
|
1461
1497
|
/,
|
|
1462
1498
|
*,
|
|
1463
1499
|
slot: str | None = "DEFAULT",
|
|
1464
|
-
):
|
|
1500
|
+
) -> None:
|
|
1465
1501
|
"""Set active material
|
|
1466
1502
|
|
|
1467
1503
|
:type execution_context: int | str | None
|
|
@@ -1476,7 +1512,7 @@ def set_selection_mode(
|
|
|
1476
1512
|
/,
|
|
1477
1513
|
*,
|
|
1478
1514
|
mode: bpy.stub_internal.rna_enums.GreasePencilSelectmodeItems | None = "POINT",
|
|
1479
|
-
):
|
|
1515
|
+
) -> None:
|
|
1480
1516
|
"""Change the selection mode for Grease Pencil strokes
|
|
1481
1517
|
|
|
1482
1518
|
:type execution_context: int | str | None
|
|
@@ -1487,7 +1523,7 @@ def set_selection_mode(
|
|
|
1487
1523
|
|
|
1488
1524
|
def set_start_point(
|
|
1489
1525
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1490
|
-
):
|
|
1526
|
+
) -> None:
|
|
1491
1527
|
"""Select which point is the beginning of the curve
|
|
1492
1528
|
|
|
1493
1529
|
:type execution_context: int | str | None
|
|
@@ -1501,7 +1537,7 @@ def set_uniform_opacity(
|
|
|
1501
1537
|
*,
|
|
1502
1538
|
opacity_stroke: float | None = 1.0,
|
|
1503
1539
|
opacity_fill: float | None = 0.5,
|
|
1504
|
-
):
|
|
1540
|
+
) -> None:
|
|
1505
1541
|
"""Set all stroke points to same opacity
|
|
1506
1542
|
|
|
1507
1543
|
:type execution_context: int | str | None
|
|
@@ -1518,7 +1554,7 @@ def set_uniform_thickness(
|
|
|
1518
1554
|
/,
|
|
1519
1555
|
*,
|
|
1520
1556
|
thickness: float | None = 0.1,
|
|
1521
|
-
):
|
|
1557
|
+
) -> None:
|
|
1522
1558
|
"""Set all stroke points to same thickness
|
|
1523
1559
|
|
|
1524
1560
|
:type execution_context: int | str | None
|
|
@@ -1529,7 +1565,7 @@ def set_uniform_thickness(
|
|
|
1529
1565
|
|
|
1530
1566
|
def snap_cursor_to_selected(
|
|
1531
1567
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1532
|
-
):
|
|
1568
|
+
) -> None:
|
|
1533
1569
|
"""Snap cursor to center of selected points
|
|
1534
1570
|
|
|
1535
1571
|
:type execution_context: int | str | None
|
|
@@ -1542,7 +1578,7 @@ def snap_to_cursor(
|
|
|
1542
1578
|
/,
|
|
1543
1579
|
*,
|
|
1544
1580
|
use_offset: bool | None = True,
|
|
1545
|
-
):
|
|
1581
|
+
) -> None:
|
|
1546
1582
|
"""Snap selected points/strokes to the cursor
|
|
1547
1583
|
|
|
1548
1584
|
:type execution_context: int | str | None
|
|
@@ -1551,7 +1587,9 @@ def snap_to_cursor(
|
|
|
1551
1587
|
:type use_offset: bool | None
|
|
1552
1588
|
"""
|
|
1553
1589
|
|
|
1554
|
-
def snap_to_grid(
|
|
1590
|
+
def snap_to_grid(
|
|
1591
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1592
|
+
) -> None:
|
|
1555
1593
|
"""Snap selected points to the nearest grid points
|
|
1556
1594
|
|
|
1557
1595
|
:type execution_context: int | str | None
|
|
@@ -1564,7 +1602,7 @@ def stroke_material_set(
|
|
|
1564
1602
|
/,
|
|
1565
1603
|
*,
|
|
1566
1604
|
material: str = "",
|
|
1567
|
-
):
|
|
1605
|
+
) -> None:
|
|
1568
1606
|
"""Assign the active material slot to the selected strokes
|
|
1569
1607
|
|
|
1570
1608
|
:type execution_context: int | str | None
|
|
@@ -1580,7 +1618,7 @@ def stroke_merge_by_distance(
|
|
|
1580
1618
|
*,
|
|
1581
1619
|
threshold: float | None = 0.001,
|
|
1582
1620
|
use_unselected: bool | None = False,
|
|
1583
|
-
):
|
|
1621
|
+
) -> None:
|
|
1584
1622
|
"""Merge points by distance
|
|
1585
1623
|
|
|
1586
1624
|
:type execution_context: int | str | None
|
|
@@ -1597,7 +1635,7 @@ def stroke_reset_vertex_color(
|
|
|
1597
1635
|
/,
|
|
1598
1636
|
*,
|
|
1599
1637
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1600
|
-
):
|
|
1638
|
+
) -> None:
|
|
1601
1639
|
"""Reset vertex color for all or selected strokes
|
|
1602
1640
|
|
|
1603
1641
|
:type execution_context: int | str | None
|
|
@@ -1616,7 +1654,7 @@ def stroke_simplify(
|
|
|
1616
1654
|
distance: float | None = 0.01,
|
|
1617
1655
|
steps: int | None = 1,
|
|
1618
1656
|
mode: typing.Literal["FIXED", "ADAPTIVE", "SAMPLE", "MERGE"] | None = "FIXED",
|
|
1619
|
-
):
|
|
1657
|
+
) -> None:
|
|
1620
1658
|
"""Simplify selected strokes
|
|
1621
1659
|
|
|
1622
1660
|
:type execution_context: int | str | None
|
|
@@ -1657,7 +1695,7 @@ def stroke_smooth(
|
|
|
1657
1695
|
smooth_position: bool | None = True,
|
|
1658
1696
|
smooth_radius: bool | None = True,
|
|
1659
1697
|
smooth_opacity: bool | None = False,
|
|
1660
|
-
):
|
|
1698
|
+
) -> None:
|
|
1661
1699
|
"""Smooth selected strokes
|
|
1662
1700
|
|
|
1663
1701
|
:type execution_context: int | str | None
|
|
@@ -1678,7 +1716,9 @@ def stroke_smooth(
|
|
|
1678
1716
|
:type smooth_opacity: bool | None
|
|
1679
1717
|
"""
|
|
1680
1718
|
|
|
1681
|
-
def stroke_split(
|
|
1719
|
+
def stroke_split(
|
|
1720
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
1721
|
+
) -> None:
|
|
1682
1722
|
"""Split selected points to a new stroke
|
|
1683
1723
|
|
|
1684
1724
|
:type execution_context: int | str | None
|
|
@@ -1692,7 +1732,7 @@ def stroke_subdivide(
|
|
|
1692
1732
|
*,
|
|
1693
1733
|
number_cuts: int | None = 1,
|
|
1694
1734
|
only_selected: bool | None = True,
|
|
1695
|
-
):
|
|
1735
|
+
) -> None:
|
|
1696
1736
|
"""Subdivide between continuous selected points of the stroke adding a point half way between them
|
|
1697
1737
|
|
|
1698
1738
|
:type execution_context: int | str | None
|
|
@@ -1710,7 +1750,7 @@ def stroke_subdivide_smooth(
|
|
|
1710
1750
|
*,
|
|
1711
1751
|
GREASE_PENCIL_OT_stroke_subdivide: typing.Any | None = None,
|
|
1712
1752
|
GREASE_PENCIL_OT_stroke_smooth: typing.Any | None = None,
|
|
1713
|
-
):
|
|
1753
|
+
) -> None:
|
|
1714
1754
|
"""Subdivide strokes and smooth them
|
|
1715
1755
|
|
|
1716
1756
|
:type execution_context: int | str | None
|
|
@@ -1723,7 +1763,7 @@ def stroke_subdivide_smooth(
|
|
|
1723
1763
|
|
|
1724
1764
|
def stroke_switch_direction(
|
|
1725
1765
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1726
|
-
):
|
|
1766
|
+
) -> None:
|
|
1727
1767
|
"""Change direction of the points of the selected strokes
|
|
1728
1768
|
|
|
1729
1769
|
:type execution_context: int | str | None
|
|
@@ -1739,7 +1779,7 @@ def stroke_trim(
|
|
|
1739
1779
|
use_smooth_stroke: bool | None = False,
|
|
1740
1780
|
smooth_stroke_factor: float | None = 0.75,
|
|
1741
1781
|
smooth_stroke_radius: int | None = 35,
|
|
1742
|
-
):
|
|
1782
|
+
) -> None:
|
|
1743
1783
|
"""Delete stroke points in between intersecting strokes
|
|
1744
1784
|
|
|
1745
1785
|
:type execution_context: int | str | None
|
|
@@ -1765,7 +1805,7 @@ def texture_gradient(
|
|
|
1765
1805
|
yend: int | None = 0,
|
|
1766
1806
|
flip: bool | None = False,
|
|
1767
1807
|
cursor: int | None = 5,
|
|
1768
|
-
):
|
|
1808
|
+
) -> None:
|
|
1769
1809
|
"""Draw a line to set the fill material gradient for the selected strokes
|
|
1770
1810
|
|
|
1771
1811
|
:type execution_context: int | str | None
|
|
@@ -1799,7 +1839,7 @@ def trace_image(
|
|
|
1799
1839
|
mode: typing.Literal["SINGLE", "SEQUENCE"] | None = "SINGLE",
|
|
1800
1840
|
use_current_frame: bool | None = True,
|
|
1801
1841
|
frame_number: int | None = 0,
|
|
1802
|
-
):
|
|
1842
|
+
) -> None:
|
|
1803
1843
|
"""Extract Grease Pencil strokes from image
|
|
1804
1844
|
|
|
1805
1845
|
:type execution_context: int | str | None
|
|
@@ -1856,7 +1896,7 @@ def vertex_brush_stroke(
|
|
|
1856
1896
|
| None = None,
|
|
1857
1897
|
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
1858
1898
|
pen_flip: bool | None = False,
|
|
1859
|
-
):
|
|
1899
|
+
) -> None:
|
|
1860
1900
|
"""Draw on vertex colors in the active Grease Pencil object
|
|
1861
1901
|
|
|
1862
1902
|
:type execution_context: int | str | None
|
|
@@ -1889,7 +1929,7 @@ def vertex_color_brightness_contrast(
|
|
|
1889
1929
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1890
1930
|
brightness: float | None = 0.0,
|
|
1891
1931
|
contrast: float | None = 0.0,
|
|
1892
|
-
):
|
|
1932
|
+
) -> None:
|
|
1893
1933
|
"""Adjust vertex color brightness/contrast
|
|
1894
1934
|
|
|
1895
1935
|
:type execution_context: int | str | None
|
|
@@ -1911,7 +1951,7 @@ def vertex_color_hsv(
|
|
|
1911
1951
|
h: float | None = 0.5,
|
|
1912
1952
|
s: float | None = 1.0,
|
|
1913
1953
|
v: float | None = 1.0,
|
|
1914
|
-
):
|
|
1954
|
+
) -> None:
|
|
1915
1955
|
"""Adjust vertex color HSV values
|
|
1916
1956
|
|
|
1917
1957
|
:type execution_context: int | str | None
|
|
@@ -1932,7 +1972,7 @@ def vertex_color_invert(
|
|
|
1932
1972
|
/,
|
|
1933
1973
|
*,
|
|
1934
1974
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1935
|
-
):
|
|
1975
|
+
) -> None:
|
|
1936
1976
|
"""Invert RGB values
|
|
1937
1977
|
|
|
1938
1978
|
:type execution_context: int | str | None
|
|
@@ -1949,7 +1989,7 @@ def vertex_color_levels(
|
|
|
1949
1989
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1950
1990
|
offset: float | None = 0.0,
|
|
1951
1991
|
gain: float | None = 1.0,
|
|
1952
|
-
):
|
|
1992
|
+
) -> None:
|
|
1953
1993
|
"""Adjust levels of vertex colors
|
|
1954
1994
|
|
|
1955
1995
|
:type execution_context: int | str | None
|
|
@@ -1969,7 +2009,7 @@ def vertex_color_set(
|
|
|
1969
2009
|
*,
|
|
1970
2010
|
mode: typing.Literal["STROKE", "FILL", "BOTH"] | None = "BOTH",
|
|
1971
2011
|
factor: float | None = 1.0,
|
|
1972
|
-
):
|
|
2012
|
+
) -> None:
|
|
1973
2013
|
"""Set active color to all selected vertex
|
|
1974
2014
|
|
|
1975
2015
|
:type execution_context: int | str | None
|
|
@@ -1982,7 +2022,7 @@ def vertex_color_set(
|
|
|
1982
2022
|
|
|
1983
2023
|
def vertex_group_normalize(
|
|
1984
2024
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
1985
|
-
):
|
|
2025
|
+
) -> None:
|
|
1986
2026
|
"""Normalize weights of the active vertex group
|
|
1987
2027
|
|
|
1988
2028
|
:type execution_context: int | str | None
|
|
@@ -1995,7 +2035,7 @@ def vertex_group_normalize_all(
|
|
|
1995
2035
|
/,
|
|
1996
2036
|
*,
|
|
1997
2037
|
lock_active: bool | None = True,
|
|
1998
|
-
):
|
|
2038
|
+
) -> None:
|
|
1999
2039
|
"""Normalize the weights of all vertex groups, so that for each vertex, the sum of all weights is 1.0
|
|
2000
2040
|
|
|
2001
2041
|
:type execution_context: int | str | None
|
|
@@ -2011,7 +2051,7 @@ def vertex_group_smooth(
|
|
|
2011
2051
|
*,
|
|
2012
2052
|
factor: float | None = 0.5,
|
|
2013
2053
|
repeat: int | None = 1,
|
|
2014
|
-
):
|
|
2054
|
+
) -> None:
|
|
2015
2055
|
"""Smooth the weights of the active vertex group
|
|
2016
2056
|
|
|
2017
2057
|
:type execution_context: int | str | None
|
|
@@ -2028,7 +2068,7 @@ def vertexmode_toggle(
|
|
|
2028
2068
|
/,
|
|
2029
2069
|
*,
|
|
2030
2070
|
back: bool | None = False,
|
|
2031
|
-
):
|
|
2071
|
+
) -> None:
|
|
2032
2072
|
"""Enter/Exit vertex paint mode for Grease Pencil strokes
|
|
2033
2073
|
|
|
2034
2074
|
:type execution_context: int | str | None
|
|
@@ -2046,7 +2086,7 @@ def weight_brush_stroke(
|
|
|
2046
2086
|
| None = None,
|
|
2047
2087
|
mode: typing.Literal["NORMAL", "INVERT", "SMOOTH", "ERASE"] | None = "NORMAL",
|
|
2048
2088
|
pen_flip: bool | None = False,
|
|
2049
|
-
):
|
|
2089
|
+
) -> None:
|
|
2050
2090
|
"""Draw weight on stroke points in the active Grease Pencil object
|
|
2051
2091
|
|
|
2052
2092
|
:type execution_context: int | str | None
|
|
@@ -2071,14 +2111,18 @@ def weight_brush_stroke(
|
|
|
2071
2111
|
:type pen_flip: bool | None
|
|
2072
2112
|
"""
|
|
2073
2113
|
|
|
2074
|
-
def weight_invert(
|
|
2114
|
+
def weight_invert(
|
|
2115
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
2116
|
+
) -> None:
|
|
2075
2117
|
"""Invert the weight of active vertex group
|
|
2076
2118
|
|
|
2077
2119
|
:type execution_context: int | str | None
|
|
2078
2120
|
:type undo: bool | None
|
|
2079
2121
|
"""
|
|
2080
2122
|
|
|
2081
|
-
def weight_sample(
|
|
2123
|
+
def weight_sample(
|
|
2124
|
+
execution_context: int | str | None = None, undo: bool | None = None
|
|
2125
|
+
) -> None:
|
|
2082
2126
|
"""Set the weight of the Draw tool to the weight of the vertex under the mouse cursor
|
|
2083
2127
|
|
|
2084
2128
|
:type execution_context: int | str | None
|
|
@@ -2087,7 +2131,7 @@ def weight_sample(execution_context: int | str | None = None, undo: bool | None
|
|
|
2087
2131
|
|
|
2088
2132
|
def weight_toggle_direction(
|
|
2089
2133
|
execution_context: int | str | None = None, undo: bool | None = None
|
|
2090
|
-
):
|
|
2134
|
+
) -> None:
|
|
2091
2135
|
"""Toggle Add/Subtract for the weight paint draw tool
|
|
2092
2136
|
|
|
2093
2137
|
:type execution_context: int | str | None
|
|
@@ -2100,7 +2144,7 @@ def weightmode_toggle(
|
|
|
2100
2144
|
/,
|
|
2101
2145
|
*,
|
|
2102
2146
|
back: bool | None = False,
|
|
2103
|
-
):
|
|
2147
|
+
) -> None:
|
|
2104
2148
|
"""Enter/Exit weight paint mode for Grease Pencil strokes
|
|
2105
2149
|
|
|
2106
2150
|
:type execution_context: int | str | None
|