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