fake-bpy-module 20240517__py3-none-any.whl → 20240519__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/__init__.pyi +2 -1
- _bpy_internal/freedesktop/__init__.pyi +20 -86
- addon_utils/__init__.pyi +7 -31
- animsys_refactor/__init__.pyi +7 -26
- aud/__init__.pyi +3 -5
- bgl/__init__.pyi +2 -1630
- bl_app_override/__init__.pyi +5 -15
- bl_app_override/helpers/__init__.pyi +4 -23
- bl_app_template_utils/__init__.pyi +5 -16
- bl_console_utils/__init__.pyi +2 -1
- bl_console_utils/autocomplete/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_import/__init__.pyi +2 -1
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +2 -1
- bl_console_utils/autocomplete/intellisense/__init__.pyi +2 -1
- bl_i18n_utils/__init__.pyi +2 -1
- bl_i18n_utils/bl_extract_messages/__init__.pyi +15 -65
- bl_i18n_utils/merge_po/__init__.pyi +3 -5
- bl_i18n_utils/settings/__init__.pyi +4 -23
- bl_i18n_utils/utils/__init__.pyi +10 -66
- bl_i18n_utils/utils_cli/__init__.pyi +9 -31
- bl_i18n_utils/utils_languages_menu/__init__.pyi +3 -5
- bl_i18n_utils/utils_rtl/__init__.pyi +2 -1
- bl_keymap_utils/__init__.pyi +2 -1
- bl_keymap_utils/io/__init__.pyi +10 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +3 -5
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -6
- bl_keymap_utils/versioning/__init__.pyi +3 -5
- bl_math/__init__.pyi +2 -1
- bl_operators/__init__.pyi +4 -10
- bl_operators/add_mesh_torus/__init__.pyi +4 -19
- bl_operators/anim/__init__.pyi +2 -71
- bl_operators/assets/__init__.pyi +2 -30
- bl_operators/bmesh/__init__.pyi +2 -1
- bl_operators/bmesh/find_adjacent/__init__.pyi +9 -35
- bl_operators/clip/__init__.pyi +7 -115
- bl_operators/console/__init__.pyi +2 -38
- bl_operators/constraint/__init__.pyi +2 -37
- bl_operators/file/__init__.pyi +2 -28
- bl_operators/freestyle/__init__.pyi +2 -37
- bl_operators/geometry_nodes/__init__.pyi +15 -103
- bl_operators/image/__init__.pyi +2 -52
- bl_operators/mesh/__init__.pyi +2 -28
- bl_operators/node/__init__.pyi +2 -105
- bl_operators/object/__init__.pyi +2 -138
- bl_operators/object_align/__init__.pyi +5 -24
- bl_operators/object_quick_effects/__init__.pyi +4 -49
- bl_operators/object_randomize_transform/__init__.pyi +5 -14
- bl_operators/presets/__init__.pyi +4 -376
- bl_operators/rigidbody/__init__.pyi +2 -28
- bl_operators/screen_play_rendered_anim/__init__.pyi +3 -14
- bl_operators/sequencer/__init__.pyi +3 -104
- bl_operators/spreadsheet/__init__.pyi +2 -10
- bl_operators/userpref/__init__.pyi +3 -201
- bl_operators/uvcalc_follow_active/__init__.pyi +4 -19
- bl_operators/uvcalc_lightmap/__init__.pyi +4 -34
- bl_operators/uvcalc_transform/__init__.pyi +13 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +4 -19
- bl_operators/view3d/__init__.pyi +2 -64
- bl_operators/wm/__init__.pyi +16 -451
- bl_operators/world/__init__.pyi +2 -10
- bl_previews_utils/__init__.pyi +2 -1
- bl_previews_utils/bl_previews_render/__init__.pyi +10 -36
- bl_rna_utils/__init__.pyi +2 -1
- bl_rna_utils/data_path/__init__.pyi +2 -2
- bl_text_utils/__init__.pyi +2 -1
- bl_text_utils/external_editor/__init__.pyi +3 -5
- bl_ui/__init__.pyi +32 -141
- bl_ui/anim/__init__.pyi +3 -12
- bl_ui/asset_shelf/__init__.pyi +3 -16
- bl_ui/generic_ui_list/__init__.pyi +4 -31
- bl_ui/node_add_menu/__init__.pyi +6 -28
- bl_ui/node_add_menu_compositor/__init__.pyi +20 -237
- bl_ui/node_add_menu_geometry/__init__.pyi +50 -629
- bl_ui/node_add_menu_shader/__init__.pyi +20 -170
- bl_ui/node_add_menu_texture/__init__.pyi +11 -118
- bl_ui/properties_animviz/__init__.pyi +2 -15
- bl_ui/properties_collection/__init__.pyi +9 -112
- bl_ui/properties_constraint/__init__.pyi +81 -1524
- bl_ui/properties_data_armature/__init__.pyi +14 -214
- bl_ui/properties_data_bone/__init__.pyi +12 -198
- bl_ui/properties_data_camera/__init__.pyi +17 -312
- bl_ui/properties_data_curve/__init__.pyi +17 -319
- bl_ui/properties_data_curves/__init__.pyi +8 -108
- bl_ui/properties_data_empty/__init__.pyi +4 -44
- bl_ui/properties_data_gpencil/__init__.pyi +20 -350
- bl_ui/properties_data_grease_pencil/__init__.pyi +16 -257
- bl_ui/properties_data_lattice/__init__.pyi +5 -65
- bl_ui/properties_data_light/__init__.pyi +14 -264
- bl_ui/properties_data_lightprobe/__init__.pyi +15 -277
- bl_ui/properties_data_mesh/__init__.pyi +23 -325
- bl_ui/properties_data_metaball/__init__.pyi +7 -103
- bl_ui/properties_data_modifier/__init__.pyi +10 -178
- bl_ui/properties_data_pointcloud/__init__.pyi +7 -89
- bl_ui/properties_data_shaderfx/__init__.pyi +3 -27
- bl_ui/properties_data_speaker/__init__.pyi +7 -111
- bl_ui/properties_data_volume/__init__.pyi +10 -156
- bl_ui/properties_freestyle/__init__.pyi +31 -615
- bl_ui/properties_grease_pencil_common/__init__.pyi +17 -216
- bl_ui/properties_mask_common/__init__.pyi +10 -111
- bl_ui/properties_material/__init__.pyi +20 -331
- bl_ui/properties_material_gpencil/__init__.pyi +12 -182
- bl_ui/properties_object/__init__.pyi +16 -276
- bl_ui/properties_output/__init__.pyi +20 -370
- bl_ui/properties_paint_common/__init__.pyi +14 -106
- bl_ui/properties_particle/__init__.pyi +58 -1159
- bl_ui/properties_physics_cloth/__init__.pyi +17 -314
- bl_ui/properties_physics_common/__init__.pyi +9 -58
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +24 -490
- bl_ui/properties_physics_field/__init__.pyi +13 -218
- bl_ui/properties_physics_fluid/__init__.pyi +30 -626
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +3 -20
- bl_ui/properties_physics_rigidbody/__init__.pyi +11 -188
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +15 -279
- bl_ui/properties_physics_softbody/__init__.pyi +18 -353
- bl_ui/properties_render/__init__.pyi +56 -1146
- bl_ui/properties_scene/__init__.pyi +17 -298
- bl_ui/properties_texture/__init__.pyi +30 -577
- bl_ui/properties_view_layer/__init__.pyi +20 -346
- bl_ui/properties_workspace/__init__.pyi +6 -80
- bl_ui/properties_world/__init__.pyi +12 -220
- bl_ui/space_clip/__init__.pyi +73 -1090
- bl_ui/space_console/__init__.pyi +9 -73
- bl_ui/space_dopesheet/__init__.pyi +33 -485
- bl_ui/space_filebrowser/__init__.pyi +36 -431
- bl_ui/space_graph/__init__.pyi +22 -237
- bl_ui/space_image/__init__.pyi +70 -1089
- bl_ui/space_info/__init__.pyi +8 -71
- bl_ui/space_nla/__init__.pyi +19 -210
- bl_ui/space_node/__init__.pyi +32 -436
- bl_ui/space_outliner/__init__.pyi +17 -165
- bl_ui/space_properties/__init__.pyi +5 -42
- bl_ui/space_sequencer/__init__.pyi +79 -1142
- bl_ui/space_spreadsheet/__init__.pyi +3 -12
- bl_ui/space_statusbar/__init__.pyi +3 -12
- bl_ui/space_text/__init__.pyi +18 -193
- bl_ui/space_time/__init__.pyi +10 -111
- bl_ui/space_toolsystem_common/__init__.pyi +42 -200
- bl_ui/space_toolsystem_toolbar/__init__.pyi +119 -863
- bl_ui/space_topbar/__init__.pyi +29 -335
- bl_ui/space_userpref/__init__.pyi +94 -1576
- bl_ui/space_view3d/__init__.pyi +271 -3438
- bl_ui/space_view3d_toolbar/__init__.pyi +95 -1899
- bl_ui/temp_anim_layers/__init__.pyi +4 -22
- bl_ui/utils/__init__.pyi +2 -8
- bl_ui_utils/__init__.pyi +2 -1
- bl_ui_utils/bug_report_url/__init__.pyi +3 -5
- bl_ui_utils/layout/__init__.pyi +2 -1
- blend_render_info/__init__.pyi +4 -10
- blf/__init__.pyi +2 -1
- bmesh/__init__.pyi +2 -1
- bmesh/geometry/__init__.pyi +2 -1
- bmesh/ops/__init__.pyi +2 -1
- bmesh/types/__init__.pyi +29 -45
- bmesh/utils/__init__.pyi +2 -1
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +2 -1
- bpy/app/handlers/__init__.pyi +2 -1
- bpy/app/icons/__init__.pyi +2 -1
- bpy/app/timers/__init__.pyi +8 -15
- bpy/app/translations/__init__.pyi +2 -1
- bpy/msgbus/__init__.pyi +2 -1
- bpy/ops/__init__.pyi +2 -1
- bpy/ops/action/__init__.pyi +22 -21
- bpy/ops/anim/__init__.pyi +32 -31
- bpy/ops/armature/__init__.pyi +22 -21
- bpy/ops/asset/__init__.pyi +8 -7
- bpy/ops/bl_pkg/__init__.pyi +4 -3
- bpy/ops/boid/__init__.pyi +2 -1
- bpy/ops/brush/__init__.pyi +10 -9
- bpy/ops/buttons/__init__.pyi +10 -9
- bpy/ops/cachefile/__init__.pyi +12 -11
- bpy/ops/camera/__init__.pyi +2 -1
- bpy/ops/clip/__init__.pyi +38 -37
- bpy/ops/cloth/__init__.pyi +2 -1
- bpy/ops/collection/__init__.pyi +8 -7
- bpy/ops/console/__init__.pyi +8 -7
- bpy/ops/constraint/__init__.pyi +30 -29
- bpy/ops/curve/__init__.pyi +32 -31
- bpy/ops/curves/__init__.pyi +10 -9
- bpy/ops/cycles/__init__.pyi +2 -1
- bpy/ops/dpaint/__init__.pyi +4 -3
- bpy/ops/ed/__init__.pyi +6 -5
- bpy/ops/export_anim/__init__.pyi +4 -3
- bpy/ops/export_scene/__init__.pyi +40 -39
- bpy/ops/file/__init__.pyi +20 -19
- bpy/ops/fluid/__init__.pyi +2 -1
- bpy/ops/font/__init__.pyi +22 -21
- bpy/ops/geometry/__init__.pyi +4 -3
- bpy/ops/gizmogroup/__init__.pyi +2 -1
- bpy/ops/gpencil/__init__.pyi +134 -133
- bpy/ops/graph/__init__.pyi +40 -39
- bpy/ops/grease_pencil/__init__.pyi +42 -41
- bpy/ops/image/__init__.pyi +22 -21
- bpy/ops/import_anim/__init__.pyi +10 -9
- bpy/ops/import_curve/__init__.pyi +2 -1
- bpy/ops/import_scene/__init__.pyi +20 -19
- bpy/ops/info/__init__.pyi +6 -5
- bpy/ops/lattice/__init__.pyi +8 -7
- bpy/ops/marker/__init__.pyi +10 -9
- bpy/ops/mask/__init__.pyi +14 -13
- bpy/ops/material/__init__.pyi +2 -1
- bpy/ops/mball/__init__.pyi +8 -7
- bpy/ops/mesh/__init__.pyi +112 -111
- bpy/ops/nla/__init__.pyi +16 -15
- bpy/ops/node/__init__.pyi +32 -31
- bpy/ops/object/__init__.pyi +186 -185
- bpy/ops/outliner/__init__.pyi +38 -37
- bpy/ops/paint/__init__.pyi +50 -49
- bpy/ops/paintcurve/__init__.pyi +2 -1
- bpy/ops/palette/__init__.pyi +6 -5
- bpy/ops/particle/__init__.pyi +16 -15
- bpy/ops/pose/__init__.pyi +32 -31
- bpy/ops/poselib/__init__.pyi +2 -1
- bpy/ops/preferences/__init__.pyi +14 -13
- bpy/ops/ptcache/__init__.pyi +2 -1
- bpy/ops/render/__init__.pyi +4 -3
- bpy/ops/rigidbody/__init__.pyi +10 -9
- bpy/ops/scene/__init__.pyi +18 -17
- bpy/ops/screen/__init__.pyi +16 -15
- bpy/ops/script/__init__.pyi +2 -1
- bpy/ops/sculpt/__init__.pyi +68 -67
- bpy/ops/sculpt_curves/__init__.pyi +4 -3
- bpy/ops/sequencer/__init__.pyi +74 -73
- bpy/ops/sound/__init__.pyi +20 -19
- bpy/ops/spreadsheet/__init__.pyi +2 -1
- bpy/ops/surface/__init__.pyi +14 -13
- bpy/ops/text/__init__.pyi +24 -23
- bpy/ops/text_editor/__init__.pyi +2 -1
- bpy/ops/texture/__init__.pyi +4 -3
- bpy/ops/transform/__init__.pyi +32 -31
- bpy/ops/ui/__init__.pyi +8 -7
- bpy/ops/uilist/__init__.pyi +4 -3
- bpy/ops/uv/__init__.pyi +66 -65
- bpy/ops/view2d/__init__.pyi +2 -1
- bpy/ops/view3d/__init__.pyi +36 -35
- bpy/ops/wm/__init__.pyi +191 -187
- bpy/ops/workspace/__init__.pyi +2 -1
- bpy/ops/world/__init__.pyi +2 -1
- bpy/path/__init__.pyi +2 -1
- bpy/props/__init__.pyi +2 -1
- bpy/types/__init__.pyi +546 -4852
- bpy/utils/__init__.pyi +16 -71
- bpy/utils/previews/__init__.pyi +2 -1
- bpy/utils/units/__init__.pyi +2 -1
- bpy_extras/__init__.pyi +2 -1
- bpy_extras/anim_utils/__init__.pyi +2 -2
- bpy_extras/asset_utils/__init__.pyi +2 -11
- bpy_extras/bmesh_utils/__init__.pyi +3 -5
- bpy_extras/extensions/__init__.pyi +2 -1
- bpy_extras/extensions/junction_module/__init__.pyi +3 -7
- bpy_extras/id_map_utils/__init__.pyi +2 -1
- bpy_extras/image_utils/__init__.pyi +2 -1
- bpy_extras/io_utils/__init__.pyi +6 -25
- bpy_extras/keyconfig_utils/__init__.pyi +4 -10
- bpy_extras/mesh_utils/__init__.pyi +2 -1
- bpy_extras/node_shader_utils/__init__.pyi +46 -286
- bpy_extras/node_utils/__init__.pyi +4 -10
- bpy_extras/object_utils/__init__.pyi +2 -3
- bpy_extras/view3d_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/__init__.pyi +2 -1
- bpy_extras/wm_utils/progress_report/__init__.pyi +4 -29
- bpy_restrict_state/__init__.pyi +3 -15
- bpy_types/__init__.pyi +10 -275
- console_python/__init__.pyi +8 -37
- console_shell/__init__.pyi +8 -26
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/METADATA +1 -1
- fake_bpy_module-20240519.dist-info/RECORD +353 -0
- freestyle/__init__.pyi +2 -1
- freestyle/chainingiterators/__init__.pyi +12 -41
- freestyle/functions/__init__.pyi +9 -34
- freestyle/predicates/__init__.pyi +46 -218
- freestyle/shaders/__init__.pyi +2 -11
- freestyle/types/__init__.pyi +2 -1
- freestyle/utils/ContextFunctions/__init__.pyi +2 -1
- freestyle/utils/__init__.pyi +5 -16
- gpu/__init__.pyi +2 -1
- gpu/capabilities/__init__.pyi +2 -1
- gpu/matrix/__init__.pyi +2 -1
- gpu/platform/__init__.pyi +2 -1
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +2 -1
- gpu/state/__init__.pyi +2 -1
- gpu/texture/__init__.pyi +2 -1
- gpu/types/__init__.pyi +2 -1
- gpu_extras/__init__.pyi +2 -1
- gpu_extras/batch/__init__.pyi +2 -1
- gpu_extras/presets/__init__.pyi +2 -1
- graphviz_export/__init__.pyi +4 -10
- idprop/__init__.pyi +2 -1
- idprop/types/__init__.pyi +8 -34
- imbuf/__init__.pyi +2 -1
- imbuf/types/__init__.pyi +2 -3
- keyingsets_builtins/__init__.pyi +4 -157
- keyingsets_utils/__init__.pyi +17 -71
- mathutils/__init__.pyi +2 -1
- mathutils/bvhtree/__init__.pyi +2 -3
- mathutils/geometry/__init__.pyi +2 -1
- mathutils/interpolate/__init__.pyi +2 -1
- mathutils/kdtree/__init__.pyi +2 -1
- mathutils/noise/__init__.pyi +2 -1
- nodeitems_builtins/__init__.pyi +7 -31
- nodeitems_utils/__init__.pyi +10 -46
- rna_info/__init__.pyi +24 -201
- rna_keymap_ui/__init__.pyi +9 -31
- rna_prop_ui/__init__.pyi +11 -50
- rna_xml/__init__.pyi +8 -30
- sys_info/__init__.pyi +3 -5
- fake_bpy_module-20240517.dist-info/RECORD +0 -353
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240517.dist-info → fake_bpy_module-20240519.dist-info}/top_level.txt +0 -0
bpy/ops/sculpt/__init__.pyi
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def brush_stroke(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -9,7 +10,7 @@ def brush_stroke(
|
|
|
9
10
|
undo: bool | None = None,
|
|
10
11
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
11
12
|
| None = None,
|
|
12
|
-
mode:
|
|
13
|
+
mode: str | int | None = "NORMAL",
|
|
13
14
|
ignore_background_click: bool | typing.Any | None = False,
|
|
14
15
|
):
|
|
15
16
|
"""Sculpt a stroke into the geometry
|
|
@@ -29,7 +30,7 @@ def brush_stroke(
|
|
|
29
30
|
|
|
30
31
|
SMOOTH
|
|
31
32
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
32
|
-
:type mode:
|
|
33
|
+
:type mode: str | int | None
|
|
33
34
|
:param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
|
|
34
35
|
:type ignore_background_click: bool | typing.Any | None
|
|
35
36
|
"""
|
|
@@ -46,9 +47,9 @@ def cloth_filter(
|
|
|
46
47
|
iteration_count: typing.Any | None = 1,
|
|
47
48
|
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
48
49
|
| None = None,
|
|
49
|
-
type:
|
|
50
|
-
force_axis:
|
|
51
|
-
orientation:
|
|
50
|
+
type: str | int | None = "GRAVITY",
|
|
51
|
+
force_axis: set[str] | set[int] | None = {"X", "Y", "Z"},
|
|
52
|
+
orientation: str | int | None = "LOCAL",
|
|
52
53
|
cloth_mass: typing.Any | None = 1.0,
|
|
53
54
|
cloth_damping: typing.Any | None = 0.0,
|
|
54
55
|
use_face_sets: bool | typing.Any | None = False,
|
|
@@ -84,7 +85,7 @@ def cloth_filter(
|
|
|
84
85
|
|
|
85
86
|
SCALE
|
|
86
87
|
Scale -- Scales the mesh as a soft body using the origin of the object as scale.
|
|
87
|
-
:type type:
|
|
88
|
+
:type type: str | int | None
|
|
88
89
|
:param force_axis: Force Axis, Apply the force in the selected axis
|
|
89
90
|
|
|
90
91
|
X
|
|
@@ -95,7 +96,7 @@ def cloth_filter(
|
|
|
95
96
|
|
|
96
97
|
Z
|
|
97
98
|
Z -- Apply force in the Z axis.
|
|
98
|
-
:type force_axis:
|
|
99
|
+
:type force_axis: set[str] | set[int] | None
|
|
99
100
|
:param orientation: Orientation, Orientation of the axis to limit the filter force
|
|
100
101
|
|
|
101
102
|
LOCAL
|
|
@@ -106,7 +107,7 @@ def cloth_filter(
|
|
|
106
107
|
|
|
107
108
|
VIEW
|
|
108
109
|
View -- Use the view axis to limit the force and set the gravity direction.
|
|
109
|
-
:type orientation:
|
|
110
|
+
:type orientation: str | int | None
|
|
110
111
|
:param cloth_mass: Cloth Mass, Mass of each simulation particle
|
|
111
112
|
:type cloth_mass: typing.Any | None
|
|
112
113
|
:param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
|
|
@@ -129,7 +130,7 @@ def color_filter(
|
|
|
129
130
|
iteration_count: typing.Any | None = 1,
|
|
130
131
|
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
131
132
|
| None = None,
|
|
132
|
-
type:
|
|
133
|
+
type: str | int | None = "FILL",
|
|
133
134
|
fill_color: typing.Any | None = (1.0, 1.0, 1.0),
|
|
134
135
|
):
|
|
135
136
|
"""Applies a filter to modify the active color attribute
|
|
@@ -177,7 +178,7 @@ def color_filter(
|
|
|
177
178
|
|
|
178
179
|
BLUE
|
|
179
180
|
Blue -- Change blue channel.
|
|
180
|
-
:type type:
|
|
181
|
+
:type type: str | int | None
|
|
181
182
|
:param fill_color: Fill Color
|
|
182
183
|
:type fill_color: typing.Any | None
|
|
183
184
|
"""
|
|
@@ -230,8 +231,8 @@ def expand(
|
|
|
230
231
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
231
232
|
execution_context: str | int | None = None,
|
|
232
233
|
undo: bool | None = None,
|
|
233
|
-
target:
|
|
234
|
-
falloff_type:
|
|
234
|
+
target: str | int | None = "MASK",
|
|
235
|
+
falloff_type: str | int | None = "GEODESIC",
|
|
235
236
|
invert: bool | typing.Any | None = False,
|
|
236
237
|
use_mask_preserve: bool | typing.Any | None = False,
|
|
237
238
|
use_falloff_gradient: bool | typing.Any | None = False,
|
|
@@ -247,9 +248,9 @@ def expand(
|
|
|
247
248
|
:type execution_context: str | int | None
|
|
248
249
|
:type undo: bool | None
|
|
249
250
|
:param target: Data Target, Data that is going to be modified in the expand operation
|
|
250
|
-
:type target:
|
|
251
|
+
:type target: str | int | None
|
|
251
252
|
:param falloff_type: Falloff Type, Initial falloff of the expand operation
|
|
252
|
-
:type falloff_type:
|
|
253
|
+
:type falloff_type: str | int | None
|
|
253
254
|
:param invert: Invert, Invert the expand active elements
|
|
254
255
|
:type invert: bool | typing.Any | None
|
|
255
256
|
:param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
|
|
@@ -306,7 +307,7 @@ def face_set_change_visibility(
|
|
|
306
307
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
307
308
|
execution_context: str | int | None = None,
|
|
308
309
|
undo: bool | None = None,
|
|
309
|
-
mode:
|
|
310
|
+
mode: str | int | None = "TOGGLE",
|
|
310
311
|
):
|
|
311
312
|
"""Change the visibility of the Face Sets of the sculpt
|
|
312
313
|
|
|
@@ -323,7 +324,7 @@ def face_set_change_visibility(
|
|
|
323
324
|
|
|
324
325
|
HIDE_ACTIVE
|
|
325
326
|
Hide Active Face Sets -- Hide Active Face Sets.
|
|
326
|
-
:type mode:
|
|
327
|
+
:type mode: str | int | None
|
|
327
328
|
"""
|
|
328
329
|
|
|
329
330
|
...
|
|
@@ -333,7 +334,7 @@ def face_set_edit(
|
|
|
333
334
|
execution_context: str | int | None = None,
|
|
334
335
|
undo: bool | None = None,
|
|
335
336
|
active_face_set: typing.Any | None = 1,
|
|
336
|
-
mode:
|
|
337
|
+
mode: str | int | None = "GROW",
|
|
337
338
|
strength: typing.Any | None = 1.0,
|
|
338
339
|
modify_hidden: bool | typing.Any | None = True,
|
|
339
340
|
):
|
|
@@ -360,7 +361,7 @@ def face_set_edit(
|
|
|
360
361
|
|
|
361
362
|
FAIR_TANGENCY
|
|
362
363
|
Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
|
|
363
|
-
:type mode:
|
|
364
|
+
:type mode: str | int | None
|
|
364
365
|
:param strength: Strength
|
|
365
366
|
:type strength: typing.Any | None
|
|
366
367
|
:param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
|
|
@@ -393,7 +394,7 @@ def face_sets_create(
|
|
|
393
394
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
394
395
|
execution_context: str | int | None = None,
|
|
395
396
|
undo: bool | None = None,
|
|
396
|
-
mode:
|
|
397
|
+
mode: str | int | None = "MASKED",
|
|
397
398
|
):
|
|
398
399
|
"""Create a new Face Set
|
|
399
400
|
|
|
@@ -413,7 +414,7 @@ def face_sets_create(
|
|
|
413
414
|
|
|
414
415
|
SELECTION
|
|
415
416
|
Face Set from Edit Mode Selection -- Create an Face Set corresponding to the Edit Mode face selection.
|
|
416
|
-
:type mode:
|
|
417
|
+
:type mode: str | int | None
|
|
417
418
|
"""
|
|
418
419
|
|
|
419
420
|
...
|
|
@@ -422,7 +423,7 @@ def face_sets_init(
|
|
|
422
423
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
423
424
|
execution_context: str | int | None = None,
|
|
424
425
|
undo: bool | None = None,
|
|
425
|
-
mode:
|
|
426
|
+
mode: str | int | None = "LOOSE_PARTS",
|
|
426
427
|
threshold: typing.Any | None = 0.5,
|
|
427
428
|
):
|
|
428
429
|
"""Initializes all Face Sets in the mesh
|
|
@@ -455,7 +456,7 @@ def face_sets_init(
|
|
|
455
456
|
|
|
456
457
|
FACE_SET_BOUNDARIES
|
|
457
458
|
Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
|
|
458
|
-
:type mode:
|
|
459
|
+
:type mode: str | int | None
|
|
459
460
|
:param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
|
|
460
461
|
:type threshold: typing.Any | None
|
|
461
462
|
"""
|
|
@@ -506,7 +507,7 @@ def mask_filter(
|
|
|
506
507
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
507
508
|
execution_context: str | int | None = None,
|
|
508
509
|
undo: bool | None = None,
|
|
509
|
-
filter_type:
|
|
510
|
+
filter_type: str | int | None = "SMOOTH",
|
|
510
511
|
iterations: typing.Any | None = 1,
|
|
511
512
|
auto_iteration_count: bool | typing.Any | None = True,
|
|
512
513
|
):
|
|
@@ -516,7 +517,7 @@ def mask_filter(
|
|
|
516
517
|
:type execution_context: str | int | None
|
|
517
518
|
:type undo: bool | None
|
|
518
519
|
:param filter_type: Type, Filter that is going to be applied to the mask
|
|
519
|
-
:type filter_type:
|
|
520
|
+
:type filter_type: str | int | None
|
|
520
521
|
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
521
522
|
:type iterations: typing.Any | None
|
|
522
523
|
:param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
|
|
@@ -529,9 +530,9 @@ def mask_from_cavity(
|
|
|
529
530
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
530
531
|
execution_context: str | int | None = None,
|
|
531
532
|
undo: bool | None = None,
|
|
532
|
-
mix_mode:
|
|
533
|
+
mix_mode: str | int | None = "MIX",
|
|
533
534
|
mix_factor: typing.Any | None = 1.0,
|
|
534
|
-
settings_source:
|
|
535
|
+
settings_source: str | int | None = "OPERATOR",
|
|
535
536
|
factor: typing.Any | None = 0.5,
|
|
536
537
|
blur_steps: typing.Any | None = 2,
|
|
537
538
|
use_curve: bool | typing.Any | None = False,
|
|
@@ -543,7 +544,7 @@ def mask_from_cavity(
|
|
|
543
544
|
:type execution_context: str | int | None
|
|
544
545
|
:type undo: bool | None
|
|
545
546
|
:param mix_mode: Mode, Mix mode
|
|
546
|
-
:type mix_mode:
|
|
547
|
+
:type mix_mode: str | int | None
|
|
547
548
|
:param mix_factor: Mix Factor
|
|
548
549
|
:type mix_factor: typing.Any | None
|
|
549
550
|
:param settings_source: Settings, Use settings from here
|
|
@@ -556,7 +557,7 @@ def mask_from_cavity(
|
|
|
556
557
|
|
|
557
558
|
SCENE
|
|
558
559
|
Scene -- Use settings from scene.
|
|
559
|
-
:type settings_source:
|
|
560
|
+
:type settings_source: str | int | None
|
|
560
561
|
:param factor: Factor, The contrast of the cavity mask
|
|
561
562
|
:type factor: typing.Any | None
|
|
562
563
|
:param blur_steps: Blur, The number of times the cavity mask is blurred
|
|
@@ -573,7 +574,7 @@ def mask_init(
|
|
|
573
574
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
574
575
|
execution_context: str | int | None = None,
|
|
575
576
|
undo: bool | None = None,
|
|
576
|
-
mode:
|
|
577
|
+
mode: str | int | None = "RANDOM_PER_VERTEX",
|
|
577
578
|
):
|
|
578
579
|
"""Creates a new mask for the entire mesh
|
|
579
580
|
|
|
@@ -581,7 +582,7 @@ def mask_init(
|
|
|
581
582
|
:type execution_context: str | int | None
|
|
582
583
|
:type undo: bool | None
|
|
583
584
|
:param mode: Mode
|
|
584
|
-
:type mode:
|
|
585
|
+
:type mode: str | int | None
|
|
585
586
|
"""
|
|
586
587
|
|
|
587
588
|
...
|
|
@@ -596,9 +597,9 @@ def mesh_filter(
|
|
|
596
597
|
iteration_count: typing.Any | None = 1,
|
|
597
598
|
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
598
599
|
| None = None,
|
|
599
|
-
type:
|
|
600
|
-
deform_axis:
|
|
601
|
-
orientation:
|
|
600
|
+
type: str | int | None = "INFLATE",
|
|
601
|
+
deform_axis: set[str] | set[int] | None = {"X", "Y", "Z"},
|
|
602
|
+
orientation: str | int | None = "LOCAL",
|
|
602
603
|
surface_smooth_shape_preservation: typing.Any | None = 0.5,
|
|
603
604
|
surface_smooth_current_vertex: typing.Any | None = 0.5,
|
|
604
605
|
sharpen_smooth_ratio: typing.Any | None = 0.35,
|
|
@@ -653,7 +654,7 @@ def mesh_filter(
|
|
|
653
654
|
|
|
654
655
|
ERASE_DISCPLACEMENT
|
|
655
656
|
Erase Displacement -- Deletes the displacement of the Multires Modifier.
|
|
656
|
-
:type type:
|
|
657
|
+
:type type: str | int | None
|
|
657
658
|
:param deform_axis: Deform Axis, Apply the deformation in the selected axis
|
|
658
659
|
|
|
659
660
|
X
|
|
@@ -664,7 +665,7 @@ def mesh_filter(
|
|
|
664
665
|
|
|
665
666
|
Z
|
|
666
667
|
Z -- Deform in the Z axis.
|
|
667
|
-
:type deform_axis:
|
|
668
|
+
:type deform_axis: set[str] | set[int] | None
|
|
668
669
|
:param orientation: Orientation, Orientation of the axis to limit the filter displacement
|
|
669
670
|
|
|
670
671
|
LOCAL
|
|
@@ -675,7 +676,7 @@ def mesh_filter(
|
|
|
675
676
|
|
|
676
677
|
VIEW
|
|
677
678
|
View -- Use the view axis to limit the displacement.
|
|
678
|
-
:type orientation:
|
|
679
|
+
:type orientation: str | int | None
|
|
679
680
|
:param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
|
|
680
681
|
:type surface_smooth_shape_preservation: typing.Any | None
|
|
681
682
|
:param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
|
|
@@ -761,7 +762,7 @@ def sample_detail_size(
|
|
|
761
762
|
execution_context: str | int | None = None,
|
|
762
763
|
undo: bool | None = None,
|
|
763
764
|
location: typing.Any | None = (0, 0),
|
|
764
|
-
mode:
|
|
765
|
+
mode: str | int | None = "DYNTOPO",
|
|
765
766
|
):
|
|
766
767
|
"""Sample the mesh detail on clicked point
|
|
767
768
|
|
|
@@ -777,7 +778,7 @@ def sample_detail_size(
|
|
|
777
778
|
|
|
778
779
|
VOXEL
|
|
779
780
|
Voxel -- Sample mesh voxel size.
|
|
780
|
-
:type mode:
|
|
781
|
+
:type mode: str | int | None
|
|
781
782
|
"""
|
|
782
783
|
|
|
783
784
|
...
|
|
@@ -814,7 +815,7 @@ def set_pivot_position(
|
|
|
814
815
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
815
816
|
execution_context: str | int | None = None,
|
|
816
817
|
undo: bool | None = None,
|
|
817
|
-
mode:
|
|
818
|
+
mode: str | int | None = "UNMASKED",
|
|
818
819
|
mouse_x: typing.Any | None = 0.0,
|
|
819
820
|
mouse_y: typing.Any | None = 0.0,
|
|
820
821
|
):
|
|
@@ -839,7 +840,7 @@ def set_pivot_position(
|
|
|
839
840
|
|
|
840
841
|
SURFACE
|
|
841
842
|
Surface -- Sets the pivot position to the surface under the cursor.
|
|
842
|
-
:type mode:
|
|
843
|
+
:type mode: str | int | None
|
|
843
844
|
:param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
|
|
844
845
|
:type mouse_x: typing.Any | None
|
|
845
846
|
:param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
|
|
@@ -876,11 +877,11 @@ def trim_box_gesture(
|
|
|
876
877
|
wait_for_input: bool | typing.Any | None = True,
|
|
877
878
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
878
879
|
location: typing.Any | None = (0, 0),
|
|
879
|
-
trim_mode:
|
|
880
|
+
trim_mode: str | int | None = "DIFFERENCE",
|
|
880
881
|
use_cursor_depth: bool | typing.Any | None = False,
|
|
881
|
-
trim_orientation:
|
|
882
|
-
trim_extrude_mode:
|
|
883
|
-
trim_solver:
|
|
882
|
+
trim_orientation: str | int | None = "VIEW",
|
|
883
|
+
trim_extrude_mode: str | int | None = "FIXED",
|
|
884
|
+
trim_solver: str | int | None = "FAST",
|
|
884
885
|
):
|
|
885
886
|
"""Execute a boolean operation on the mesh and a rectangle defined by the cursor
|
|
886
887
|
|
|
@@ -911,7 +912,7 @@ def trim_box_gesture(
|
|
|
911
912
|
|
|
912
913
|
JOIN
|
|
913
914
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
914
|
-
:type trim_mode:
|
|
915
|
+
:type trim_mode: str | int | None
|
|
915
916
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
916
917
|
:type use_cursor_depth: bool | typing.Any | None
|
|
917
918
|
:param trim_orientation: Shape Orientation
|
|
@@ -921,7 +922,7 @@ def trim_box_gesture(
|
|
|
921
922
|
|
|
922
923
|
SURFACE
|
|
923
924
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
924
|
-
:type trim_orientation:
|
|
925
|
+
:type trim_orientation: str | int | None
|
|
925
926
|
:param trim_extrude_mode: Extrude Mode
|
|
926
927
|
|
|
927
928
|
PROJECT
|
|
@@ -929,7 +930,7 @@ def trim_box_gesture(
|
|
|
929
930
|
|
|
930
931
|
FIXED
|
|
931
932
|
Fixed -- Extrude back faces by fixed amount.
|
|
932
|
-
:type trim_extrude_mode:
|
|
933
|
+
:type trim_extrude_mode: str | int | None
|
|
933
934
|
:param trim_solver: Solver
|
|
934
935
|
|
|
935
936
|
EXACT
|
|
@@ -937,7 +938,7 @@ def trim_box_gesture(
|
|
|
937
938
|
|
|
938
939
|
FAST
|
|
939
940
|
Fast -- Use the fast float boolean solver.
|
|
940
|
-
:type trim_solver:
|
|
941
|
+
:type trim_solver: str | int | None
|
|
941
942
|
"""
|
|
942
943
|
|
|
943
944
|
...
|
|
@@ -949,11 +950,11 @@ def trim_lasso_gesture(
|
|
|
949
950
|
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
950
951
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
951
952
|
location: typing.Any | None = (0, 0),
|
|
952
|
-
trim_mode:
|
|
953
|
+
trim_mode: str | int | None = "DIFFERENCE",
|
|
953
954
|
use_cursor_depth: bool | typing.Any | None = False,
|
|
954
|
-
trim_orientation:
|
|
955
|
-
trim_extrude_mode:
|
|
956
|
-
trim_solver:
|
|
955
|
+
trim_orientation: str | int | None = "VIEW",
|
|
956
|
+
trim_extrude_mode: str | int | None = "FIXED",
|
|
957
|
+
trim_solver: str | int | None = "FAST",
|
|
957
958
|
):
|
|
958
959
|
"""Execute a boolean operation on the mesh and a shape defined by the cursor
|
|
959
960
|
|
|
@@ -976,7 +977,7 @@ def trim_lasso_gesture(
|
|
|
976
977
|
|
|
977
978
|
JOIN
|
|
978
979
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
979
|
-
:type trim_mode:
|
|
980
|
+
:type trim_mode: str | int | None
|
|
980
981
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
981
982
|
:type use_cursor_depth: bool | typing.Any | None
|
|
982
983
|
:param trim_orientation: Shape Orientation
|
|
@@ -986,7 +987,7 @@ def trim_lasso_gesture(
|
|
|
986
987
|
|
|
987
988
|
SURFACE
|
|
988
989
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
989
|
-
:type trim_orientation:
|
|
990
|
+
:type trim_orientation: str | int | None
|
|
990
991
|
:param trim_extrude_mode: Extrude Mode
|
|
991
992
|
|
|
992
993
|
PROJECT
|
|
@@ -994,7 +995,7 @@ def trim_lasso_gesture(
|
|
|
994
995
|
|
|
995
996
|
FIXED
|
|
996
997
|
Fixed -- Extrude back faces by fixed amount.
|
|
997
|
-
:type trim_extrude_mode:
|
|
998
|
+
:type trim_extrude_mode: str | int | None
|
|
998
999
|
:param trim_solver: Solver
|
|
999
1000
|
|
|
1000
1001
|
EXACT
|
|
@@ -1002,7 +1003,7 @@ def trim_lasso_gesture(
|
|
|
1002
1003
|
|
|
1003
1004
|
FAST
|
|
1004
1005
|
Fast -- Use the fast float boolean solver.
|
|
1005
|
-
:type trim_solver:
|
|
1006
|
+
:type trim_solver: str | int | None
|
|
1006
1007
|
"""
|
|
1007
1008
|
|
|
1008
1009
|
...
|
|
@@ -1020,11 +1021,11 @@ def trim_line_gesture(
|
|
|
1020
1021
|
use_front_faces_only: bool | typing.Any | None = False,
|
|
1021
1022
|
use_limit_to_segment: bool | typing.Any | None = False,
|
|
1022
1023
|
location: typing.Any | None = (0, 0),
|
|
1023
|
-
trim_mode:
|
|
1024
|
+
trim_mode: str | int | None = "DIFFERENCE",
|
|
1024
1025
|
use_cursor_depth: bool | typing.Any | None = False,
|
|
1025
|
-
trim_orientation:
|
|
1026
|
-
trim_extrude_mode:
|
|
1027
|
-
trim_solver:
|
|
1026
|
+
trim_orientation: str | int | None = "VIEW",
|
|
1027
|
+
trim_extrude_mode: str | int | None = "FIXED",
|
|
1028
|
+
trim_solver: str | int | None = "FAST",
|
|
1028
1029
|
):
|
|
1029
1030
|
"""Remove a portion of the mesh on one side of a line
|
|
1030
1031
|
|
|
@@ -1059,7 +1060,7 @@ def trim_line_gesture(
|
|
|
1059
1060
|
|
|
1060
1061
|
JOIN
|
|
1061
1062
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1062
|
-
:type trim_mode:
|
|
1063
|
+
:type trim_mode: str | int | None
|
|
1063
1064
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1064
1065
|
:type use_cursor_depth: bool | typing.Any | None
|
|
1065
1066
|
:param trim_orientation: Shape Orientation
|
|
@@ -1069,7 +1070,7 @@ def trim_line_gesture(
|
|
|
1069
1070
|
|
|
1070
1071
|
SURFACE
|
|
1071
1072
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
1072
|
-
:type trim_orientation:
|
|
1073
|
+
:type trim_orientation: str | int | None
|
|
1073
1074
|
:param trim_extrude_mode: Extrude Mode
|
|
1074
1075
|
|
|
1075
1076
|
PROJECT
|
|
@@ -1077,7 +1078,7 @@ def trim_line_gesture(
|
|
|
1077
1078
|
|
|
1078
1079
|
FIXED
|
|
1079
1080
|
Fixed -- Extrude back faces by fixed amount.
|
|
1080
|
-
:type trim_extrude_mode:
|
|
1081
|
+
:type trim_extrude_mode: str | int | None
|
|
1081
1082
|
:param trim_solver: Solver
|
|
1082
1083
|
|
|
1083
1084
|
EXACT
|
|
@@ -1085,7 +1086,7 @@ def trim_line_gesture(
|
|
|
1085
1086
|
|
|
1086
1087
|
FAST
|
|
1087
1088
|
Fast -- Use the fast float boolean solver.
|
|
1088
|
-
:type trim_solver:
|
|
1089
|
+
:type trim_solver: str | int | None
|
|
1089
1090
|
"""
|
|
1090
1091
|
|
|
1091
1092
|
...
|
|
@@ -1129,7 +1130,7 @@ def uv_sculpt_relax(
|
|
|
1129
1130
|
execution_context: str | int | None = None,
|
|
1130
1131
|
undo: bool | None = None,
|
|
1131
1132
|
use_invert: bool | typing.Any | None = False,
|
|
1132
|
-
relax_method:
|
|
1133
|
+
relax_method: str | int | None = "COTAN",
|
|
1133
1134
|
):
|
|
1134
1135
|
"""Relax UVs
|
|
1135
1136
|
|
|
@@ -1148,7 +1149,7 @@ def uv_sculpt_relax(
|
|
|
1148
1149
|
|
|
1149
1150
|
COTAN
|
|
1150
1151
|
Geometry -- Use Geometry (cotangent) relaxation, making UVs follow the underlying 3D geometry.
|
|
1151
|
-
:type relax_method:
|
|
1152
|
+
:type relax_method: str | int | None
|
|
1152
1153
|
"""
|
|
1153
1154
|
|
|
1154
1155
|
...
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import bpy.types
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
GenericType1 = typing.TypeVar("GenericType1")
|
|
5
|
+
GenericType2 = typing.TypeVar("GenericType2")
|
|
5
6
|
|
|
6
7
|
def brush_stroke(
|
|
7
8
|
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
@@ -9,7 +10,7 @@ def brush_stroke(
|
|
|
9
10
|
undo: bool | None = None,
|
|
10
11
|
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
11
12
|
| None = None,
|
|
12
|
-
mode:
|
|
13
|
+
mode: str | int | None = "NORMAL",
|
|
13
14
|
):
|
|
14
15
|
"""Sculpt curves using a brush
|
|
15
16
|
|
|
@@ -28,7 +29,7 @@ def brush_stroke(
|
|
|
28
29
|
|
|
29
30
|
SMOOTH
|
|
30
31
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
31
|
-
:type mode:
|
|
32
|
+
:type mode: str | int | None
|
|
32
33
|
"""
|
|
33
34
|
|
|
34
35
|
...
|