fake-bpy-module 20231205__py3-none-any.whl → 20231207__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.
- addon_utils/__init__.pyi +84 -0
- animsys_refactor/__init__.pyi +55 -0
- aud/__init__.pyi +1190 -0
- bgl/__init__.pyi +5084 -0
- bl_app_override/__init__.pyi +31 -0
- bl_app_override/helpers/__init__.pyi +42 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_app_template_utils/__init__.pyi +36 -0
- bl_console_utils/autocomplete/__init__.pyi +8 -0
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +44 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/__init__.pyi +28 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +44 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/__init__.pyi +20 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_i18n_utils/__init__.pyi +11 -0
- bl_i18n_utils/bl_extract_messages/__init__.pyi +124 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/__init__.pyi +12 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/__init__.pyi +66 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/__init__.pyi +338 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/__init__.pyi +52 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/__init__.pyi +12 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/__init__.pyi +20 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/__init__.pyi +9 -0
- bl_keymap_utils/io/__init__.pyi +76 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +12 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +12 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/__init__.pyi +20 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/__init__.pyi +12 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_math/__init__.pyi +52 -0
- bl_operators/__init__.pyi +49 -0
- bl_operators/add_mesh_torus/__init__.pyi +231 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/__init__.pyi +1291 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/__init__.pyi +586 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +76 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/clip/__init__.pyi +1898 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/__init__.pyi +918 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/__init__.pyi +745 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/__init__.pyi +560 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/__init__.pyi +751 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/__init__.pyi +2553 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/__init__.pyi +548 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/__init__.pyi +566 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/__init__.pyi +1814 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/__init__.pyi +3212 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/__init__.pyi +215 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/__init__.pyi +777 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/__init__.pyi +199 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/__init__.pyi +3776 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/__init__.pyi +566 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/__init__.pyi +192 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/__init__.pyi +1001 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/__init__.pyi +202 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/__init__.pyi +4701 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/__init__.pyi +212 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/__init__.pyi +257 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/__init__.pyi +501 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/__init__.pyi +207 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/__init__.pyi +955 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/__init__.pyi +8409 -0
- bl_operators/wm/py.typed +0 -0
- bl_previews_utils/bl_previews_render/__init__.pyi +60 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/__init__.pyi +25 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/__init__.pyi +12 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/__init__.pyi +706 -0
- bl_ui/asset_shelf/__init__.pyi +202 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/__init__.pyi +629 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/__init__.pyi +260 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/__init__.pyi +3739 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +8520 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/__init__.pyi +2139 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/__init__.pyi +1868 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/__init__.pyi +38 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/__init__.pyi +1051 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/__init__.pyi +29694 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/__init__.pyi +2274 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/__init__.pyi +2087 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/__init__.pyi +3004 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/__init__.pyi +3164 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/__init__.pyi +1247 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/__init__.pyi +426 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/__init__.pyi +3758 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/__init__.pyi +632 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/__init__.pyi +637 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/__init__.pyi +2111 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/__init__.pyi +1264 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/__init__.pyi +4052 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/__init__.pyi +1047 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/__init__.pyi +1741 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/__init__.pyi +1045 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/__init__.pyi +214 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/__init__.pyi +1056 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/__init__.pyi +1652 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/__init__.pyi +5309 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/__init__.pyi +2780 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/__init__.pyi +1554 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/__init__.pyi +3117 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/__init__.pyi +2086 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/__init__.pyi +2875 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/__init__.pyi +3799 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/__init__.pyi +814 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/__init__.pyi +10938 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/__init__.pyi +2984 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/__init__.pyi +277 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +5431 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/__init__.pyi +2220 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/__init__.pyi +7296 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +214 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/__init__.pyi +1698 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2734 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/__init__.pyi +3198 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/__init__.pyi +12664 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/__init__.pyi +2872 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/__init__.pyi +5470 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/__init__.pyi +3493 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/__init__.pyi +630 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/__init__.pyi +1478 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/__init__.pyi +14313 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/__init__.pyi +1221 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/__init__.pyi +5388 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/__init__.pyi +5996 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/__init__.pyi +4053 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/__init__.pyi +14801 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/__init__.pyi +1216 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/__init__.pyi +3460 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/__init__.pyi +6519 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/__init__.pyi +2864 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/__init__.pyi +575 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/__init__.pyi +15360 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/__init__.pyi +226 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/__init__.pyi +190 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/__init__.pyi +3223 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/__init__.pyi +1472 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/__init__.pyi +435 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1671 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/__init__.pyi +5296 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/__init__.pyi +17826 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/__init__.pyi +51846 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +18993 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/utils/__init__.pyi +40 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/__init__.pyi +6 -0
- bl_ui_utils/bug_report_url/__init__.pyi +12 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/__init__.pyi +12 -0
- bl_ui_utils/layout/py.typed +0 -0
- blend_render_info/__init__.pyi +24 -0
- blf/__init__.pyi +231 -0
- bmesh/__init__.pyi +51 -0
- bmesh/geometry/__init__.pyi +23 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/__init__.pyi +1935 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/__init__.pyi +1399 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/__init__.pyi +207 -0
- bmesh/utils/py.typed +0 -0
- bpy/__init__.pyi +18 -0
- bpy/app/__init__.pyi +247 -0
- bpy/app/handlers/__init__.pyi +151 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/__init__.pyi +42 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/timers/__init__.pyi +42 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/__init__.pyi +107 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/__init__.pyi +40 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/__init__.pyi +81 -0
- bpy/ops/action/__init__.pyi +723 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/__init__.pyi +978 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/__init__.pyi +858 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/__init__.pyi +339 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/boid/__init__.pyi +127 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/__init__.pyi +171 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/__init__.pyi +255 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/__init__.pyi +241 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/__init__.pyi +60 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/__init__.pyi +1782 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/__init__.pyi +31 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/__init__.pyi +95 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/__init__.pyi +370 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/__init__.pyi +391 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/__init__.pyi +1052 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/__init__.pyi +259 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/__init__.pyi +67 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/__init__.pyi +87 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/__init__.pyi +276 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/__init__.pyi +45 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_mesh/__init__.pyi +62 -0
- bpy/ops/export_mesh/py.typed +0 -0
- bpy/ops/export_scene/__init__.pyi +577 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/__init__.pyi +787 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/__init__.pyi +224 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/__init__.pyi +537 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/__init__.pyi +219 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/__init__.pyi +52 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/__init__.pyi +3247 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/__init__.pyi +1392 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/__init__.pyi +724 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/__init__.pyi +1261 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/__init__.pyi +58 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/__init__.pyi +26 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_mesh/__init__.pyi +50 -0
- bpy/ops/import_mesh/py.typed +0 -0
- bpy/ops/import_scene/__init__.pyi +191 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/__init__.pyi +140 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/__init__.pyi +153 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/__init__.pyi +238 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/__init__.pyi +747 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/__init__.pyi +47 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/__init__.pyi +168 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/__init__.pyi +4168 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/__init__.pyi +756 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/__init__.pyi +1894 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/__init__.pyi +5343 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/__init__.pyi +1172 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/__init__.pyi +1067 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/__init__.pyi +148 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/__init__.pyi +123 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/__init__.pyi +635 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/__init__.pyi +763 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/__init__.pyi +173 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/__init__.pyi +849 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/__init__.pyi +114 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/render/__init__.pyi +262 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/__init__.pyi +244 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/__init__.pyi +675 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/__init__.pyi +846 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/__init__.pyi +60 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/__init__.pyi +862 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/__init__.pyi +94 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/__init__.pyi +2165 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/__init__.pyi +395 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/__init__.pyi +76 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/__init__.pyi +215 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/__init__.pyi +863 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/__init__.pyi +31 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/__init__.pyi +68 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/__init__.pyi +1545 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/__init__.pyi +536 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/__init__.pyi +74 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/__init__.pyi +1251 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/__init__.pyi +329 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/__init__.pyi +1392 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/__init__.pyi +4821 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/__init__.pyi +115 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/__init__.pyi +19 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/__init__.pyi +194 -0
- bpy/path/py.typed +0 -0
- bpy/props/__init__.pyi +509 -0
- bpy/props/py.typed +0 -0
- bpy/types/__init__.pyi +131533 -0
- bpy/types/py.typed +0 -0
- bpy/utils/__init__.pyi +429 -0
- bpy/utils/previews/__init__.pyi +73 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/units/__init__.pyi +61 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/__init__.pyi +18 -0
- bpy_extras/anim_utils/__init__.pyi +108 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/__init__.pyi +39 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/__init__.pyi +20 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/__init__.pyi +48 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/id_map_utils/__init__.pyi +28 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/__init__.pyi +42 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/__init__.pyi +165 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/__init__.pyi +28 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/__init__.pyi +91 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/__init__.pyi +562 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/__init__.pyi +28 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/__init__.pyi +87 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/__init__.pyi +90 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +98 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_restrict_state/__init__.pyi +24 -0
- bpy_types/__init__.pyi +5189 -0
- console_python/__init__.pyi +71 -0
- console_shell/__init__.pyi +44 -0
- fake_bpy_module-20231207.dist-info/METADATA +175 -0
- fake_bpy_module-20231207.dist-info/RECORD +610 -0
- freestyle/chainingiterators/__init__.pyi +306 -0
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/__init__.pyi +1270 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/__init__.pyi +535 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/__init__.pyi +872 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/__init__.pyi +2407 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/__init__.pyi +127 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/__init__.pyi +246 -0
- gpu/capabilities/__init__.pyi +186 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/__init__.pyi +162 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/__init__.pyi +54 -0
- gpu/platform/py.typed +0 -0
- gpu/select/__init__.pyi +15 -0
- gpu/select/py.typed +0 -0
- gpu/shader/__init__.pyi +38 -0
- gpu/shader/py.typed +0 -0
- gpu/state/__init__.pyi +214 -0
- gpu/state/py.typed +0 -0
- gpu/texture/__init__.pyi +18 -0
- gpu/texture/py.typed +0 -0
- gpu/types/__init__.pyi +698 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/__init__.pyi +25 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/__init__.pyi +43 -0
- gpu_extras/presets/py.typed +0 -0
- graphviz_export/__init__.pyi +21 -0
- idprop/types/__init__.pyi +98 -0
- idprop/types/py.typed +0 -0
- imbuf/__init__.pyi +44 -0
- imbuf/types/__init__.pyi +70 -0
- imbuf/types/py.typed +0 -0
- keyingsets_builtins/__init__.pyi +4028 -0
- keyingsets_utils/__init__.pyi +116 -0
- mathutils/__init__.pyi +2917 -0
- mathutils/bvhtree/__init__.pyi +124 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/__init__.pyi +526 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/__init__.pyi +16 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/__init__.pyi +77 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/__init__.pyi +342 -0
- mathutils/noise/py.typed +0 -0
- nodeitems_builtins/__init__.pyi +69 -0
- nodeitems_utils/__init__.pyi +86 -0
- rna_info/__init__.pyi +343 -0
- rna_keymap_ui/__init__.pyi +52 -0
- rna_prop_ui/__init__.pyi +109 -0
- rna_xml/__init__.pyi +53 -0
- sys_info/__init__.pyi +12 -0
- addon_utils/__init__.py +0 -84
- animsys_refactor/__init__.py +0 -55
- aud/__init__.py +0 -1190
- bgl/__init__.py +0 -5084
- bl_app_override/__init__.py +0 -31
- bl_app_override/helpers.py +0 -42
- bl_app_template_utils/__init__.py +0 -36
- bl_console_utils/autocomplete/__init__.py +0 -8
- bl_console_utils/autocomplete/complete_calltip.py +0 -44
- bl_console_utils/autocomplete/complete_import.py +0 -28
- bl_console_utils/autocomplete/complete_namespace.py +0 -44
- bl_console_utils/autocomplete/intellisense.py +0 -20
- bl_i18n_utils/__init__.py +0 -11
- bl_i18n_utils/bl_extract_messages.py +0 -124
- bl_i18n_utils/merge_po.py +0 -12
- bl_i18n_utils/settings.py +0 -66
- bl_i18n_utils/utils.py +0 -338
- bl_i18n_utils/utils_cli.py +0 -52
- bl_i18n_utils/utils_languages_menu.py +0 -12
- bl_i18n_utils/utils_rtl.py +0 -20
- bl_keymap_utils/__init__.py +0 -9
- bl_keymap_utils/io.py +0 -76
- bl_keymap_utils/keymap_from_toolbar.py +0 -12
- bl_keymap_utils/keymap_hierarchy.py +0 -12
- bl_keymap_utils/platform_helpers.py +0 -20
- bl_keymap_utils/versioning.py +0 -12
- bl_math/__init__.py +0 -52
- bl_operators/__init__.py +0 -49
- bl_operators/add_mesh_torus.py +0 -231
- bl_operators/anim.py +0 -1291
- bl_operators/assets.py +0 -586
- bl_operators/bmesh/find_adjacent.py +0 -76
- bl_operators/clip.py +0 -1898
- bl_operators/console.py +0 -918
- bl_operators/constraint.py +0 -745
- bl_operators/file.py +0 -560
- bl_operators/freestyle.py +0 -751
- bl_operators/geometry_nodes.py +0 -2553
- bl_operators/image.py +0 -548
- bl_operators/mesh.py +0 -566
- bl_operators/node.py +0 -1814
- bl_operators/object.py +0 -3212
- bl_operators/object_align.py +0 -215
- bl_operators/object_quick_effects.py +0 -777
- bl_operators/object_randomize_transform.py +0 -199
- bl_operators/presets.py +0 -3776
- bl_operators/rigidbody.py +0 -566
- bl_operators/screen_play_rendered_anim.py +0 -192
- bl_operators/sequencer.py +0 -1001
- bl_operators/spreadsheet.py +0 -202
- bl_operators/userpref.py +0 -4701
- bl_operators/uvcalc_follow_active.py +0 -212
- bl_operators/uvcalc_lightmap.py +0 -257
- bl_operators/uvcalc_transform.py +0 -501
- bl_operators/vertexpaint_dirt.py +0 -207
- bl_operators/view3d.py +0 -955
- bl_operators/wm.py +0 -8409
- bl_previews_utils/bl_previews_render.py +0 -60
- bl_rna_utils/data_path.py +0 -25
- bl_text_utils/external_editor.py +0 -12
- bl_ui/__init__.py +0 -706
- bl_ui/asset_shelf.py +0 -202
- bl_ui/generic_ui_list.py +0 -629
- bl_ui/node_add_menu.py +0 -260
- bl_ui/node_add_menu_compositor.py +0 -3739
- bl_ui/node_add_menu_geometry.py +0 -8520
- bl_ui/node_add_menu_shader.py +0 -2139
- bl_ui/node_add_menu_texture.py +0 -1868
- bl_ui/properties_animviz.py +0 -38
- bl_ui/properties_collection.py +0 -1051
- bl_ui/properties_constraint.py +0 -29694
- bl_ui/properties_data_armature.py +0 -2274
- bl_ui/properties_data_bone.py +0 -2087
- bl_ui/properties_data_camera.py +0 -3004
- bl_ui/properties_data_curve.py +0 -3164
- bl_ui/properties_data_curves.py +0 -1247
- bl_ui/properties_data_empty.py +0 -426
- bl_ui/properties_data_gpencil.py +0 -3758
- bl_ui/properties_data_grease_pencil.py +0 -632
- bl_ui/properties_data_lattice.py +0 -637
- bl_ui/properties_data_light.py +0 -2111
- bl_ui/properties_data_lightprobe.py +0 -1264
- bl_ui/properties_data_mesh.py +0 -4052
- bl_ui/properties_data_metaball.py +0 -1047
- bl_ui/properties_data_modifier.py +0 -1741
- bl_ui/properties_data_pointcloud.py +0 -1045
- bl_ui/properties_data_shaderfx.py +0 -214
- bl_ui/properties_data_speaker.py +0 -1056
- bl_ui/properties_data_volume.py +0 -1652
- bl_ui/properties_freestyle.py +0 -5309
- bl_ui/properties_grease_pencil_common.py +0 -2780
- bl_ui/properties_mask_common.py +0 -1554
- bl_ui/properties_material.py +0 -3117
- bl_ui/properties_material_gpencil.py +0 -2086
- bl_ui/properties_object.py +0 -2875
- bl_ui/properties_output.py +0 -3799
- bl_ui/properties_paint_common.py +0 -814
- bl_ui/properties_particle.py +0 -10938
- bl_ui/properties_physics_cloth.py +0 -2984
- bl_ui/properties_physics_common.py +0 -277
- bl_ui/properties_physics_dynamicpaint.py +0 -5431
- bl_ui/properties_physics_field.py +0 -2220
- bl_ui/properties_physics_fluid.py +0 -7296
- bl_ui/properties_physics_geometry_nodes.py +0 -214
- bl_ui/properties_physics_rigidbody.py +0 -1698
- bl_ui/properties_physics_rigidbody_constraint.py +0 -2734
- bl_ui/properties_physics_softbody.py +0 -3198
- bl_ui/properties_render.py +0 -12664
- bl_ui/properties_scene.py +0 -2872
- bl_ui/properties_texture.py +0 -5470
- bl_ui/properties_view_layer.py +0 -3493
- bl_ui/properties_workspace.py +0 -630
- bl_ui/properties_world.py +0 -1478
- bl_ui/space_clip.py +0 -14313
- bl_ui/space_console.py +0 -1221
- bl_ui/space_dopesheet.py +0 -5388
- bl_ui/space_filebrowser.py +0 -5996
- bl_ui/space_graph.py +0 -4053
- bl_ui/space_image.py +0 -14801
- bl_ui/space_info.py +0 -1216
- bl_ui/space_nla.py +0 -3460
- bl_ui/space_node.py +0 -6519
- bl_ui/space_outliner.py +0 -2864
- bl_ui/space_properties.py +0 -575
- bl_ui/space_sequencer.py +0 -15360
- bl_ui/space_spreadsheet.py +0 -226
- bl_ui/space_statusbar.py +0 -190
- bl_ui/space_text.py +0 -3223
- bl_ui/space_time.py +0 -1472
- bl_ui/space_toolsystem_common.py +0 -435
- bl_ui/space_toolsystem_toolbar.py +0 -1671
- bl_ui/space_topbar.py +0 -5296
- bl_ui/space_userpref.py +0 -17826
- bl_ui/space_view3d.py +0 -51846
- bl_ui/space_view3d_toolbar.py +0 -18993
- bl_ui/utils.py +0 -40
- bl_ui_utils/__init__.py +0 -6
- bl_ui_utils/bug_report_url.py +0 -12
- bl_ui_utils/layout.py +0 -12
- blend_render_info/__init__.py +0 -24
- blf/__init__.py +0 -231
- bmesh/__init__.py +0 -51
- bmesh/geometry.py +0 -23
- bmesh/ops.py +0 -1935
- bmesh/types.py +0 -1399
- bmesh/utils.py +0 -207
- bpy/__init__.py +0 -18
- bpy/app/__init__.py +0 -247
- bpy/app/handlers.py +0 -160
- bpy/app/icons.py +0 -42
- bpy/app/timers.py +0 -42
- bpy/app/translations.py +0 -107
- bpy/msgbus.py +0 -40
- bpy/ops/__init__.py +0 -81
- bpy/ops/action.py +0 -723
- bpy/ops/anim.py +0 -978
- bpy/ops/armature.py +0 -858
- bpy/ops/asset.py +0 -339
- bpy/ops/boid.py +0 -127
- bpy/ops/brush.py +0 -171
- bpy/ops/buttons.py +0 -255
- bpy/ops/cachefile.py +0 -241
- bpy/ops/camera.py +0 -60
- bpy/ops/clip.py +0 -1782
- bpy/ops/cloth.py +0 -31
- bpy/ops/collection.py +0 -95
- bpy/ops/console.py +0 -370
- bpy/ops/constraint.py +0 -391
- bpy/ops/curve.py +0 -1052
- bpy/ops/curves.py +0 -259
- bpy/ops/cycles.py +0 -67
- bpy/ops/dpaint.py +0 -87
- bpy/ops/ed.py +0 -276
- bpy/ops/export_anim.py +0 -45
- bpy/ops/export_mesh.py +0 -62
- bpy/ops/export_scene.py +0 -577
- bpy/ops/file.py +0 -787
- bpy/ops/fluid.py +0 -224
- bpy/ops/font.py +0 -537
- bpy/ops/geometry.py +0 -219
- bpy/ops/gizmogroup.py +0 -52
- bpy/ops/gpencil.py +0 -3247
- bpy/ops/graph.py +0 -1392
- bpy/ops/grease_pencil.py +0 -724
- bpy/ops/image.py +0 -1261
- bpy/ops/import_anim.py +0 -58
- bpy/ops/import_curve.py +0 -26
- bpy/ops/import_mesh.py +0 -50
- bpy/ops/import_scene.py +0 -191
- bpy/ops/info.py +0 -140
- bpy/ops/lattice.py +0 -153
- bpy/ops/marker.py +0 -238
- bpy/ops/mask.py +0 -747
- bpy/ops/material.py +0 -47
- bpy/ops/mball.py +0 -168
- bpy/ops/mesh.py +0 -4168
- bpy/ops/nla.py +0 -756
- bpy/ops/node.py +0 -1894
- bpy/ops/object.py +0 -5343
- bpy/ops/outliner.py +0 -1172
- bpy/ops/paint.py +0 -1067
- bpy/ops/paintcurve.py +0 -148
- bpy/ops/palette.py +0 -123
- bpy/ops/particle.py +0 -635
- bpy/ops/pose.py +0 -763
- bpy/ops/poselib.py +0 -173
- bpy/ops/preferences.py +0 -849
- bpy/ops/ptcache.py +0 -114
- bpy/ops/render.py +0 -262
- bpy/ops/rigidbody.py +0 -244
- bpy/ops/scene.py +0 -675
- bpy/ops/screen.py +0 -846
- bpy/ops/script.py +0 -60
- bpy/ops/sculpt.py +0 -862
- bpy/ops/sculpt_curves.py +0 -94
- bpy/ops/sequencer.py +0 -2165
- bpy/ops/sound.py +0 -395
- bpy/ops/spreadsheet.py +0 -76
- bpy/ops/surface.py +0 -215
- bpy/ops/text.py +0 -863
- bpy/ops/text_editor.py +0 -31
- bpy/ops/texture.py +0 -68
- bpy/ops/transform.py +0 -1545
- bpy/ops/ui.py +0 -536
- bpy/ops/uilist.py +0 -74
- bpy/ops/uv.py +0 -1251
- bpy/ops/view2d.py +0 -329
- bpy/ops/view3d.py +0 -1392
- bpy/ops/wm.py +0 -4821
- bpy/ops/workspace.py +0 -115
- bpy/ops/world.py +0 -19
- bpy/path.py +0 -194
- bpy/props.py +0 -509
- bpy/types.py +0 -131806
- bpy/utils/__init__.py +0 -429
- bpy/utils/previews.py +0 -73
- bpy/utils/units.py +0 -61
- bpy_extras/__init__.py +0 -18
- bpy_extras/anim_utils.py +0 -108
- bpy_extras/asset_utils.py +0 -39
- bpy_extras/bmesh_utils.py +0 -20
- bpy_extras/extensions/junction_module.py +0 -48
- bpy_extras/id_map_utils.py +0 -28
- bpy_extras/image_utils.py +0 -42
- bpy_extras/io_utils.py +0 -165
- bpy_extras/keyconfig_utils.py +0 -28
- bpy_extras/mesh_utils.py +0 -91
- bpy_extras/node_shader_utils.py +0 -562
- bpy_extras/node_utils.py +0 -28
- bpy_extras/object_utils.py +0 -87
- bpy_extras/view3d_utils.py +0 -90
- bpy_extras/wm_utils/progress_report.py +0 -98
- bpy_restrict_state/__init__.py +0 -24
- bpy_types/__init__.py +0 -5189
- console_python/__init__.py +0 -71
- console_shell/__init__.py +0 -44
- fake_bpy_module-20231205.dist-info/METADATA +0 -175
- fake_bpy_module-20231205.dist-info/RECORD +0 -356
- freestyle/chainingiterators.py +0 -306
- freestyle/functions.py +0 -1270
- freestyle/predicates.py +0 -535
- freestyle/shaders.py +0 -872
- freestyle/types.py +0 -2409
- freestyle/utils/ContextFunctions.py +0 -127
- freestyle/utils/__init__.py +0 -246
- gpu/capabilities.py +0 -186
- gpu/matrix.py +0 -162
- gpu/platform.py +0 -54
- gpu/select.py +0 -15
- gpu/shader.py +0 -38
- gpu/state.py +0 -214
- gpu/texture.py +0 -18
- gpu/types.py +0 -698
- gpu_extras/batch.py +0 -25
- gpu_extras/presets.py +0 -43
- graphviz_export/__init__.py +0 -21
- idprop/types.py +0 -98
- imbuf/__init__.py +0 -44
- imbuf/types.py +0 -70
- keyingsets_builtins/__init__.py +0 -4028
- keyingsets_utils/__init__.py +0 -116
- mathutils/__init__.py +0 -2917
- mathutils/bvhtree.py +0 -124
- mathutils/geometry.py +0 -526
- mathutils/interpolate.py +0 -16
- mathutils/kdtree.py +0 -77
- mathutils/noise.py +0 -342
- nodeitems_builtins/__init__.py +0 -69
- nodeitems_utils/__init__.py +0 -86
- rna_info/__init__.py +0 -343
- rna_keymap_ui/__init__.py +0 -52
- rna_prop_ui/__init__.py +0 -109
- rna_xml/__init__.py +0 -53
- sys_info/__init__.py +0 -12
- /bl_console_utils/{__init__.py → __init__.pyi} +0 -0
- /bl_operators/bmesh/{__init__.py → __init__.pyi} +0 -0
- /bl_previews_utils/{__init__.py → __init__.pyi} +0 -0
- /bl_rna_utils/{__init__.py → __init__.pyi} +0 -0
- /bl_text_utils/{__init__.py → __init__.pyi} +0 -0
- /bpy_extras/extensions/{__init__.py → __init__.pyi} +0 -0
- /bpy_extras/wm_utils/{__init__.py → __init__.pyi} +0 -0
- {fake_bpy_module-20231205.dist-info → fake_bpy_module-20231207.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20231205.dist-info → fake_bpy_module-20231207.dist-info}/top_level.txt +0 -0
- /freestyle/{__init__.py → __init__.pyi} +0 -0
- /gpu/{__init__.py → __init__.pyi} +0 -0
- /gpu_extras/{__init__.py → __init__.pyi} +0 -0
- /idprop/{__init__.py → __init__.pyi} +0 -0
bmesh/ops.py
DELETED
|
@@ -1,1935 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import typing
|
|
3
|
-
import bmesh.types
|
|
4
|
-
import mathutils
|
|
5
|
-
import bpy.types
|
|
6
|
-
|
|
7
|
-
GenericType = typing.TypeVar("GenericType")
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
def average_vert_facedata(bm: 'bmesh.types.BMesh',
|
|
11
|
-
verts: typing.List['bmesh.types.BMVert'] = []):
|
|
12
|
-
''' Average Vertices Face-vert Data. Merge uv/vcols associated with the input vertices at the bounding box center. (I know, it's not averaging but the vert_snap_to_bb_center is just too long).
|
|
13
|
-
|
|
14
|
-
:param bm: The bmesh to operate on.
|
|
15
|
-
:type bm: 'bmesh.types.BMesh'
|
|
16
|
-
:param verts: input vertices
|
|
17
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
18
|
-
'''
|
|
19
|
-
|
|
20
|
-
pass
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
def beautify_fill(bm: 'bmesh.types.BMesh',
|
|
24
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
25
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
26
|
-
use_restrict_tag: bool = False,
|
|
27
|
-
method: typing.Union[str, int] = 'AREA') -> typing.Dict:
|
|
28
|
-
''' Beautify Fill. Rotate edges to create more evenly spaced triangles.
|
|
29
|
-
|
|
30
|
-
:param bm: The bmesh to operate on.
|
|
31
|
-
:type bm: 'bmesh.types.BMesh'
|
|
32
|
-
:param faces: input faces
|
|
33
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
34
|
-
:param edges: edges that can be flipped
|
|
35
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
36
|
-
:param use_restrict_tag: restrict edge rotation to mixed tagged vertices
|
|
37
|
-
:type use_restrict_tag: bool
|
|
38
|
-
:param method: method to define what is beautiful
|
|
39
|
-
:type method: typing.Union[str, int]
|
|
40
|
-
:rtype: typing.Dict
|
|
41
|
-
:return: - ``geom``: new flipped faces and edges **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
42
|
-
'''
|
|
43
|
-
|
|
44
|
-
pass
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
def bevel(bm: 'bmesh.types.BMesh',
|
|
48
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
49
|
-
List['bmesh.types.BMEdge'], typing.
|
|
50
|
-
List['bmesh.types.BMFace']] = [],
|
|
51
|
-
offset: float = 0,
|
|
52
|
-
offset_type: typing.Union[str, int] = 'OFFSET',
|
|
53
|
-
profile_type: typing.Union[str, int] = 'SUPERELLIPSE',
|
|
54
|
-
segments: int = 0,
|
|
55
|
-
profile: float = 0,
|
|
56
|
-
affect: typing.Union[str, int] = 'VERTICES',
|
|
57
|
-
clamp_overlap: bool = False,
|
|
58
|
-
material: int = 0,
|
|
59
|
-
loop_slide: bool = False,
|
|
60
|
-
mark_seam: bool = False,
|
|
61
|
-
mark_sharp: bool = False,
|
|
62
|
-
harden_normals: bool = False,
|
|
63
|
-
face_strength_mode: typing.Union[str, int] = 'NONE',
|
|
64
|
-
miter_outer: typing.Union[str, int] = 'SHARP',
|
|
65
|
-
miter_inner: typing.Union[str, int] = 'SHARP',
|
|
66
|
-
spread: float = 0,
|
|
67
|
-
custom_profile: 'bpy.types.bpy_struct' = None,
|
|
68
|
-
vmesh_method: typing.Union[str, int] = 'ADJ') -> typing.Dict:
|
|
69
|
-
''' Bevel. Bevels edges and vertices
|
|
70
|
-
|
|
71
|
-
:param bm: The bmesh to operate on.
|
|
72
|
-
:type bm: 'bmesh.types.BMesh'
|
|
73
|
-
:param geom: input edges and vertices
|
|
74
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
75
|
-
:param offset: amount to offset beveled edge
|
|
76
|
-
:type offset: float
|
|
77
|
-
:param offset_type: how to measure the offset
|
|
78
|
-
:type offset_type: typing.Union[str, int]
|
|
79
|
-
:param profile_type: The profile type to use for bevel.
|
|
80
|
-
:type profile_type: typing.Union[str, int]
|
|
81
|
-
:param segments: number of segments in bevel
|
|
82
|
-
:type segments: int
|
|
83
|
-
:param profile: profile shape, 0->1 (.5=>round)
|
|
84
|
-
:type profile: float
|
|
85
|
-
:param affect: Whether to bevel vertices or edges.
|
|
86
|
-
:type affect: typing.Union[str, int]
|
|
87
|
-
:param clamp_overlap: do not allow beveled edges/vertices to overlap each other
|
|
88
|
-
:type clamp_overlap: bool
|
|
89
|
-
:param material: material for bevel faces, -1 means get from adjacent faces
|
|
90
|
-
:type material: int
|
|
91
|
-
:param loop_slide: prefer to slide along edges to having even widths
|
|
92
|
-
:type loop_slide: bool
|
|
93
|
-
:param mark_seam: extend edge data to allow seams to run across bevels
|
|
94
|
-
:type mark_seam: bool
|
|
95
|
-
:param mark_sharp: extend edge data to allow sharp edges to run across bevels
|
|
96
|
-
:type mark_sharp: bool
|
|
97
|
-
:param harden_normals: harden normals
|
|
98
|
-
:type harden_normals: bool
|
|
99
|
-
:param face_strength_mode: whether to set face strength, and which faces to set if so
|
|
100
|
-
:type face_strength_mode: typing.Union[str, int]
|
|
101
|
-
:param miter_outer: outer miter kind
|
|
102
|
-
:type miter_outer: typing.Union[str, int]
|
|
103
|
-
:param miter_inner: outer miter kind
|
|
104
|
-
:type miter_inner: typing.Union[str, int]
|
|
105
|
-
:param spread: amount to offset beveled edge
|
|
106
|
-
:type spread: float
|
|
107
|
-
:param custom_profile: CurveProfile, if None ignored
|
|
108
|
-
:type custom_profile: 'bpy.types.bpy_struct'
|
|
109
|
-
:param vmesh_method: The method to use to create meshes at intersections.
|
|
110
|
-
:type vmesh_method: typing.Union[str, int]
|
|
111
|
-
:rtype: typing.Dict
|
|
112
|
-
:return: - ``faces``: output faces **type** list of (`bmesh.types.BMFace`) - ``edges``: output edges **type** list of (`bmesh.types.BMEdge`) - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
113
|
-
'''
|
|
114
|
-
|
|
115
|
-
pass
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
def bisect_edges(bm: 'bmesh.types.BMesh',
|
|
119
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
120
|
-
cuts: int = 0,
|
|
121
|
-
edge_percents: typing.Dict = {}) -> typing.Dict:
|
|
122
|
-
''' Edge Bisect. Splits input edges (but doesn't do anything else). This creates a 2-valence vert.
|
|
123
|
-
|
|
124
|
-
:param bm: The bmesh to operate on.
|
|
125
|
-
:type bm: 'bmesh.types.BMesh'
|
|
126
|
-
:param edges: input edges
|
|
127
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
128
|
-
:param cuts: number of cuts
|
|
129
|
-
:type cuts: int
|
|
130
|
-
:param edge_percents: Undocumented.
|
|
131
|
-
:type edge_percents: typing.Dict
|
|
132
|
-
:rtype: typing.Dict
|
|
133
|
-
:return: - ``geom_split``: newly created vertices and edges **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
134
|
-
'''
|
|
135
|
-
|
|
136
|
-
pass
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
def bisect_plane(
|
|
140
|
-
bm: 'bmesh.types.BMesh',
|
|
141
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
142
|
-
List['bmesh.types.BMEdge'], typing.
|
|
143
|
-
List['bmesh.types.BMFace']] = [],
|
|
144
|
-
dist: float = 0,
|
|
145
|
-
plane_co: typing.Union[typing.Sequence[float],
|
|
146
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
147
|
-
plane_no: typing.Union[typing.Sequence[float],
|
|
148
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
149
|
-
use_snap_center: bool = False,
|
|
150
|
-
clear_outer: bool = False,
|
|
151
|
-
clear_inner: bool = False) -> typing.Dict:
|
|
152
|
-
''' Bisect Plane. Bisects the mesh by a plane (cut the mesh in half).
|
|
153
|
-
|
|
154
|
-
:param bm: The bmesh to operate on.
|
|
155
|
-
:type bm: 'bmesh.types.BMesh'
|
|
156
|
-
:param geom: input geometry
|
|
157
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
158
|
-
:param dist: minimum distance when testing if a vert is exactly on the plane
|
|
159
|
-
:type dist: float
|
|
160
|
-
:param plane_co: point on the plane
|
|
161
|
-
:type plane_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
162
|
-
:param plane_no: direction of the plane
|
|
163
|
-
:type plane_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
164
|
-
:param use_snap_center: snap axis aligned verts to the center
|
|
165
|
-
:type use_snap_center: bool
|
|
166
|
-
:param clear_outer: when enabled. remove all geometry on the positive side of the plane
|
|
167
|
-
:type clear_outer: bool
|
|
168
|
-
:param clear_inner: when enabled. remove all geometry on the negative side of the plane
|
|
169
|
-
:type clear_inner: bool
|
|
170
|
-
:rtype: typing.Dict
|
|
171
|
-
:return: - ``geom_cut``: output geometry aligned with the plane (new and existing) **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`) - ``geom``: input and output geometry (result of cut). **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
172
|
-
'''
|
|
173
|
-
|
|
174
|
-
pass
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
def bmesh_to_mesh(bm: 'bmesh.types.BMesh', mesh: 'bpy.types.Mesh',
|
|
178
|
-
object: 'bpy.types.Object'):
|
|
179
|
-
''' BMesh to Mesh. Converts a bmesh to a Mesh. This is reserved for exiting editmode.
|
|
180
|
-
|
|
181
|
-
:param bm: The bmesh to operate on.
|
|
182
|
-
:type bm: 'bmesh.types.BMesh'
|
|
183
|
-
:param mesh: pointer to a mesh structure to fill in
|
|
184
|
-
:type mesh: 'bpy.types.Mesh'
|
|
185
|
-
:param object: pointer to an object structure
|
|
186
|
-
:type object: 'bpy.types.Object'
|
|
187
|
-
'''
|
|
188
|
-
|
|
189
|
-
pass
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
def bridge_loops(bm: 'bmesh.types.BMesh',
|
|
193
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
194
|
-
use_pairs: bool = False,
|
|
195
|
-
use_cyclic: bool = False,
|
|
196
|
-
use_merge: bool = False,
|
|
197
|
-
merge_factor: float = 0,
|
|
198
|
-
twist_offset: int = 0) -> typing.Dict:
|
|
199
|
-
''' Bridge edge loops with faces.
|
|
200
|
-
|
|
201
|
-
:param bm: The bmesh to operate on.
|
|
202
|
-
:type bm: 'bmesh.types.BMesh'
|
|
203
|
-
:param edges: input edges
|
|
204
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
205
|
-
:param use_pairs: Undocumented.
|
|
206
|
-
:type use_pairs: bool
|
|
207
|
-
:param use_cyclic: Undocumented.
|
|
208
|
-
:type use_cyclic: bool
|
|
209
|
-
:param use_merge: merge rather than creating faces
|
|
210
|
-
:type use_merge: bool
|
|
211
|
-
:param merge_factor: merge factor
|
|
212
|
-
:type merge_factor: float
|
|
213
|
-
:param twist_offset: twist offset for closed loops
|
|
214
|
-
:type twist_offset: int
|
|
215
|
-
:rtype: typing.Dict
|
|
216
|
-
:return: - ``faces``: new faces **type** list of (`bmesh.types.BMFace`) - ``edges``: new edges **type** list of (`bmesh.types.BMEdge`)
|
|
217
|
-
'''
|
|
218
|
-
|
|
219
|
-
pass
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
def collapse(bm: 'bmesh.types.BMesh',
|
|
223
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
224
|
-
uvs: bool = False):
|
|
225
|
-
''' Collapse Connected. Collapses connected vertices
|
|
226
|
-
|
|
227
|
-
:param bm: The bmesh to operate on.
|
|
228
|
-
:type bm: 'bmesh.types.BMesh'
|
|
229
|
-
:param edges: input edges
|
|
230
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
231
|
-
:param uvs: also collapse UVs and such
|
|
232
|
-
:type uvs: bool
|
|
233
|
-
'''
|
|
234
|
-
|
|
235
|
-
pass
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
def collapse_uvs(bm: 'bmesh.types.BMesh',
|
|
239
|
-
edges: typing.List['bmesh.types.BMEdge'] = []):
|
|
240
|
-
''' Collapse Connected UVs. Collapses connected UV vertices.
|
|
241
|
-
|
|
242
|
-
:param bm: The bmesh to operate on.
|
|
243
|
-
:type bm: 'bmesh.types.BMesh'
|
|
244
|
-
:param edges: input edges
|
|
245
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
246
|
-
'''
|
|
247
|
-
|
|
248
|
-
pass
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
def connect_vert_pair(
|
|
252
|
-
bm: 'bmesh.types.BMesh',
|
|
253
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
254
|
-
verts_exclude: typing.List['bmesh.types.BMVert'] = [],
|
|
255
|
-
faces_exclude: typing.List['bmesh.types.BMFace'] = []) -> typing.Dict:
|
|
256
|
-
''' Connect Verts. Split faces by adding edges that connect **verts**.
|
|
257
|
-
|
|
258
|
-
:param bm: The bmesh to operate on.
|
|
259
|
-
:type bm: 'bmesh.types.BMesh'
|
|
260
|
-
:param verts: input vertices
|
|
261
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
262
|
-
:param verts_exclude: input vertices to explicitly exclude from connecting
|
|
263
|
-
:type verts_exclude: typing.List['bmesh.types.BMVert']
|
|
264
|
-
:param faces_exclude: input faces to explicitly exclude from connecting
|
|
265
|
-
:type faces_exclude: typing.List['bmesh.types.BMFace']
|
|
266
|
-
:rtype: typing.Dict
|
|
267
|
-
:return: - ``edges``: **type** list of (`bmesh.types.BMEdge`)
|
|
268
|
-
'''
|
|
269
|
-
|
|
270
|
-
pass
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
def connect_verts(bm: 'bmesh.types.BMesh',
|
|
274
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
275
|
-
faces_exclude: typing.List['bmesh.types.BMFace'] = [],
|
|
276
|
-
check_degenerate: bool = False) -> typing.Dict:
|
|
277
|
-
''' Connect Verts. Split faces by adding edges that connect **verts**.
|
|
278
|
-
|
|
279
|
-
:param bm: The bmesh to operate on.
|
|
280
|
-
:type bm: 'bmesh.types.BMesh'
|
|
281
|
-
:param verts: input vertices
|
|
282
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
283
|
-
:param faces_exclude: input faces to explicitly exclude from connecting
|
|
284
|
-
:type faces_exclude: typing.List['bmesh.types.BMFace']
|
|
285
|
-
:param check_degenerate: prevent splits with overlaps & intersections
|
|
286
|
-
:type check_degenerate: bool
|
|
287
|
-
:rtype: typing.Dict
|
|
288
|
-
:return: - ``edges``: **type** list of (`bmesh.types.BMEdge`)
|
|
289
|
-
'''
|
|
290
|
-
|
|
291
|
-
pass
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
def connect_verts_concave(bm: 'bmesh.types.BMesh',
|
|
295
|
-
faces: typing.List['bmesh.types.BMFace'] = []
|
|
296
|
-
) -> typing.Dict:
|
|
297
|
-
''' Connect Verts to form Convex Faces. Ensures all faces are convex **faces**.
|
|
298
|
-
|
|
299
|
-
:param bm: The bmesh to operate on.
|
|
300
|
-
:type bm: 'bmesh.types.BMesh'
|
|
301
|
-
:param faces: input faces
|
|
302
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
303
|
-
:rtype: typing.Dict
|
|
304
|
-
:return: - ``edges``: **type** list of (`bmesh.types.BMEdge`) - ``faces``: **type** list of (`bmesh.types.BMFace`)
|
|
305
|
-
'''
|
|
306
|
-
|
|
307
|
-
pass
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
def connect_verts_nonplanar(
|
|
311
|
-
bm: 'bmesh.types.BMesh',
|
|
312
|
-
angle_limit: float = 0,
|
|
313
|
-
faces: typing.List['bmesh.types.BMFace'] = []) -> typing.Dict:
|
|
314
|
-
''' Connect Verts Across non Planer Faces. Split faces by connecting edges along non planer **faces**.
|
|
315
|
-
|
|
316
|
-
:param bm: The bmesh to operate on.
|
|
317
|
-
:type bm: 'bmesh.types.BMesh'
|
|
318
|
-
:param angle_limit: total rotation angle (radians)
|
|
319
|
-
:type angle_limit: float
|
|
320
|
-
:param faces: input faces
|
|
321
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
322
|
-
:rtype: typing.Dict
|
|
323
|
-
:return: - ``edges``: **type** list of (`bmesh.types.BMEdge`) - ``faces``: **type** list of (`bmesh.types.BMFace`)
|
|
324
|
-
'''
|
|
325
|
-
|
|
326
|
-
pass
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
def contextual_create(
|
|
330
|
-
bm: 'bmesh.types.BMesh',
|
|
331
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
332
|
-
List['bmesh.types.BMEdge'], typing.
|
|
333
|
-
List['bmesh.types.BMFace']] = [],
|
|
334
|
-
mat_nr: int = 0,
|
|
335
|
-
use_smooth: bool = False) -> typing.Dict:
|
|
336
|
-
''' Contextual Create. This is basically F-key, it creates new faces from vertices, makes stuff from edge nets, makes wire edges, etc. It also dissolves faces. Three verts become a triangle, four become a quad. Two become a wire edge.
|
|
337
|
-
|
|
338
|
-
:param bm: The bmesh to operate on.
|
|
339
|
-
:type bm: 'bmesh.types.BMesh'
|
|
340
|
-
:param geom: input geometry.
|
|
341
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
342
|
-
:param mat_nr: material to use
|
|
343
|
-
:type mat_nr: int
|
|
344
|
-
:param use_smooth: smooth to use
|
|
345
|
-
:type use_smooth: bool
|
|
346
|
-
:rtype: typing.Dict
|
|
347
|
-
:return: - ``faces``: newly-made face(s) **type** list of (`bmesh.types.BMFace`) - ``edges``: newly-made edge(s) **type** list of (`bmesh.types.BMEdge`)
|
|
348
|
-
'''
|
|
349
|
-
|
|
350
|
-
pass
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
def convex_hull(bm: 'bmesh.types.BMesh',
|
|
354
|
-
input: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
355
|
-
List['bmesh.types.BMEdge'], typing.
|
|
356
|
-
List['bmesh.types.BMFace']] = [],
|
|
357
|
-
use_existing_faces: bool = False) -> typing.Dict:
|
|
358
|
-
''' Convex Hull Builds a convex hull from the vertices in 'input'. If 'use_existing_faces' is true, the hull will not output triangles that are covered by a pre-existing face. All hull vertices, faces, and edges are added to 'geom.out'. Any input elements that end up inside the hull (i.e. are not used by an output face) are added to the 'interior_geom' slot. The 'unused_geom' slot will contain all interior geometry that is completely unused. Lastly, 'holes_geom' contains edges and faces that were in the input and are part of the hull.
|
|
359
|
-
|
|
360
|
-
:param bm: The bmesh to operate on.
|
|
361
|
-
:type bm: 'bmesh.types.BMesh'
|
|
362
|
-
:param input: input geometry
|
|
363
|
-
:type input: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
364
|
-
:param use_existing_faces: skip hull triangles that are covered by a pre-existing face
|
|
365
|
-
:type use_existing_faces: bool
|
|
366
|
-
:rtype: typing.Dict
|
|
367
|
-
:return: - ``geom``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``geom_interior``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``geom_unused``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``geom_holes``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
368
|
-
'''
|
|
369
|
-
|
|
370
|
-
pass
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
def create_circle(bm: 'bmesh.types.BMesh',
|
|
374
|
-
cap_ends: bool = False,
|
|
375
|
-
cap_tris: bool = False,
|
|
376
|
-
segments: int = 0,
|
|
377
|
-
radius: float = 0,
|
|
378
|
-
matrix: typing.
|
|
379
|
-
Union[typing.Sequence[float],
|
|
380
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
381
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
382
|
-
''' Creates a Circle.
|
|
383
|
-
|
|
384
|
-
:param bm: The bmesh to operate on.
|
|
385
|
-
:type bm: 'bmesh.types.BMesh'
|
|
386
|
-
:param cap_ends: whether or not to fill in the ends with faces
|
|
387
|
-
:type cap_ends: bool
|
|
388
|
-
:param cap_tris: fill ends with triangles instead of ngons
|
|
389
|
-
:type cap_tris: bool
|
|
390
|
-
:param segments: number of vertices in the circle
|
|
391
|
-
:type segments: int
|
|
392
|
-
:param radius: Radius of the circle.
|
|
393
|
-
:type radius: float
|
|
394
|
-
:param matrix: matrix to multiply the new geometry with
|
|
395
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
396
|
-
:param calc_uvs: calculate default UVs
|
|
397
|
-
:type calc_uvs: bool
|
|
398
|
-
:rtype: typing.Dict
|
|
399
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
400
|
-
'''
|
|
401
|
-
|
|
402
|
-
pass
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
def create_cone(bm: 'bmesh.types.BMesh',
|
|
406
|
-
cap_ends: bool = False,
|
|
407
|
-
cap_tris: bool = False,
|
|
408
|
-
segments: int = 0,
|
|
409
|
-
radius1: float = 0,
|
|
410
|
-
radius2: float = 0,
|
|
411
|
-
depth: float = 0,
|
|
412
|
-
matrix: typing.
|
|
413
|
-
Union[typing.Sequence[float],
|
|
414
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
415
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
416
|
-
''' Create Cone. Creates a cone with variable depth at both ends
|
|
417
|
-
|
|
418
|
-
:param bm: The bmesh to operate on.
|
|
419
|
-
:type bm: 'bmesh.types.BMesh'
|
|
420
|
-
:param cap_ends: whether or not to fill in the ends with faces
|
|
421
|
-
:type cap_ends: bool
|
|
422
|
-
:param cap_tris: fill ends with triangles instead of ngons
|
|
423
|
-
:type cap_tris: bool
|
|
424
|
-
:param segments: number of vertices in the base circle
|
|
425
|
-
:type segments: int
|
|
426
|
-
:param radius1: radius of one end
|
|
427
|
-
:type radius1: float
|
|
428
|
-
:param radius2: radius of the opposite
|
|
429
|
-
:type radius2: float
|
|
430
|
-
:param depth: distance between ends
|
|
431
|
-
:type depth: float
|
|
432
|
-
:param matrix: matrix to multiply the new geometry with
|
|
433
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
434
|
-
:param calc_uvs: calculate default UVs
|
|
435
|
-
:type calc_uvs: bool
|
|
436
|
-
:rtype: typing.Dict
|
|
437
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
438
|
-
'''
|
|
439
|
-
|
|
440
|
-
pass
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
def create_cube(bm: 'bmesh.types.BMesh',
|
|
444
|
-
size: float = 0,
|
|
445
|
-
matrix: typing.
|
|
446
|
-
Union[typing.Sequence[float],
|
|
447
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
448
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
449
|
-
''' Create Cube Creates a cube.
|
|
450
|
-
|
|
451
|
-
:param bm: The bmesh to operate on.
|
|
452
|
-
:type bm: 'bmesh.types.BMesh'
|
|
453
|
-
:param size: size of the cube
|
|
454
|
-
:type size: float
|
|
455
|
-
:param matrix: matrix to multiply the new geometry with
|
|
456
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
457
|
-
:param calc_uvs: calculate default UVs
|
|
458
|
-
:type calc_uvs: bool
|
|
459
|
-
:rtype: typing.Dict
|
|
460
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
461
|
-
'''
|
|
462
|
-
|
|
463
|
-
pass
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
def create_grid(bm: 'bmesh.types.BMesh',
|
|
467
|
-
x_segments: int = 0,
|
|
468
|
-
y_segments: int = 0,
|
|
469
|
-
size: float = 0,
|
|
470
|
-
matrix: typing.
|
|
471
|
-
Union[typing.Sequence[float],
|
|
472
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
473
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
474
|
-
''' Create Grid. Creates a grid with a variable number of subdivisions
|
|
475
|
-
|
|
476
|
-
:param bm: The bmesh to operate on.
|
|
477
|
-
:type bm: 'bmesh.types.BMesh'
|
|
478
|
-
:param x_segments: number of x segments
|
|
479
|
-
:type x_segments: int
|
|
480
|
-
:param y_segments: number of y segments
|
|
481
|
-
:type y_segments: int
|
|
482
|
-
:param size: size of the grid
|
|
483
|
-
:type size: float
|
|
484
|
-
:param matrix: matrix to multiply the new geometry with
|
|
485
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
486
|
-
:param calc_uvs: calculate default UVs
|
|
487
|
-
:type calc_uvs: bool
|
|
488
|
-
:rtype: typing.Dict
|
|
489
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
490
|
-
'''
|
|
491
|
-
|
|
492
|
-
pass
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
def create_icosphere(
|
|
496
|
-
bm: 'bmesh.types.BMesh',
|
|
497
|
-
subdivisions: int = 0,
|
|
498
|
-
radius: float = 0,
|
|
499
|
-
matrix: typing.
|
|
500
|
-
Union[typing.Sequence[float],
|
|
501
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
502
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
503
|
-
''' Create Ico-Sphere. Creates a grid with a variable number of subdivisions
|
|
504
|
-
|
|
505
|
-
:param bm: The bmesh to operate on.
|
|
506
|
-
:type bm: 'bmesh.types.BMesh'
|
|
507
|
-
:param subdivisions: how many times to recursively subdivide the sphere
|
|
508
|
-
:type subdivisions: int
|
|
509
|
-
:param radius: radius
|
|
510
|
-
:type radius: float
|
|
511
|
-
:param matrix: matrix to multiply the new geometry with
|
|
512
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
513
|
-
:param calc_uvs: calculate default UVs
|
|
514
|
-
:type calc_uvs: bool
|
|
515
|
-
:rtype: typing.Dict
|
|
516
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
517
|
-
'''
|
|
518
|
-
|
|
519
|
-
pass
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
def create_monkey(bm: 'bmesh.types.BMesh',
|
|
523
|
-
matrix: typing.
|
|
524
|
-
Union[typing.Sequence[float],
|
|
525
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
526
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
527
|
-
''' Create Suzanne. Creates a monkey (standard blender primitive).
|
|
528
|
-
|
|
529
|
-
:param bm: The bmesh to operate on.
|
|
530
|
-
:type bm: 'bmesh.types.BMesh'
|
|
531
|
-
:param matrix: matrix to multiply the new geometry with
|
|
532
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
533
|
-
:param calc_uvs: calculate default UVs
|
|
534
|
-
:type calc_uvs: bool
|
|
535
|
-
:rtype: typing.Dict
|
|
536
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
537
|
-
'''
|
|
538
|
-
|
|
539
|
-
pass
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
def create_uvsphere(bm: 'bmesh.types.BMesh',
|
|
543
|
-
u_segments: int = 0,
|
|
544
|
-
v_segments: int = 0,
|
|
545
|
-
radius: float = 0,
|
|
546
|
-
matrix: typing.
|
|
547
|
-
Union[typing.Sequence[float],
|
|
548
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
549
|
-
calc_uvs: bool = False) -> typing.Dict:
|
|
550
|
-
''' Create UV Sphere. Creates a grid with a variable number of subdivisions
|
|
551
|
-
|
|
552
|
-
:param bm: The bmesh to operate on.
|
|
553
|
-
:type bm: 'bmesh.types.BMesh'
|
|
554
|
-
:param u_segments: number of u segments
|
|
555
|
-
:type u_segments: int
|
|
556
|
-
:param v_segments: number of v segment
|
|
557
|
-
:type v_segments: int
|
|
558
|
-
:param radius: radius
|
|
559
|
-
:type radius: float
|
|
560
|
-
:param matrix: matrix to multiply the new geometry with
|
|
561
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
562
|
-
:param calc_uvs: calculate default UVs
|
|
563
|
-
:type calc_uvs: bool
|
|
564
|
-
:rtype: typing.Dict
|
|
565
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`)
|
|
566
|
-
'''
|
|
567
|
-
|
|
568
|
-
pass
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
def create_vert(bm: 'bmesh.types.BMesh',
|
|
572
|
-
co: typing.Union[typing.Sequence[float],
|
|
573
|
-
'mathutils.Vector'] = 'mathutils.Vector()'
|
|
574
|
-
) -> typing.Dict:
|
|
575
|
-
''' Make Vertex. Creates a single vertex; this bmop was necessary for click-create-vertex.
|
|
576
|
-
|
|
577
|
-
:param bm: The bmesh to operate on.
|
|
578
|
-
:type bm: 'bmesh.types.BMesh'
|
|
579
|
-
:param co: the coordinate of the new vert
|
|
580
|
-
:type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
581
|
-
:rtype: typing.Dict
|
|
582
|
-
:return: - ``vert``: the new vert **type** list of (`bmesh.types.BMVert`)
|
|
583
|
-
'''
|
|
584
|
-
|
|
585
|
-
pass
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
def delete(bm: 'bmesh.types.BMesh',
|
|
589
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
590
|
-
List['bmesh.types.BMEdge'], typing.
|
|
591
|
-
List['bmesh.types.BMFace']] = [],
|
|
592
|
-
context: typing.Union[str, int] = 'VERTS'):
|
|
593
|
-
''' Delete Geometry. Utility operator to delete geometry.
|
|
594
|
-
|
|
595
|
-
:param bm: The bmesh to operate on.
|
|
596
|
-
:type bm: 'bmesh.types.BMesh'
|
|
597
|
-
:param geom: input geometry
|
|
598
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
599
|
-
:param context: geometry types to delete
|
|
600
|
-
:type context: typing.Union[str, int]
|
|
601
|
-
'''
|
|
602
|
-
|
|
603
|
-
pass
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
def dissolve_degenerate(bm: 'bmesh.types.BMesh',
|
|
607
|
-
dist: float = 0,
|
|
608
|
-
edges: typing.List['bmesh.types.BMEdge'] = []):
|
|
609
|
-
''' Degenerate Dissolve. Dissolve edges with no length, faces with no area.
|
|
610
|
-
|
|
611
|
-
:param bm: The bmesh to operate on.
|
|
612
|
-
:type bm: 'bmesh.types.BMesh'
|
|
613
|
-
:param dist: maximum distance to consider degenerate
|
|
614
|
-
:type dist: float
|
|
615
|
-
:param edges: input edges
|
|
616
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
617
|
-
'''
|
|
618
|
-
|
|
619
|
-
pass
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
def dissolve_edges(bm: 'bmesh.types.BMesh',
|
|
623
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
624
|
-
use_verts: bool = False,
|
|
625
|
-
use_face_split: bool = False) -> typing.Dict:
|
|
626
|
-
''' Dissolve Edges.
|
|
627
|
-
|
|
628
|
-
:param bm: The bmesh to operate on.
|
|
629
|
-
:type bm: 'bmesh.types.BMesh'
|
|
630
|
-
:param edges: input edges
|
|
631
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
632
|
-
:param use_verts: dissolve verts left between only 2 edges.
|
|
633
|
-
:type use_verts: bool
|
|
634
|
-
:param use_face_split: split off face corners to maintain surrounding geometry
|
|
635
|
-
:type use_face_split: bool
|
|
636
|
-
:rtype: typing.Dict
|
|
637
|
-
:return: - ``region``: **type** list of (`bmesh.types.BMFace`)
|
|
638
|
-
'''
|
|
639
|
-
|
|
640
|
-
pass
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
def dissolve_faces(bm: 'bmesh.types.BMesh',
|
|
644
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
645
|
-
use_verts: bool = False) -> typing.Dict:
|
|
646
|
-
''' Dissolve Faces.
|
|
647
|
-
|
|
648
|
-
:param bm: The bmesh to operate on.
|
|
649
|
-
:type bm: 'bmesh.types.BMesh'
|
|
650
|
-
:param faces: input faces
|
|
651
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
652
|
-
:param use_verts: dissolve verts left between only 2 edges.
|
|
653
|
-
:type use_verts: bool
|
|
654
|
-
:rtype: typing.Dict
|
|
655
|
-
:return: - ``region``: **type** list of (`bmesh.types.BMFace`)
|
|
656
|
-
'''
|
|
657
|
-
|
|
658
|
-
pass
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
def dissolve_limit(bm: 'bmesh.types.BMesh',
|
|
662
|
-
angle_limit: float = 0,
|
|
663
|
-
use_dissolve_boundaries: bool = False,
|
|
664
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
665
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
666
|
-
delimit: typing.Set = 'set()') -> typing.Dict:
|
|
667
|
-
''' Limited Dissolve. Dissolve planar faces and co-linear edges.
|
|
668
|
-
|
|
669
|
-
:param bm: The bmesh to operate on.
|
|
670
|
-
:type bm: 'bmesh.types.BMesh'
|
|
671
|
-
:param angle_limit: total rotation angle (radians)
|
|
672
|
-
:type angle_limit: float
|
|
673
|
-
:param use_dissolve_boundaries: dissolve all vertices in between face boundaries
|
|
674
|
-
:type use_dissolve_boundaries: bool
|
|
675
|
-
:param verts: input vertices
|
|
676
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
677
|
-
:param edges: input edges
|
|
678
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
679
|
-
:param delimit: delimit dissolve operation
|
|
680
|
-
:type delimit: typing.Set
|
|
681
|
-
:rtype: typing.Dict
|
|
682
|
-
:return: - ``region``: **type** list of (`bmesh.types.BMFace`)
|
|
683
|
-
'''
|
|
684
|
-
|
|
685
|
-
pass
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
def dissolve_verts(bm: 'bmesh.types.BMesh',
|
|
689
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
690
|
-
use_face_split: bool = False,
|
|
691
|
-
use_boundary_tear: bool = False):
|
|
692
|
-
''' Dissolve Verts.
|
|
693
|
-
|
|
694
|
-
:param bm: The bmesh to operate on.
|
|
695
|
-
:type bm: 'bmesh.types.BMesh'
|
|
696
|
-
:param verts: input vertices
|
|
697
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
698
|
-
:param use_face_split: split off face corners to maintain surrounding geometry
|
|
699
|
-
:type use_face_split: bool
|
|
700
|
-
:param use_boundary_tear: split off face corners instead of merging faces
|
|
701
|
-
:type use_boundary_tear: bool
|
|
702
|
-
'''
|
|
703
|
-
|
|
704
|
-
pass
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
def duplicate(bm: 'bmesh.types.BMesh',
|
|
708
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
709
|
-
List['bmesh.types.BMEdge'], typing.
|
|
710
|
-
List['bmesh.types.BMFace']] = [],
|
|
711
|
-
dest: 'bmesh.types.BMesh' = None,
|
|
712
|
-
use_select_history: bool = False,
|
|
713
|
-
use_edge_flip_from_face: bool = False) -> typing.Dict:
|
|
714
|
-
''' Duplicate Geometry. Utility operator to duplicate geometry, optionally into a destination mesh.
|
|
715
|
-
|
|
716
|
-
:param bm: The bmesh to operate on.
|
|
717
|
-
:type bm: 'bmesh.types.BMesh'
|
|
718
|
-
:param geom: input geometry
|
|
719
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
720
|
-
:param dest: destination bmesh, if None will use current on
|
|
721
|
-
:type dest: 'bmesh.types.BMesh'
|
|
722
|
-
:param use_select_history: Undocumented.
|
|
723
|
-
:type use_select_history: bool
|
|
724
|
-
:param use_edge_flip_from_face: Undocumented.
|
|
725
|
-
:type use_edge_flip_from_face: bool
|
|
726
|
-
:rtype: typing.Dict
|
|
727
|
-
:return: - ``geom_orig``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``geom``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``vert_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace` - ``edge_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace` - ``face_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace` - ``boundary_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace` - ``isovert_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
728
|
-
'''
|
|
729
|
-
|
|
730
|
-
pass
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
def edgeloop_fill(bm: 'bmesh.types.BMesh',
|
|
734
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
735
|
-
mat_nr: int = 0,
|
|
736
|
-
use_smooth: bool = False) -> typing.Dict:
|
|
737
|
-
''' Edge Loop Fill. Create faces defined by one or more non overlapping edge loops.
|
|
738
|
-
|
|
739
|
-
:param bm: The bmesh to operate on.
|
|
740
|
-
:type bm: 'bmesh.types.BMesh'
|
|
741
|
-
:param edges: input edges
|
|
742
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
743
|
-
:param mat_nr: material to use
|
|
744
|
-
:type mat_nr: int
|
|
745
|
-
:param use_smooth: smooth state to use
|
|
746
|
-
:type use_smooth: bool
|
|
747
|
-
:rtype: typing.Dict
|
|
748
|
-
:return: - ``faces``: new faces **type** list of (`bmesh.types.BMFace`)
|
|
749
|
-
'''
|
|
750
|
-
|
|
751
|
-
pass
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
def edgenet_fill(bm: 'bmesh.types.BMesh',
|
|
755
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
756
|
-
mat_nr: int = 0,
|
|
757
|
-
use_smooth: bool = False,
|
|
758
|
-
sides: int = 0) -> typing.Dict:
|
|
759
|
-
''' Edge Net Fill. Create faces defined by enclosed edges.
|
|
760
|
-
|
|
761
|
-
:param bm: The bmesh to operate on.
|
|
762
|
-
:type bm: 'bmesh.types.BMesh'
|
|
763
|
-
:param edges: input edges
|
|
764
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
765
|
-
:param mat_nr: material to use
|
|
766
|
-
:type mat_nr: int
|
|
767
|
-
:param use_smooth: smooth state to use
|
|
768
|
-
:type use_smooth: bool
|
|
769
|
-
:param sides: number of sides
|
|
770
|
-
:type sides: int
|
|
771
|
-
:rtype: typing.Dict
|
|
772
|
-
:return: - ``faces``: new faces **type** list of (`bmesh.types.BMFace`)
|
|
773
|
-
'''
|
|
774
|
-
|
|
775
|
-
pass
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
def edgenet_prepare(bm: 'bmesh.types.BMesh',
|
|
779
|
-
edges: typing.List['bmesh.types.BMEdge'] = []
|
|
780
|
-
) -> typing.Dict:
|
|
781
|
-
''' Edge-net Prepare. Identifies several useful edge loop cases and modifies them so they'll become a face when edgenet_fill is called. The cases covered are: - One single loop; an edge is added to connect the ends - Two loops; two edges are added to connect the endpoints (based on the shortest distance between each endpoint).
|
|
782
|
-
|
|
783
|
-
:param bm: The bmesh to operate on.
|
|
784
|
-
:type bm: 'bmesh.types.BMesh'
|
|
785
|
-
:param edges: input edges
|
|
786
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
787
|
-
:rtype: typing.Dict
|
|
788
|
-
:return: - ``edges``: new edges **type** list of (`bmesh.types.BMEdge`)
|
|
789
|
-
'''
|
|
790
|
-
|
|
791
|
-
pass
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
def extrude_discrete_faces(bm: 'bmesh.types.BMesh',
|
|
795
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
796
|
-
use_normal_flip: bool = False,
|
|
797
|
-
use_select_history: bool = False) -> typing.Dict:
|
|
798
|
-
''' Individual Face Extrude. Extrudes faces individually.
|
|
799
|
-
|
|
800
|
-
:param bm: The bmesh to operate on.
|
|
801
|
-
:type bm: 'bmesh.types.BMesh'
|
|
802
|
-
:param faces: input faces
|
|
803
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
804
|
-
:param use_normal_flip: Create faces with reversed direction.
|
|
805
|
-
:type use_normal_flip: bool
|
|
806
|
-
:param use_select_history: pass to duplicate
|
|
807
|
-
:type use_select_history: bool
|
|
808
|
-
:rtype: typing.Dict
|
|
809
|
-
:return: - ``faces``: output faces **type** list of (`bmesh.types.BMFace`)
|
|
810
|
-
'''
|
|
811
|
-
|
|
812
|
-
pass
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
def extrude_edge_only(bm: 'bmesh.types.BMesh',
|
|
816
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
817
|
-
use_normal_flip: bool = False,
|
|
818
|
-
use_select_history: bool = False) -> typing.Dict:
|
|
819
|
-
''' Extrude Only Edges. Extrudes Edges into faces, note that this is very simple, there's no fancy winged extrusion.
|
|
820
|
-
|
|
821
|
-
:param bm: The bmesh to operate on.
|
|
822
|
-
:type bm: 'bmesh.types.BMesh'
|
|
823
|
-
:param edges: input vertices
|
|
824
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
825
|
-
:param use_normal_flip: Create faces with reversed direction.
|
|
826
|
-
:type use_normal_flip: bool
|
|
827
|
-
:param use_select_history: pass to duplicate
|
|
828
|
-
:type use_select_history: bool
|
|
829
|
-
:rtype: typing.Dict
|
|
830
|
-
:return: - ``geom``: output geometry **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
831
|
-
'''
|
|
832
|
-
|
|
833
|
-
pass
|
|
834
|
-
|
|
835
|
-
|
|
836
|
-
def extrude_face_region(
|
|
837
|
-
bm: 'bmesh.types.BMesh',
|
|
838
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
839
|
-
List['bmesh.types.BMEdge'], typing.
|
|
840
|
-
List['bmesh.types.BMFace']] = [],
|
|
841
|
-
edges_exclude: typing.Set = 'set()',
|
|
842
|
-
use_keep_orig: bool = False,
|
|
843
|
-
use_normal_flip: bool = False,
|
|
844
|
-
use_normal_from_adjacent: bool = False,
|
|
845
|
-
use_dissolve_ortho_edges: bool = False,
|
|
846
|
-
use_select_history: bool = False) -> typing.Dict:
|
|
847
|
-
''' Extrude Faces. Extrude operator (does not transform)
|
|
848
|
-
|
|
849
|
-
:param bm: The bmesh to operate on.
|
|
850
|
-
:type bm: 'bmesh.types.BMesh'
|
|
851
|
-
:param geom: edges and faces
|
|
852
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
853
|
-
:param edges_exclude: input edges to explicitly exclude from extrusion
|
|
854
|
-
:type edges_exclude: typing.Set
|
|
855
|
-
:param use_keep_orig: keep original geometry (requires ``geom`` to include edges).
|
|
856
|
-
:type use_keep_orig: bool
|
|
857
|
-
:param use_normal_flip: Create faces with reversed direction.
|
|
858
|
-
:type use_normal_flip: bool
|
|
859
|
-
:param use_normal_from_adjacent: Use winding from surrounding faces instead of this region.
|
|
860
|
-
:type use_normal_from_adjacent: bool
|
|
861
|
-
:param use_dissolve_ortho_edges: Dissolve edges whose faces form a flat surface.
|
|
862
|
-
:type use_dissolve_ortho_edges: bool
|
|
863
|
-
:param use_select_history: pass to duplicate
|
|
864
|
-
:type use_select_history: bool
|
|
865
|
-
:rtype: typing.Dict
|
|
866
|
-
:return: - ``geom``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
867
|
-
'''
|
|
868
|
-
|
|
869
|
-
pass
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
def extrude_vert_indiv(bm: 'bmesh.types.BMesh',
|
|
873
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
874
|
-
use_select_history: bool = False) -> typing.Dict:
|
|
875
|
-
''' Individual Vertex Extrude. Extrudes wire edges from vertices.
|
|
876
|
-
|
|
877
|
-
:param bm: The bmesh to operate on.
|
|
878
|
-
:type bm: 'bmesh.types.BMesh'
|
|
879
|
-
:param verts: input vertices
|
|
880
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
881
|
-
:param use_select_history: pass to duplicate
|
|
882
|
-
:type use_select_history: bool
|
|
883
|
-
:rtype: typing.Dict
|
|
884
|
-
:return: - ``edges``: output wire edges **type** list of (`bmesh.types.BMEdge`) - ``verts``: output vertices **type** list of (`bmesh.types.BMVert`)
|
|
885
|
-
'''
|
|
886
|
-
|
|
887
|
-
pass
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
def face_attribute_fill(bm: 'bmesh.types.BMesh',
|
|
891
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
892
|
-
use_normals: bool = False,
|
|
893
|
-
use_data: bool = False) -> typing.Dict:
|
|
894
|
-
''' Face Attribute Fill. Fill in faces with data from adjacent faces.
|
|
895
|
-
|
|
896
|
-
:param bm: The bmesh to operate on.
|
|
897
|
-
:type bm: 'bmesh.types.BMesh'
|
|
898
|
-
:param faces: input faces
|
|
899
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
900
|
-
:param use_normals: copy face winding
|
|
901
|
-
:type use_normals: bool
|
|
902
|
-
:param use_data: copy face data
|
|
903
|
-
:type use_data: bool
|
|
904
|
-
:rtype: typing.Dict
|
|
905
|
-
:return: - ``faces_fail``: faces that could not be handled **type** list of (`bmesh.types.BMFace`)
|
|
906
|
-
'''
|
|
907
|
-
|
|
908
|
-
pass
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
def find_doubles(bm: 'bmesh.types.BMesh',
|
|
912
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
913
|
-
keep_verts: typing.List['bmesh.types.BMVert'] = [],
|
|
914
|
-
dist: float = 0) -> typing.Dict:
|
|
915
|
-
''' Find Doubles. Takes input verts and find vertices they should weld to. Outputs a mapping slot suitable for use with the weld verts bmop. If keep_verts is used, vertices outside that set can only be merged with vertices in that set.
|
|
916
|
-
|
|
917
|
-
:param bm: The bmesh to operate on.
|
|
918
|
-
:type bm: 'bmesh.types.BMesh'
|
|
919
|
-
:param verts: input vertices
|
|
920
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
921
|
-
:param keep_verts: list of verts to keep
|
|
922
|
-
:type keep_verts: typing.List['bmesh.types.BMVert']
|
|
923
|
-
:param dist: maximum distance
|
|
924
|
-
:type dist: float
|
|
925
|
-
:rtype: typing.Dict
|
|
926
|
-
:return: - ``targetmap``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
927
|
-
'''
|
|
928
|
-
|
|
929
|
-
pass
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
def flip_quad_tessellation(bm: 'bmesh.types.BMesh',
|
|
933
|
-
faces: typing.List['bmesh.types.BMFace'] = []):
|
|
934
|
-
''' Flip Quad Tessellation Flip the tessellation direction of the selected quads.
|
|
935
|
-
|
|
936
|
-
:param bm: The bmesh to operate on.
|
|
937
|
-
:type bm: 'bmesh.types.BMesh'
|
|
938
|
-
:param faces: Undocumented.
|
|
939
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
940
|
-
'''
|
|
941
|
-
|
|
942
|
-
pass
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
def grid_fill(bm: 'bmesh.types.BMesh',
|
|
946
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
947
|
-
mat_nr: int = 0,
|
|
948
|
-
use_smooth: bool = False,
|
|
949
|
-
use_interp_simple: bool = False) -> typing.Dict:
|
|
950
|
-
''' Grid Fill. Create faces defined by 2 disconnected edge loops (which share edges).
|
|
951
|
-
|
|
952
|
-
:param bm: The bmesh to operate on.
|
|
953
|
-
:type bm: 'bmesh.types.BMesh'
|
|
954
|
-
:param edges: input edges
|
|
955
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
956
|
-
:param mat_nr: material to use
|
|
957
|
-
:type mat_nr: int
|
|
958
|
-
:param use_smooth: smooth state to use
|
|
959
|
-
:type use_smooth: bool
|
|
960
|
-
:param use_interp_simple: use simple interpolation
|
|
961
|
-
:type use_interp_simple: bool
|
|
962
|
-
:rtype: typing.Dict
|
|
963
|
-
:return: - ``faces``: new faces **type** list of (`bmesh.types.BMFace`)
|
|
964
|
-
'''
|
|
965
|
-
|
|
966
|
-
pass
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
def holes_fill(bm: 'bmesh.types.BMesh',
|
|
970
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
971
|
-
sides: int = 0) -> typing.Dict:
|
|
972
|
-
''' Fill Holes. Fill boundary edges with faces, copying surrounding customdata.
|
|
973
|
-
|
|
974
|
-
:param bm: The bmesh to operate on.
|
|
975
|
-
:type bm: 'bmesh.types.BMesh'
|
|
976
|
-
:param edges: input edges
|
|
977
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
978
|
-
:param sides: number of face sides to fill
|
|
979
|
-
:type sides: int
|
|
980
|
-
:rtype: typing.Dict
|
|
981
|
-
:return: - ``faces``: new faces **type** list of (`bmesh.types.BMFace`)
|
|
982
|
-
'''
|
|
983
|
-
|
|
984
|
-
pass
|
|
985
|
-
|
|
986
|
-
|
|
987
|
-
def inset_individual(bm: 'bmesh.types.BMesh',
|
|
988
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
989
|
-
thickness: float = 0,
|
|
990
|
-
depth: float = 0,
|
|
991
|
-
use_even_offset: bool = False,
|
|
992
|
-
use_interpolate: bool = False,
|
|
993
|
-
use_relative_offset: bool = False) -> typing.Dict:
|
|
994
|
-
''' Face Inset (Individual). Insets individual faces.
|
|
995
|
-
|
|
996
|
-
:param bm: The bmesh to operate on.
|
|
997
|
-
:type bm: 'bmesh.types.BMesh'
|
|
998
|
-
:param faces: input faces
|
|
999
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1000
|
-
:param thickness: thickness
|
|
1001
|
-
:type thickness: float
|
|
1002
|
-
:param depth: depth
|
|
1003
|
-
:type depth: float
|
|
1004
|
-
:param use_even_offset: scale the offset to give more even thickness
|
|
1005
|
-
:type use_even_offset: bool
|
|
1006
|
-
:param use_interpolate: blend face data across the inset
|
|
1007
|
-
:type use_interpolate: bool
|
|
1008
|
-
:param use_relative_offset: scale the offset by surrounding geometry
|
|
1009
|
-
:type use_relative_offset: bool
|
|
1010
|
-
:rtype: typing.Dict
|
|
1011
|
-
:return: - ``faces``: output faces **type** list of (`bmesh.types.BMFace`)
|
|
1012
|
-
'''
|
|
1013
|
-
|
|
1014
|
-
pass
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
def inset_region(bm: 'bmesh.types.BMesh',
|
|
1018
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1019
|
-
faces_exclude: typing.List['bmesh.types.BMFace'] = [],
|
|
1020
|
-
use_boundary: bool = False,
|
|
1021
|
-
use_even_offset: bool = False,
|
|
1022
|
-
use_interpolate: bool = False,
|
|
1023
|
-
use_relative_offset: bool = False,
|
|
1024
|
-
use_edge_rail: bool = False,
|
|
1025
|
-
thickness: float = 0,
|
|
1026
|
-
depth: float = 0,
|
|
1027
|
-
use_outset: bool = False) -> typing.Dict:
|
|
1028
|
-
''' Face Inset (Regions). Inset or outset face regions.
|
|
1029
|
-
|
|
1030
|
-
:param bm: The bmesh to operate on.
|
|
1031
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1032
|
-
:param faces: input faces
|
|
1033
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1034
|
-
:param faces_exclude: input faces to explicitly exclude from inset
|
|
1035
|
-
:type faces_exclude: typing.List['bmesh.types.BMFace']
|
|
1036
|
-
:param use_boundary: inset face boundaries
|
|
1037
|
-
:type use_boundary: bool
|
|
1038
|
-
:param use_even_offset: scale the offset to give more even thickness
|
|
1039
|
-
:type use_even_offset: bool
|
|
1040
|
-
:param use_interpolate: blend face data across the inset
|
|
1041
|
-
:type use_interpolate: bool
|
|
1042
|
-
:param use_relative_offset: scale the offset by surrounding geometry
|
|
1043
|
-
:type use_relative_offset: bool
|
|
1044
|
-
:param use_edge_rail: inset the region along existing edges
|
|
1045
|
-
:type use_edge_rail: bool
|
|
1046
|
-
:param thickness: thickness
|
|
1047
|
-
:type thickness: float
|
|
1048
|
-
:param depth: depth
|
|
1049
|
-
:type depth: float
|
|
1050
|
-
:param use_outset: outset rather than inset
|
|
1051
|
-
:type use_outset: bool
|
|
1052
|
-
:rtype: typing.Dict
|
|
1053
|
-
:return: - ``faces``: output faces **type** list of (`bmesh.types.BMFace`)
|
|
1054
|
-
'''
|
|
1055
|
-
|
|
1056
|
-
pass
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
def join_triangles(bm: 'bmesh.types.BMesh',
|
|
1060
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1061
|
-
cmp_seam: bool = False,
|
|
1062
|
-
cmp_sharp: bool = False,
|
|
1063
|
-
cmp_uvs: bool = False,
|
|
1064
|
-
cmp_vcols: bool = False,
|
|
1065
|
-
cmp_materials: bool = False,
|
|
1066
|
-
angle_face_threshold: float = 0,
|
|
1067
|
-
angle_shape_threshold: float = 0) -> typing.Dict:
|
|
1068
|
-
''' Join Triangles. Tries to intelligently join triangles according to angle threshold and delimiters.
|
|
1069
|
-
|
|
1070
|
-
:param bm: The bmesh to operate on.
|
|
1071
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1072
|
-
:param faces: input geometry.
|
|
1073
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1074
|
-
:param cmp_seam: Compare seam
|
|
1075
|
-
:type cmp_seam: bool
|
|
1076
|
-
:param cmp_sharp: Compare sharp
|
|
1077
|
-
:type cmp_sharp: bool
|
|
1078
|
-
:param cmp_uvs: Compare UVs
|
|
1079
|
-
:type cmp_uvs: bool
|
|
1080
|
-
:param cmp_vcols: compare VCols
|
|
1081
|
-
:type cmp_vcols: bool
|
|
1082
|
-
:param cmp_materials: compare materials
|
|
1083
|
-
:type cmp_materials: bool
|
|
1084
|
-
:param angle_face_threshold: Undocumented.
|
|
1085
|
-
:type angle_face_threshold: float
|
|
1086
|
-
:param angle_shape_threshold: Undocumented.
|
|
1087
|
-
:type angle_shape_threshold: float
|
|
1088
|
-
:rtype: typing.Dict
|
|
1089
|
-
:return: - ``faces``: joined faces **type** list of (`bmesh.types.BMFace`)
|
|
1090
|
-
'''
|
|
1091
|
-
|
|
1092
|
-
pass
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
def mesh_to_bmesh(bm: 'bmesh.types.BMesh',
|
|
1096
|
-
mesh: 'bpy.types.Mesh',
|
|
1097
|
-
object: 'bpy.types.Object',
|
|
1098
|
-
use_shapekey: bool = False):
|
|
1099
|
-
''' Mesh to BMesh. Load the contents of a mesh into the bmesh. this bmop is private, it's reserved exclusively for entering editmode.
|
|
1100
|
-
|
|
1101
|
-
:param bm: The bmesh to operate on.
|
|
1102
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1103
|
-
:param mesh: pointer to a Mesh structure
|
|
1104
|
-
:type mesh: 'bpy.types.Mesh'
|
|
1105
|
-
:param object: pointer to an Object structure
|
|
1106
|
-
:type object: 'bpy.types.Object'
|
|
1107
|
-
:param use_shapekey: load active shapekey coordinates into verts
|
|
1108
|
-
:type use_shapekey: bool
|
|
1109
|
-
'''
|
|
1110
|
-
|
|
1111
|
-
pass
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
def mirror(bm: 'bmesh.types.BMesh',
|
|
1115
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
1116
|
-
List['bmesh.types.BMEdge'], typing.
|
|
1117
|
-
List['bmesh.types.BMFace']] = [],
|
|
1118
|
-
matrix: typing.
|
|
1119
|
-
Union[typing.Sequence[float],
|
|
1120
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1121
|
-
merge_dist: float = 0,
|
|
1122
|
-
axis: typing.Union[str, int] = 'X',
|
|
1123
|
-
mirror_u: bool = False,
|
|
1124
|
-
mirror_v: bool = False,
|
|
1125
|
-
mirror_udim: bool = False,
|
|
1126
|
-
use_shapekey: bool = False) -> typing.Dict:
|
|
1127
|
-
''' Mirror. Mirrors geometry along an axis. The resulting geometry is welded on using merge_dist. Pairs of original/mirrored vertices are welded using the merge_dist parameter (which defines the minimum distance for welding to happen).
|
|
1128
|
-
|
|
1129
|
-
:param bm: The bmesh to operate on.
|
|
1130
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1131
|
-
:param geom: input geometry
|
|
1132
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
1133
|
-
:param matrix: matrix defining the mirror transformation
|
|
1134
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1135
|
-
:param merge_dist: maximum distance for merging. does no merging if 0.
|
|
1136
|
-
:type merge_dist: float
|
|
1137
|
-
:param axis: the axis to use.
|
|
1138
|
-
:type axis: typing.Union[str, int]
|
|
1139
|
-
:param mirror_u: mirror UVs across the u axis
|
|
1140
|
-
:type mirror_u: bool
|
|
1141
|
-
:param mirror_v: mirror UVs across the v axis
|
|
1142
|
-
:type mirror_v: bool
|
|
1143
|
-
:param mirror_udim: mirror UVs in each tile
|
|
1144
|
-
:type mirror_udim: bool
|
|
1145
|
-
:param use_shapekey: Transform shape keys too.
|
|
1146
|
-
:type use_shapekey: bool
|
|
1147
|
-
:rtype: typing.Dict
|
|
1148
|
-
:return: - ``geom``: output geometry, mirrored **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1149
|
-
'''
|
|
1150
|
-
|
|
1151
|
-
pass
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
def object_load_bmesh(bm: 'bmesh.types.BMesh', scene: 'bpy.types.Scene',
|
|
1155
|
-
object: 'bpy.types.Object'):
|
|
1156
|
-
''' Object Load BMesh. Loads a bmesh into an object/mesh. This is a "private" bmop.
|
|
1157
|
-
|
|
1158
|
-
:param bm: The bmesh to operate on.
|
|
1159
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1160
|
-
:param scene: pointer to an scene structure
|
|
1161
|
-
:type scene: 'bpy.types.Scene'
|
|
1162
|
-
:param object: pointer to an object structure
|
|
1163
|
-
:type object: 'bpy.types.Object'
|
|
1164
|
-
'''
|
|
1165
|
-
|
|
1166
|
-
pass
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
def offset_edgeloops(bm: 'bmesh.types.BMesh',
|
|
1170
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
1171
|
-
use_cap_endpoint: bool = False) -> typing.Dict:
|
|
1172
|
-
''' Edge-loop Offset. Creates edge loops based on simple edge-outset method.
|
|
1173
|
-
|
|
1174
|
-
:param bm: The bmesh to operate on.
|
|
1175
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1176
|
-
:param edges: input edges
|
|
1177
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
1178
|
-
:param use_cap_endpoint: extend loop around end-points
|
|
1179
|
-
:type use_cap_endpoint: bool
|
|
1180
|
-
:rtype: typing.Dict
|
|
1181
|
-
:return: - ``edges``: output edges **type** list of (`bmesh.types.BMEdge`)
|
|
1182
|
-
'''
|
|
1183
|
-
|
|
1184
|
-
pass
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
def planar_faces(bm: 'bmesh.types.BMesh',
|
|
1188
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1189
|
-
iterations: int = 0,
|
|
1190
|
-
factor: float = 0) -> typing.Dict:
|
|
1191
|
-
''' Planar Faces. Iteratively flatten faces.
|
|
1192
|
-
|
|
1193
|
-
:param bm: The bmesh to operate on.
|
|
1194
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1195
|
-
:param faces: input geometry.
|
|
1196
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1197
|
-
:param iterations: Number of times to flatten faces (for when connected faces are used)
|
|
1198
|
-
:type iterations: int
|
|
1199
|
-
:param factor: Influence for making planar each iteration
|
|
1200
|
-
:type factor: float
|
|
1201
|
-
:rtype: typing.Dict
|
|
1202
|
-
:return: - ``geom``: output slot, computed boundary geometry. **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1203
|
-
'''
|
|
1204
|
-
|
|
1205
|
-
pass
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
def pointmerge(
|
|
1209
|
-
bm: 'bmesh.types.BMesh',
|
|
1210
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1211
|
-
merge_co: typing.Union[typing.Sequence[float],
|
|
1212
|
-
'mathutils.Vector'] = 'mathutils.Vector()'):
|
|
1213
|
-
''' Point Merge. Merge verts together at a point.
|
|
1214
|
-
|
|
1215
|
-
:param bm: The bmesh to operate on.
|
|
1216
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1217
|
-
:param verts: input vertices (all verts will be merged into the first).
|
|
1218
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1219
|
-
:param merge_co: Position to merge at.
|
|
1220
|
-
:type merge_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1221
|
-
'''
|
|
1222
|
-
|
|
1223
|
-
pass
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
def pointmerge_facedata(bm: 'bmesh.types.BMesh',
|
|
1227
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1228
|
-
*,
|
|
1229
|
-
vert_snap: 'bmesh.types.BMVert'):
|
|
1230
|
-
''' Face-Data Point Merge. Merge uv/vcols at a specific vertex.
|
|
1231
|
-
|
|
1232
|
-
:param bm: The bmesh to operate on.
|
|
1233
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1234
|
-
:param verts: input vertices
|
|
1235
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1236
|
-
:param vert_snap: snap vertex
|
|
1237
|
-
:type vert_snap: 'bmesh.types.BMVert'
|
|
1238
|
-
'''
|
|
1239
|
-
|
|
1240
|
-
pass
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
def poke(bm: 'bmesh.types.BMesh',
|
|
1244
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1245
|
-
offset: float = 0,
|
|
1246
|
-
center_mode: typing.Union[str, int] = 'MEAN_WEIGHTED',
|
|
1247
|
-
use_relative_offset: bool = False) -> typing.Dict:
|
|
1248
|
-
''' Pokes a face. Splits a face into a triangle fan.
|
|
1249
|
-
|
|
1250
|
-
:param bm: The bmesh to operate on.
|
|
1251
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1252
|
-
:param faces: input faces
|
|
1253
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1254
|
-
:param offset: center vertex offset along normal
|
|
1255
|
-
:type offset: float
|
|
1256
|
-
:param center_mode: calculation mode for center vertex
|
|
1257
|
-
:type center_mode: typing.Union[str, int]
|
|
1258
|
-
:param use_relative_offset: apply offset
|
|
1259
|
-
:type use_relative_offset: bool
|
|
1260
|
-
:rtype: typing.Dict
|
|
1261
|
-
:return: - ``verts``: output verts **type** list of (`bmesh.types.BMVert`) - ``faces``: output faces **type** list of (`bmesh.types.BMFace`)
|
|
1262
|
-
'''
|
|
1263
|
-
|
|
1264
|
-
pass
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
def recalc_face_normals(bm: 'bmesh.types.BMesh',
|
|
1268
|
-
faces: typing.List['bmesh.types.BMFace'] = []):
|
|
1269
|
-
''' Right-Hand Faces. Computes an "outside" normal for the specified input faces.
|
|
1270
|
-
|
|
1271
|
-
:param bm: The bmesh to operate on.
|
|
1272
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1273
|
-
:param faces: input faces
|
|
1274
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1275
|
-
'''
|
|
1276
|
-
|
|
1277
|
-
pass
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
def region_extend(bm: 'bmesh.types.BMesh',
|
|
1281
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
1282
|
-
List['bmesh.types.BMEdge'], typing.
|
|
1283
|
-
List['bmesh.types.BMFace']] = [],
|
|
1284
|
-
use_contract: bool = False,
|
|
1285
|
-
use_faces: bool = False,
|
|
1286
|
-
use_face_step: bool = False) -> typing.Dict:
|
|
1287
|
-
''' Region Extend. used to implement the select more/less tools. this puts some geometry surrounding regions of geometry in geom into geom.out. if use_faces is 0 then geom.out spits out verts and edges, otherwise it spits out faces.
|
|
1288
|
-
|
|
1289
|
-
:param bm: The bmesh to operate on.
|
|
1290
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1291
|
-
:param geom: input geometry
|
|
1292
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
1293
|
-
:param use_contract: find boundary inside the regions, not outside.
|
|
1294
|
-
:type use_contract: bool
|
|
1295
|
-
:param use_faces: extend from faces instead of edges
|
|
1296
|
-
:type use_faces: bool
|
|
1297
|
-
:param use_face_step: step over connected faces
|
|
1298
|
-
:type use_face_step: bool
|
|
1299
|
-
:rtype: typing.Dict
|
|
1300
|
-
:return: - ``geom``: output slot, computed boundary geometry. **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1301
|
-
'''
|
|
1302
|
-
|
|
1303
|
-
pass
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
def remove_doubles(bm: 'bmesh.types.BMesh',
|
|
1307
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1308
|
-
dist: float = 0):
|
|
1309
|
-
''' Remove Doubles. Finds groups of vertices closer than dist and merges them together, using the weld verts bmop.
|
|
1310
|
-
|
|
1311
|
-
:param bm: The bmesh to operate on.
|
|
1312
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1313
|
-
:param verts: input verts
|
|
1314
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1315
|
-
:param dist: minimum distance
|
|
1316
|
-
:type dist: float
|
|
1317
|
-
'''
|
|
1318
|
-
|
|
1319
|
-
pass
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
def reverse_colors(bm: 'bmesh.types.BMesh',
|
|
1323
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1324
|
-
color_index: int = 0):
|
|
1325
|
-
''' Color Reverse Reverse the loop colors.
|
|
1326
|
-
|
|
1327
|
-
:param bm: The bmesh to operate on.
|
|
1328
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1329
|
-
:param faces: input faces
|
|
1330
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1331
|
-
:param color_index: index into color attribute list
|
|
1332
|
-
:type color_index: int
|
|
1333
|
-
'''
|
|
1334
|
-
|
|
1335
|
-
pass
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
def reverse_faces(bm: 'bmesh.types.BMesh',
|
|
1339
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1340
|
-
flip_multires: bool = False):
|
|
1341
|
-
''' Reverse Faces. Reverses the winding (vertex order) of faces. This has the effect of flipping the normal.
|
|
1342
|
-
|
|
1343
|
-
:param bm: The bmesh to operate on.
|
|
1344
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1345
|
-
:param faces: input faces
|
|
1346
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1347
|
-
:param flip_multires: maintain multi-res offset
|
|
1348
|
-
:type flip_multires: bool
|
|
1349
|
-
'''
|
|
1350
|
-
|
|
1351
|
-
pass
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
def reverse_uvs(bm: 'bmesh.types.BMesh',
|
|
1355
|
-
faces: typing.List['bmesh.types.BMFace'] = []):
|
|
1356
|
-
''' UV Reverse. Reverse the UVs
|
|
1357
|
-
|
|
1358
|
-
:param bm: The bmesh to operate on.
|
|
1359
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1360
|
-
:param faces: input faces
|
|
1361
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1362
|
-
'''
|
|
1363
|
-
|
|
1364
|
-
pass
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
def rotate(bm: 'bmesh.types.BMesh',
|
|
1368
|
-
cent: typing.Union[typing.Sequence[float],
|
|
1369
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
1370
|
-
matrix: typing.
|
|
1371
|
-
Union[typing.Sequence[float],
|
|
1372
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1373
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1374
|
-
space: typing.
|
|
1375
|
-
Union[typing.Sequence[float],
|
|
1376
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1377
|
-
use_shapekey: bool = False):
|
|
1378
|
-
''' Rotate. Rotate vertices around a center, using a 3x3 rotation matrix.
|
|
1379
|
-
|
|
1380
|
-
:param bm: The bmesh to operate on.
|
|
1381
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1382
|
-
:param cent: center of rotation
|
|
1383
|
-
:type cent: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1384
|
-
:param matrix: matrix defining rotation
|
|
1385
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1386
|
-
:param verts: input vertices
|
|
1387
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1388
|
-
:param space: matrix to define the space (typically object matrix)
|
|
1389
|
-
:type space: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1390
|
-
:param use_shapekey: Transform shape keys too.
|
|
1391
|
-
:type use_shapekey: bool
|
|
1392
|
-
'''
|
|
1393
|
-
|
|
1394
|
-
pass
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
def rotate_colors(bm: 'bmesh.types.BMesh',
|
|
1398
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1399
|
-
use_ccw: bool = False,
|
|
1400
|
-
color_index: int = 0):
|
|
1401
|
-
''' Color Rotation. Cycle the loop colors
|
|
1402
|
-
|
|
1403
|
-
:param bm: The bmesh to operate on.
|
|
1404
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1405
|
-
:param faces: input faces
|
|
1406
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1407
|
-
:param use_ccw: rotate counter-clockwise if true, otherwise clockwise
|
|
1408
|
-
:type use_ccw: bool
|
|
1409
|
-
:param color_index: index into color attribute list
|
|
1410
|
-
:type color_index: int
|
|
1411
|
-
'''
|
|
1412
|
-
|
|
1413
|
-
pass
|
|
1414
|
-
|
|
1415
|
-
|
|
1416
|
-
def rotate_edges(bm: 'bmesh.types.BMesh',
|
|
1417
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
1418
|
-
use_ccw: bool = False) -> typing.Dict:
|
|
1419
|
-
''' Edge Rotate. Rotates edges topologically. Also known as "spin edge" to some people. Simple example: `[/] becomes [|] then [\]`.
|
|
1420
|
-
|
|
1421
|
-
:param bm: The bmesh to operate on.
|
|
1422
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1423
|
-
:param edges: input edges
|
|
1424
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
1425
|
-
:param use_ccw: rotate edge counter-clockwise if true, otherwise clockwise
|
|
1426
|
-
:type use_ccw: bool
|
|
1427
|
-
:rtype: typing.Dict
|
|
1428
|
-
:return: - ``edges``: newly spun edges **type** list of (`bmesh.types.BMEdge`)
|
|
1429
|
-
'''
|
|
1430
|
-
|
|
1431
|
-
pass
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
def rotate_uvs(bm: 'bmesh.types.BMesh',
|
|
1435
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1436
|
-
use_ccw: bool = False):
|
|
1437
|
-
''' UV Rotation. Cycle the loop UVs
|
|
1438
|
-
|
|
1439
|
-
:param bm: The bmesh to operate on.
|
|
1440
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1441
|
-
:param faces: input faces
|
|
1442
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1443
|
-
:param use_ccw: rotate counter-clockwise if true, otherwise clockwise
|
|
1444
|
-
:type use_ccw: bool
|
|
1445
|
-
'''
|
|
1446
|
-
|
|
1447
|
-
pass
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
def scale(bm: 'bmesh.types.BMesh',
|
|
1451
|
-
vec: typing.Union[typing.Sequence[float],
|
|
1452
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
1453
|
-
space: typing.
|
|
1454
|
-
Union[typing.Sequence[float],
|
|
1455
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1456
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1457
|
-
use_shapekey: bool = False):
|
|
1458
|
-
''' Scale. Scales vertices by an offset.
|
|
1459
|
-
|
|
1460
|
-
:param bm: The bmesh to operate on.
|
|
1461
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1462
|
-
:param vec: scale factor
|
|
1463
|
-
:type vec: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1464
|
-
:param space: matrix to define the space (typically object matrix)
|
|
1465
|
-
:type space: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1466
|
-
:param verts: input vertices
|
|
1467
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1468
|
-
:param use_shapekey: Transform shape keys too.
|
|
1469
|
-
:type use_shapekey: bool
|
|
1470
|
-
'''
|
|
1471
|
-
|
|
1472
|
-
pass
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
def smooth_laplacian_vert(bm: 'bmesh.types.BMesh',
|
|
1476
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1477
|
-
lambda_factor: float = 0,
|
|
1478
|
-
lambda_border: float = 0,
|
|
1479
|
-
use_x: bool = False,
|
|
1480
|
-
use_y: bool = False,
|
|
1481
|
-
use_z: bool = False,
|
|
1482
|
-
preserve_volume: bool = False):
|
|
1483
|
-
''' Vertex Smooth Laplacian. Smooths vertices by using Laplacian smoothing propose by. Desbrun, et al. Implicit Fairing of Irregular Meshes using Diffusion and Curvature Flow.
|
|
1484
|
-
|
|
1485
|
-
:param bm: The bmesh to operate on.
|
|
1486
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1487
|
-
:param verts: input vertices
|
|
1488
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1489
|
-
:param lambda_factor: lambda param
|
|
1490
|
-
:type lambda_factor: float
|
|
1491
|
-
:param lambda_border: lambda param in border
|
|
1492
|
-
:type lambda_border: float
|
|
1493
|
-
:param use_x: Smooth object along X axis
|
|
1494
|
-
:type use_x: bool
|
|
1495
|
-
:param use_y: Smooth object along Y axis
|
|
1496
|
-
:type use_y: bool
|
|
1497
|
-
:param use_z: Smooth object along Z axis
|
|
1498
|
-
:type use_z: bool
|
|
1499
|
-
:param preserve_volume: Apply volume preservation after smooth
|
|
1500
|
-
:type preserve_volume: bool
|
|
1501
|
-
'''
|
|
1502
|
-
|
|
1503
|
-
pass
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
def smooth_vert(bm: 'bmesh.types.BMesh',
|
|
1507
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1508
|
-
factor: float = 0,
|
|
1509
|
-
mirror_clip_x: bool = False,
|
|
1510
|
-
mirror_clip_y: bool = False,
|
|
1511
|
-
mirror_clip_z: bool = False,
|
|
1512
|
-
clip_dist: float = 0,
|
|
1513
|
-
use_axis_x: bool = False,
|
|
1514
|
-
use_axis_y: bool = False,
|
|
1515
|
-
use_axis_z: bool = False):
|
|
1516
|
-
''' Vertex Smooth. Smooths vertices by using a basic vertex averaging scheme.
|
|
1517
|
-
|
|
1518
|
-
:param bm: The bmesh to operate on.
|
|
1519
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1520
|
-
:param verts: input vertices
|
|
1521
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1522
|
-
:param factor: smoothing factor
|
|
1523
|
-
:type factor: float
|
|
1524
|
-
:param mirror_clip_x: set vertices close to the x axis before the operation to 0
|
|
1525
|
-
:type mirror_clip_x: bool
|
|
1526
|
-
:param mirror_clip_y: set vertices close to the y axis before the operation to 0
|
|
1527
|
-
:type mirror_clip_y: bool
|
|
1528
|
-
:param mirror_clip_z: set vertices close to the z axis before the operation to 0
|
|
1529
|
-
:type mirror_clip_z: bool
|
|
1530
|
-
:param clip_dist: clipping threshold for the above three slots
|
|
1531
|
-
:type clip_dist: float
|
|
1532
|
-
:param use_axis_x: smooth vertices along X axis
|
|
1533
|
-
:type use_axis_x: bool
|
|
1534
|
-
:param use_axis_y: smooth vertices along Y axis
|
|
1535
|
-
:type use_axis_y: bool
|
|
1536
|
-
:param use_axis_z: smooth vertices along Z axis
|
|
1537
|
-
:type use_axis_z: bool
|
|
1538
|
-
'''
|
|
1539
|
-
|
|
1540
|
-
pass
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
def solidify(bm: 'bmesh.types.BMesh',
|
|
1544
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
1545
|
-
List['bmesh.types.BMEdge'], typing.
|
|
1546
|
-
List['bmesh.types.BMFace']] = [],
|
|
1547
|
-
thickness: float = 0) -> typing.Dict:
|
|
1548
|
-
''' Solidify. Turns a mesh into a shell with thickness
|
|
1549
|
-
|
|
1550
|
-
:param bm: The bmesh to operate on.
|
|
1551
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1552
|
-
:param geom: input geometry
|
|
1553
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
1554
|
-
:param thickness: thickness
|
|
1555
|
-
:type thickness: float
|
|
1556
|
-
:rtype: typing.Dict
|
|
1557
|
-
:return: - ``geom``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1558
|
-
'''
|
|
1559
|
-
|
|
1560
|
-
pass
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
def spin(bm: 'bmesh.types.BMesh',
|
|
1564
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
1565
|
-
List['bmesh.types.BMEdge'], typing.
|
|
1566
|
-
List['bmesh.types.BMFace']] = [],
|
|
1567
|
-
cent: typing.Union[typing.Sequence[float],
|
|
1568
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
1569
|
-
axis: typing.Union[typing.Sequence[float],
|
|
1570
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
1571
|
-
dvec: typing.Union[typing.Sequence[float],
|
|
1572
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
1573
|
-
angle: float = 0,
|
|
1574
|
-
space: typing.
|
|
1575
|
-
Union[typing.Sequence[float],
|
|
1576
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1577
|
-
steps: int = 0,
|
|
1578
|
-
use_merge: bool = False,
|
|
1579
|
-
use_normal_flip: bool = False,
|
|
1580
|
-
use_duplicate: bool = False) -> typing.Dict:
|
|
1581
|
-
''' Spin. Extrude or duplicate geometry a number of times, rotating and possibly translating after each step
|
|
1582
|
-
|
|
1583
|
-
:param bm: The bmesh to operate on.
|
|
1584
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1585
|
-
:param geom: input geometry
|
|
1586
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
1587
|
-
:param cent: rotation center
|
|
1588
|
-
:type cent: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1589
|
-
:param axis: rotation axis
|
|
1590
|
-
:type axis: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1591
|
-
:param dvec: translation delta per step
|
|
1592
|
-
:type dvec: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1593
|
-
:param angle: total rotation angle (radians)
|
|
1594
|
-
:type angle: float
|
|
1595
|
-
:param space: matrix to define the space (typically object matrix)
|
|
1596
|
-
:type space: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1597
|
-
:param steps: number of steps
|
|
1598
|
-
:type steps: int
|
|
1599
|
-
:param use_merge: Merge first/last when the angle is a full revolution.
|
|
1600
|
-
:type use_merge: bool
|
|
1601
|
-
:param use_normal_flip: Create faces with reversed direction.
|
|
1602
|
-
:type use_normal_flip: bool
|
|
1603
|
-
:param use_duplicate: duplicate or extrude?
|
|
1604
|
-
:type use_duplicate: bool
|
|
1605
|
-
:rtype: typing.Dict
|
|
1606
|
-
:return: - ``geom_last``: result of last step **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1607
|
-
'''
|
|
1608
|
-
|
|
1609
|
-
pass
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
def split(bm: 'bmesh.types.BMesh',
|
|
1613
|
-
geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
1614
|
-
List['bmesh.types.BMEdge'], typing.
|
|
1615
|
-
List['bmesh.types.BMFace']] = [],
|
|
1616
|
-
dest: 'bmesh.types.BMesh' = None,
|
|
1617
|
-
use_only_faces: bool = False) -> typing.Dict:
|
|
1618
|
-
''' Split Off Geometry. Disconnect geometry from adjacent edges and faces, optionally into a destination mesh.
|
|
1619
|
-
|
|
1620
|
-
:param bm: The bmesh to operate on.
|
|
1621
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1622
|
-
:param geom: input geometry
|
|
1623
|
-
:type geom: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
1624
|
-
:param dest: destination bmesh, if None will use current one
|
|
1625
|
-
:type dest: 'bmesh.types.BMesh'
|
|
1626
|
-
:param use_only_faces: when enabled. don't duplicate loose verts/edges
|
|
1627
|
-
:type use_only_faces: bool
|
|
1628
|
-
:rtype: typing.Dict
|
|
1629
|
-
:return: - ``geom``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``boundary_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace` - ``isovert_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
1630
|
-
'''
|
|
1631
|
-
|
|
1632
|
-
pass
|
|
1633
|
-
|
|
1634
|
-
|
|
1635
|
-
def split_edges(bm: 'bmesh.types.BMesh',
|
|
1636
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
1637
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1638
|
-
use_verts: bool = False) -> typing.Dict:
|
|
1639
|
-
''' Edge Split. Disconnects faces along input edges.
|
|
1640
|
-
|
|
1641
|
-
:param bm: The bmesh to operate on.
|
|
1642
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1643
|
-
:param edges: input edges
|
|
1644
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
1645
|
-
:param verts: optional tag verts, use to have greater control of splits
|
|
1646
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1647
|
-
:param use_verts: use 'verts' for splitting, else just find verts to split from edges
|
|
1648
|
-
:type use_verts: bool
|
|
1649
|
-
:rtype: typing.Dict
|
|
1650
|
-
:return: - ``edges``: old output disconnected edges **type** list of (`bmesh.types.BMEdge`)
|
|
1651
|
-
'''
|
|
1652
|
-
|
|
1653
|
-
pass
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
def subdivide_edgering(bm: 'bmesh.types.BMesh',
|
|
1657
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
1658
|
-
interp_mode: typing.Union[str, int] = 'LINEAR',
|
|
1659
|
-
smooth: float = 0,
|
|
1660
|
-
cuts: int = 0,
|
|
1661
|
-
profile_shape: typing.Union[str, int] = 'SMOOTH',
|
|
1662
|
-
profile_shape_factor: float = 0) -> typing.Dict:
|
|
1663
|
-
''' Subdivide Edge-Ring. Take an edge-ring, and subdivide with interpolation options.
|
|
1664
|
-
|
|
1665
|
-
:param bm: The bmesh to operate on.
|
|
1666
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1667
|
-
:param edges: input vertices
|
|
1668
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
1669
|
-
:param interp_mode: interpolation method
|
|
1670
|
-
:type interp_mode: typing.Union[str, int]
|
|
1671
|
-
:param smooth: smoothness factor
|
|
1672
|
-
:type smooth: float
|
|
1673
|
-
:param cuts: number of cuts
|
|
1674
|
-
:type cuts: int
|
|
1675
|
-
:param profile_shape: profile shape type
|
|
1676
|
-
:type profile_shape: typing.Union[str, int]
|
|
1677
|
-
:param profile_shape_factor: how much intermediary new edges are shrunk/expanded
|
|
1678
|
-
:type profile_shape_factor: float
|
|
1679
|
-
:rtype: typing.Dict
|
|
1680
|
-
:return: - ``faces``: output faces **type** list of (`bmesh.types.BMFace`)
|
|
1681
|
-
'''
|
|
1682
|
-
|
|
1683
|
-
pass
|
|
1684
|
-
|
|
1685
|
-
|
|
1686
|
-
def subdivide_edges(bm: 'bmesh.types.BMesh',
|
|
1687
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
1688
|
-
smooth: float = 0,
|
|
1689
|
-
smooth_falloff: typing.Union[str, int] = 'SMOOTH',
|
|
1690
|
-
fractal: float = 0,
|
|
1691
|
-
along_normal: float = 0,
|
|
1692
|
-
cuts: int = 0,
|
|
1693
|
-
seed: int = 0,
|
|
1694
|
-
custom_patterns: typing.Dict = {},
|
|
1695
|
-
edge_percents: typing.Dict = {},
|
|
1696
|
-
quad_corner_type: typing.Union[str, int] = 'STRAIGHT_CUT',
|
|
1697
|
-
use_grid_fill: bool = False,
|
|
1698
|
-
use_single_edge: bool = False,
|
|
1699
|
-
use_only_quads: bool = False,
|
|
1700
|
-
use_sphere: bool = False,
|
|
1701
|
-
use_smooth_even: bool = False) -> typing.Dict:
|
|
1702
|
-
''' Subdivide Edges. Advanced operator for subdividing edges with options for face patterns, smoothing and randomization.
|
|
1703
|
-
|
|
1704
|
-
:param bm: The bmesh to operate on.
|
|
1705
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1706
|
-
:param edges: input edges
|
|
1707
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
1708
|
-
:param smooth: smoothness factor
|
|
1709
|
-
:type smooth: float
|
|
1710
|
-
:param smooth_falloff: smooth falloff type
|
|
1711
|
-
:type smooth_falloff: typing.Union[str, int]
|
|
1712
|
-
:param fractal: fractal randomness factor
|
|
1713
|
-
:type fractal: float
|
|
1714
|
-
:param along_normal: apply fractal displacement along normal only
|
|
1715
|
-
:type along_normal: float
|
|
1716
|
-
:param cuts: number of cuts
|
|
1717
|
-
:type cuts: int
|
|
1718
|
-
:param seed: seed for the random number generator
|
|
1719
|
-
:type seed: int
|
|
1720
|
-
:param custom_patterns: uses custom pointers
|
|
1721
|
-
:type custom_patterns: typing.Dict
|
|
1722
|
-
:param edge_percents: Undocumented.
|
|
1723
|
-
:type edge_percents: typing.Dict
|
|
1724
|
-
:param quad_corner_type: quad corner type
|
|
1725
|
-
:type quad_corner_type: typing.Union[str, int]
|
|
1726
|
-
:param use_grid_fill: fill in fully-selected faces with a grid
|
|
1727
|
-
:type use_grid_fill: bool
|
|
1728
|
-
:param use_single_edge: tessellate the case of one edge selected in a quad or triangle
|
|
1729
|
-
:type use_single_edge: bool
|
|
1730
|
-
:param use_only_quads: Only subdivide quads (for loop-cut).
|
|
1731
|
-
:type use_only_quads: bool
|
|
1732
|
-
:param use_sphere: for making new primitives only
|
|
1733
|
-
:type use_sphere: bool
|
|
1734
|
-
:param use_smooth_even: maintain even offset when smoothing
|
|
1735
|
-
:type use_smooth_even: bool
|
|
1736
|
-
:rtype: typing.Dict
|
|
1737
|
-
:return: - ``geom_inner``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``geom_split``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`) - ``geom``: contains all output geometry **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1738
|
-
'''
|
|
1739
|
-
|
|
1740
|
-
pass
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
def symmetrize(bm: 'bmesh.types.BMesh',
|
|
1744
|
-
input: typing.Union[typing.List['bmesh.types.BMVert'], typing.
|
|
1745
|
-
List['bmesh.types.BMEdge'], typing.
|
|
1746
|
-
List['bmesh.types.BMFace']] = [],
|
|
1747
|
-
direction: typing.Union[str, int] = '-X',
|
|
1748
|
-
dist: float = 0,
|
|
1749
|
-
use_shapekey: bool = False) -> typing.Dict:
|
|
1750
|
-
''' Symmetrize. Makes the mesh elements in the "input" slot symmetrical. Unlike normal mirroring, it only copies in one direction, as specified by the "direction" slot. The edges and faces that cross the plane of symmetry are split as needed to enforce symmetry. All new vertices, edges, and faces are added to the "geom.out" slot.
|
|
1751
|
-
|
|
1752
|
-
:param bm: The bmesh to operate on.
|
|
1753
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1754
|
-
:param input: input geometry
|
|
1755
|
-
:type input: typing.Union[typing.List['bmesh.types.BMVert'], typing.List['bmesh.types.BMEdge'], typing.List['bmesh.types.BMFace']]
|
|
1756
|
-
:param direction: axis to use
|
|
1757
|
-
:type direction: typing.Union[str, int]
|
|
1758
|
-
:param dist: minimum distance
|
|
1759
|
-
:type dist: float
|
|
1760
|
-
:param use_shapekey: Transform shape keys too.
|
|
1761
|
-
:type use_shapekey: bool
|
|
1762
|
-
:rtype: typing.Dict
|
|
1763
|
-
:return: - ``geom``: **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1764
|
-
'''
|
|
1765
|
-
|
|
1766
|
-
pass
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
def transform(bm: 'bmesh.types.BMesh',
|
|
1770
|
-
matrix: typing.
|
|
1771
|
-
Union[typing.Sequence[float],
|
|
1772
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1773
|
-
space: typing.
|
|
1774
|
-
Union[typing.Sequence[float],
|
|
1775
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1776
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1777
|
-
use_shapekey: bool = False):
|
|
1778
|
-
''' Transform. Transforms a set of vertices by a matrix. Multiplies the vertex coordinates with the matrix.
|
|
1779
|
-
|
|
1780
|
-
:param bm: The bmesh to operate on.
|
|
1781
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1782
|
-
:param matrix: transform matrix
|
|
1783
|
-
:type matrix: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1784
|
-
:param space: matrix to define the space (typically object matrix)
|
|
1785
|
-
:type space: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1786
|
-
:param verts: input vertices
|
|
1787
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1788
|
-
:param use_shapekey: Transform shape keys too.
|
|
1789
|
-
:type use_shapekey: bool
|
|
1790
|
-
'''
|
|
1791
|
-
|
|
1792
|
-
pass
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
def translate(bm: 'bmesh.types.BMesh',
|
|
1796
|
-
vec: typing.Union[typing.Sequence[float],
|
|
1797
|
-
'mathutils.Vector'] = 'mathutils.Vector()',
|
|
1798
|
-
space: typing.
|
|
1799
|
-
Union[typing.Sequence[float],
|
|
1800
|
-
'mathutils.Matrix'] = 'mathutils.Matrix.Identity(4)',
|
|
1801
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1802
|
-
use_shapekey: bool = False):
|
|
1803
|
-
''' Translate. Translate vertices by an offset.
|
|
1804
|
-
|
|
1805
|
-
:param bm: The bmesh to operate on.
|
|
1806
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1807
|
-
:param vec: translation offset
|
|
1808
|
-
:type vec: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1809
|
-
:param space: matrix to define the space (typically object matrix)
|
|
1810
|
-
:type space: typing.Union[typing.Sequence[float], 'mathutils.Matrix']
|
|
1811
|
-
:param verts: input vertices
|
|
1812
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1813
|
-
:param use_shapekey: Transform shape keys too.
|
|
1814
|
-
:type use_shapekey: bool
|
|
1815
|
-
'''
|
|
1816
|
-
|
|
1817
|
-
pass
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
def triangle_fill(
|
|
1821
|
-
bm: 'bmesh.types.BMesh',
|
|
1822
|
-
use_beauty: bool = False,
|
|
1823
|
-
use_dissolve: bool = False,
|
|
1824
|
-
edges: typing.List['bmesh.types.BMEdge'] = [],
|
|
1825
|
-
normal: typing.Union[typing.Sequence[float],
|
|
1826
|
-
'mathutils.Vector'] = 'mathutils.Vector()'
|
|
1827
|
-
) -> typing.Dict:
|
|
1828
|
-
''' Triangle Fill. Fill edges with triangles
|
|
1829
|
-
|
|
1830
|
-
:param bm: The bmesh to operate on.
|
|
1831
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1832
|
-
:param use_beauty: use best triangulation division
|
|
1833
|
-
:type use_beauty: bool
|
|
1834
|
-
:param use_dissolve: dissolve resulting faces
|
|
1835
|
-
:type use_dissolve: bool
|
|
1836
|
-
:param edges: input edges
|
|
1837
|
-
:type edges: typing.List['bmesh.types.BMEdge']
|
|
1838
|
-
:param normal: optionally pass the fill normal to use
|
|
1839
|
-
:type normal: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
1840
|
-
:rtype: typing.Dict
|
|
1841
|
-
:return: - ``geom``: new faces and edges **type** list of (`bmesh.types.BMVert`, `bmesh.types.BMEdge`, `bmesh.types.BMFace`)
|
|
1842
|
-
'''
|
|
1843
|
-
|
|
1844
|
-
pass
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
def triangulate(bm: 'bmesh.types.BMesh',
|
|
1848
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1849
|
-
quad_method: typing.Union[str, int] = 'BEAUTY',
|
|
1850
|
-
ngon_method: typing.Union[str, int] = 'BEAUTY') -> typing.Dict:
|
|
1851
|
-
''' Triangulate.
|
|
1852
|
-
|
|
1853
|
-
:param bm: The bmesh to operate on.
|
|
1854
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1855
|
-
:param faces: input faces
|
|
1856
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1857
|
-
:param quad_method: method for splitting the quads into triangles
|
|
1858
|
-
:type quad_method: typing.Union[str, int]
|
|
1859
|
-
:param ngon_method: method for splitting the polygons into triangles
|
|
1860
|
-
:type ngon_method: typing.Union[str, int]
|
|
1861
|
-
:rtype: typing.Dict
|
|
1862
|
-
:return: - ``edges``: **type** list of (`bmesh.types.BMEdge`) - ``faces``: **type** list of (`bmesh.types.BMFace`) - ``face_map``: **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace` - ``face_map_double``: duplicate faces **type** dict mapping vert/edge/face types to `bmesh.types.BMVert`/`bmesh.types.BMEdge`/`bmesh.types.BMFace`
|
|
1863
|
-
'''
|
|
1864
|
-
|
|
1865
|
-
pass
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
def unsubdivide(bm: 'bmesh.types.BMesh',
|
|
1869
|
-
verts: typing.List['bmesh.types.BMVert'] = [],
|
|
1870
|
-
iterations: int = 0):
|
|
1871
|
-
''' Un-Subdivide. Reduce detail in geometry containing grids.
|
|
1872
|
-
|
|
1873
|
-
:param bm: The bmesh to operate on.
|
|
1874
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1875
|
-
:param verts: input vertices
|
|
1876
|
-
:type verts: typing.List['bmesh.types.BMVert']
|
|
1877
|
-
:param iterations: number of times to unsubdivide
|
|
1878
|
-
:type iterations: int
|
|
1879
|
-
'''
|
|
1880
|
-
|
|
1881
|
-
pass
|
|
1882
|
-
|
|
1883
|
-
|
|
1884
|
-
def weld_verts(bm: 'bmesh.types.BMesh', targetmap: typing.Dict = {}):
|
|
1885
|
-
''' Weld Verts. Welds verts together (kind-of like remove doubles, merge, etc, all of which use or will use this bmop). You pass in mappings from vertices to the vertices they weld with.
|
|
1886
|
-
|
|
1887
|
-
:param bm: The bmesh to operate on.
|
|
1888
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1889
|
-
:param targetmap: maps welded vertices to verts they should weld to
|
|
1890
|
-
:type targetmap: typing.Dict
|
|
1891
|
-
'''
|
|
1892
|
-
|
|
1893
|
-
pass
|
|
1894
|
-
|
|
1895
|
-
|
|
1896
|
-
def wireframe(bm: 'bmesh.types.BMesh',
|
|
1897
|
-
faces: typing.List['bmesh.types.BMFace'] = [],
|
|
1898
|
-
thickness: float = 0,
|
|
1899
|
-
offset: float = 0,
|
|
1900
|
-
use_replace: bool = False,
|
|
1901
|
-
use_boundary: bool = False,
|
|
1902
|
-
use_even_offset: bool = False,
|
|
1903
|
-
use_crease: bool = False,
|
|
1904
|
-
crease_weight: float = 0,
|
|
1905
|
-
use_relative_offset: bool = False,
|
|
1906
|
-
material_offset: int = 0) -> typing.Dict:
|
|
1907
|
-
''' Wire Frame. Makes a wire-frame copy of faces.
|
|
1908
|
-
|
|
1909
|
-
:param bm: The bmesh to operate on.
|
|
1910
|
-
:type bm: 'bmesh.types.BMesh'
|
|
1911
|
-
:param faces: input faces
|
|
1912
|
-
:type faces: typing.List['bmesh.types.BMFace']
|
|
1913
|
-
:param thickness: thickness
|
|
1914
|
-
:type thickness: float
|
|
1915
|
-
:param offset: offset the thickness from the center
|
|
1916
|
-
:type offset: float
|
|
1917
|
-
:param use_replace: remove original geometry
|
|
1918
|
-
:type use_replace: bool
|
|
1919
|
-
:param use_boundary: inset face boundaries
|
|
1920
|
-
:type use_boundary: bool
|
|
1921
|
-
:param use_even_offset: scale the offset to give more even thickness
|
|
1922
|
-
:type use_even_offset: bool
|
|
1923
|
-
:param use_crease: crease hub edges for improved subdivision surface
|
|
1924
|
-
:type use_crease: bool
|
|
1925
|
-
:param crease_weight: the mean crease weight for resulting edges
|
|
1926
|
-
:type crease_weight: float
|
|
1927
|
-
:param use_relative_offset: scale the offset by surrounding geometry
|
|
1928
|
-
:type use_relative_offset: bool
|
|
1929
|
-
:param material_offset: offset material index of generated faces
|
|
1930
|
-
:type material_offset: int
|
|
1931
|
-
:rtype: typing.Dict
|
|
1932
|
-
:return: - ``faces``: output faces **type** list of (`bmesh.types.BMFace`)
|
|
1933
|
-
'''
|
|
1934
|
-
|
|
1935
|
-
pass
|