fake-bpy-module 20240224__py3-none-any.whl → 20240326__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.
- addon_utils/__init__.pyi +54 -10
- animsys_refactor/__init__.pyi +36 -6
- aud/__init__.pyi +132 -125
- bgl/__init__.pyi +2545 -546
- bl_app_override/__init__.pyi +14 -3
- bl_app_override/helpers/__init__.pyi +24 -2
- bl_app_template_utils/__init__.pyi +19 -4
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +24 -5
- bl_console_utils/autocomplete/complete_import/__init__.pyi +14 -3
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +24 -5
- bl_console_utils/autocomplete/intellisense/__init__.pyi +9 -2
- bl_i18n_utils/bl_extract_messages/__init__.pyi +74 -15
- bl_i18n_utils/merge_po/__init__.pyi +4 -1
- bl_i18n_utils/settings/__init__.pyi +53 -6
- bl_i18n_utils/utils/__init__.pyi +332 -44
- bl_i18n_utils/utils_cli/__init__.pyi +29 -6
- bl_i18n_utils/utils_languages_menu/__init__.pyi +4 -1
- bl_i18n_utils/utils_rtl/__init__.pyi +9 -2
- bl_keymap_utils/io/__init__.pyi +44 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +4 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +4 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +9 -2
- bl_keymap_utils/versioning/__init__.pyi +4 -1
- bl_math/__init__.pyi +3 -3
- bl_operators/__init__.pyi +9 -2
- bl_operators/add_mesh_torus/__init__.pyi +171 -37
- bl_operators/anim/__init__.pyi +1065 -226
- bl_operators/assets/__init__.pyi +427 -92
- bl_operators/bmesh/find_adjacent/__init__.pyi +44 -9
- bl_operators/clip/__init__.pyi +1342 -287
- bl_operators/console/__init__.pyi +647 -140
- bl_operators/constraint/__init__.pyi +524 -112
- bl_operators/file/__init__.pyi +396 -84
- bl_operators/freestyle/__init__.pyi +532 -113
- bl_operators/geometry_nodes/__init__.pyi +2412 -596
- bl_operators/image/__init__.pyi +380 -82
- bl_operators/mesh/__init__.pyi +401 -85
- bl_operators/node/__init__.pyi +1756 -384
- bl_operators/object/__init__.pyi +2022 -552
- bl_operators/object_align/__init__.pyi +145 -31
- bl_operators/object_quick_effects/__init__.pyi +555 -124
- bl_operators/object_randomize_transform/__init__.pyi +136 -32
- bl_operators/presets/__init__.pyi +3516 -708
- bl_operators/rigidbody/__init__.pyi +401 -85
- bl_operators/screen_play_rendered_anim/__init__.pyi +129 -29
- bl_operators/sequencer/__init__.pyi +731 -149
- bl_operators/spreadsheet/__init__.pyi +145 -30
- bl_operators/userpref/__init__.pyi +3416 -824
- bl_operators/uvcalc_follow_active/__init__.pyi +149 -32
- bl_operators/uvcalc_lightmap/__init__.pyi +187 -34
- bl_operators/uvcalc_transform/__init__.pyi +344 -73
- bl_operators/vertexpaint_dirt/__init__.pyi +140 -30
- bl_operators/view3d/__init__.pyi +697 -146
- bl_operators/wm/__init__.pyi +6287 -1533
- bl_previews_utils/bl_previews_render/__init__.pyi +34 -7
- bl_rna_utils/data_path/__init__.pyi +12 -2
- bl_text_utils/external_editor/__init__.pyi +4 -1
- bl_ui/__init__.pyi +504 -106
- bl_ui/anim/__init__.pyi +164 -33
- bl_ui/asset_shelf/__init__.pyi +146 -31
- bl_ui/generic_ui_list/__init__.pyi +471 -99
- bl_ui/node_add_menu/__init__.pyi +196 -40
- bl_ui/node_add_menu_compositor/__init__.pyi +3017 -621
- bl_ui/node_add_menu_geometry/__init__.pyi +8060 -1625
- bl_ui/node_add_menu_shader/__init__.pyi +1709 -348
- bl_ui/node_add_menu_texture/__init__.pyi +1502 -305
- bl_ui/properties_animviz/__init__.pyi +32 -2
- bl_ui/properties_collection/__init__.pyi +787 -179
- bl_ui/properties_constraint/__init__.pyi +28635 -5523
- bl_ui/properties_data_armature/__init__.pyi +1905 -448
- bl_ui/properties_data_bone/__init__.pyi +1560 -336
- bl_ui/properties_data_camera/__init__.pyi +2269 -494
- bl_ui/properties_data_curve/__init__.pyi +2362 -534
- bl_ui/properties_data_curves/__init__.pyi +951 -203
- bl_ui/properties_data_empty/__init__.pyi +317 -69
- bl_ui/properties_data_gpencil/__init__.pyi +2924 -734
- bl_ui/properties_data_grease_pencil/__init__.pyi +1631 -188
- bl_ui/properties_data_lattice/__init__.pyi +472 -104
- bl_ui/properties_data_light/__init__.pyi +1570 -337
- bl_ui/properties_data_lightprobe/__init__.pyi +938 -208
- bl_ui/properties_data_mesh/__init__.pyi +3205 -767
- bl_ui/properties_data_metaball/__init__.pyi +774 -170
- bl_ui/properties_data_modifier/__init__.pyi +1554 -328
- bl_ui/properties_data_pointcloud/__init__.pyi +821 -194
- bl_ui/properties_data_shaderfx/__init__.pyi +154 -34
- bl_ui/properties_data_speaker/__init__.pyi +782 -168
- bl_ui/properties_data_volume/__init__.pyi +1243 -281
- bl_ui/properties_freestyle/__init__.pyi +4071 -1030
- bl_ui/properties_grease_pencil_common/__init__.pyi +2399 -483
- bl_ui/properties_mask_common/__init__.pyi +1256 -249
- bl_ui/properties_material/__init__.pyi +2351 -542
- bl_ui/properties_material_gpencil/__init__.pyi +1590 -365
- bl_ui/properties_object/__init__.pyi +2179 -512
- bl_ui/properties_output/__init__.pyi +2956 -705
- bl_ui/properties_paint_common/__init__.pyi +947 -140
- bl_ui/properties_particle/__init__.pyi +8322 -1970
- bl_ui/properties_physics_cloth/__init__.pyi +2254 -508
- bl_ui/properties_physics_common/__init__.pyi +200 -44
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +4454 -965
- bl_ui/properties_physics_field/__init__.pyi +1695 -364
- bl_ui/properties_physics_fluid/__init__.pyi +6127 -1280
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +157 -32
- bl_ui/properties_physics_rigidbody/__init__.pyi +1254 -278
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2053 -483
- bl_ui/properties_physics_softbody/__init__.pyi +2394 -542
- bl_ui/properties_render/__init__.pyi +8312 -1933
- bl_ui/properties_scene/__init__.pyi +2211 -539
- bl_ui/properties_texture/__init__.pyi +4185 -1013
- bl_ui/properties_view_layer/__init__.pyi +2803 -664
- bl_ui/properties_workspace/__init__.pyi +626 -148
- bl_ui/properties_world/__init__.pyi +1092 -234
- bl_ui/space_clip/__init__.pyi +11475 -2805
- bl_ui/space_console/__init__.pyi +967 -202
- bl_ui/space_dopesheet/__init__.pyi +4260 -966
- bl_ui/space_filebrowser/__init__.pyi +4852 -1187
- bl_ui/space_graph/__init__.pyi +3251 -702
- bl_ui/space_image/__init__.pyi +12219 -2968
- bl_ui/space_info/__init__.pyi +964 -200
- bl_ui/space_nla/__init__.pyi +2756 -584
- bl_ui/space_node/__init__.pyi +5661 -1265
- bl_ui/space_outliner/__init__.pyi +2294 -478
- bl_ui/space_properties/__init__.pyi +417 -92
- bl_ui/space_sequencer/__init__.pyi +12436 -3009
- bl_ui/space_spreadsheet/__init__.pyi +184 -36
- bl_ui/space_statusbar/__init__.pyi +135 -30
- bl_ui/space_text/__init__.pyi +2556 -542
- bl_ui/space_time/__init__.pyi +1151 -243
- bl_ui/space_toolsystem_common/__init__.pyi +368 -66
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1378 -228
- bl_ui/space_topbar/__init__.pyi +4214 -887
- bl_ui/space_userpref/__init__.pyi +13920 -3468
- bl_ui/space_view3d/__init__.pyi +43701 -10599
- bl_ui/space_view3d_toolbar/__init__.pyi +16380 -3860
- bl_ui/utils/__init__.pyi +42 -4
- bl_ui_utils/bug_report_url/__init__.pyi +4 -1
- bl_ui_utils/layout/__init__.pyi +4 -1
- blend_render_info/__init__.pyi +13 -3
- blf/__init__.pyi +5 -7
- bmesh/__init__.pyi +7 -7
- bmesh/geometry/__init__.pyi +5 -5
- bmesh/ops/__init__.pyi +490 -504
- bmesh/types/__init__.pyi +268 -262
- bmesh/utils/__init__.pyi +55 -55
- bpy/__init__.pyi +2 -2
- bpy/app/__init__.pyi +4 -5
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -10
- bpy/app/timers/__init__.pyi +9 -11
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +3 -12
- bpy/ops/action/__init__.pyi +350 -305
- bpy/ops/anim/__init__.pyi +464 -426
- bpy/ops/armature/__init__.pyi +392 -360
- bpy/ops/asset/__init__.pyi +166 -129
- bpy/ops/boid/__init__.pyi +64 -37
- bpy/ops/brush/__init__.pyi +78 -72
- bpy/ops/buttons/__init__.pyi +136 -122
- bpy/ops/cachefile/__init__.pyi +128 -123
- bpy/ops/camera/__init__.pyi +22 -24
- bpy/ops/clip/__init__.pyi +844 -735
- bpy/ops/cloth/__init__.pyi +10 -11
- bpy/ops/collection/__init__.pyi +38 -38
- bpy/ops/console/__init__.pyi +170 -141
- bpy/ops/constraint/__init__.pyi +156 -159
- bpy/ops/curve/__init__.pyi +518 -461
- bpy/ops/curves/__init__.pyi +188 -159
- bpy/ops/cycles/__init__.pyi +20 -18
- bpy/ops/dpaint/__init__.pyi +40 -30
- bpy/ops/ed/__init__.pyi +136 -107
- bpy/ops/export_anim/__init__.pyi +18 -19
- bpy/ops/export_mesh/__init__.pyi +26 -27
- bpy/ops/export_scene/__init__.pyi +313 -334
- bpy/ops/file/__init__.pyi +394 -304
- bpy/ops/fluid/__init__.pyi +114 -63
- bpy/ops/font/__init__.pyi +272 -245
- bpy/ops/geometry/__init__.pyi +92 -87
- bpy/ops/gizmogroup/__init__.pyi +24 -21
- bpy/ops/gpencil/__init__.pyi +1530 -1476
- bpy/ops/graph/__init__.pyi +680 -659
- bpy/ops/grease_pencil/__init__.pyi +510 -390
- bpy/ops/image/__init__.pyi +650 -603
- bpy/ops/import_anim/__init__.pyi +26 -27
- bpy/ops/import_curve/__init__.pyi +6 -7
- bpy/ops/import_mesh/__init__.pyi +18 -21
- bpy/ops/import_scene/__init__.pyi +86 -95
- bpy/ops/info/__init__.pyi +68 -55
- bpy/ops/lattice/__init__.pyi +70 -63
- bpy/ops/marker/__init__.pyi +110 -111
- bpy/ops/mask/__init__.pyi +352 -308
- bpy/ops/material/__init__.pyi +24 -12
- bpy/ops/mball/__init__.pyi +72 -75
- bpy/ops/mesh/__init__.pyi +2052 -2088
- bpy/ops/nla/__init__.pyi +369 -313
- bpy/ops/node/__init__.pyi +944 -805
- bpy/ops/object/__init__.pyi +2662 -2461
- bpy/ops/outliner/__init__.pyi +582 -431
- bpy/ops/paint/__init__.pyi +605 -516
- bpy/ops/paintcurve/__init__.pyi +72 -60
- bpy/ops/palette/__init__.pyi +54 -46
- bpy/ops/particle/__init__.pyi +302 -245
- bpy/ops/pose/__init__.pyi +366 -330
- bpy/ops/poselib/__init__.pyi +78 -64
- bpy/ops/preferences/__init__.pyi +361 -341
- bpy/ops/ptcache/__init__.pyi +56 -38
- bpy/ops/render/__init__.pyi +120 -117
- bpy/ops/rigidbody/__init__.pyi +114 -97
- bpy/ops/scene/__init__.pyi +302 -240
- bpy/ops/screen/__init__.pyi +414 -363
- bpy/ops/script/__init__.pyi +20 -18
- bpy/ops/sculpt/__init__.pyi +414 -452
- bpy/ops/sculpt_curves/__init__.pyi +42 -43
- bpy/ops/sequencer/__init__.pyi +1094 -1053
- bpy/ops/sound/__init__.pyi +214 -206
- bpy/ops/spreadsheet/__init__.pyi +34 -28
- bpy/ops/surface/__init__.pyi +108 -114
- bpy/ops/text/__init__.pyi +432 -350
- bpy/ops/text_editor/__init__.pyi +10 -11
- bpy/ops/texture/__init__.pyi +32 -21
- bpy/ops/transform/__init__.pyi +801 -854
- bpy/ops/ui/__init__.pyi +254 -185
- bpy/ops/uilist/__init__.pyi +20 -23
- bpy/ops/uv/__init__.pyi +618 -626
- bpy/ops/view2d/__init__.pyi +162 -161
- bpy/ops/view3d/__init__.pyi +669 -658
- bpy/ops/wm/__init__.pyi +2433 -2415
- bpy/ops/workspace/__init__.pyi +54 -31
- bpy/ops/world/__init__.pyi +8 -4
- bpy/path/__init__.pyi +111 -68
- bpy/props/__init__.pyi +263 -267
- bpy/types/__init__.pyi +86789 -85719
- bpy/utils/__init__.pyi +265 -123
- bpy/utils/previews/__init__.pyi +103 -17
- bpy/utils/units/__init__.pyi +19 -22
- bpy_extras/__init__.pyi +0 -4
- bpy_extras/anim_utils/__init__.pyi +11 -46
- bpy_extras/asset_utils/__init__.pyi +3 -12
- bpy_extras/id_map_utils/__init__.pyi +0 -2
- bpy_extras/image_utils/__init__.pyi +2 -2
- bpy_extras/io_utils/__init__.pyi +30 -27
- bpy_extras/keyconfig_utils/__init__.pyi +4 -1
- bpy_extras/mesh_utils/__init__.pyi +18 -18
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +25 -26
- bpy_extras/view3d_utils/__init__.pyi +33 -38
- bpy_restrict_state/__init__.pyi +14 -1
- bpy_types/__init__.pyi +3873 -997
- console_python/__init__.pyi +41 -7
- console_shell/__init__.pyi +24 -5
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/METADATA +1 -1
- fake_bpy_module-20240326.dist-info/RECORD +343 -0
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/WHEEL +1 -1
- freestyle/chainingiterators/__init__.pyi +50 -52
- freestyle/functions/__init__.pyi +303 -207
- freestyle/predicates/__init__.pyi +299 -115
- freestyle/shaders/__init__.pyi +49 -80
- freestyle/types/__init__.pyi +465 -472
- freestyle/utils/ContextFunctions/__init__.pyi +9 -9
- freestyle/utils/__init__.pyi +28 -18
- gpu/capabilities/__init__.pyi +27 -19
- gpu/matrix/__init__.pyi +14 -16
- gpu/platform/__init__.pyi +5 -5
- gpu/shader/__init__.pyi +2 -5
- gpu/state/__init__.pyi +1 -1
- gpu/texture/__init__.pyi +3 -3
- gpu/types/__init__.pyi +54 -85
- gpu_extras/batch/__init__.pyi +27 -5
- gpu_extras/presets/__init__.pyi +52 -14
- graphviz_export/__init__.pyi +9 -2
- idprop/types/__init__.pyi +36 -12
- imbuf/__init__.pyi +8 -9
- imbuf/types/__init__.pyi +8 -15
- keyingsets_builtins/__init__.pyi +3149 -701
- keyingsets_utils/__init__.pyi +69 -14
- mathutils/__init__.pyi +502 -427
- mathutils/bvhtree/__init__.pyi +28 -32
- mathutils/geometry/__init__.pyi +177 -186
- mathutils/kdtree/__init__.pyi +16 -18
- mathutils/noise/__init__.pyi +47 -48
- nodeitems_builtins/__init__.pyi +50 -10
- nodeitems_utils/__init__.pyi +58 -10
- rna_info/__init__.pyi +230 -26
- rna_keymap_ui/__init__.pyi +29 -6
- rna_prop_ui/__init__.pyi +69 -12
- rna_xml/__init__.pyi +29 -6
- sys_info/__init__.pyi +4 -1
- bpy_extras/bmesh_utils/__init__.pyi +0 -6
- bpy_extras/extensions/__init__.pyi +0 -4
- bpy_extras/extensions/junction_module/__init__.pyi +0 -12
- bpy_extras/node_shader_utils/__init__.pyi +0 -131
- bpy_extras/wm_utils/__init__.pyi +0 -4
- bpy_extras/wm_utils/progress_report/__init__.pyi +0 -29
- fake_bpy_module-20240224.dist-info/RECORD +0 -349
- {fake_bpy_module-20240224.dist-info → fake_bpy_module-20240326.dist-info}/top_level.txt +0 -0
bpy/ops/sculpt/__init__.pyi
CHANGED
|
@@ -4,23 +4,20 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
def brush_stroke(
|
|
7
|
-
override_context=None,
|
|
8
|
-
execution_context=None,
|
|
9
|
-
undo=None,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
] = None,
|
|
14
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
15
|
-
ignore_background_click: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
7
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
8
|
+
execution_context: typing.Union[str, int] = None,
|
|
9
|
+
undo: bool = None,
|
|
10
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] = None,
|
|
11
|
+
mode: typing.Any = "NORMAL",
|
|
12
|
+
ignore_background_click: typing.Union[bool, typing.Any] = False,
|
|
16
13
|
):
|
|
17
14
|
"""Sculpt a stroke into the geometry
|
|
18
15
|
|
|
19
|
-
:type override_context: typing.
|
|
20
|
-
:type execution_context: typing.
|
|
21
|
-
:type undo:
|
|
16
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
17
|
+
:type execution_context: typing.Union[str, int]
|
|
18
|
+
:type undo: bool
|
|
22
19
|
:param stroke: Stroke
|
|
23
|
-
:type stroke:
|
|
20
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
24
21
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
25
22
|
|
|
26
23
|
NORMAL
|
|
@@ -31,47 +28,46 @@ def brush_stroke(
|
|
|
31
28
|
|
|
32
29
|
SMOOTH
|
|
33
30
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
34
|
-
:type mode: typing.
|
|
31
|
+
:type mode: typing.Any
|
|
35
32
|
:param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
|
|
36
|
-
:type ignore_background_click: typing.
|
|
33
|
+
:type ignore_background_click: typing.Union[bool, typing.Any]
|
|
37
34
|
"""
|
|
38
35
|
|
|
39
36
|
...
|
|
40
37
|
|
|
41
38
|
def cloth_filter(
|
|
42
|
-
override_context=None,
|
|
43
|
-
execution_context=None,
|
|
44
|
-
undo=None,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
39
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
40
|
+
execution_context: typing.Union[str, int] = None,
|
|
41
|
+
undo: bool = None,
|
|
42
|
+
start_mouse: typing.Any = (0, 0),
|
|
43
|
+
area_normal_radius: typing.Any = 0.25,
|
|
44
|
+
strength: typing.Any = 1.0,
|
|
45
|
+
iteration_count: typing.Any = 1,
|
|
46
|
+
event_history: bpy.types.bpy_prop_collection[
|
|
47
|
+
bpy.types.OperatorStrokeElement
|
|
52
48
|
] = None,
|
|
53
|
-
type: typing.
|
|
54
|
-
force_axis: typing.
|
|
55
|
-
orientation: typing.
|
|
56
|
-
cloth_mass: typing.
|
|
57
|
-
cloth_damping: typing.
|
|
58
|
-
use_face_sets: typing.
|
|
59
|
-
use_collisions: typing.
|
|
49
|
+
type: typing.Any = "GRAVITY",
|
|
50
|
+
force_axis: typing.Any = {'"X"', '"Z"', '"Y"'},
|
|
51
|
+
orientation: typing.Any = "LOCAL",
|
|
52
|
+
cloth_mass: typing.Any = 1.0,
|
|
53
|
+
cloth_damping: typing.Any = 0.0,
|
|
54
|
+
use_face_sets: typing.Union[bool, typing.Any] = False,
|
|
55
|
+
use_collisions: typing.Union[bool, typing.Any] = False,
|
|
60
56
|
):
|
|
61
57
|
"""Applies a cloth simulation deformation to the entire mesh
|
|
62
58
|
|
|
63
|
-
:type override_context: typing.
|
|
64
|
-
:type execution_context: typing.
|
|
65
|
-
:type undo:
|
|
59
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
60
|
+
:type execution_context: typing.Union[str, int]
|
|
61
|
+
:type undo: bool
|
|
66
62
|
:param start_mouse: Starting Mouse
|
|
67
|
-
:type start_mouse: typing.
|
|
63
|
+
:type start_mouse: typing.Any
|
|
68
64
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
69
|
-
:type area_normal_radius: typing.
|
|
65
|
+
:type area_normal_radius: typing.Any
|
|
70
66
|
:param strength: Strength, Filter strength
|
|
71
|
-
:type strength: typing.
|
|
67
|
+
:type strength: typing.Any
|
|
72
68
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
73
|
-
:type iteration_count: typing.
|
|
74
|
-
:type event_history:
|
|
69
|
+
:type iteration_count: typing.Any
|
|
70
|
+
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
75
71
|
:param type: Filter Type, Operation that is going to be applied to the mesh
|
|
76
72
|
|
|
77
73
|
GRAVITY
|
|
@@ -88,7 +84,7 @@ def cloth_filter(
|
|
|
88
84
|
|
|
89
85
|
SCALE
|
|
90
86
|
Scale -- Scales the mesh as a soft body using the origin of the object as scale.
|
|
91
|
-
:type type: typing.
|
|
87
|
+
:type type: typing.Any
|
|
92
88
|
:param force_axis: Force Axis, Apply the force in the selected axis
|
|
93
89
|
|
|
94
90
|
X
|
|
@@ -99,7 +95,7 @@ def cloth_filter(
|
|
|
99
95
|
|
|
100
96
|
Z
|
|
101
97
|
Z -- Apply force in the Z axis.
|
|
102
|
-
:type force_axis: typing.
|
|
98
|
+
:type force_axis: typing.Any
|
|
103
99
|
:param orientation: Orientation, Orientation of the axis to limit the filter force
|
|
104
100
|
|
|
105
101
|
LOCAL
|
|
@@ -110,48 +106,47 @@ def cloth_filter(
|
|
|
110
106
|
|
|
111
107
|
VIEW
|
|
112
108
|
View -- Use the view axis to limit the force and set the gravity direction.
|
|
113
|
-
:type orientation: typing.
|
|
109
|
+
:type orientation: typing.Any
|
|
114
110
|
:param cloth_mass: Cloth Mass, Mass of each simulation particle
|
|
115
|
-
:type cloth_mass: typing.
|
|
111
|
+
:type cloth_mass: typing.Any
|
|
116
112
|
:param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
|
|
117
|
-
:type cloth_damping: typing.
|
|
113
|
+
:type cloth_damping: typing.Any
|
|
118
114
|
:param use_face_sets: Use Face Sets, Apply the filter only to the Face Set under the cursor
|
|
119
|
-
:type use_face_sets: typing.
|
|
115
|
+
:type use_face_sets: typing.Union[bool, typing.Any]
|
|
120
116
|
:param use_collisions: Use Collisions, Collide with other collider objects in the scene
|
|
121
|
-
:type use_collisions: typing.
|
|
117
|
+
:type use_collisions: typing.Union[bool, typing.Any]
|
|
122
118
|
"""
|
|
123
119
|
|
|
124
120
|
...
|
|
125
121
|
|
|
126
122
|
def color_filter(
|
|
127
|
-
override_context=None,
|
|
128
|
-
execution_context=None,
|
|
129
|
-
undo=None,
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
123
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
124
|
+
execution_context: typing.Union[str, int] = None,
|
|
125
|
+
undo: bool = None,
|
|
126
|
+
start_mouse: typing.Any = (0, 0),
|
|
127
|
+
area_normal_radius: typing.Any = 0.25,
|
|
128
|
+
strength: typing.Any = 1.0,
|
|
129
|
+
iteration_count: typing.Any = 1,
|
|
130
|
+
event_history: bpy.types.bpy_prop_collection[
|
|
131
|
+
bpy.types.OperatorStrokeElement
|
|
137
132
|
] = None,
|
|
138
|
-
type: typing.
|
|
139
|
-
fill_color: typing.
|
|
133
|
+
type: typing.Any = "FILL",
|
|
134
|
+
fill_color: typing.Any = (1.0, 1.0, 1.0),
|
|
140
135
|
):
|
|
141
136
|
"""Applies a filter to modify the active color attribute
|
|
142
137
|
|
|
143
|
-
:type override_context: typing.
|
|
144
|
-
:type execution_context: typing.
|
|
145
|
-
:type undo:
|
|
138
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
139
|
+
:type execution_context: typing.Union[str, int]
|
|
140
|
+
:type undo: bool
|
|
146
141
|
:param start_mouse: Starting Mouse
|
|
147
|
-
:type start_mouse: typing.
|
|
142
|
+
:type start_mouse: typing.Any
|
|
148
143
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
149
|
-
:type area_normal_radius: typing.
|
|
144
|
+
:type area_normal_radius: typing.Any
|
|
150
145
|
:param strength: Strength, Filter strength
|
|
151
|
-
:type strength: typing.
|
|
146
|
+
:type strength: typing.Any
|
|
152
147
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
153
|
-
:type iteration_count: typing.
|
|
154
|
-
:type event_history:
|
|
148
|
+
:type iteration_count: typing.Any
|
|
149
|
+
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
155
150
|
:param type: Filter Type
|
|
156
151
|
|
|
157
152
|
FILL
|
|
@@ -183,136 +178,142 @@ def color_filter(
|
|
|
183
178
|
|
|
184
179
|
BLUE
|
|
185
180
|
Blue -- Change blue channel.
|
|
186
|
-
:type type: typing.
|
|
181
|
+
:type type: typing.Any
|
|
187
182
|
:param fill_color: Fill Color
|
|
188
|
-
:type fill_color: typing.
|
|
183
|
+
:type fill_color: typing.Any
|
|
189
184
|
"""
|
|
190
185
|
|
|
191
186
|
...
|
|
192
187
|
|
|
193
|
-
def detail_flood_fill(
|
|
188
|
+
def detail_flood_fill(
|
|
189
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
190
|
+
execution_context: typing.Union[str, int] = None,
|
|
191
|
+
undo: bool = None,
|
|
192
|
+
):
|
|
194
193
|
"""Flood fill the mesh with the selected detail setting
|
|
195
194
|
|
|
196
|
-
:type override_context: typing.
|
|
197
|
-
:type execution_context: typing.
|
|
198
|
-
:type undo:
|
|
195
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
196
|
+
:type execution_context: typing.Union[str, int]
|
|
197
|
+
:type undo: bool
|
|
199
198
|
"""
|
|
200
199
|
|
|
201
200
|
...
|
|
202
201
|
|
|
203
|
-
def dynamic_topology_toggle(
|
|
202
|
+
def dynamic_topology_toggle(
|
|
203
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
204
|
+
execution_context: typing.Union[str, int] = None,
|
|
205
|
+
undo: bool = None,
|
|
206
|
+
):
|
|
204
207
|
"""Dynamic topology alters the mesh topology while sculpting
|
|
205
208
|
|
|
206
|
-
:type override_context: typing.
|
|
207
|
-
:type execution_context: typing.
|
|
208
|
-
:type undo:
|
|
209
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
210
|
+
:type execution_context: typing.Union[str, int]
|
|
211
|
+
:type undo: bool
|
|
209
212
|
"""
|
|
210
213
|
|
|
211
214
|
...
|
|
212
215
|
|
|
213
|
-
def dyntopo_detail_size_edit(
|
|
216
|
+
def dyntopo_detail_size_edit(
|
|
217
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
218
|
+
execution_context: typing.Union[str, int] = None,
|
|
219
|
+
undo: bool = None,
|
|
220
|
+
):
|
|
214
221
|
"""Modify the detail size of dyntopo interactively
|
|
215
222
|
|
|
216
|
-
:type override_context: typing.
|
|
217
|
-
:type execution_context: typing.
|
|
218
|
-
:type undo:
|
|
223
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
224
|
+
:type execution_context: typing.Union[str, int]
|
|
225
|
+
:type undo: bool
|
|
219
226
|
"""
|
|
220
227
|
|
|
221
228
|
...
|
|
222
229
|
|
|
223
230
|
def expand(
|
|
224
|
-
override_context=None,
|
|
225
|
-
execution_context=None,
|
|
226
|
-
undo=None,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
normal_falloff_smooth: typing.Optional[typing.Any] = 2,
|
|
231
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
232
|
+
execution_context: typing.Union[str, int] = None,
|
|
233
|
+
undo: bool = None,
|
|
234
|
+
target: typing.Any = "MASK",
|
|
235
|
+
falloff_type: typing.Any = "GEODESIC",
|
|
236
|
+
invert: typing.Union[bool, typing.Any] = False,
|
|
237
|
+
use_mask_preserve: typing.Union[bool, typing.Any] = False,
|
|
238
|
+
use_falloff_gradient: typing.Union[bool, typing.Any] = False,
|
|
239
|
+
use_modify_active: typing.Union[bool, typing.Any] = False,
|
|
240
|
+
use_reposition_pivot: typing.Union[bool, typing.Any] = True,
|
|
241
|
+
max_geodesic_move_preview: typing.Any = 10000,
|
|
242
|
+
use_auto_mask: typing.Union[bool, typing.Any] = False,
|
|
243
|
+
normal_falloff_smooth: typing.Any = 2,
|
|
238
244
|
):
|
|
239
245
|
"""Generic sculpt expand operator
|
|
240
246
|
|
|
241
|
-
:type override_context: typing.
|
|
242
|
-
:type execution_context: typing.
|
|
243
|
-
:type undo:
|
|
247
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
248
|
+
:type execution_context: typing.Union[str, int]
|
|
249
|
+
:type undo: bool
|
|
244
250
|
:param target: Data Target, Data that is going to be modified in the expand operation
|
|
245
|
-
:type target: typing.
|
|
251
|
+
:type target: typing.Any
|
|
246
252
|
:param falloff_type: Falloff Type, Initial falloff of the expand operation
|
|
247
|
-
:type falloff_type: typing.
|
|
253
|
+
:type falloff_type: typing.Any
|
|
248
254
|
:param invert: Invert, Invert the expand active elements
|
|
249
|
-
:type invert: typing.
|
|
255
|
+
:type invert: typing.Union[bool, typing.Any]
|
|
250
256
|
:param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
|
|
251
|
-
:type use_mask_preserve: typing.
|
|
257
|
+
:type use_mask_preserve: typing.Union[bool, typing.Any]
|
|
252
258
|
:param use_falloff_gradient: Falloff Gradient, Expand Using a linear falloff
|
|
253
|
-
:type use_falloff_gradient: typing.
|
|
259
|
+
:type use_falloff_gradient: typing.Union[bool, typing.Any]
|
|
254
260
|
:param use_modify_active: Modify Active, Modify the active Face Set instead of creating a new one
|
|
255
|
-
:type use_modify_active: typing.
|
|
261
|
+
:type use_modify_active: typing.Union[bool, typing.Any]
|
|
256
262
|
:param use_reposition_pivot: Reposition Pivot, Reposition the sculpt transform pivot to the boundary of the expand active area
|
|
257
|
-
:type use_reposition_pivot: typing.
|
|
263
|
+
:type use_reposition_pivot: typing.Union[bool, typing.Any]
|
|
258
264
|
:param max_geodesic_move_preview: Max Vertex Count for Geodesic Move Preview, Maximum number of vertices in the mesh for using geodesic falloff when moving the origin of expand. If the total number of vertices is greater than this value, the falloff will be set to spherical when moving
|
|
259
|
-
:type max_geodesic_move_preview: typing.
|
|
265
|
+
:type max_geodesic_move_preview: typing.Any
|
|
260
266
|
:param use_auto_mask: Auto Create, Fill in mask if nothing is already masked
|
|
261
|
-
:type use_auto_mask: typing.
|
|
267
|
+
:type use_auto_mask: typing.Union[bool, typing.Any]
|
|
262
268
|
:param normal_falloff_smooth: Normal Smooth, Blurring steps for normal falloff
|
|
263
|
-
:type normal_falloff_smooth: typing.
|
|
269
|
+
:type normal_falloff_smooth: typing.Any
|
|
264
270
|
"""
|
|
265
271
|
|
|
266
272
|
...
|
|
267
273
|
|
|
268
274
|
def face_set_box_gesture(
|
|
269
|
-
override_context=None,
|
|
270
|
-
execution_context=None,
|
|
271
|
-
undo=None,
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
279
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
275
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
276
|
+
execution_context: typing.Union[str, int] = None,
|
|
277
|
+
undo: bool = None,
|
|
278
|
+
xmin: typing.Any = 0,
|
|
279
|
+
xmax: typing.Any = 0,
|
|
280
|
+
ymin: typing.Any = 0,
|
|
281
|
+
ymax: typing.Any = 0,
|
|
282
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
283
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
280
284
|
):
|
|
281
285
|
"""Add face set within the box as you move the brush
|
|
282
286
|
|
|
283
|
-
:type override_context: typing.
|
|
284
|
-
:type execution_context: typing.
|
|
285
|
-
:type undo:
|
|
287
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
288
|
+
:type execution_context: typing.Union[str, int]
|
|
289
|
+
:type undo: bool
|
|
286
290
|
:param xmin: X Min
|
|
287
|
-
:type xmin: typing.
|
|
291
|
+
:type xmin: typing.Any
|
|
288
292
|
:param xmax: X Max
|
|
289
|
-
:type xmax: typing.
|
|
293
|
+
:type xmax: typing.Any
|
|
290
294
|
:param ymin: Y Min
|
|
291
|
-
:type ymin: typing.
|
|
295
|
+
:type ymin: typing.Any
|
|
292
296
|
:param ymax: Y Max
|
|
293
|
-
:type ymax: typing.
|
|
297
|
+
:type ymax: typing.Any
|
|
294
298
|
:param wait_for_input: Wait for Input
|
|
295
|
-
:type wait_for_input: typing.
|
|
299
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
296
300
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
297
|
-
:type use_front_faces_only: typing.
|
|
298
|
-
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
299
|
-
:type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
301
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
300
302
|
"""
|
|
301
303
|
|
|
302
304
|
...
|
|
303
305
|
|
|
304
306
|
def face_set_change_visibility(
|
|
305
|
-
override_context=None,
|
|
306
|
-
execution_context=None,
|
|
307
|
-
undo=None,
|
|
308
|
-
|
|
309
|
-
mode: typing.Optional[typing.Any] = "TOGGLE",
|
|
307
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
308
|
+
execution_context: typing.Union[str, int] = None,
|
|
309
|
+
undo: bool = None,
|
|
310
|
+
mode: typing.Any = "TOGGLE",
|
|
310
311
|
):
|
|
311
312
|
"""Change the visibility of the Face Sets of the sculpt
|
|
312
313
|
|
|
313
|
-
:type override_context: typing.
|
|
314
|
-
:type execution_context: typing.
|
|
315
|
-
:type undo:
|
|
314
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
315
|
+
:type execution_context: typing.Union[str, int]
|
|
316
|
+
:type undo: bool
|
|
316
317
|
:param mode: Mode
|
|
317
318
|
|
|
318
319
|
TOGGLE
|
|
@@ -323,28 +324,27 @@ def face_set_change_visibility(
|
|
|
323
324
|
|
|
324
325
|
HIDE_ACTIVE
|
|
325
326
|
Hide Active Face Sets -- Hide Active Face Sets.
|
|
326
|
-
:type mode: typing.
|
|
327
|
+
:type mode: typing.Any
|
|
327
328
|
"""
|
|
328
329
|
|
|
329
330
|
...
|
|
330
331
|
|
|
331
332
|
def face_set_edit(
|
|
332
|
-
override_context=None,
|
|
333
|
-
execution_context=None,
|
|
334
|
-
undo=None,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
modify_hidden: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
333
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
334
|
+
execution_context: typing.Union[str, int] = None,
|
|
335
|
+
undo: bool = None,
|
|
336
|
+
active_face_set: typing.Any = 1,
|
|
337
|
+
mode: typing.Any = "GROW",
|
|
338
|
+
strength: typing.Any = 1.0,
|
|
339
|
+
modify_hidden: typing.Union[bool, typing.Any] = True,
|
|
340
340
|
):
|
|
341
341
|
"""Edits the current active Face Set
|
|
342
342
|
|
|
343
|
-
:type override_context: typing.
|
|
344
|
-
:type execution_context: typing.
|
|
345
|
-
:type undo:
|
|
343
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
344
|
+
:type execution_context: typing.Union[str, int]
|
|
345
|
+
:type undo: bool
|
|
346
346
|
:param active_face_set: Active Face Set
|
|
347
|
-
:type active_face_set: typing.
|
|
347
|
+
:type active_face_set: typing.Any
|
|
348
348
|
:param mode: Mode
|
|
349
349
|
|
|
350
350
|
GROW
|
|
@@ -361,53 +361,46 @@ def face_set_edit(
|
|
|
361
361
|
|
|
362
362
|
FAIR_TANGENCY
|
|
363
363
|
Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
|
|
364
|
-
:type mode: typing.
|
|
364
|
+
:type mode: typing.Any
|
|
365
365
|
:param strength: Strength
|
|
366
|
-
:type strength: typing.
|
|
366
|
+
:type strength: typing.Any
|
|
367
367
|
:param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
|
|
368
|
-
:type modify_hidden: typing.
|
|
368
|
+
:type modify_hidden: typing.Union[bool, typing.Any]
|
|
369
369
|
"""
|
|
370
370
|
|
|
371
371
|
...
|
|
372
372
|
|
|
373
373
|
def face_set_lasso_gesture(
|
|
374
|
-
override_context=None,
|
|
375
|
-
execution_context=None,
|
|
376
|
-
undo=None,
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorMousePath"]
|
|
380
|
-
] = None,
|
|
381
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
382
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
374
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
375
|
+
execution_context: typing.Union[str, int] = None,
|
|
376
|
+
undo: bool = None,
|
|
377
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
378
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
383
379
|
):
|
|
384
380
|
"""Add face set within the lasso as you move the brush
|
|
385
381
|
|
|
386
|
-
:type override_context: typing.
|
|
387
|
-
:type execution_context: typing.
|
|
388
|
-
:type undo:
|
|
382
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
383
|
+
:type execution_context: typing.Union[str, int]
|
|
384
|
+
:type undo: bool
|
|
389
385
|
:param path: Path
|
|
390
|
-
:type path:
|
|
386
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
391
387
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
392
|
-
:type use_front_faces_only: typing.
|
|
393
|
-
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
394
|
-
:type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
388
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
395
389
|
"""
|
|
396
390
|
|
|
397
391
|
...
|
|
398
392
|
|
|
399
393
|
def face_sets_create(
|
|
400
|
-
override_context=None,
|
|
401
|
-
execution_context=None,
|
|
402
|
-
undo=None,
|
|
403
|
-
|
|
404
|
-
mode: typing.Optional[typing.Any] = "MASKED",
|
|
394
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
395
|
+
execution_context: typing.Union[str, int] = None,
|
|
396
|
+
undo: bool = None,
|
|
397
|
+
mode: typing.Any = "MASKED",
|
|
405
398
|
):
|
|
406
399
|
"""Create a new Face Set
|
|
407
400
|
|
|
408
|
-
:type override_context: typing.
|
|
409
|
-
:type execution_context: typing.
|
|
410
|
-
:type undo:
|
|
401
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
402
|
+
:type execution_context: typing.Union[str, int]
|
|
403
|
+
:type undo: bool
|
|
411
404
|
:param mode: Mode
|
|
412
405
|
|
|
413
406
|
MASKED
|
|
@@ -421,24 +414,23 @@ def face_sets_create(
|
|
|
421
414
|
|
|
422
415
|
SELECTION
|
|
423
416
|
Face Set from Edit Mode Selection -- Create an Face Set corresponding to the Edit Mode face selection.
|
|
424
|
-
:type mode: typing.
|
|
417
|
+
:type mode: typing.Any
|
|
425
418
|
"""
|
|
426
419
|
|
|
427
420
|
...
|
|
428
421
|
|
|
429
422
|
def face_sets_init(
|
|
430
|
-
override_context=None,
|
|
431
|
-
execution_context=None,
|
|
432
|
-
undo=None,
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
threshold: typing.Optional[typing.Any] = 0.5,
|
|
423
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
424
|
+
execution_context: typing.Union[str, int] = None,
|
|
425
|
+
undo: bool = None,
|
|
426
|
+
mode: typing.Any = "LOOSE_PARTS",
|
|
427
|
+
threshold: typing.Any = 0.5,
|
|
436
428
|
):
|
|
437
429
|
"""Initializes all Face Sets in the mesh
|
|
438
430
|
|
|
439
|
-
:type override_context: typing.
|
|
440
|
-
:type execution_context: typing.
|
|
441
|
-
:type undo:
|
|
431
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
432
|
+
:type execution_context: typing.Union[str, int]
|
|
433
|
+
:type undo: bool
|
|
442
434
|
:param mode: Mode
|
|
443
435
|
|
|
444
436
|
LOOSE_PARTS
|
|
@@ -464,116 +456,97 @@ def face_sets_init(
|
|
|
464
456
|
|
|
465
457
|
FACE_SET_BOUNDARIES
|
|
466
458
|
Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
|
|
467
|
-
:type mode: typing.
|
|
459
|
+
:type mode: typing.Any
|
|
468
460
|
:param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
|
|
469
|
-
:type threshold: typing.
|
|
461
|
+
:type threshold: typing.Any
|
|
470
462
|
"""
|
|
471
463
|
|
|
472
464
|
...
|
|
473
465
|
|
|
474
466
|
def face_sets_randomize_colors(
|
|
475
|
-
override_context
|
|
467
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
468
|
+
execution_context: typing.Union[str, int] = None,
|
|
469
|
+
undo: bool = None,
|
|
476
470
|
):
|
|
477
471
|
"""Generates a new set of random colors to render the Face Sets in the viewport
|
|
478
472
|
|
|
479
|
-
:type override_context: typing.
|
|
480
|
-
:type execution_context: typing.
|
|
481
|
-
:type undo:
|
|
473
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
474
|
+
:type execution_context: typing.Union[str, int]
|
|
475
|
+
:type undo: bool
|
|
482
476
|
"""
|
|
483
477
|
|
|
484
478
|
...
|
|
485
479
|
|
|
486
480
|
def mask_by_color(
|
|
487
|
-
override_context=None,
|
|
488
|
-
execution_context=None,
|
|
489
|
-
undo=None,
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
threshold: typing.Optional[typing.Any] = 0.35,
|
|
481
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
482
|
+
execution_context: typing.Union[str, int] = None,
|
|
483
|
+
undo: bool = None,
|
|
484
|
+
contiguous: typing.Union[bool, typing.Any] = False,
|
|
485
|
+
invert: typing.Union[bool, typing.Any] = False,
|
|
486
|
+
preserve_previous_mask: typing.Union[bool, typing.Any] = False,
|
|
487
|
+
threshold: typing.Any = 0.35,
|
|
495
488
|
):
|
|
496
489
|
"""Creates a mask based on the active color attribute
|
|
497
490
|
|
|
498
|
-
:type override_context: typing.
|
|
499
|
-
:type execution_context: typing.
|
|
500
|
-
:type undo:
|
|
491
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
492
|
+
:type execution_context: typing.Union[str, int]
|
|
493
|
+
:type undo: bool
|
|
501
494
|
:param contiguous: Contiguous, Mask only contiguous color areas
|
|
502
|
-
:type contiguous: typing.
|
|
495
|
+
:type contiguous: typing.Union[bool, typing.Any]
|
|
503
496
|
:param invert: Invert, Invert the generated mask
|
|
504
|
-
:type invert: typing.
|
|
497
|
+
:type invert: typing.Union[bool, typing.Any]
|
|
505
498
|
:param preserve_previous_mask: Preserve Previous Mask, Preserve the previous mask and add or subtract the new one generated by the colors
|
|
506
|
-
:type preserve_previous_mask: typing.
|
|
499
|
+
:type preserve_previous_mask: typing.Union[bool, typing.Any]
|
|
507
500
|
:param threshold: Threshold, How much changes in color affect the mask generation
|
|
508
|
-
:type threshold: typing.
|
|
501
|
+
:type threshold: typing.Any
|
|
509
502
|
"""
|
|
510
503
|
|
|
511
504
|
...
|
|
512
505
|
|
|
513
506
|
def mask_filter(
|
|
514
|
-
override_context=None,
|
|
515
|
-
execution_context=None,
|
|
516
|
-
undo=None,
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
auto_iteration_count: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
507
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
508
|
+
execution_context: typing.Union[str, int] = None,
|
|
509
|
+
undo: bool = None,
|
|
510
|
+
filter_type: typing.Any = "SMOOTH",
|
|
511
|
+
iterations: typing.Any = 1,
|
|
512
|
+
auto_iteration_count: typing.Union[bool, typing.Any] = True,
|
|
521
513
|
):
|
|
522
514
|
"""Applies a filter to modify the current mask
|
|
523
515
|
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
Sharpen Mask -- Sharpen mask.
|
|
534
|
-
|
|
535
|
-
GROW
|
|
536
|
-
Grow Mask -- Grow mask.
|
|
537
|
-
|
|
538
|
-
SHRINK
|
|
539
|
-
Shrink Mask -- Shrink mask.
|
|
540
|
-
|
|
541
|
-
CONTRAST_INCREASE
|
|
542
|
-
Increase Contrast -- Increase the contrast of the paint mask.
|
|
543
|
-
|
|
544
|
-
CONTRAST_DECREASE
|
|
545
|
-
Decrease Contrast -- Decrease the contrast of the paint mask.
|
|
546
|
-
:type filter_type: typing.Optional[typing.Any]
|
|
547
|
-
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
548
|
-
:type iterations: typing.Optional[typing.Any]
|
|
549
|
-
:param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
|
|
550
|
-
:type auto_iteration_count: typing.Optional[typing.Union[bool, typing.Any]]
|
|
516
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
517
|
+
:type execution_context: typing.Union[str, int]
|
|
518
|
+
:type undo: bool
|
|
519
|
+
:param filter_type: Type, Filter that is going to be applied to the mask
|
|
520
|
+
:type filter_type: typing.Any
|
|
521
|
+
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
522
|
+
:type iterations: typing.Any
|
|
523
|
+
:param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
|
|
524
|
+
:type auto_iteration_count: typing.Union[bool, typing.Any]
|
|
551
525
|
"""
|
|
552
526
|
|
|
553
527
|
...
|
|
554
528
|
|
|
555
529
|
def mask_from_cavity(
|
|
556
|
-
override_context=None,
|
|
557
|
-
execution_context=None,
|
|
558
|
-
undo=None,
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
530
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
531
|
+
execution_context: typing.Union[str, int] = None,
|
|
532
|
+
undo: bool = None,
|
|
533
|
+
mix_mode: typing.Any = "MIX",
|
|
534
|
+
mix_factor: typing.Any = 1.0,
|
|
535
|
+
settings_source: typing.Any = "OPERATOR",
|
|
536
|
+
factor: typing.Any = 0.5,
|
|
537
|
+
blur_steps: typing.Any = 2,
|
|
538
|
+
use_curve: typing.Union[bool, typing.Any] = False,
|
|
539
|
+
invert: typing.Union[bool, typing.Any] = False,
|
|
567
540
|
):
|
|
568
541
|
"""Creates a mask based on the curvature of the surface
|
|
569
542
|
|
|
570
|
-
:type override_context: typing.
|
|
571
|
-
:type execution_context: typing.
|
|
572
|
-
:type undo:
|
|
543
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
544
|
+
:type execution_context: typing.Union[str, int]
|
|
545
|
+
:type undo: bool
|
|
573
546
|
:param mix_mode: Mode, Mix mode
|
|
574
|
-
:type mix_mode: typing.
|
|
547
|
+
:type mix_mode: typing.Any
|
|
575
548
|
:param mix_factor: Mix Factor
|
|
576
|
-
:type mix_factor: typing.
|
|
549
|
+
:type mix_factor: typing.Any
|
|
577
550
|
:param settings_source: Settings, Use settings from here
|
|
578
551
|
|
|
579
552
|
OPERATOR
|
|
@@ -584,72 +557,70 @@ def mask_from_cavity(
|
|
|
584
557
|
|
|
585
558
|
SCENE
|
|
586
559
|
Scene -- Use settings from scene.
|
|
587
|
-
:type settings_source: typing.
|
|
560
|
+
:type settings_source: typing.Any
|
|
588
561
|
:param factor: Factor, The contrast of the cavity mask
|
|
589
|
-
:type factor: typing.
|
|
562
|
+
:type factor: typing.Any
|
|
590
563
|
:param blur_steps: Blur, The number of times the cavity mask is blurred
|
|
591
|
-
:type blur_steps: typing.
|
|
564
|
+
:type blur_steps: typing.Any
|
|
592
565
|
:param use_curve: Custom Curve
|
|
593
|
-
:type use_curve: typing.
|
|
566
|
+
:type use_curve: typing.Union[bool, typing.Any]
|
|
594
567
|
:param invert: Cavity (Inverted)
|
|
595
|
-
:type invert: typing.
|
|
568
|
+
:type invert: typing.Union[bool, typing.Any]
|
|
596
569
|
"""
|
|
597
570
|
|
|
598
571
|
...
|
|
599
572
|
|
|
600
573
|
def mask_init(
|
|
601
|
-
override_context=None,
|
|
602
|
-
execution_context=None,
|
|
603
|
-
undo=None,
|
|
604
|
-
|
|
605
|
-
mode: typing.Optional[typing.Any] = "RANDOM_PER_VERTEX",
|
|
574
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
575
|
+
execution_context: typing.Union[str, int] = None,
|
|
576
|
+
undo: bool = None,
|
|
577
|
+
mode: typing.Any = "RANDOM_PER_VERTEX",
|
|
606
578
|
):
|
|
607
579
|
"""Creates a new mask for the entire mesh
|
|
608
580
|
|
|
609
|
-
:type override_context: typing.
|
|
610
|
-
:type execution_context: typing.
|
|
611
|
-
:type undo:
|
|
581
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
582
|
+
:type execution_context: typing.Union[str, int]
|
|
583
|
+
:type undo: bool
|
|
612
584
|
:param mode: Mode
|
|
613
|
-
:type mode: typing.
|
|
585
|
+
:type mode: typing.Any
|
|
614
586
|
"""
|
|
615
587
|
|
|
616
588
|
...
|
|
617
589
|
|
|
618
590
|
def mesh_filter(
|
|
619
|
-
override_context=None,
|
|
620
|
-
execution_context=None,
|
|
621
|
-
undo=None,
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
bpy.types.bpy_prop_collection["bpy.types.OperatorStrokeElement"]
|
|
591
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
592
|
+
execution_context: typing.Union[str, int] = None,
|
|
593
|
+
undo: bool = None,
|
|
594
|
+
start_mouse: typing.Any = (0, 0),
|
|
595
|
+
area_normal_radius: typing.Any = 0.25,
|
|
596
|
+
strength: typing.Any = 1.0,
|
|
597
|
+
iteration_count: typing.Any = 1,
|
|
598
|
+
event_history: bpy.types.bpy_prop_collection[
|
|
599
|
+
bpy.types.OperatorStrokeElement
|
|
629
600
|
] = None,
|
|
630
|
-
type: typing.
|
|
631
|
-
deform_axis: typing.
|
|
632
|
-
orientation: typing.
|
|
633
|
-
surface_smooth_shape_preservation: typing.
|
|
634
|
-
surface_smooth_current_vertex: typing.
|
|
635
|
-
sharpen_smooth_ratio: typing.
|
|
636
|
-
sharpen_intensify_detail_strength: typing.
|
|
637
|
-
sharpen_curvature_smooth_iterations: typing.
|
|
601
|
+
type: typing.Any = "INFLATE",
|
|
602
|
+
deform_axis: typing.Any = {'"X"', '"Z"', '"Y"'},
|
|
603
|
+
orientation: typing.Any = "LOCAL",
|
|
604
|
+
surface_smooth_shape_preservation: typing.Any = 0.5,
|
|
605
|
+
surface_smooth_current_vertex: typing.Any = 0.5,
|
|
606
|
+
sharpen_smooth_ratio: typing.Any = 0.35,
|
|
607
|
+
sharpen_intensify_detail_strength: typing.Any = 0.0,
|
|
608
|
+
sharpen_curvature_smooth_iterations: typing.Any = 0,
|
|
638
609
|
):
|
|
639
610
|
"""Applies a filter to modify the current mesh
|
|
640
611
|
|
|
641
|
-
:type override_context: typing.
|
|
642
|
-
:type execution_context: typing.
|
|
643
|
-
:type undo:
|
|
612
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
613
|
+
:type execution_context: typing.Union[str, int]
|
|
614
|
+
:type undo: bool
|
|
644
615
|
:param start_mouse: Starting Mouse
|
|
645
|
-
:type start_mouse: typing.
|
|
616
|
+
:type start_mouse: typing.Any
|
|
646
617
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
647
|
-
:type area_normal_radius: typing.
|
|
618
|
+
:type area_normal_radius: typing.Any
|
|
648
619
|
:param strength: Strength, Filter strength
|
|
649
|
-
:type strength: typing.
|
|
620
|
+
:type strength: typing.Any
|
|
650
621
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
651
|
-
:type iteration_count: typing.
|
|
652
|
-
:type event_history:
|
|
622
|
+
:type iteration_count: typing.Any
|
|
623
|
+
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
653
624
|
:param type: Filter Type, Operation that is going to be applied to the mesh
|
|
654
625
|
|
|
655
626
|
SMOOTH
|
|
@@ -684,7 +655,7 @@ def mesh_filter(
|
|
|
684
655
|
|
|
685
656
|
ERASE_DISCPLACEMENT
|
|
686
657
|
Erase Displacement -- Deletes the displacement of the Multires Modifier.
|
|
687
|
-
:type type: typing.
|
|
658
|
+
:type type: typing.Any
|
|
688
659
|
:param deform_axis: Deform Axis, Apply the deformation in the selected axis
|
|
689
660
|
|
|
690
661
|
X
|
|
@@ -695,7 +666,7 @@ def mesh_filter(
|
|
|
695
666
|
|
|
696
667
|
Z
|
|
697
668
|
Z -- Deform in the Z axis.
|
|
698
|
-
:type deform_axis: typing.
|
|
669
|
+
:type deform_axis: typing.Any
|
|
699
670
|
:param orientation: Orientation, Orientation of the axis to limit the filter displacement
|
|
700
671
|
|
|
701
672
|
LOCAL
|
|
@@ -706,95 +677,101 @@ def mesh_filter(
|
|
|
706
677
|
|
|
707
678
|
VIEW
|
|
708
679
|
View -- Use the view axis to limit the displacement.
|
|
709
|
-
:type orientation: typing.
|
|
680
|
+
:type orientation: typing.Any
|
|
710
681
|
:param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
|
|
711
|
-
:type surface_smooth_shape_preservation: typing.
|
|
682
|
+
:type surface_smooth_shape_preservation: typing.Any
|
|
712
683
|
:param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
|
|
713
|
-
:type surface_smooth_current_vertex: typing.
|
|
684
|
+
:type surface_smooth_current_vertex: typing.Any
|
|
714
685
|
:param sharpen_smooth_ratio: Smooth Ratio, How much smoothing is applied to polished surfaces
|
|
715
|
-
:type sharpen_smooth_ratio: typing.
|
|
686
|
+
:type sharpen_smooth_ratio: typing.Any
|
|
716
687
|
:param sharpen_intensify_detail_strength: Intensify Details, How much creases and valleys are intensified
|
|
717
|
-
:type sharpen_intensify_detail_strength: typing.
|
|
688
|
+
:type sharpen_intensify_detail_strength: typing.Any
|
|
718
689
|
:param sharpen_curvature_smooth_iterations: Curvature Smooth Iterations, How much smooth the resulting shape is, ignoring high frequency details
|
|
719
|
-
:type sharpen_curvature_smooth_iterations: typing.
|
|
690
|
+
:type sharpen_curvature_smooth_iterations: typing.Any
|
|
720
691
|
"""
|
|
721
692
|
|
|
722
693
|
...
|
|
723
694
|
|
|
724
|
-
def optimize(
|
|
695
|
+
def optimize(
|
|
696
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
697
|
+
execution_context: typing.Union[str, int] = None,
|
|
698
|
+
undo: bool = None,
|
|
699
|
+
):
|
|
725
700
|
"""Recalculate the sculpt BVH to improve performance
|
|
726
701
|
|
|
727
|
-
:type override_context: typing.
|
|
728
|
-
:type execution_context: typing.
|
|
729
|
-
:type undo:
|
|
702
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
703
|
+
:type execution_context: typing.Union[str, int]
|
|
704
|
+
:type undo: bool
|
|
730
705
|
"""
|
|
731
706
|
|
|
732
707
|
...
|
|
733
708
|
|
|
734
709
|
def project_line_gesture(
|
|
735
|
-
override_context=None,
|
|
736
|
-
execution_context=None,
|
|
737
|
-
undo=None,
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
710
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
711
|
+
execution_context: typing.Union[str, int] = None,
|
|
712
|
+
undo: bool = None,
|
|
713
|
+
xstart: typing.Any = 0,
|
|
714
|
+
xend: typing.Any = 0,
|
|
715
|
+
ystart: typing.Any = 0,
|
|
716
|
+
yend: typing.Any = 0,
|
|
717
|
+
flip: typing.Union[bool, typing.Any] = False,
|
|
718
|
+
cursor: typing.Any = 5,
|
|
719
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
720
|
+
use_limit_to_segment: typing.Union[bool, typing.Any] = False,
|
|
747
721
|
):
|
|
748
722
|
"""Project the geometry onto a plane defined by a line
|
|
749
723
|
|
|
750
|
-
:type override_context: typing.
|
|
751
|
-
:type execution_context: typing.
|
|
752
|
-
:type undo:
|
|
724
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
725
|
+
:type execution_context: typing.Union[str, int]
|
|
726
|
+
:type undo: bool
|
|
753
727
|
:param xstart: X Start
|
|
754
|
-
:type xstart: typing.
|
|
728
|
+
:type xstart: typing.Any
|
|
755
729
|
:param xend: X End
|
|
756
|
-
:type xend: typing.
|
|
730
|
+
:type xend: typing.Any
|
|
757
731
|
:param ystart: Y Start
|
|
758
|
-
:type ystart: typing.
|
|
732
|
+
:type ystart: typing.Any
|
|
759
733
|
:param yend: Y End
|
|
760
|
-
:type yend: typing.
|
|
734
|
+
:type yend: typing.Any
|
|
761
735
|
:param flip: Flip
|
|
762
|
-
:type flip: typing.
|
|
736
|
+
:type flip: typing.Union[bool, typing.Any]
|
|
763
737
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
764
|
-
:type cursor: typing.
|
|
738
|
+
:type cursor: typing.Any
|
|
765
739
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
766
|
-
:type use_front_faces_only: typing.
|
|
740
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
767
741
|
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
768
|
-
:type use_limit_to_segment: typing.
|
|
742
|
+
:type use_limit_to_segment: typing.Union[bool, typing.Any]
|
|
769
743
|
"""
|
|
770
744
|
|
|
771
745
|
...
|
|
772
746
|
|
|
773
|
-
def sample_color(
|
|
747
|
+
def sample_color(
|
|
748
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
749
|
+
execution_context: typing.Union[str, int] = None,
|
|
750
|
+
undo: bool = None,
|
|
751
|
+
):
|
|
774
752
|
"""Sample the vertex color of the active vertex
|
|
775
753
|
|
|
776
|
-
:type override_context: typing.
|
|
777
|
-
:type execution_context: typing.
|
|
778
|
-
:type undo:
|
|
754
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
755
|
+
:type execution_context: typing.Union[str, int]
|
|
756
|
+
:type undo: bool
|
|
779
757
|
"""
|
|
780
758
|
|
|
781
759
|
...
|
|
782
760
|
|
|
783
761
|
def sample_detail_size(
|
|
784
|
-
override_context=None,
|
|
785
|
-
execution_context=None,
|
|
786
|
-
undo=None,
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
mode: typing.Optional[typing.Any] = "DYNTOPO",
|
|
762
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
763
|
+
execution_context: typing.Union[str, int] = None,
|
|
764
|
+
undo: bool = None,
|
|
765
|
+
location: typing.Any = (0, 0),
|
|
766
|
+
mode: typing.Any = "DYNTOPO",
|
|
790
767
|
):
|
|
791
768
|
"""Sample the mesh detail on clicked point
|
|
792
769
|
|
|
793
|
-
:type override_context: typing.
|
|
794
|
-
:type execution_context: typing.
|
|
795
|
-
:type undo:
|
|
770
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
771
|
+
:type execution_context: typing.Union[str, int]
|
|
772
|
+
:type undo: bool
|
|
796
773
|
:param location: Location, Screen coordinates of sampling
|
|
797
|
-
:type location: typing.
|
|
774
|
+
:type location: typing.Any
|
|
798
775
|
:param mode: Detail Mode, Target sculpting workflow that is going to use the sampled size
|
|
799
776
|
|
|
800
777
|
DYNTOPO
|
|
@@ -802,55 +779,52 @@ def sample_detail_size(
|
|
|
802
779
|
|
|
803
780
|
VOXEL
|
|
804
781
|
Voxel -- Sample mesh voxel size.
|
|
805
|
-
:type mode: typing.
|
|
782
|
+
:type mode: typing.Any
|
|
806
783
|
"""
|
|
807
784
|
|
|
808
785
|
...
|
|
809
786
|
|
|
810
|
-
def sculptmode_toggle(
|
|
787
|
+
def sculptmode_toggle(
|
|
788
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
789
|
+
execution_context: typing.Union[str, int] = None,
|
|
790
|
+
undo: bool = None,
|
|
791
|
+
):
|
|
811
792
|
"""Toggle sculpt mode in 3D view
|
|
812
793
|
|
|
813
|
-
:type override_context: typing.
|
|
814
|
-
:type execution_context: typing.
|
|
815
|
-
:type undo:
|
|
816
|
-
"""
|
|
817
|
-
|
|
818
|
-
...
|
|
819
|
-
|
|
820
|
-
def set_detail_size(override_context=None, execution_context=None, undo=None):
|
|
821
|
-
"""Set the mesh detail (either relative or constant one, depending on current dyntopo mode)
|
|
822
|
-
|
|
823
|
-
:type override_context: typing.Optional[typing.Union['bpy.types.Context', typing.Dict]]
|
|
824
|
-
:type execution_context: typing.Optional[typing.Union[int, str]]
|
|
825
|
-
:type undo: typing.Optional[bool]
|
|
794
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
795
|
+
:type execution_context: typing.Union[str, int]
|
|
796
|
+
:type undo: bool
|
|
826
797
|
"""
|
|
827
798
|
|
|
828
799
|
...
|
|
829
800
|
|
|
830
|
-
def set_persistent_base(
|
|
801
|
+
def set_persistent_base(
|
|
802
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
803
|
+
execution_context: typing.Union[str, int] = None,
|
|
804
|
+
undo: bool = None,
|
|
805
|
+
):
|
|
831
806
|
"""Reset the copy of the mesh that is being sculpted on
|
|
832
807
|
|
|
833
|
-
:type override_context: typing.
|
|
834
|
-
:type execution_context: typing.
|
|
835
|
-
:type undo:
|
|
808
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
809
|
+
:type execution_context: typing.Union[str, int]
|
|
810
|
+
:type undo: bool
|
|
836
811
|
"""
|
|
837
812
|
|
|
838
813
|
...
|
|
839
814
|
|
|
840
815
|
def set_pivot_position(
|
|
841
|
-
override_context=None,
|
|
842
|
-
execution_context=None,
|
|
843
|
-
undo=None,
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
mouse_y: typing.Optional[typing.Any] = 0.0,
|
|
816
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
817
|
+
execution_context: typing.Union[str, int] = None,
|
|
818
|
+
undo: bool = None,
|
|
819
|
+
mode: typing.Any = "UNMASKED",
|
|
820
|
+
mouse_x: typing.Any = 0.0,
|
|
821
|
+
mouse_y: typing.Any = 0.0,
|
|
848
822
|
):
|
|
849
823
|
"""Sets the sculpt transform pivot position
|
|
850
824
|
|
|
851
|
-
:type override_context: typing.
|
|
852
|
-
:type execution_context: typing.
|
|
853
|
-
:type undo:
|
|
825
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
826
|
+
:type execution_context: typing.Union[str, int]
|
|
827
|
+
:type undo: bool
|
|
854
828
|
:param mode: Mode
|
|
855
829
|
|
|
856
830
|
ORIGIN
|
|
@@ -867,69 +841,64 @@ def set_pivot_position(
|
|
|
867
841
|
|
|
868
842
|
SURFACE
|
|
869
843
|
Surface -- Sets the pivot position to the surface under the cursor.
|
|
870
|
-
:type mode: typing.
|
|
844
|
+
:type mode: typing.Any
|
|
871
845
|
:param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
|
|
872
|
-
:type mouse_x: typing.
|
|
846
|
+
:type mouse_x: typing.Any
|
|
873
847
|
:param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
|
|
874
|
-
:type mouse_y: typing.
|
|
848
|
+
:type mouse_y: typing.Any
|
|
875
849
|
"""
|
|
876
850
|
|
|
877
851
|
...
|
|
878
852
|
|
|
879
853
|
def symmetrize(
|
|
880
|
-
override_context=None,
|
|
881
|
-
execution_context=None,
|
|
882
|
-
undo=None,
|
|
883
|
-
|
|
884
|
-
merge_tolerance: typing.Optional[typing.Any] = 0.0005,
|
|
854
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
855
|
+
execution_context: typing.Union[str, int] = None,
|
|
856
|
+
undo: bool = None,
|
|
857
|
+
merge_tolerance: typing.Any = 0.0005,
|
|
885
858
|
):
|
|
886
859
|
"""Symmetrize the topology modifications
|
|
887
860
|
|
|
888
|
-
:type override_context: typing.
|
|
889
|
-
:type execution_context: typing.
|
|
890
|
-
:type undo:
|
|
861
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
862
|
+
:type execution_context: typing.Union[str, int]
|
|
863
|
+
:type undo: bool
|
|
891
864
|
:param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
|
|
892
|
-
:type merge_tolerance: typing.
|
|
865
|
+
:type merge_tolerance: typing.Any
|
|
893
866
|
"""
|
|
894
867
|
|
|
895
868
|
...
|
|
896
869
|
|
|
897
870
|
def trim_box_gesture(
|
|
898
|
-
override_context=None,
|
|
899
|
-
execution_context=None,
|
|
900
|
-
undo=None,
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
trim_orientation: typing.Optional[typing.Any] = "VIEW",
|
|
912
|
-
trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
|
|
871
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
872
|
+
execution_context: typing.Union[str, int] = None,
|
|
873
|
+
undo: bool = None,
|
|
874
|
+
xmin: typing.Any = 0,
|
|
875
|
+
xmax: typing.Any = 0,
|
|
876
|
+
ymin: typing.Any = 0,
|
|
877
|
+
ymax: typing.Any = 0,
|
|
878
|
+
wait_for_input: typing.Union[bool, typing.Any] = True,
|
|
879
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
880
|
+
trim_mode: typing.Any = "DIFFERENCE",
|
|
881
|
+
use_cursor_depth: typing.Union[bool, typing.Any] = False,
|
|
882
|
+
trim_orientation: typing.Any = "VIEW",
|
|
883
|
+
trim_extrude_mode: typing.Any = "FIXED",
|
|
913
884
|
):
|
|
914
885
|
"""Trims the mesh within the box as you move the brush
|
|
915
886
|
|
|
916
|
-
:type override_context: typing.
|
|
917
|
-
:type execution_context: typing.
|
|
918
|
-
:type undo:
|
|
887
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
888
|
+
:type execution_context: typing.Union[str, int]
|
|
889
|
+
:type undo: bool
|
|
919
890
|
:param xmin: X Min
|
|
920
|
-
:type xmin: typing.
|
|
891
|
+
:type xmin: typing.Any
|
|
921
892
|
:param xmax: X Max
|
|
922
|
-
:type xmax: typing.
|
|
893
|
+
:type xmax: typing.Any
|
|
923
894
|
:param ymin: Y Min
|
|
924
|
-
:type ymin: typing.
|
|
895
|
+
:type ymin: typing.Any
|
|
925
896
|
:param ymax: Y Max
|
|
926
|
-
:type ymax: typing.
|
|
897
|
+
:type ymax: typing.Any
|
|
927
898
|
:param wait_for_input: Wait for Input
|
|
928
|
-
:type wait_for_input: typing.
|
|
899
|
+
:type wait_for_input: typing.Union[bool, typing.Any]
|
|
929
900
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
930
|
-
:type use_front_faces_only: typing.
|
|
931
|
-
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
932
|
-
:type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
901
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
933
902
|
:param trim_mode: Trim Mode
|
|
934
903
|
|
|
935
904
|
DIFFERENCE
|
|
@@ -940,9 +909,9 @@ def trim_box_gesture(
|
|
|
940
909
|
|
|
941
910
|
JOIN
|
|
942
911
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
943
|
-
:type trim_mode: typing.
|
|
912
|
+
:type trim_mode: typing.Any
|
|
944
913
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
945
|
-
:type use_cursor_depth: typing.
|
|
914
|
+
:type use_cursor_depth: typing.Union[bool, typing.Any]
|
|
946
915
|
:param trim_orientation: Shape Orientation
|
|
947
916
|
|
|
948
917
|
VIEW
|
|
@@ -950,7 +919,7 @@ def trim_box_gesture(
|
|
|
950
919
|
|
|
951
920
|
SURFACE
|
|
952
921
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
953
|
-
:type trim_orientation: typing.
|
|
922
|
+
:type trim_orientation: typing.Any
|
|
954
923
|
:param trim_extrude_mode: Extrude Mode
|
|
955
924
|
|
|
956
925
|
PROJECT
|
|
@@ -958,37 +927,31 @@ def trim_box_gesture(
|
|
|
958
927
|
|
|
959
928
|
FIXED
|
|
960
929
|
Fixed -- Extrude back faces by fixed amount.
|
|
961
|
-
:type trim_extrude_mode: typing.
|
|
930
|
+
:type trim_extrude_mode: typing.Any
|
|
962
931
|
"""
|
|
963
932
|
|
|
964
933
|
...
|
|
965
934
|
|
|
966
935
|
def trim_lasso_gesture(
|
|
967
|
-
override_context=None,
|
|
968
|
-
execution_context=None,
|
|
969
|
-
undo=None,
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
] =
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
trim_mode: typing.Optional[typing.Any] = "DIFFERENCE",
|
|
977
|
-
use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
978
|
-
trim_orientation: typing.Optional[typing.Any] = "VIEW",
|
|
979
|
-
trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
|
|
936
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
937
|
+
execution_context: typing.Union[str, int] = None,
|
|
938
|
+
undo: bool = None,
|
|
939
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] = None,
|
|
940
|
+
use_front_faces_only: typing.Union[bool, typing.Any] = False,
|
|
941
|
+
trim_mode: typing.Any = "DIFFERENCE",
|
|
942
|
+
use_cursor_depth: typing.Union[bool, typing.Any] = False,
|
|
943
|
+
trim_orientation: typing.Any = "VIEW",
|
|
944
|
+
trim_extrude_mode: typing.Any = "FIXED",
|
|
980
945
|
):
|
|
981
946
|
"""Trims the mesh within the lasso as you move the brush
|
|
982
947
|
|
|
983
|
-
:type override_context: typing.
|
|
984
|
-
:type execution_context: typing.
|
|
985
|
-
:type undo:
|
|
948
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
949
|
+
:type execution_context: typing.Union[str, int]
|
|
950
|
+
:type undo: bool
|
|
986
951
|
:param path: Path
|
|
987
|
-
:type path:
|
|
952
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
988
953
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
989
|
-
:type use_front_faces_only: typing.
|
|
990
|
-
:param use_limit_to_segment: Limit to Segment, Apply the gesture action only to the area that is contained within the segment without extending its effect to the entire line
|
|
991
|
-
:type use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]]
|
|
954
|
+
:type use_front_faces_only: typing.Union[bool, typing.Any]
|
|
992
955
|
:param trim_mode: Trim Mode
|
|
993
956
|
|
|
994
957
|
DIFFERENCE
|
|
@@ -999,9 +962,9 @@ def trim_lasso_gesture(
|
|
|
999
962
|
|
|
1000
963
|
JOIN
|
|
1001
964
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1002
|
-
:type trim_mode: typing.
|
|
965
|
+
:type trim_mode: typing.Any
|
|
1003
966
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1004
|
-
:type use_cursor_depth: typing.
|
|
967
|
+
:type use_cursor_depth: typing.Union[bool, typing.Any]
|
|
1005
968
|
:param trim_orientation: Shape Orientation
|
|
1006
969
|
|
|
1007
970
|
VIEW
|
|
@@ -1009,7 +972,7 @@ def trim_lasso_gesture(
|
|
|
1009
972
|
|
|
1010
973
|
SURFACE
|
|
1011
974
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
1012
|
-
:type trim_orientation: typing.
|
|
975
|
+
:type trim_orientation: typing.Any
|
|
1013
976
|
:param trim_extrude_mode: Extrude Mode
|
|
1014
977
|
|
|
1015
978
|
PROJECT
|
|
@@ -1017,23 +980,22 @@ def trim_lasso_gesture(
|
|
|
1017
980
|
|
|
1018
981
|
FIXED
|
|
1019
982
|
Fixed -- Extrude back faces by fixed amount.
|
|
1020
|
-
:type trim_extrude_mode: typing.
|
|
983
|
+
:type trim_extrude_mode: typing.Any
|
|
1021
984
|
"""
|
|
1022
985
|
|
|
1023
986
|
...
|
|
1024
987
|
|
|
1025
988
|
def uv_sculpt_stroke(
|
|
1026
|
-
override_context=None,
|
|
1027
|
-
execution_context=None,
|
|
1028
|
-
undo=None,
|
|
1029
|
-
|
|
1030
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
989
|
+
override_context: typing.Union[dict, bpy.types.Context] = None,
|
|
990
|
+
execution_context: typing.Union[str, int] = None,
|
|
991
|
+
undo: bool = None,
|
|
992
|
+
mode: typing.Any = "NORMAL",
|
|
1031
993
|
):
|
|
1032
994
|
"""Sculpt UVs using a brush
|
|
1033
995
|
|
|
1034
|
-
:type override_context: typing.
|
|
1035
|
-
:type execution_context: typing.
|
|
1036
|
-
:type undo:
|
|
996
|
+
:type override_context: typing.Union[dict, bpy.types.Context]
|
|
997
|
+
:type execution_context: typing.Union[str, int]
|
|
998
|
+
:type undo: bool
|
|
1037
999
|
:param mode: Mode, Stroke Mode
|
|
1038
1000
|
|
|
1039
1001
|
NORMAL
|
|
@@ -1044,7 +1006,7 @@ def uv_sculpt_stroke(
|
|
|
1044
1006
|
|
|
1045
1007
|
RELAX
|
|
1046
1008
|
Relax -- Switch brush to relax mode for duration of stroke.
|
|
1047
|
-
:type mode: typing.
|
|
1009
|
+
:type mode: typing.Any
|
|
1048
1010
|
"""
|
|
1049
1011
|
|
|
1050
1012
|
...
|