fake-bpy-module 20240516__py3-none-any.whl → 20240517__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- addon_utils/__init__.pyi +43 -12
- animsys_refactor/__init__.pyi +4 -4
- aud/__init__.pyi +7 -7
- bgl/__init__.pyi +121 -183
- bl_app_override/__init__.pyi +5 -5
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +5 -5
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
- bl_i18n_utils/settings/__init__.pyi +4 -2
- bl_i18n_utils/utils/__init__.pyi +86 -58
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +4 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +126 -41
- bl_operators/anim/__init__.pyi +1001 -328
- bl_operators/assets/__init__.pyi +376 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
- bl_operators/clip/__init__.pyi +1250 -409
- bl_operators/console/__init__.pyi +626 -205
- bl_operators/constraint/__init__.pyi +502 -165
- bl_operators/file/__init__.pyi +376 -123
- bl_operators/freestyle/__init__.pyi +501 -164
- bl_operators/geometry_nodes/__init__.pyi +501 -164
- bl_operators/image/__init__.pyi +621 -200
- bl_operators/mesh/__init__.pyi +376 -123
- bl_operators/node/__init__.pyi +1243 -402
- bl_operators/object/__init__.pyi +1876 -615
- bl_operators/object_align/__init__.pyi +126 -41
- bl_operators/object_quick_effects/__init__.pyi +502 -165
- bl_operators/object_randomize_transform/__init__.pyi +126 -41
- bl_operators/presets/__init__.pyi +3069 -1027
- bl_operators/rigidbody/__init__.pyi +376 -123
- bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
- bl_operators/sequencer/__init__.pyi +1009 -331
- bl_operators/spreadsheet/__init__.pyi +126 -41
- bl_operators/userpref/__init__.pyi +3263 -1078
- bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
- bl_operators/uvcalc_transform/__init__.pyi +289 -90
- bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
- bl_operators/view3d/__init__.pyi +868 -279
- bl_operators/wm/__init__.pyi +5777 -1934
- bl_operators/world/__init__.pyi +126 -41
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
- bl_rna_utils/data_path/__init__.pyi +8 -3
- bl_ui/__init__.pyi +338 -131
- bl_ui/anim/__init__.pyi +164 -64
- bl_ui/asset_shelf/__init__.pyi +129 -42
- bl_ui/generic_ui_list/__init__.pyi +412 -135
- bl_ui/node_add_menu/__init__.pyi +168 -68
- bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
- bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
- bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +806 -274
- bl_ui/properties_constraint/__init__.pyi +10253 -3458
- bl_ui/properties_data_armature/__init__.pyi +1615 -552
- bl_ui/properties_data_bone/__init__.pyi +1288 -425
- bl_ui/properties_data_camera/__init__.pyi +1854 -631
- bl_ui/properties_data_curve/__init__.pyi +1929 -636
- bl_ui/properties_data_curves/__init__.pyi +806 -274
- bl_ui/properties_data_empty/__init__.pyi +257 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
- bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
- bl_ui/properties_data_lattice/__init__.pyi +388 -127
- bl_ui/properties_data_light/__init__.pyi +1541 -506
- bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
- bl_ui/properties_data_mesh/__init__.pyi +2704 -929
- bl_ui/properties_data_metaball/__init__.pyi +644 -211
- bl_ui/properties_data_modifier/__init__.pyi +1353 -502
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
- bl_ui/properties_data_speaker/__init__.pyi +644 -211
- bl_ui/properties_data_volume/__init__.pyi +1030 -339
- bl_ui/properties_freestyle/__init__.pyi +3113 -1035
- bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
- bl_ui/properties_mask_common/__init__.pyi +1101 -420
- bl_ui/properties_material/__init__.pyi +2091 -699
- bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
- bl_ui/properties_object/__init__.pyi +1838 -618
- bl_ui/properties_output/__init__.pyi +2414 -831
- bl_ui/properties_paint_common/__init__.pyi +412 -289
- bl_ui/properties_particle/__init__.pyi +6737 -2241
- bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
- bl_ui/properties_physics_common/__init__.pyi +129 -42
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
- bl_ui/properties_physics_field/__init__.pyi +1283 -422
- bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
- bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
- bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
- bl_ui/properties_render/__init__.pyi +6830 -2263
- bl_ui/properties_scene/__init__.pyi +1929 -636
- bl_ui/properties_texture/__init__.pyi +3370 -1118
- bl_ui/properties_view_layer/__init__.pyi +2346 -782
- bl_ui/properties_workspace/__init__.pyi +516 -169
- bl_ui/properties_world/__init__.pyi +1284 -421
- bl_ui/space_clip/__init__.pyi +10134 -3639
- bl_ui/space_console/__init__.pyi +939 -357
- bl_ui/space_dopesheet/__init__.pyi +4327 -1562
- bl_ui/space_filebrowser/__init__.pyi +4164 -1499
- bl_ui/space_graph/__init__.pyi +3108 -1179
- bl_ui/space_image/__init__.pyi +9766 -3596
- bl_ui/space_info/__init__.pyi +939 -357
- bl_ui/space_nla/__init__.pyi +2620 -988
- bl_ui/space_node/__init__.pyi +3994 -1434
- bl_ui/space_outliner/__init__.pyi +2203 -842
- bl_ui/space_properties/__init__.pyi +386 -127
- bl_ui/space_sequencer/__init__.pyi +10773 -3878
- bl_ui/space_spreadsheet/__init__.pyi +130 -43
- bl_ui/space_statusbar/__init__.pyi +129 -42
- bl_ui/space_text/__init__.pyi +2458 -925
- bl_ui/space_time/__init__.pyi +1033 -378
- bl_ui/space_toolsystem_common/__init__.pyi +20 -16
- bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11373 -3797
- bl_ui/space_view3d/__init__.pyi +40865 -15356
- bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
- bl_ui/temp_anim_layers/__init__.pyi +129 -42
- bl_ui/utils/__init__.pyi +28 -20
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +1 -1
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +38 -38
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2680 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17056 -21951
- bpy/utils/__init__.pyi +242 -118
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -28
- bpy_extras/bmesh_utils/__init__.pyi +8 -2
- bpy_extras/extensions/junction_module/__init__.pyi +5 -2
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +113 -18
- bpy_extras/keyconfig_utils/__init__.pyi +2 -2
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +9 -4
- bpy_extras/node_utils/__init__.pyi +9 -2
- bpy_extras/object_utils/__init__.pyi +71 -12
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
- bpy_types/__init__.pyi +4197 -1333
- console_python/__init__.pyi +6 -1
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
- fake_bpy_module-20240517.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +3 -3
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -2
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +4 -4
- keyingsets_builtins/__init__.pyi +2688 -839
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_utils/__init__.pyi +1 -1
- rna_info/__init__.pyi +17 -15
- rna_keymap_ui/__init__.pyi +1 -1
- rna_prop_ui/__init__.pyi +16 -14
- rna_xml/__init__.pyi +12 -12
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
bpy/ops/sculpt/__init__.pyi
CHANGED
|
@@ -4,24 +4,21 @@ 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
|
-
|
|
14
|
-
] = None,
|
|
15
|
-
mode: typing.Optional[typing.Any] = "NORMAL",
|
|
16
|
-
ignore_background_click: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
7
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
8
|
+
execution_context: str | int | None = None,
|
|
9
|
+
undo: bool | None = None,
|
|
10
|
+
stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
11
|
+
| None = None,
|
|
12
|
+
mode: typing.Any | None = "NORMAL",
|
|
13
|
+
ignore_background_click: bool | typing.Any | None = False,
|
|
17
14
|
):
|
|
18
15
|
"""Sculpt a stroke into the geometry
|
|
19
16
|
|
|
20
|
-
:type override_context:
|
|
21
|
-
:type execution_context:
|
|
22
|
-
:type undo:
|
|
17
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
18
|
+
:type execution_context: str | int | None
|
|
19
|
+
:type undo: bool | None
|
|
23
20
|
:param stroke: Stroke
|
|
24
|
-
:type stroke:
|
|
21
|
+
:type stroke: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
25
22
|
:param mode: Stroke Mode, Action taken when a paint stroke is made
|
|
26
23
|
|
|
27
24
|
NORMAL
|
|
@@ -32,48 +29,45 @@ def brush_stroke(
|
|
|
32
29
|
|
|
33
30
|
SMOOTH
|
|
34
31
|
Smooth -- Switch brush to smooth mode for duration of stroke.
|
|
35
|
-
:type mode: typing.
|
|
32
|
+
:type mode: typing.Any | None
|
|
36
33
|
:param ignore_background_click: Ignore Background Click, Clicks on the background do not start the stroke
|
|
37
|
-
:type ignore_background_click:
|
|
34
|
+
:type ignore_background_click: bool | typing.Any | None
|
|
38
35
|
"""
|
|
39
36
|
|
|
40
37
|
...
|
|
41
38
|
|
|
42
39
|
def cloth_filter(
|
|
43
|
-
override_context: typing.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
cloth_damping: typing.Optional[typing.Any] = 0.0,
|
|
60
|
-
use_face_sets: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
61
|
-
use_collisions: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
40
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
41
|
+
execution_context: str | int | None = None,
|
|
42
|
+
undo: bool | None = None,
|
|
43
|
+
start_mouse: typing.Any | None = (0, 0),
|
|
44
|
+
area_normal_radius: typing.Any | None = 0.25,
|
|
45
|
+
strength: typing.Any | None = 1.0,
|
|
46
|
+
iteration_count: typing.Any | None = 1,
|
|
47
|
+
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
48
|
+
| None = None,
|
|
49
|
+
type: typing.Any | None = "GRAVITY",
|
|
50
|
+
force_axis: typing.Any | None = {"X", "Y", "Z"},
|
|
51
|
+
orientation: typing.Any | None = "LOCAL",
|
|
52
|
+
cloth_mass: typing.Any | None = 1.0,
|
|
53
|
+
cloth_damping: typing.Any | None = 0.0,
|
|
54
|
+
use_face_sets: bool | typing.Any | None = False,
|
|
55
|
+
use_collisions: bool | typing.Any | None = False,
|
|
62
56
|
):
|
|
63
57
|
"""Applies a cloth simulation deformation to the entire mesh
|
|
64
58
|
|
|
65
|
-
:type override_context:
|
|
66
|
-
:type execution_context:
|
|
67
|
-
:type undo:
|
|
59
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
60
|
+
:type execution_context: str | int | None
|
|
61
|
+
:type undo: bool | None
|
|
68
62
|
:param start_mouse: Starting Mouse
|
|
69
|
-
:type start_mouse: typing.
|
|
63
|
+
:type start_mouse: typing.Any | None
|
|
70
64
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
71
|
-
:type area_normal_radius: typing.
|
|
65
|
+
:type area_normal_radius: typing.Any | None
|
|
72
66
|
:param strength: Strength, Filter strength
|
|
73
|
-
:type strength: typing.
|
|
67
|
+
:type strength: typing.Any | None
|
|
74
68
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
75
|
-
:type iteration_count: typing.
|
|
76
|
-
:type event_history:
|
|
69
|
+
:type iteration_count: typing.Any | None
|
|
70
|
+
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
77
71
|
:param type: Filter Type, Operation that is going to be applied to the mesh
|
|
78
72
|
|
|
79
73
|
GRAVITY
|
|
@@ -90,7 +84,7 @@ def cloth_filter(
|
|
|
90
84
|
|
|
91
85
|
SCALE
|
|
92
86
|
Scale -- Scales the mesh as a soft body using the origin of the object as scale.
|
|
93
|
-
:type type: typing.
|
|
87
|
+
:type type: typing.Any | None
|
|
94
88
|
:param force_axis: Force Axis, Apply the force in the selected axis
|
|
95
89
|
|
|
96
90
|
X
|
|
@@ -101,7 +95,7 @@ def cloth_filter(
|
|
|
101
95
|
|
|
102
96
|
Z
|
|
103
97
|
Z -- Apply force in the Z axis.
|
|
104
|
-
:type force_axis: typing.
|
|
98
|
+
:type force_axis: typing.Any | None
|
|
105
99
|
:param orientation: Orientation, Orientation of the axis to limit the filter force
|
|
106
100
|
|
|
107
101
|
LOCAL
|
|
@@ -112,49 +106,46 @@ def cloth_filter(
|
|
|
112
106
|
|
|
113
107
|
VIEW
|
|
114
108
|
View -- Use the view axis to limit the force and set the gravity direction.
|
|
115
|
-
:type orientation: typing.
|
|
109
|
+
:type orientation: typing.Any | None
|
|
116
110
|
:param cloth_mass: Cloth Mass, Mass of each simulation particle
|
|
117
|
-
:type cloth_mass: typing.
|
|
111
|
+
:type cloth_mass: typing.Any | None
|
|
118
112
|
:param cloth_damping: Cloth Damping, How much the applied forces are propagated through the cloth
|
|
119
|
-
:type cloth_damping: typing.
|
|
113
|
+
:type cloth_damping: typing.Any | None
|
|
120
114
|
:param use_face_sets: Use Face Sets, Apply the filter only to the Face Set under the cursor
|
|
121
|
-
:type use_face_sets:
|
|
115
|
+
:type use_face_sets: bool | typing.Any | None
|
|
122
116
|
:param use_collisions: Use Collisions, Collide with other collider objects in the scene
|
|
123
|
-
:type use_collisions:
|
|
117
|
+
:type use_collisions: bool | typing.Any | None
|
|
124
118
|
"""
|
|
125
119
|
|
|
126
120
|
...
|
|
127
121
|
|
|
128
122
|
def color_filter(
|
|
129
|
-
override_context: typing.
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
] = None,
|
|
141
|
-
type: typing.Optional[typing.Any] = "FILL",
|
|
142
|
-
fill_color: typing.Optional[typing.Any] = (1.0, 1.0, 1.0),
|
|
123
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
124
|
+
execution_context: str | int | None = None,
|
|
125
|
+
undo: bool | None = None,
|
|
126
|
+
start_mouse: typing.Any | None = (0, 0),
|
|
127
|
+
area_normal_radius: typing.Any | None = 0.25,
|
|
128
|
+
strength: typing.Any | None = 1.0,
|
|
129
|
+
iteration_count: typing.Any | None = 1,
|
|
130
|
+
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
131
|
+
| None = None,
|
|
132
|
+
type: typing.Any | None = "FILL",
|
|
133
|
+
fill_color: typing.Any | None = (1.0, 1.0, 1.0),
|
|
143
134
|
):
|
|
144
135
|
"""Applies a filter to modify the active color attribute
|
|
145
136
|
|
|
146
|
-
:type override_context:
|
|
147
|
-
:type execution_context:
|
|
148
|
-
:type undo:
|
|
137
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
138
|
+
:type execution_context: str | int | None
|
|
139
|
+
:type undo: bool | None
|
|
149
140
|
:param start_mouse: Starting Mouse
|
|
150
|
-
:type start_mouse: typing.
|
|
141
|
+
:type start_mouse: typing.Any | None
|
|
151
142
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
152
|
-
:type area_normal_radius: typing.
|
|
143
|
+
:type area_normal_radius: typing.Any | None
|
|
153
144
|
:param strength: Strength, Filter strength
|
|
154
|
-
:type strength: typing.
|
|
145
|
+
:type strength: typing.Any | None
|
|
155
146
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
156
|
-
:type iteration_count: typing.
|
|
157
|
-
:type event_history:
|
|
147
|
+
:type iteration_count: typing.Any | None
|
|
148
|
+
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
158
149
|
:param type: Filter Type
|
|
159
150
|
|
|
160
151
|
FILL
|
|
@@ -186,154 +177,142 @@ def color_filter(
|
|
|
186
177
|
|
|
187
178
|
BLUE
|
|
188
179
|
Blue -- Change blue channel.
|
|
189
|
-
:type type: typing.
|
|
180
|
+
:type type: typing.Any | None
|
|
190
181
|
:param fill_color: Fill Color
|
|
191
|
-
:type fill_color: typing.
|
|
182
|
+
:type fill_color: typing.Any | None
|
|
192
183
|
"""
|
|
193
184
|
|
|
194
185
|
...
|
|
195
186
|
|
|
196
187
|
def detail_flood_fill(
|
|
197
|
-
override_context: typing.
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
201
|
-
undo: typing.Optional[bool] = None,
|
|
188
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
189
|
+
execution_context: str | int | None = None,
|
|
190
|
+
undo: bool | None = None,
|
|
202
191
|
):
|
|
203
192
|
"""Flood fill the mesh with the selected detail setting
|
|
204
193
|
|
|
205
|
-
:type override_context:
|
|
206
|
-
:type execution_context:
|
|
207
|
-
:type undo:
|
|
194
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
195
|
+
:type execution_context: str | int | None
|
|
196
|
+
:type undo: bool | None
|
|
208
197
|
"""
|
|
209
198
|
|
|
210
199
|
...
|
|
211
200
|
|
|
212
201
|
def dynamic_topology_toggle(
|
|
213
|
-
override_context: typing.
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
217
|
-
undo: typing.Optional[bool] = None,
|
|
202
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
203
|
+
execution_context: str | int | None = None,
|
|
204
|
+
undo: bool | None = None,
|
|
218
205
|
):
|
|
219
206
|
"""Dynamic topology alters the mesh topology while sculpting
|
|
220
207
|
|
|
221
|
-
:type override_context:
|
|
222
|
-
:type execution_context:
|
|
223
|
-
:type undo:
|
|
208
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
209
|
+
:type execution_context: str | int | None
|
|
210
|
+
:type undo: bool | None
|
|
224
211
|
"""
|
|
225
212
|
|
|
226
213
|
...
|
|
227
214
|
|
|
228
215
|
def dyntopo_detail_size_edit(
|
|
229
|
-
override_context: typing.
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
233
|
-
undo: typing.Optional[bool] = None,
|
|
216
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
217
|
+
execution_context: str | int | None = None,
|
|
218
|
+
undo: bool | None = None,
|
|
234
219
|
):
|
|
235
220
|
"""Modify the detail size of dyntopo interactively
|
|
236
221
|
|
|
237
|
-
:type override_context:
|
|
238
|
-
:type execution_context:
|
|
239
|
-
:type undo:
|
|
222
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
223
|
+
:type execution_context: str | int | None
|
|
224
|
+
:type undo: bool | None
|
|
240
225
|
"""
|
|
241
226
|
|
|
242
227
|
...
|
|
243
228
|
|
|
244
229
|
def expand(
|
|
245
|
-
override_context: typing.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
use_auto_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
259
|
-
normal_falloff_smooth: typing.Optional[typing.Any] = 2,
|
|
230
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
231
|
+
execution_context: str | int | None = None,
|
|
232
|
+
undo: bool | None = None,
|
|
233
|
+
target: typing.Any | None = "MASK",
|
|
234
|
+
falloff_type: typing.Any | None = "GEODESIC",
|
|
235
|
+
invert: bool | typing.Any | None = False,
|
|
236
|
+
use_mask_preserve: bool | typing.Any | None = False,
|
|
237
|
+
use_falloff_gradient: bool | typing.Any | None = False,
|
|
238
|
+
use_modify_active: bool | typing.Any | None = False,
|
|
239
|
+
use_reposition_pivot: bool | typing.Any | None = True,
|
|
240
|
+
max_geodesic_move_preview: typing.Any | None = 10000,
|
|
241
|
+
use_auto_mask: bool | typing.Any | None = False,
|
|
242
|
+
normal_falloff_smooth: typing.Any | None = 2,
|
|
260
243
|
):
|
|
261
244
|
"""Generic sculpt expand operator
|
|
262
245
|
|
|
263
|
-
:type override_context:
|
|
264
|
-
:type execution_context:
|
|
265
|
-
:type undo:
|
|
246
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
247
|
+
:type execution_context: str | int | None
|
|
248
|
+
:type undo: bool | None
|
|
266
249
|
:param target: Data Target, Data that is going to be modified in the expand operation
|
|
267
|
-
:type target: typing.
|
|
250
|
+
:type target: typing.Any | None
|
|
268
251
|
:param falloff_type: Falloff Type, Initial falloff of the expand operation
|
|
269
|
-
:type falloff_type: typing.
|
|
252
|
+
:type falloff_type: typing.Any | None
|
|
270
253
|
:param invert: Invert, Invert the expand active elements
|
|
271
|
-
:type invert:
|
|
254
|
+
:type invert: bool | typing.Any | None
|
|
272
255
|
:param use_mask_preserve: Preserve Previous, Preserve the previous state of the target data
|
|
273
|
-
:type use_mask_preserve:
|
|
256
|
+
:type use_mask_preserve: bool | typing.Any | None
|
|
274
257
|
:param use_falloff_gradient: Falloff Gradient, Expand Using a linear falloff
|
|
275
|
-
:type use_falloff_gradient:
|
|
258
|
+
:type use_falloff_gradient: bool | typing.Any | None
|
|
276
259
|
:param use_modify_active: Modify Active, Modify the active Face Set instead of creating a new one
|
|
277
|
-
:type use_modify_active:
|
|
260
|
+
:type use_modify_active: bool | typing.Any | None
|
|
278
261
|
:param use_reposition_pivot: Reposition Pivot, Reposition the sculpt transform pivot to the boundary of the expand active area
|
|
279
|
-
:type use_reposition_pivot:
|
|
262
|
+
:type use_reposition_pivot: bool | typing.Any | None
|
|
280
263
|
: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
|
|
281
|
-
:type max_geodesic_move_preview: typing.
|
|
264
|
+
:type max_geodesic_move_preview: typing.Any | None
|
|
282
265
|
:param use_auto_mask: Auto Create, Fill in mask if nothing is already masked
|
|
283
|
-
:type use_auto_mask:
|
|
266
|
+
:type use_auto_mask: bool | typing.Any | None
|
|
284
267
|
:param normal_falloff_smooth: Normal Smooth, Blurring steps for normal falloff
|
|
285
|
-
:type normal_falloff_smooth: typing.
|
|
268
|
+
:type normal_falloff_smooth: typing.Any | None
|
|
286
269
|
"""
|
|
287
270
|
|
|
288
271
|
...
|
|
289
272
|
|
|
290
273
|
def face_set_box_gesture(
|
|
291
|
-
override_context: typing.
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
wait_for_input: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
301
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
274
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
275
|
+
execution_context: str | int | None = None,
|
|
276
|
+
undo: bool | None = None,
|
|
277
|
+
xmin: typing.Any | None = 0,
|
|
278
|
+
xmax: typing.Any | None = 0,
|
|
279
|
+
ymin: typing.Any | None = 0,
|
|
280
|
+
ymax: typing.Any | None = 0,
|
|
281
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
282
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
302
283
|
):
|
|
303
284
|
"""Add a face set in a rectangle defined by the cursor
|
|
304
285
|
|
|
305
|
-
:type override_context:
|
|
306
|
-
:type execution_context:
|
|
307
|
-
:type undo:
|
|
286
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
287
|
+
:type execution_context: str | int | None
|
|
288
|
+
:type undo: bool | None
|
|
308
289
|
:param xmin: X Min
|
|
309
|
-
:type xmin: typing.
|
|
290
|
+
:type xmin: typing.Any | None
|
|
310
291
|
:param xmax: X Max
|
|
311
|
-
:type xmax: typing.
|
|
292
|
+
:type xmax: typing.Any | None
|
|
312
293
|
:param ymin: Y Min
|
|
313
|
-
:type ymin: typing.
|
|
294
|
+
:type ymin: typing.Any | None
|
|
314
295
|
:param ymax: Y Max
|
|
315
|
-
:type ymax: typing.
|
|
296
|
+
:type ymax: typing.Any | None
|
|
316
297
|
:param wait_for_input: Wait for Input
|
|
317
|
-
:type wait_for_input:
|
|
298
|
+
:type wait_for_input: bool | typing.Any | None
|
|
318
299
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
319
|
-
:type use_front_faces_only:
|
|
300
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
320
301
|
"""
|
|
321
302
|
|
|
322
303
|
...
|
|
323
304
|
|
|
324
305
|
def face_set_change_visibility(
|
|
325
|
-
override_context: typing.
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
undo: typing.Optional[bool] = None,
|
|
330
|
-
mode: typing.Optional[typing.Any] = "TOGGLE",
|
|
306
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
307
|
+
execution_context: str | int | None = None,
|
|
308
|
+
undo: bool | None = None,
|
|
309
|
+
mode: typing.Any | None = "TOGGLE",
|
|
331
310
|
):
|
|
332
311
|
"""Change the visibility of the Face Sets of the sculpt
|
|
333
312
|
|
|
334
|
-
:type override_context:
|
|
335
|
-
:type execution_context:
|
|
336
|
-
:type undo:
|
|
313
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
314
|
+
:type execution_context: str | int | None
|
|
315
|
+
:type undo: bool | None
|
|
337
316
|
:param mode: Mode
|
|
338
317
|
|
|
339
318
|
TOGGLE
|
|
@@ -344,29 +323,27 @@ def face_set_change_visibility(
|
|
|
344
323
|
|
|
345
324
|
HIDE_ACTIVE
|
|
346
325
|
Hide Active Face Sets -- Hide Active Face Sets.
|
|
347
|
-
:type mode: typing.
|
|
326
|
+
:type mode: typing.Any | None
|
|
348
327
|
"""
|
|
349
328
|
|
|
350
329
|
...
|
|
351
330
|
|
|
352
331
|
def face_set_edit(
|
|
353
|
-
override_context: typing.
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
strength: typing.Optional[typing.Any] = 1.0,
|
|
361
|
-
modify_hidden: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
332
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
333
|
+
execution_context: str | int | None = None,
|
|
334
|
+
undo: bool | None = None,
|
|
335
|
+
active_face_set: typing.Any | None = 1,
|
|
336
|
+
mode: typing.Any | None = "GROW",
|
|
337
|
+
strength: typing.Any | None = 1.0,
|
|
338
|
+
modify_hidden: bool | typing.Any | None = True,
|
|
362
339
|
):
|
|
363
340
|
"""Edits the current active Face Set
|
|
364
341
|
|
|
365
|
-
:type override_context:
|
|
366
|
-
:type execution_context:
|
|
367
|
-
:type undo:
|
|
342
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
343
|
+
:type execution_context: str | int | None
|
|
344
|
+
:type undo: bool | None
|
|
368
345
|
:param active_face_set: Active Face Set
|
|
369
|
-
:type active_face_set: typing.
|
|
346
|
+
:type active_face_set: typing.Any | None
|
|
370
347
|
:param mode: Mode
|
|
371
348
|
|
|
372
349
|
GROW
|
|
@@ -383,52 +360,46 @@ def face_set_edit(
|
|
|
383
360
|
|
|
384
361
|
FAIR_TANGENCY
|
|
385
362
|
Fair Tangency -- Creates a smooth as possible geometry patch from the Face Set minimizing changes in vertex tangents.
|
|
386
|
-
:type mode: typing.
|
|
363
|
+
:type mode: typing.Any | None
|
|
387
364
|
:param strength: Strength
|
|
388
|
-
:type strength: typing.
|
|
365
|
+
:type strength: typing.Any | None
|
|
389
366
|
:param modify_hidden: Modify Hidden, Apply the edit operation to hidden geometry
|
|
390
|
-
:type modify_hidden:
|
|
367
|
+
:type modify_hidden: bool | typing.Any | None
|
|
391
368
|
"""
|
|
392
369
|
|
|
393
370
|
...
|
|
394
371
|
|
|
395
372
|
def face_set_lasso_gesture(
|
|
396
|
-
override_context: typing.
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
path: typing.Optional[
|
|
402
|
-
bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath]
|
|
403
|
-
] = None,
|
|
404
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
373
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
374
|
+
execution_context: str | int | None = None,
|
|
375
|
+
undo: bool | None = None,
|
|
376
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
377
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
405
378
|
):
|
|
406
379
|
"""Add a face set in a shape defined by the cursor
|
|
407
380
|
|
|
408
|
-
:type override_context:
|
|
409
|
-
:type execution_context:
|
|
410
|
-
:type undo:
|
|
381
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
382
|
+
:type execution_context: str | int | None
|
|
383
|
+
:type undo: bool | None
|
|
411
384
|
:param path: Path
|
|
412
|
-
:type path:
|
|
385
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
413
386
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
414
|
-
:type use_front_faces_only:
|
|
387
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
415
388
|
"""
|
|
416
389
|
|
|
417
390
|
...
|
|
418
391
|
|
|
419
392
|
def face_sets_create(
|
|
420
|
-
override_context: typing.
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
undo: typing.Optional[bool] = None,
|
|
425
|
-
mode: typing.Optional[typing.Any] = "MASKED",
|
|
393
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
394
|
+
execution_context: str | int | None = None,
|
|
395
|
+
undo: bool | None = None,
|
|
396
|
+
mode: typing.Any | None = "MASKED",
|
|
426
397
|
):
|
|
427
398
|
"""Create a new Face Set
|
|
428
399
|
|
|
429
|
-
:type override_context:
|
|
430
|
-
:type execution_context:
|
|
431
|
-
:type undo:
|
|
400
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
401
|
+
:type execution_context: str | int | None
|
|
402
|
+
:type undo: bool | None
|
|
432
403
|
:param mode: Mode
|
|
433
404
|
|
|
434
405
|
MASKED
|
|
@@ -442,25 +413,23 @@ def face_sets_create(
|
|
|
442
413
|
|
|
443
414
|
SELECTION
|
|
444
415
|
Face Set from Edit Mode Selection -- Create an Face Set corresponding to the Edit Mode face selection.
|
|
445
|
-
:type mode: typing.
|
|
416
|
+
:type mode: typing.Any | None
|
|
446
417
|
"""
|
|
447
418
|
|
|
448
419
|
...
|
|
449
420
|
|
|
450
421
|
def face_sets_init(
|
|
451
|
-
override_context: typing.
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
mode: typing.Optional[typing.Any] = "LOOSE_PARTS",
|
|
457
|
-
threshold: typing.Optional[typing.Any] = 0.5,
|
|
422
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
423
|
+
execution_context: str | int | None = None,
|
|
424
|
+
undo: bool | None = None,
|
|
425
|
+
mode: typing.Any | None = "LOOSE_PARTS",
|
|
426
|
+
threshold: typing.Any | None = 0.5,
|
|
458
427
|
):
|
|
459
428
|
"""Initializes all Face Sets in the mesh
|
|
460
429
|
|
|
461
|
-
:type override_context:
|
|
462
|
-
:type execution_context:
|
|
463
|
-
:type undo:
|
|
430
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
431
|
+
:type execution_context: str | int | None
|
|
432
|
+
:type undo: bool | None
|
|
464
433
|
:param mode: Mode
|
|
465
434
|
|
|
466
435
|
LOOSE_PARTS
|
|
@@ -486,105 +455,97 @@ def face_sets_init(
|
|
|
486
455
|
|
|
487
456
|
FACE_SET_BOUNDARIES
|
|
488
457
|
Face Sets from Face Set Boundaries -- Create a Face Set per isolated Face Set.
|
|
489
|
-
:type mode: typing.
|
|
458
|
+
:type mode: typing.Any | None
|
|
490
459
|
:param threshold: Threshold, Minimum value to consider a certain attribute a boundary when creating the Face Sets
|
|
491
|
-
:type threshold: typing.
|
|
460
|
+
:type threshold: typing.Any | None
|
|
492
461
|
"""
|
|
493
462
|
|
|
494
463
|
...
|
|
495
464
|
|
|
496
465
|
def face_sets_randomize_colors(
|
|
497
|
-
override_context: typing.
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
501
|
-
undo: typing.Optional[bool] = None,
|
|
466
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
467
|
+
execution_context: str | int | None = None,
|
|
468
|
+
undo: bool | None = None,
|
|
502
469
|
):
|
|
503
470
|
"""Generates a new set of random colors to render the Face Sets in the viewport
|
|
504
471
|
|
|
505
|
-
:type override_context:
|
|
506
|
-
:type execution_context:
|
|
507
|
-
:type undo:
|
|
472
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
473
|
+
:type execution_context: str | int | None
|
|
474
|
+
:type undo: bool | None
|
|
508
475
|
"""
|
|
509
476
|
|
|
510
477
|
...
|
|
511
478
|
|
|
512
479
|
def mask_by_color(
|
|
513
|
-
override_context: typing.
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
preserve_previous_mask: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
521
|
-
threshold: typing.Optional[typing.Any] = 0.35,
|
|
480
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
481
|
+
execution_context: str | int | None = None,
|
|
482
|
+
undo: bool | None = None,
|
|
483
|
+
contiguous: bool | typing.Any | None = False,
|
|
484
|
+
invert: bool | typing.Any | None = False,
|
|
485
|
+
preserve_previous_mask: bool | typing.Any | None = False,
|
|
486
|
+
threshold: typing.Any | None = 0.35,
|
|
522
487
|
):
|
|
523
488
|
"""Creates a mask based on the active color attribute
|
|
524
489
|
|
|
525
|
-
:type override_context:
|
|
526
|
-
:type execution_context:
|
|
527
|
-
:type undo:
|
|
490
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
491
|
+
:type execution_context: str | int | None
|
|
492
|
+
:type undo: bool | None
|
|
528
493
|
:param contiguous: Contiguous, Mask only contiguous color areas
|
|
529
|
-
:type contiguous:
|
|
494
|
+
:type contiguous: bool | typing.Any | None
|
|
530
495
|
:param invert: Invert, Invert the generated mask
|
|
531
|
-
:type invert:
|
|
496
|
+
:type invert: bool | typing.Any | None
|
|
532
497
|
:param preserve_previous_mask: Preserve Previous Mask, Preserve the previous mask and add or subtract the new one generated by the colors
|
|
533
|
-
:type preserve_previous_mask:
|
|
498
|
+
:type preserve_previous_mask: bool | typing.Any | None
|
|
534
499
|
:param threshold: Threshold, How much changes in color affect the mask generation
|
|
535
|
-
:type threshold: typing.
|
|
500
|
+
:type threshold: typing.Any | None
|
|
536
501
|
"""
|
|
537
502
|
|
|
538
503
|
...
|
|
539
504
|
|
|
540
505
|
def mask_filter(
|
|
541
|
-
override_context: typing.
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
iterations: typing.Optional[typing.Any] = 1,
|
|
548
|
-
auto_iteration_count: typing.Optional[typing.Union[bool, typing.Any]] = True,
|
|
506
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
507
|
+
execution_context: str | int | None = None,
|
|
508
|
+
undo: bool | None = None,
|
|
509
|
+
filter_type: typing.Any | None = "SMOOTH",
|
|
510
|
+
iterations: typing.Any | None = 1,
|
|
511
|
+
auto_iteration_count: bool | typing.Any | None = True,
|
|
549
512
|
):
|
|
550
513
|
"""Applies a filter to modify the current mask
|
|
551
514
|
|
|
552
|
-
:type override_context:
|
|
553
|
-
:type execution_context:
|
|
554
|
-
:type undo:
|
|
515
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
516
|
+
:type execution_context: str | int | None
|
|
517
|
+
:type undo: bool | None
|
|
555
518
|
:param filter_type: Type, Filter that is going to be applied to the mask
|
|
556
|
-
:type filter_type: typing.
|
|
519
|
+
:type filter_type: typing.Any | None
|
|
557
520
|
:param iterations: Iterations, Number of times that the filter is going to be applied
|
|
558
|
-
:type iterations: typing.
|
|
521
|
+
:type iterations: typing.Any | None
|
|
559
522
|
:param auto_iteration_count: Auto Iteration Count, Use a automatic number of iterations based on the number of vertices of the sculpt
|
|
560
|
-
:type auto_iteration_count:
|
|
523
|
+
:type auto_iteration_count: bool | typing.Any | None
|
|
561
524
|
"""
|
|
562
525
|
|
|
563
526
|
...
|
|
564
527
|
|
|
565
528
|
def mask_from_cavity(
|
|
566
|
-
override_context: typing.
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
use_curve: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
577
|
-
invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
529
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
530
|
+
execution_context: str | int | None = None,
|
|
531
|
+
undo: bool | None = None,
|
|
532
|
+
mix_mode: typing.Any | None = "MIX",
|
|
533
|
+
mix_factor: typing.Any | None = 1.0,
|
|
534
|
+
settings_source: typing.Any | None = "OPERATOR",
|
|
535
|
+
factor: typing.Any | None = 0.5,
|
|
536
|
+
blur_steps: typing.Any | None = 2,
|
|
537
|
+
use_curve: bool | typing.Any | None = False,
|
|
538
|
+
invert: bool | typing.Any | None = False,
|
|
578
539
|
):
|
|
579
540
|
"""Creates a mask based on the curvature of the surface
|
|
580
541
|
|
|
581
|
-
:type override_context:
|
|
582
|
-
:type execution_context:
|
|
583
|
-
:type undo:
|
|
542
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
543
|
+
:type execution_context: str | int | None
|
|
544
|
+
:type undo: bool | None
|
|
584
545
|
:param mix_mode: Mode, Mix mode
|
|
585
|
-
:type mix_mode: typing.
|
|
546
|
+
:type mix_mode: typing.Any | None
|
|
586
547
|
:param mix_factor: Mix Factor
|
|
587
|
-
:type mix_factor: typing.
|
|
548
|
+
:type mix_factor: typing.Any | None
|
|
588
549
|
:param settings_source: Settings, Use settings from here
|
|
589
550
|
|
|
590
551
|
OPERATOR
|
|
@@ -595,74 +556,69 @@ def mask_from_cavity(
|
|
|
595
556
|
|
|
596
557
|
SCENE
|
|
597
558
|
Scene -- Use settings from scene.
|
|
598
|
-
:type settings_source: typing.
|
|
559
|
+
:type settings_source: typing.Any | None
|
|
599
560
|
:param factor: Factor, The contrast of the cavity mask
|
|
600
|
-
:type factor: typing.
|
|
561
|
+
:type factor: typing.Any | None
|
|
601
562
|
:param blur_steps: Blur, The number of times the cavity mask is blurred
|
|
602
|
-
:type blur_steps: typing.
|
|
563
|
+
:type blur_steps: typing.Any | None
|
|
603
564
|
:param use_curve: Custom Curve
|
|
604
|
-
:type use_curve:
|
|
565
|
+
:type use_curve: bool | typing.Any | None
|
|
605
566
|
:param invert: Cavity (Inverted)
|
|
606
|
-
:type invert:
|
|
567
|
+
:type invert: bool | typing.Any | None
|
|
607
568
|
"""
|
|
608
569
|
|
|
609
570
|
...
|
|
610
571
|
|
|
611
572
|
def mask_init(
|
|
612
|
-
override_context: typing.
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
undo: typing.Optional[bool] = None,
|
|
617
|
-
mode: typing.Optional[typing.Any] = "RANDOM_PER_VERTEX",
|
|
573
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
574
|
+
execution_context: str | int | None = None,
|
|
575
|
+
undo: bool | None = None,
|
|
576
|
+
mode: typing.Any | None = "RANDOM_PER_VERTEX",
|
|
618
577
|
):
|
|
619
578
|
"""Creates a new mask for the entire mesh
|
|
620
579
|
|
|
621
|
-
:type override_context:
|
|
622
|
-
:type execution_context:
|
|
623
|
-
:type undo:
|
|
580
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
581
|
+
:type execution_context: str | int | None
|
|
582
|
+
:type undo: bool | None
|
|
624
583
|
:param mode: Mode
|
|
625
|
-
:type mode: typing.
|
|
584
|
+
:type mode: typing.Any | None
|
|
626
585
|
"""
|
|
627
586
|
|
|
628
587
|
...
|
|
629
588
|
|
|
630
589
|
def mesh_filter(
|
|
631
|
-
override_context: typing.
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
sharpen_smooth_ratio: typing.Optional[typing.Any] = 0.35,
|
|
649
|
-
sharpen_intensify_detail_strength: typing.Optional[typing.Any] = 0.0,
|
|
650
|
-
sharpen_curvature_smooth_iterations: typing.Optional[typing.Any] = 0,
|
|
590
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
591
|
+
execution_context: str | int | None = None,
|
|
592
|
+
undo: bool | None = None,
|
|
593
|
+
start_mouse: typing.Any | None = (0, 0),
|
|
594
|
+
area_normal_radius: typing.Any | None = 0.25,
|
|
595
|
+
strength: typing.Any | None = 1.0,
|
|
596
|
+
iteration_count: typing.Any | None = 1,
|
|
597
|
+
event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement]
|
|
598
|
+
| None = None,
|
|
599
|
+
type: typing.Any | None = "INFLATE",
|
|
600
|
+
deform_axis: typing.Any | None = {"X", "Y", "Z"},
|
|
601
|
+
orientation: typing.Any | None = "LOCAL",
|
|
602
|
+
surface_smooth_shape_preservation: typing.Any | None = 0.5,
|
|
603
|
+
surface_smooth_current_vertex: typing.Any | None = 0.5,
|
|
604
|
+
sharpen_smooth_ratio: typing.Any | None = 0.35,
|
|
605
|
+
sharpen_intensify_detail_strength: typing.Any | None = 0.0,
|
|
606
|
+
sharpen_curvature_smooth_iterations: typing.Any | None = 0,
|
|
651
607
|
):
|
|
652
608
|
"""Applies a filter to modify the current mesh
|
|
653
609
|
|
|
654
|
-
:type override_context:
|
|
655
|
-
:type execution_context:
|
|
656
|
-
:type undo:
|
|
610
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
611
|
+
:type execution_context: str | int | None
|
|
612
|
+
:type undo: bool | None
|
|
657
613
|
:param start_mouse: Starting Mouse
|
|
658
|
-
:type start_mouse: typing.
|
|
614
|
+
:type start_mouse: typing.Any | None
|
|
659
615
|
:param area_normal_radius: Normal Radius, Radius used for calculating area normal on initial click,in percentage of brush radius
|
|
660
|
-
:type area_normal_radius: typing.
|
|
616
|
+
:type area_normal_radius: typing.Any | None
|
|
661
617
|
:param strength: Strength, Filter strength
|
|
662
|
-
:type strength: typing.
|
|
618
|
+
:type strength: typing.Any | None
|
|
663
619
|
:param iteration_count: Repeat, How many times to repeat the filter
|
|
664
|
-
:type iteration_count: typing.
|
|
665
|
-
:type event_history:
|
|
620
|
+
:type iteration_count: typing.Any | None
|
|
621
|
+
:type event_history: bpy.types.bpy_prop_collection[bpy.types.OperatorStrokeElement] | None
|
|
666
622
|
:param type: Filter Type, Operation that is going to be applied to the mesh
|
|
667
623
|
|
|
668
624
|
SMOOTH
|
|
@@ -697,7 +653,7 @@ def mesh_filter(
|
|
|
697
653
|
|
|
698
654
|
ERASE_DISCPLACEMENT
|
|
699
655
|
Erase Displacement -- Deletes the displacement of the Multires Modifier.
|
|
700
|
-
:type type: typing.
|
|
656
|
+
:type type: typing.Any | None
|
|
701
657
|
:param deform_axis: Deform Axis, Apply the deformation in the selected axis
|
|
702
658
|
|
|
703
659
|
X
|
|
@@ -708,7 +664,7 @@ def mesh_filter(
|
|
|
708
664
|
|
|
709
665
|
Z
|
|
710
666
|
Z -- Deform in the Z axis.
|
|
711
|
-
:type deform_axis: typing.
|
|
667
|
+
:type deform_axis: typing.Any | None
|
|
712
668
|
:param orientation: Orientation, Orientation of the axis to limit the filter displacement
|
|
713
669
|
|
|
714
670
|
LOCAL
|
|
@@ -719,109 +675,101 @@ def mesh_filter(
|
|
|
719
675
|
|
|
720
676
|
VIEW
|
|
721
677
|
View -- Use the view axis to limit the displacement.
|
|
722
|
-
:type orientation: typing.
|
|
678
|
+
:type orientation: typing.Any | None
|
|
723
679
|
:param surface_smooth_shape_preservation: Shape Preservation, How much of the original shape is preserved when smoothing
|
|
724
|
-
:type surface_smooth_shape_preservation: typing.
|
|
680
|
+
:type surface_smooth_shape_preservation: typing.Any | None
|
|
725
681
|
:param surface_smooth_current_vertex: Per Vertex Displacement, How much the position of each individual vertex influences the final result
|
|
726
|
-
:type surface_smooth_current_vertex: typing.
|
|
682
|
+
:type surface_smooth_current_vertex: typing.Any | None
|
|
727
683
|
:param sharpen_smooth_ratio: Smooth Ratio, How much smoothing is applied to polished surfaces
|
|
728
|
-
:type sharpen_smooth_ratio: typing.
|
|
684
|
+
:type sharpen_smooth_ratio: typing.Any | None
|
|
729
685
|
:param sharpen_intensify_detail_strength: Intensify Details, How much creases and valleys are intensified
|
|
730
|
-
:type sharpen_intensify_detail_strength: typing.
|
|
686
|
+
:type sharpen_intensify_detail_strength: typing.Any | None
|
|
731
687
|
:param sharpen_curvature_smooth_iterations: Curvature Smooth Iterations, How much smooth the resulting shape is, ignoring high frequency details
|
|
732
|
-
:type sharpen_curvature_smooth_iterations: typing.
|
|
688
|
+
:type sharpen_curvature_smooth_iterations: typing.Any | None
|
|
733
689
|
"""
|
|
734
690
|
|
|
735
691
|
...
|
|
736
692
|
|
|
737
693
|
def optimize(
|
|
738
|
-
override_context: typing.
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
742
|
-
undo: typing.Optional[bool] = None,
|
|
694
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
695
|
+
execution_context: str | int | None = None,
|
|
696
|
+
undo: bool | None = None,
|
|
743
697
|
):
|
|
744
698
|
"""Recalculate the sculpt BVH to improve performance
|
|
745
699
|
|
|
746
|
-
:type override_context:
|
|
747
|
-
:type execution_context:
|
|
748
|
-
:type undo:
|
|
700
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
701
|
+
:type execution_context: str | int | None
|
|
702
|
+
:type undo: bool | None
|
|
749
703
|
"""
|
|
750
704
|
|
|
751
705
|
...
|
|
752
706
|
|
|
753
707
|
def project_line_gesture(
|
|
754
|
-
override_context: typing.
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
use_front_faces_only: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
766
|
-
use_limit_to_segment: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
708
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
709
|
+
execution_context: str | int | None = None,
|
|
710
|
+
undo: bool | None = None,
|
|
711
|
+
xstart: typing.Any | None = 0,
|
|
712
|
+
xend: typing.Any | None = 0,
|
|
713
|
+
ystart: typing.Any | None = 0,
|
|
714
|
+
yend: typing.Any | None = 0,
|
|
715
|
+
flip: bool | typing.Any | None = False,
|
|
716
|
+
cursor: typing.Any | None = 5,
|
|
717
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
718
|
+
use_limit_to_segment: bool | typing.Any | None = False,
|
|
767
719
|
):
|
|
768
720
|
"""Project the geometry onto a plane defined by a line
|
|
769
721
|
|
|
770
|
-
:type override_context:
|
|
771
|
-
:type execution_context:
|
|
772
|
-
:type undo:
|
|
722
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
723
|
+
:type execution_context: str | int | None
|
|
724
|
+
:type undo: bool | None
|
|
773
725
|
:param xstart: X Start
|
|
774
|
-
:type xstart: typing.
|
|
726
|
+
:type xstart: typing.Any | None
|
|
775
727
|
:param xend: X End
|
|
776
|
-
:type xend: typing.
|
|
728
|
+
:type xend: typing.Any | None
|
|
777
729
|
:param ystart: Y Start
|
|
778
|
-
:type ystart: typing.
|
|
730
|
+
:type ystart: typing.Any | None
|
|
779
731
|
:param yend: Y End
|
|
780
|
-
:type yend: typing.
|
|
732
|
+
:type yend: typing.Any | None
|
|
781
733
|
:param flip: Flip
|
|
782
|
-
:type flip:
|
|
734
|
+
:type flip: bool | typing.Any | None
|
|
783
735
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
784
|
-
:type cursor: typing.
|
|
736
|
+
:type cursor: typing.Any | None
|
|
785
737
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
786
|
-
:type use_front_faces_only:
|
|
738
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
787
739
|
: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
|
|
788
|
-
:type use_limit_to_segment:
|
|
740
|
+
:type use_limit_to_segment: bool | typing.Any | None
|
|
789
741
|
"""
|
|
790
742
|
|
|
791
743
|
...
|
|
792
744
|
|
|
793
745
|
def sample_color(
|
|
794
|
-
override_context: typing.
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
798
|
-
undo: typing.Optional[bool] = None,
|
|
746
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
747
|
+
execution_context: str | int | None = None,
|
|
748
|
+
undo: bool | None = None,
|
|
799
749
|
):
|
|
800
750
|
"""Sample the vertex color of the active vertex
|
|
801
751
|
|
|
802
|
-
:type override_context:
|
|
803
|
-
:type execution_context:
|
|
804
|
-
:type undo:
|
|
752
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
753
|
+
:type execution_context: str | int | None
|
|
754
|
+
:type undo: bool | None
|
|
805
755
|
"""
|
|
806
756
|
|
|
807
757
|
...
|
|
808
758
|
|
|
809
759
|
def sample_detail_size(
|
|
810
|
-
override_context: typing.
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
location: typing.Optional[typing.Any] = (0, 0),
|
|
816
|
-
mode: typing.Optional[typing.Any] = "DYNTOPO",
|
|
760
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
761
|
+
execution_context: str | int | None = None,
|
|
762
|
+
undo: bool | None = None,
|
|
763
|
+
location: typing.Any | None = (0, 0),
|
|
764
|
+
mode: typing.Any | None = "DYNTOPO",
|
|
817
765
|
):
|
|
818
766
|
"""Sample the mesh detail on clicked point
|
|
819
767
|
|
|
820
|
-
:type override_context:
|
|
821
|
-
:type execution_context:
|
|
822
|
-
:type undo:
|
|
768
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
769
|
+
:type execution_context: str | int | None
|
|
770
|
+
:type undo: bool | None
|
|
823
771
|
:param location: Location, Screen coordinates of sampling
|
|
824
|
-
:type location: typing.
|
|
772
|
+
:type location: typing.Any | None
|
|
825
773
|
:param mode: Detail Mode, Target sculpting workflow that is going to use the sampled size
|
|
826
774
|
|
|
827
775
|
DYNTOPO
|
|
@@ -829,58 +777,52 @@ def sample_detail_size(
|
|
|
829
777
|
|
|
830
778
|
VOXEL
|
|
831
779
|
Voxel -- Sample mesh voxel size.
|
|
832
|
-
:type mode: typing.
|
|
780
|
+
:type mode: typing.Any | None
|
|
833
781
|
"""
|
|
834
782
|
|
|
835
783
|
...
|
|
836
784
|
|
|
837
785
|
def sculptmode_toggle(
|
|
838
|
-
override_context: typing.
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
842
|
-
undo: typing.Optional[bool] = None,
|
|
786
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
787
|
+
execution_context: str | int | None = None,
|
|
788
|
+
undo: bool | None = None,
|
|
843
789
|
):
|
|
844
790
|
"""Toggle sculpt mode in 3D view
|
|
845
791
|
|
|
846
|
-
:type override_context:
|
|
847
|
-
:type execution_context:
|
|
848
|
-
:type undo:
|
|
792
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
793
|
+
:type execution_context: str | int | None
|
|
794
|
+
:type undo: bool | None
|
|
849
795
|
"""
|
|
850
796
|
|
|
851
797
|
...
|
|
852
798
|
|
|
853
799
|
def set_persistent_base(
|
|
854
|
-
override_context: typing.
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
execution_context: typing.Optional[typing.Union[str, int]] = None,
|
|
858
|
-
undo: typing.Optional[bool] = None,
|
|
800
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
801
|
+
execution_context: str | int | None = None,
|
|
802
|
+
undo: bool | None = None,
|
|
859
803
|
):
|
|
860
804
|
"""Reset the copy of the mesh that is being sculpted on
|
|
861
805
|
|
|
862
|
-
:type override_context:
|
|
863
|
-
:type execution_context:
|
|
864
|
-
:type undo:
|
|
806
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
807
|
+
:type execution_context: str | int | None
|
|
808
|
+
:type undo: bool | None
|
|
865
809
|
"""
|
|
866
810
|
|
|
867
811
|
...
|
|
868
812
|
|
|
869
813
|
def set_pivot_position(
|
|
870
|
-
override_context: typing.
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
mouse_x: typing.Optional[typing.Any] = 0.0,
|
|
877
|
-
mouse_y: typing.Optional[typing.Any] = 0.0,
|
|
814
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
815
|
+
execution_context: str | int | None = None,
|
|
816
|
+
undo: bool | None = None,
|
|
817
|
+
mode: typing.Any | None = "UNMASKED",
|
|
818
|
+
mouse_x: typing.Any | None = 0.0,
|
|
819
|
+
mouse_y: typing.Any | None = 0.0,
|
|
878
820
|
):
|
|
879
821
|
"""Sets the sculpt transform pivot position
|
|
880
822
|
|
|
881
|
-
:type override_context:
|
|
882
|
-
:type execution_context:
|
|
883
|
-
:type undo:
|
|
823
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
824
|
+
:type execution_context: str | int | None
|
|
825
|
+
:type undo: bool | None
|
|
884
826
|
:param mode: Mode
|
|
885
827
|
|
|
886
828
|
ORIGIN
|
|
@@ -897,72 +839,68 @@ def set_pivot_position(
|
|
|
897
839
|
|
|
898
840
|
SURFACE
|
|
899
841
|
Surface -- Sets the pivot position to the surface under the cursor.
|
|
900
|
-
:type mode: typing.
|
|
842
|
+
:type mode: typing.Any | None
|
|
901
843
|
:param mouse_x: Mouse Position X, Position of the mouse used for "Surface" mode
|
|
902
|
-
:type mouse_x: typing.
|
|
844
|
+
:type mouse_x: typing.Any | None
|
|
903
845
|
:param mouse_y: Mouse Position Y, Position of the mouse used for "Surface" mode
|
|
904
|
-
:type mouse_y: typing.
|
|
846
|
+
:type mouse_y: typing.Any | None
|
|
905
847
|
"""
|
|
906
848
|
|
|
907
849
|
...
|
|
908
850
|
|
|
909
851
|
def symmetrize(
|
|
910
|
-
override_context: typing.
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
undo: typing.Optional[bool] = None,
|
|
915
|
-
merge_tolerance: typing.Optional[typing.Any] = 0.0005,
|
|
852
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
853
|
+
execution_context: str | int | None = None,
|
|
854
|
+
undo: bool | None = None,
|
|
855
|
+
merge_tolerance: typing.Any | None = 0.0005,
|
|
916
856
|
):
|
|
917
857
|
"""Symmetrize the topology modifications
|
|
918
858
|
|
|
919
|
-
:type override_context:
|
|
920
|
-
:type execution_context:
|
|
921
|
-
:type undo:
|
|
859
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
860
|
+
:type execution_context: str | int | None
|
|
861
|
+
:type undo: bool | None
|
|
922
862
|
:param merge_tolerance: Merge Distance, Distance within which symmetrical vertices are merged
|
|
923
|
-
:type merge_tolerance: typing.
|
|
863
|
+
:type merge_tolerance: typing.Any | None
|
|
924
864
|
"""
|
|
925
865
|
|
|
926
866
|
...
|
|
927
867
|
|
|
928
868
|
def trim_box_gesture(
|
|
929
|
-
override_context: typing.
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
|
|
945
|
-
trim_solver: typing.Optional[typing.Any] = "FAST",
|
|
869
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
870
|
+
execution_context: str | int | None = None,
|
|
871
|
+
undo: bool | None = None,
|
|
872
|
+
xmin: typing.Any | None = 0,
|
|
873
|
+
xmax: typing.Any | None = 0,
|
|
874
|
+
ymin: typing.Any | None = 0,
|
|
875
|
+
ymax: typing.Any | None = 0,
|
|
876
|
+
wait_for_input: bool | typing.Any | None = True,
|
|
877
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
878
|
+
location: typing.Any | None = (0, 0),
|
|
879
|
+
trim_mode: typing.Any | None = "DIFFERENCE",
|
|
880
|
+
use_cursor_depth: bool | typing.Any | None = False,
|
|
881
|
+
trim_orientation: typing.Any | None = "VIEW",
|
|
882
|
+
trim_extrude_mode: typing.Any | None = "FIXED",
|
|
883
|
+
trim_solver: typing.Any | None = "FAST",
|
|
946
884
|
):
|
|
947
885
|
"""Execute a boolean operation on the mesh and a rectangle defined by the cursor
|
|
948
886
|
|
|
949
|
-
:type override_context:
|
|
950
|
-
:type execution_context:
|
|
951
|
-
:type undo:
|
|
887
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
888
|
+
:type execution_context: str | int | None
|
|
889
|
+
:type undo: bool | None
|
|
952
890
|
:param xmin: X Min
|
|
953
|
-
:type xmin: typing.
|
|
891
|
+
:type xmin: typing.Any | None
|
|
954
892
|
:param xmax: X Max
|
|
955
|
-
:type xmax: typing.
|
|
893
|
+
:type xmax: typing.Any | None
|
|
956
894
|
:param ymin: Y Min
|
|
957
|
-
:type ymin: typing.
|
|
895
|
+
:type ymin: typing.Any | None
|
|
958
896
|
:param ymax: Y Max
|
|
959
|
-
:type ymax: typing.
|
|
897
|
+
:type ymax: typing.Any | None
|
|
960
898
|
:param wait_for_input: Wait for Input
|
|
961
|
-
:type wait_for_input:
|
|
899
|
+
:type wait_for_input: bool | typing.Any | None
|
|
962
900
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
963
|
-
:type use_front_faces_only:
|
|
901
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
964
902
|
:param location: Location, Mouse location
|
|
965
|
-
:type location: typing.
|
|
903
|
+
:type location: typing.Any | None
|
|
966
904
|
:param trim_mode: Trim Mode
|
|
967
905
|
|
|
968
906
|
DIFFERENCE
|
|
@@ -973,9 +911,9 @@ def trim_box_gesture(
|
|
|
973
911
|
|
|
974
912
|
JOIN
|
|
975
913
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
976
|
-
:type trim_mode: typing.
|
|
914
|
+
:type trim_mode: typing.Any | None
|
|
977
915
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
978
|
-
:type use_cursor_depth:
|
|
916
|
+
:type use_cursor_depth: bool | typing.Any | None
|
|
979
917
|
:param trim_orientation: Shape Orientation
|
|
980
918
|
|
|
981
919
|
VIEW
|
|
@@ -983,7 +921,7 @@ def trim_box_gesture(
|
|
|
983
921
|
|
|
984
922
|
SURFACE
|
|
985
923
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
986
|
-
:type trim_orientation: typing.
|
|
924
|
+
:type trim_orientation: typing.Any | None
|
|
987
925
|
:param trim_extrude_mode: Extrude Mode
|
|
988
926
|
|
|
989
927
|
PROJECT
|
|
@@ -991,7 +929,7 @@ def trim_box_gesture(
|
|
|
991
929
|
|
|
992
930
|
FIXED
|
|
993
931
|
Fixed -- Extrude back faces by fixed amount.
|
|
994
|
-
:type trim_extrude_mode: typing.
|
|
932
|
+
:type trim_extrude_mode: typing.Any | None
|
|
995
933
|
:param trim_solver: Solver
|
|
996
934
|
|
|
997
935
|
EXACT
|
|
@@ -999,39 +937,35 @@ def trim_box_gesture(
|
|
|
999
937
|
|
|
1000
938
|
FAST
|
|
1001
939
|
Fast -- Use the fast float boolean solver.
|
|
1002
|
-
:type trim_solver: typing.
|
|
940
|
+
:type trim_solver: typing.Any | None
|
|
1003
941
|
"""
|
|
1004
942
|
|
|
1005
943
|
...
|
|
1006
944
|
|
|
1007
945
|
def trim_lasso_gesture(
|
|
1008
|
-
override_context: typing.
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
use_cursor_depth: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1020
|
-
trim_orientation: typing.Optional[typing.Any] = "VIEW",
|
|
1021
|
-
trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
|
|
1022
|
-
trim_solver: typing.Optional[typing.Any] = "FAST",
|
|
946
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
947
|
+
execution_context: str | int | None = None,
|
|
948
|
+
undo: bool | None = None,
|
|
949
|
+
path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None = None,
|
|
950
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
951
|
+
location: typing.Any | None = (0, 0),
|
|
952
|
+
trim_mode: typing.Any | None = "DIFFERENCE",
|
|
953
|
+
use_cursor_depth: bool | typing.Any | None = False,
|
|
954
|
+
trim_orientation: typing.Any | None = "VIEW",
|
|
955
|
+
trim_extrude_mode: typing.Any | None = "FIXED",
|
|
956
|
+
trim_solver: typing.Any | None = "FAST",
|
|
1023
957
|
):
|
|
1024
958
|
"""Execute a boolean operation on the mesh and a shape defined by the cursor
|
|
1025
959
|
|
|
1026
|
-
:type override_context:
|
|
1027
|
-
:type execution_context:
|
|
1028
|
-
:type undo:
|
|
960
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
961
|
+
:type execution_context: str | int | None
|
|
962
|
+
:type undo: bool | None
|
|
1029
963
|
:param path: Path
|
|
1030
|
-
:type path:
|
|
964
|
+
:type path: bpy.types.bpy_prop_collection[bpy.types.OperatorMousePath] | None
|
|
1031
965
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
1032
|
-
:type use_front_faces_only:
|
|
966
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
1033
967
|
:param location: Location, Mouse location
|
|
1034
|
-
:type location: typing.
|
|
968
|
+
:type location: typing.Any | None
|
|
1035
969
|
:param trim_mode: Trim Mode
|
|
1036
970
|
|
|
1037
971
|
DIFFERENCE
|
|
@@ -1042,9 +976,9 @@ def trim_lasso_gesture(
|
|
|
1042
976
|
|
|
1043
977
|
JOIN
|
|
1044
978
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1045
|
-
:type trim_mode: typing.
|
|
979
|
+
:type trim_mode: typing.Any | None
|
|
1046
980
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1047
|
-
:type use_cursor_depth:
|
|
981
|
+
:type use_cursor_depth: bool | typing.Any | None
|
|
1048
982
|
:param trim_orientation: Shape Orientation
|
|
1049
983
|
|
|
1050
984
|
VIEW
|
|
@@ -1052,7 +986,7 @@ def trim_lasso_gesture(
|
|
|
1052
986
|
|
|
1053
987
|
SURFACE
|
|
1054
988
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
1055
|
-
:type trim_orientation: typing.
|
|
989
|
+
:type trim_orientation: typing.Any | None
|
|
1056
990
|
:param trim_extrude_mode: Extrude Mode
|
|
1057
991
|
|
|
1058
992
|
PROJECT
|
|
@@ -1060,7 +994,7 @@ def trim_lasso_gesture(
|
|
|
1060
994
|
|
|
1061
995
|
FIXED
|
|
1062
996
|
Fixed -- Extrude back faces by fixed amount.
|
|
1063
|
-
:type trim_extrude_mode: typing.
|
|
997
|
+
:type trim_extrude_mode: typing.Any | None
|
|
1064
998
|
:param trim_solver: Solver
|
|
1065
999
|
|
|
1066
1000
|
EXACT
|
|
@@ -1068,55 +1002,53 @@ def trim_lasso_gesture(
|
|
|
1068
1002
|
|
|
1069
1003
|
FAST
|
|
1070
1004
|
Fast -- Use the fast float boolean solver.
|
|
1071
|
-
:type trim_solver: typing.
|
|
1005
|
+
:type trim_solver: typing.Any | None
|
|
1072
1006
|
"""
|
|
1073
1007
|
|
|
1074
1008
|
...
|
|
1075
1009
|
|
|
1076
1010
|
def trim_line_gesture(
|
|
1077
|
-
override_context: typing.
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
trim_extrude_mode: typing.Optional[typing.Any] = "FIXED",
|
|
1095
|
-
trim_solver: typing.Optional[typing.Any] = "FAST",
|
|
1011
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1012
|
+
execution_context: str | int | None = None,
|
|
1013
|
+
undo: bool | None = None,
|
|
1014
|
+
xstart: typing.Any | None = 0,
|
|
1015
|
+
xend: typing.Any | None = 0,
|
|
1016
|
+
ystart: typing.Any | None = 0,
|
|
1017
|
+
yend: typing.Any | None = 0,
|
|
1018
|
+
flip: bool | typing.Any | None = False,
|
|
1019
|
+
cursor: typing.Any | None = 5,
|
|
1020
|
+
use_front_faces_only: bool | typing.Any | None = False,
|
|
1021
|
+
use_limit_to_segment: bool | typing.Any | None = False,
|
|
1022
|
+
location: typing.Any | None = (0, 0),
|
|
1023
|
+
trim_mode: typing.Any | None = "DIFFERENCE",
|
|
1024
|
+
use_cursor_depth: bool | typing.Any | None = False,
|
|
1025
|
+
trim_orientation: typing.Any | None = "VIEW",
|
|
1026
|
+
trim_extrude_mode: typing.Any | None = "FIXED",
|
|
1027
|
+
trim_solver: typing.Any | None = "FAST",
|
|
1096
1028
|
):
|
|
1097
1029
|
"""Remove a portion of the mesh on one side of a line
|
|
1098
1030
|
|
|
1099
|
-
:type override_context:
|
|
1100
|
-
:type execution_context:
|
|
1101
|
-
:type undo:
|
|
1031
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1032
|
+
:type execution_context: str | int | None
|
|
1033
|
+
:type undo: bool | None
|
|
1102
1034
|
:param xstart: X Start
|
|
1103
|
-
:type xstart: typing.
|
|
1035
|
+
:type xstart: typing.Any | None
|
|
1104
1036
|
:param xend: X End
|
|
1105
|
-
:type xend: typing.
|
|
1037
|
+
:type xend: typing.Any | None
|
|
1106
1038
|
:param ystart: Y Start
|
|
1107
|
-
:type ystart: typing.
|
|
1039
|
+
:type ystart: typing.Any | None
|
|
1108
1040
|
:param yend: Y End
|
|
1109
|
-
:type yend: typing.
|
|
1041
|
+
:type yend: typing.Any | None
|
|
1110
1042
|
:param flip: Flip
|
|
1111
|
-
:type flip:
|
|
1043
|
+
:type flip: bool | typing.Any | None
|
|
1112
1044
|
:param cursor: Cursor, Mouse cursor style to use during the modal operator
|
|
1113
|
-
:type cursor: typing.
|
|
1045
|
+
:type cursor: typing.Any | None
|
|
1114
1046
|
:param use_front_faces_only: Front Faces Only, Affect only faces facing towards the view
|
|
1115
|
-
:type use_front_faces_only:
|
|
1047
|
+
:type use_front_faces_only: bool | typing.Any | None
|
|
1116
1048
|
: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
|
|
1117
|
-
:type use_limit_to_segment:
|
|
1049
|
+
:type use_limit_to_segment: bool | typing.Any | None
|
|
1118
1050
|
:param location: Location, Mouse location
|
|
1119
|
-
:type location: typing.
|
|
1051
|
+
:type location: typing.Any | None
|
|
1120
1052
|
:param trim_mode: Trim Mode
|
|
1121
1053
|
|
|
1122
1054
|
DIFFERENCE
|
|
@@ -1127,9 +1059,9 @@ def trim_line_gesture(
|
|
|
1127
1059
|
|
|
1128
1060
|
JOIN
|
|
1129
1061
|
Join -- Join the new mesh as separate geometry, without performing any boolean operation.
|
|
1130
|
-
:type trim_mode: typing.
|
|
1062
|
+
:type trim_mode: typing.Any | None
|
|
1131
1063
|
:param use_cursor_depth: Use Cursor for Depth, Use cursor location and radius for the dimensions and position of the trimming shape
|
|
1132
|
-
:type use_cursor_depth:
|
|
1064
|
+
:type use_cursor_depth: bool | typing.Any | None
|
|
1133
1065
|
:param trim_orientation: Shape Orientation
|
|
1134
1066
|
|
|
1135
1067
|
VIEW
|
|
@@ -1137,7 +1069,7 @@ def trim_line_gesture(
|
|
|
1137
1069
|
|
|
1138
1070
|
SURFACE
|
|
1139
1071
|
Surface -- Use the surface normal to orientate the trimming shape.
|
|
1140
|
-
:type trim_orientation: typing.
|
|
1072
|
+
:type trim_orientation: typing.Any | None
|
|
1141
1073
|
:param trim_extrude_mode: Extrude Mode
|
|
1142
1074
|
|
|
1143
1075
|
PROJECT
|
|
@@ -1145,7 +1077,7 @@ def trim_line_gesture(
|
|
|
1145
1077
|
|
|
1146
1078
|
FIXED
|
|
1147
1079
|
Fixed -- Extrude back faces by fixed amount.
|
|
1148
|
-
:type trim_extrude_mode: typing.
|
|
1080
|
+
:type trim_extrude_mode: typing.Any | None
|
|
1149
1081
|
:param trim_solver: Solver
|
|
1150
1082
|
|
|
1151
1083
|
EXACT
|
|
@@ -1153,65 +1085,59 @@ def trim_line_gesture(
|
|
|
1153
1085
|
|
|
1154
1086
|
FAST
|
|
1155
1087
|
Fast -- Use the fast float boolean solver.
|
|
1156
|
-
:type trim_solver: typing.
|
|
1088
|
+
:type trim_solver: typing.Any | None
|
|
1157
1089
|
"""
|
|
1158
1090
|
|
|
1159
1091
|
...
|
|
1160
1092
|
|
|
1161
1093
|
def uv_sculpt_grab(
|
|
1162
|
-
override_context: typing.
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
undo: typing.Optional[bool] = None,
|
|
1167
|
-
use_invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1094
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1095
|
+
execution_context: str | int | None = None,
|
|
1096
|
+
undo: bool | None = None,
|
|
1097
|
+
use_invert: bool | typing.Any | None = False,
|
|
1168
1098
|
):
|
|
1169
1099
|
"""Grab UVs
|
|
1170
1100
|
|
|
1171
|
-
:type override_context:
|
|
1172
|
-
:type execution_context:
|
|
1173
|
-
:type undo:
|
|
1101
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1102
|
+
:type execution_context: str | int | None
|
|
1103
|
+
:type undo: bool | None
|
|
1174
1104
|
:param use_invert: Invert, Invert action for the duration of the stroke
|
|
1175
|
-
:type use_invert:
|
|
1105
|
+
:type use_invert: bool | typing.Any | None
|
|
1176
1106
|
"""
|
|
1177
1107
|
|
|
1178
1108
|
...
|
|
1179
1109
|
|
|
1180
1110
|
def uv_sculpt_pinch(
|
|
1181
|
-
override_context: typing.
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
undo: typing.Optional[bool] = None,
|
|
1186
|
-
use_invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1111
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1112
|
+
execution_context: str | int | None = None,
|
|
1113
|
+
undo: bool | None = None,
|
|
1114
|
+
use_invert: bool | typing.Any | None = False,
|
|
1187
1115
|
):
|
|
1188
1116
|
"""Pinch UVs
|
|
1189
1117
|
|
|
1190
|
-
:type override_context:
|
|
1191
|
-
:type execution_context:
|
|
1192
|
-
:type undo:
|
|
1118
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1119
|
+
:type execution_context: str | int | None
|
|
1120
|
+
:type undo: bool | None
|
|
1193
1121
|
:param use_invert: Invert, Invert action for the duration of the stroke
|
|
1194
|
-
:type use_invert:
|
|
1122
|
+
:type use_invert: bool | typing.Any | None
|
|
1195
1123
|
"""
|
|
1196
1124
|
|
|
1197
1125
|
...
|
|
1198
1126
|
|
|
1199
1127
|
def uv_sculpt_relax(
|
|
1200
|
-
override_context: typing.
|
|
1201
|
-
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
use_invert: typing.Optional[typing.Union[bool, typing.Any]] = False,
|
|
1206
|
-
relax_method: typing.Optional[typing.Any] = "COTAN",
|
|
1128
|
+
override_context: dict[str, typing.Any] | bpy.types.Context | None = None,
|
|
1129
|
+
execution_context: str | int | None = None,
|
|
1130
|
+
undo: bool | None = None,
|
|
1131
|
+
use_invert: bool | typing.Any | None = False,
|
|
1132
|
+
relax_method: typing.Any | None = "COTAN",
|
|
1207
1133
|
):
|
|
1208
1134
|
"""Relax UVs
|
|
1209
1135
|
|
|
1210
|
-
:type override_context:
|
|
1211
|
-
:type execution_context:
|
|
1212
|
-
:type undo:
|
|
1136
|
+
:type override_context: dict[str, typing.Any] | bpy.types.Context | None
|
|
1137
|
+
:type execution_context: str | int | None
|
|
1138
|
+
:type undo: bool | None
|
|
1213
1139
|
:param use_invert: Invert, Invert action for the duration of the stroke
|
|
1214
|
-
:type use_invert:
|
|
1140
|
+
:type use_invert: bool | typing.Any | None
|
|
1215
1141
|
:param relax_method: Relax Method, Algorithm used for UV relaxation
|
|
1216
1142
|
|
|
1217
1143
|
LAPLACIAN
|
|
@@ -1222,7 +1148,7 @@ def uv_sculpt_relax(
|
|
|
1222
1148
|
|
|
1223
1149
|
COTAN
|
|
1224
1150
|
Geometry -- Use Geometry (cotangent) relaxation, making UVs follow the underlying 3D geometry.
|
|
1225
|
-
:type relax_method: typing.
|
|
1151
|
+
:type relax_method: typing.Any | None
|
|
1226
1152
|
"""
|
|
1227
1153
|
|
|
1228
1154
|
...
|