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
mathutils/bvhtree.py
DELETED
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import typing
|
|
3
|
-
import bmesh.types
|
|
4
|
-
import bpy.types
|
|
5
|
-
import mathutils
|
|
6
|
-
|
|
7
|
-
GenericType = typing.TypeVar("GenericType")
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class BVHTree:
|
|
11
|
-
@classmethod
|
|
12
|
-
def FromBMesh(cls, bmesh: 'bmesh.types.BMesh', epsilon: float = 0.0):
|
|
13
|
-
''' BVH tree based on `BMesh` data.
|
|
14
|
-
|
|
15
|
-
:param bmesh: BMesh data.
|
|
16
|
-
:type bmesh: 'bmesh.types.BMesh'
|
|
17
|
-
:param epsilon: Increase the threshold for detecting overlap and raycast hits.
|
|
18
|
-
:type epsilon: float
|
|
19
|
-
'''
|
|
20
|
-
pass
|
|
21
|
-
|
|
22
|
-
@classmethod
|
|
23
|
-
def FromObject(cls,
|
|
24
|
-
object: 'bpy.types.Object',
|
|
25
|
-
depsgraph: 'bpy.types.Depsgraph',
|
|
26
|
-
deform: bool = True,
|
|
27
|
-
render=False,
|
|
28
|
-
cage: bool = False,
|
|
29
|
-
epsilon: float = 0.0):
|
|
30
|
-
''' BVH tree based on `Object` data.
|
|
31
|
-
|
|
32
|
-
:param object: Object data.
|
|
33
|
-
:type object: 'bpy.types.Object'
|
|
34
|
-
:param depsgraph: Depsgraph to use for evaluating the mesh.
|
|
35
|
-
:type depsgraph: 'bpy.types.Depsgraph'
|
|
36
|
-
:param deform: Use mesh with deformations.
|
|
37
|
-
:type deform: bool
|
|
38
|
-
:param cage: Use modifiers cage.
|
|
39
|
-
:type cage: bool
|
|
40
|
-
:param epsilon: Increase the threshold for detecting overlap and raycast hits.
|
|
41
|
-
:type epsilon: float
|
|
42
|
-
'''
|
|
43
|
-
pass
|
|
44
|
-
|
|
45
|
-
@classmethod
|
|
46
|
-
def FromPolygons(cls,
|
|
47
|
-
vertices: typing.List[float],
|
|
48
|
-
polygons: 'bpy.types.Sequence',
|
|
49
|
-
all_triangles: bool = False,
|
|
50
|
-
epsilon: float = 0.0):
|
|
51
|
-
''' BVH tree constructed geometry passed in as arguments.
|
|
52
|
-
|
|
53
|
-
:param vertices: float triplets each representing ``(x, y, z)``
|
|
54
|
-
:type vertices: typing.List[float]
|
|
55
|
-
:param polygons: Sequence of polyugons, each containing indices to the vertices argument.
|
|
56
|
-
:type polygons: 'bpy.types.Sequence'
|
|
57
|
-
:param all_triangles: Use when all **polygons** are triangles for more efficient conversion.
|
|
58
|
-
:type all_triangles: bool
|
|
59
|
-
:param epsilon: Increase the threshold for detecting overlap and raycast hits.
|
|
60
|
-
:type epsilon: float
|
|
61
|
-
'''
|
|
62
|
-
pass
|
|
63
|
-
|
|
64
|
-
def find_nearest(self, origin,
|
|
65
|
-
distance: float = 1.84467e+19) -> typing.Tuple:
|
|
66
|
-
''' Find the nearest element (typically face index) to a point.
|
|
67
|
-
|
|
68
|
-
:param co: Find nearest element to this point.
|
|
69
|
-
:type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
70
|
-
:param distance: Maximum distance threshold.
|
|
71
|
-
:type distance: float
|
|
72
|
-
:rtype: typing.Tuple
|
|
73
|
-
:return: Returns a tuple (`Vector` location, `Vector` normal, int index, float distance), Values will all be None if no hit is found.
|
|
74
|
-
'''
|
|
75
|
-
pass
|
|
76
|
-
|
|
77
|
-
def find_nearest_range(self, origin,
|
|
78
|
-
distance: float = 1.84467e+19) -> typing.List:
|
|
79
|
-
''' Find the nearest elements (typically face index) to a point in the distance range.
|
|
80
|
-
|
|
81
|
-
:param co: Find nearest elements to this point.
|
|
82
|
-
:type co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
83
|
-
:param distance: Maximum distance threshold.
|
|
84
|
-
:type distance: float
|
|
85
|
-
:rtype: typing.List
|
|
86
|
-
:return: Returns a list of tuples (`Vector` location, `Vector` normal, int index, float distance),
|
|
87
|
-
'''
|
|
88
|
-
pass
|
|
89
|
-
|
|
90
|
-
def overlap(self, other_tree: 'BVHTree') -> typing.List:
|
|
91
|
-
''' Find overlapping indices between 2 trees.
|
|
92
|
-
|
|
93
|
-
:param other_tree: Other tree to perform overlap test on.
|
|
94
|
-
:type other_tree: 'BVHTree'
|
|
95
|
-
:rtype: typing.List
|
|
96
|
-
:return: Returns a list of unique index pairs, the first index referencing this tree, the second referencing the **other_tree**.
|
|
97
|
-
'''
|
|
98
|
-
pass
|
|
99
|
-
|
|
100
|
-
def ray_cast(
|
|
101
|
-
self,
|
|
102
|
-
origin: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
103
|
-
direction: typing.Union[typing.
|
|
104
|
-
Sequence[float], 'mathutils.Vector'],
|
|
105
|
-
distance: float = 'sys.float_info.max') -> typing.Tuple:
|
|
106
|
-
''' Cast a ray onto the mesh.
|
|
107
|
-
|
|
108
|
-
:param origin: Start location of the ray in object space.
|
|
109
|
-
:type origin: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
110
|
-
:param direction: Direction of the ray in object space.
|
|
111
|
-
:type direction: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
112
|
-
:param distance: Maximum distance threshold.
|
|
113
|
-
:type distance: float
|
|
114
|
-
:rtype: typing.Tuple
|
|
115
|
-
:return: Returns a tuple (`Vector` location, `Vector` normal, int index, float distance), Values will all be None if no hit is found.
|
|
116
|
-
'''
|
|
117
|
-
pass
|
|
118
|
-
|
|
119
|
-
def __init__(self, size) -> typing.Any:
|
|
120
|
-
'''
|
|
121
|
-
|
|
122
|
-
:rtype: typing.Any
|
|
123
|
-
'''
|
|
124
|
-
pass
|
mathutils/geometry.py
DELETED
|
@@ -1,526 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import typing
|
|
3
|
-
import mathutils
|
|
4
|
-
|
|
5
|
-
GenericType = typing.TypeVar("GenericType")
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
def area_tri(
|
|
9
|
-
v1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
10
|
-
v2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
11
|
-
v3: typing.Union[typing.Sequence[float], 'mathutils.Vector']) -> float:
|
|
12
|
-
''' Returns the area size of the 2D or 3D triangle defined.
|
|
13
|
-
|
|
14
|
-
:param v1: Point1
|
|
15
|
-
:type v1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
16
|
-
:param v2: Point2
|
|
17
|
-
:type v2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
18
|
-
:param v3: Point3
|
|
19
|
-
:type v3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
20
|
-
:rtype: float
|
|
21
|
-
'''
|
|
22
|
-
|
|
23
|
-
pass
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
def barycentric_transform(
|
|
27
|
-
point: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
28
|
-
tri_a1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
29
|
-
tri_a2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
30
|
-
tri_a3: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
31
|
-
tri_b1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
32
|
-
tri_b2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
33
|
-
tri_b3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
34
|
-
) -> typing.Any:
|
|
35
|
-
''' Return a transformed point, the transformation is defined by 2 triangles.
|
|
36
|
-
|
|
37
|
-
:param point: The point to transform.
|
|
38
|
-
:type point: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
39
|
-
:param tri_a1: source triangle vertex.
|
|
40
|
-
:type tri_a1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
41
|
-
:param tri_a2: source triangle vertex.
|
|
42
|
-
:type tri_a2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
43
|
-
:param tri_a3: source triangle vertex.
|
|
44
|
-
:type tri_a3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
45
|
-
:param tri_b1: target triangle vertex.
|
|
46
|
-
:type tri_b1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
47
|
-
:param tri_b2: target triangle vertex.
|
|
48
|
-
:type tri_b2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
49
|
-
:param tri_b3: target triangle vertex.
|
|
50
|
-
:type tri_b3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
51
|
-
:rtype: typing.Any
|
|
52
|
-
:return: The transformed point
|
|
53
|
-
'''
|
|
54
|
-
|
|
55
|
-
pass
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
def box_fit_2d(points: typing.List) -> float:
|
|
59
|
-
''' Returns an angle that best fits the points to an axis aligned rectangle
|
|
60
|
-
|
|
61
|
-
:param points: list of 2d points.
|
|
62
|
-
:type points: typing.List
|
|
63
|
-
:rtype: float
|
|
64
|
-
:return: angle
|
|
65
|
-
'''
|
|
66
|
-
|
|
67
|
-
pass
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
def box_pack_2d(boxes: typing.List) -> typing.Tuple:
|
|
71
|
-
''' Returns a tuple with the width and height of the packed bounding box.
|
|
72
|
-
|
|
73
|
-
:param boxes: list of boxes, each box is a list where the first 4 items are [x, y, width, height, ...] other items are ignored.
|
|
74
|
-
:type boxes: typing.List
|
|
75
|
-
:rtype: typing.Tuple
|
|
76
|
-
:return: the width and height of the packed bounding box
|
|
77
|
-
'''
|
|
78
|
-
|
|
79
|
-
pass
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
def closest_point_on_tri(
|
|
83
|
-
pt: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
84
|
-
tri_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
85
|
-
tri_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
86
|
-
tri_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
87
|
-
) -> 'mathutils.Vector':
|
|
88
|
-
''' Takes 4 vectors: one is the point and the next 3 define the triangle.
|
|
89
|
-
|
|
90
|
-
:param pt: Point
|
|
91
|
-
:type pt: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
92
|
-
:param tri_p1: First point of the triangle
|
|
93
|
-
:type tri_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
94
|
-
:param tri_p2: Second point of the triangle
|
|
95
|
-
:type tri_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
96
|
-
:param tri_p3: Third point of the triangle
|
|
97
|
-
:type tri_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
98
|
-
:rtype: 'mathutils.Vector'
|
|
99
|
-
:return: The closest point of the triangle.
|
|
100
|
-
'''
|
|
101
|
-
|
|
102
|
-
pass
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
def convex_hull_2d(points: typing.List) -> typing.List[int]:
|
|
106
|
-
''' Returns a list of indices into the list given
|
|
107
|
-
|
|
108
|
-
:param points: list of 2d points.
|
|
109
|
-
:type points: typing.List
|
|
110
|
-
:rtype: typing.List[int]
|
|
111
|
-
:return: a list of indices
|
|
112
|
-
'''
|
|
113
|
-
|
|
114
|
-
pass
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
def delaunay_2d_cdt(
|
|
118
|
-
vert_coords: typing.List['mathutils.Vector'],
|
|
119
|
-
edges: typing.List[int],
|
|
120
|
-
faces: typing.List[int],
|
|
121
|
-
output_type: typing.Any,
|
|
122
|
-
epsilon: float,
|
|
123
|
-
need_ids: typing.Any = True
|
|
124
|
-
) -> typing.Union[typing.List[int], typing.List['mathutils.Vector']]:
|
|
125
|
-
''' Computes the Constrained Delaunay Triangulation of a set of vertices, with edges and faces that must appear in the triangulation. Some triangles may be eaten away, or combined with other triangles, according to output type. The returned verts may be in a different order from input verts, may be moved slightly, and may be merged with other nearby verts. The three returned orig lists give, for each of verts, edges, and faces, the list of input element indices corresponding to the positionally same output element. For edges, the orig indices start with the input edges and then continue with the edges implied by each of the faces (n of them for an n-gon). If the need_ids argument is supplied, and False, then the code skips the preparation of the orig arrays, which may save some time.
|
|
126
|
-
|
|
127
|
-
:param vert_coords: Vertex coordinates (2d)
|
|
128
|
-
:type vert_coords: typing.List['mathutils.Vector']
|
|
129
|
-
:param edges: Edges, as pairs of indices in `vert_coords`
|
|
130
|
-
:type edges: typing.List[int]
|
|
131
|
-
:param faces: Faces, each sublist is a face, as indices in `vert_coords` (CCW oriented)
|
|
132
|
-
:type faces: typing.List[int]
|
|
133
|
-
:param output_type: What output looks like. 0 => triangles with convex hull. 1 => triangles inside constraints. 2 => the input constraints, intersected. 3 => like 2 but detect holes and omit them from output. 4 => like 2 but with extra edges to make valid BMesh faces. 5 => like 4 but detect holes and omit them from output.
|
|
134
|
-
:type output_type: typing.Any
|
|
135
|
-
:type epsilon: float
|
|
136
|
-
:type need_args: bool
|
|
137
|
-
:param need_ids: are the orig output arrays needed?
|
|
138
|
-
:type need_ids: typing.Any
|
|
139
|
-
:rtype: typing.Union[typing.List[int], typing.List['mathutils.Vector']]
|
|
140
|
-
:return: Output tuple, (vert_coords, edges, faces, orig_verts, orig_edges, orig_faces)
|
|
141
|
-
'''
|
|
142
|
-
|
|
143
|
-
pass
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
def distance_point_to_plane(
|
|
147
|
-
pt: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
148
|
-
plane_co: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
149
|
-
plane_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
150
|
-
) -> float:
|
|
151
|
-
''' Returns the signed distance between a point and a plane (negative when below the normal).
|
|
152
|
-
|
|
153
|
-
:param pt: Point
|
|
154
|
-
:type pt: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
155
|
-
:param plane_co: A point on the plane
|
|
156
|
-
:type plane_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
157
|
-
:param plane_no: The direction the plane is facing
|
|
158
|
-
:type plane_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
159
|
-
:rtype: float
|
|
160
|
-
'''
|
|
161
|
-
|
|
162
|
-
pass
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
def interpolate_bezier(
|
|
166
|
-
knot1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
167
|
-
handle1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
168
|
-
handle2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
169
|
-
knot2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
170
|
-
resolution: int) -> typing.List:
|
|
171
|
-
''' Interpolate a bezier spline segment.
|
|
172
|
-
|
|
173
|
-
:param knot1: First bezier spline point.
|
|
174
|
-
:type knot1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
175
|
-
:param handle1: First bezier spline handle.
|
|
176
|
-
:type handle1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
177
|
-
:param handle2: Second bezier spline handle.
|
|
178
|
-
:type handle2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
179
|
-
:param knot2: Second bezier spline point.
|
|
180
|
-
:type knot2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
181
|
-
:param resolution: Number of points to return.
|
|
182
|
-
:type resolution: int
|
|
183
|
-
:rtype: typing.List
|
|
184
|
-
:return: The interpolated points
|
|
185
|
-
'''
|
|
186
|
-
|
|
187
|
-
pass
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
def intersect_line_line(
|
|
191
|
-
v1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
192
|
-
v2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
193
|
-
v3: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
194
|
-
v4: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
195
|
-
) -> typing.Tuple['mathutils.Vector']:
|
|
196
|
-
''' Returns a tuple with the points on each line respectively closest to the other.
|
|
197
|
-
|
|
198
|
-
:param v1: First point of the first line
|
|
199
|
-
:type v1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
200
|
-
:param v2: Second point of the first line
|
|
201
|
-
:type v2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
202
|
-
:param v3: First point of the second line
|
|
203
|
-
:type v3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
204
|
-
:param v4: Second point of the second line
|
|
205
|
-
:type v4: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
206
|
-
:rtype: typing.Tuple['mathutils.Vector']
|
|
207
|
-
'''
|
|
208
|
-
|
|
209
|
-
pass
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
def intersect_line_line_2d(
|
|
213
|
-
lineA_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
214
|
-
lineA_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
215
|
-
lineB_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
216
|
-
lineB_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
217
|
-
) -> 'mathutils.Vector':
|
|
218
|
-
''' Takes 2 segments (defined by 4 vectors) and returns a vector for their point of intersection or None.
|
|
219
|
-
|
|
220
|
-
:param lineA_p1: First point of the first line
|
|
221
|
-
:type lineA_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
222
|
-
:param lineA_p2: Second point of the first line
|
|
223
|
-
:type lineA_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
224
|
-
:param lineB_p1: First point of the second line
|
|
225
|
-
:type lineB_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
226
|
-
:param lineB_p2: Second point of the second line
|
|
227
|
-
:type lineB_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
228
|
-
:rtype: 'mathutils.Vector'
|
|
229
|
-
:return: The point of intersection or None when not found
|
|
230
|
-
'''
|
|
231
|
-
|
|
232
|
-
pass
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
def intersect_line_plane(
|
|
236
|
-
line_a: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
237
|
-
line_b: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
238
|
-
plane_co: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
239
|
-
plane_no: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
240
|
-
no_flip=False) -> 'mathutils.Vector':
|
|
241
|
-
''' Calculate the intersection between a line (as 2 vectors) and a plane. Returns a vector for the intersection or None.
|
|
242
|
-
|
|
243
|
-
:param line_a: First point of the first line
|
|
244
|
-
:type line_a: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
245
|
-
:param line_b: Second point of the first line
|
|
246
|
-
:type line_b: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
247
|
-
:param plane_co: A point on the plane
|
|
248
|
-
:type plane_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
249
|
-
:param plane_no: The direction the plane is facing
|
|
250
|
-
:type plane_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
251
|
-
:rtype: 'mathutils.Vector'
|
|
252
|
-
:return: The point of intersection or None when not found
|
|
253
|
-
'''
|
|
254
|
-
|
|
255
|
-
pass
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
def intersect_line_sphere(
|
|
259
|
-
line_a: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
260
|
-
line_b: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
261
|
-
sphere_co: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
262
|
-
sphere_radius: typing.Any,
|
|
263
|
-
clip=True) -> typing.Tuple:
|
|
264
|
-
''' Takes a line (as 2 points) and a sphere (as a point and a radius) and returns the intersection
|
|
265
|
-
|
|
266
|
-
:param line_a: First point of the line
|
|
267
|
-
:type line_a: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
268
|
-
:param line_b: Second point of the line
|
|
269
|
-
:type line_b: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
270
|
-
:param sphere_co: The center of the sphere
|
|
271
|
-
:type sphere_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
272
|
-
:param sphere_radius: Radius of the sphere
|
|
273
|
-
:type sphere_radius: typing.Any
|
|
274
|
-
:rtype: typing.Tuple
|
|
275
|
-
:return: The intersection points as a pair of vectors or None when there is no intersection
|
|
276
|
-
'''
|
|
277
|
-
|
|
278
|
-
pass
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
def intersect_line_sphere_2d(
|
|
282
|
-
line_a: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
283
|
-
line_b: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
284
|
-
sphere_co: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
285
|
-
sphere_radius: typing.Any,
|
|
286
|
-
clip=True) -> typing.Tuple:
|
|
287
|
-
''' Takes a line (as 2 points) and a sphere (as a point and a radius) and returns the intersection
|
|
288
|
-
|
|
289
|
-
:param line_a: First point of the line
|
|
290
|
-
:type line_a: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
291
|
-
:param line_b: Second point of the line
|
|
292
|
-
:type line_b: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
293
|
-
:param sphere_co: The center of the sphere
|
|
294
|
-
:type sphere_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
295
|
-
:param sphere_radius: Radius of the sphere
|
|
296
|
-
:type sphere_radius: typing.Any
|
|
297
|
-
:rtype: typing.Tuple
|
|
298
|
-
:return: The intersection points as a pair of vectors or None when there is no intersection
|
|
299
|
-
'''
|
|
300
|
-
|
|
301
|
-
pass
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
def intersect_plane_plane(
|
|
305
|
-
plane_a_co: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
306
|
-
plane_a_no: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
307
|
-
plane_b_co: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
308
|
-
plane_b_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
309
|
-
) -> typing.Tuple:
|
|
310
|
-
''' Return the intersection between two planes
|
|
311
|
-
|
|
312
|
-
:param plane_a_co: Point on the first plane
|
|
313
|
-
:type plane_a_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
314
|
-
:param plane_a_no: Normal of the first plane
|
|
315
|
-
:type plane_a_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
316
|
-
:param plane_b_co: Point on the second plane
|
|
317
|
-
:type plane_b_co: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
318
|
-
:param plane_b_no: Normal of the second plane
|
|
319
|
-
:type plane_b_no: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
320
|
-
:rtype: typing.Tuple
|
|
321
|
-
:return: The line of the intersection represented as a point and a vector
|
|
322
|
-
'''
|
|
323
|
-
|
|
324
|
-
pass
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
def intersect_point_line(
|
|
328
|
-
pt: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
329
|
-
line_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
330
|
-
line_p2) -> typing.Union[float, 'mathutils.Vector']:
|
|
331
|
-
''' Takes a point and a line and returns a tuple with the closest point on the line and its distance from the first point of the line as a percentage of the length of the line.
|
|
332
|
-
|
|
333
|
-
:param pt: Point
|
|
334
|
-
:type pt: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
335
|
-
:param line_p1: First point of the line Second point of the line
|
|
336
|
-
:type line_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
337
|
-
:param line_p1: First point of the line Second point of the line
|
|
338
|
-
:type line_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
339
|
-
:rtype: typing.Union[float, 'mathutils.Vector']
|
|
340
|
-
'''
|
|
341
|
-
|
|
342
|
-
pass
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
def intersect_point_quad_2d(
|
|
346
|
-
pt: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
347
|
-
quad_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
348
|
-
quad_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
349
|
-
quad_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
350
|
-
quad_p4: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
351
|
-
) -> int:
|
|
352
|
-
''' Takes 5 vectors (using only the x and y coordinates): one is the point and the next 4 define the quad, only the x and y are used from the vectors. Returns 1 if the point is within the quad, otherwise 0. Works only with convex quads without singular edges.
|
|
353
|
-
|
|
354
|
-
:param pt: Point
|
|
355
|
-
:type pt: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
356
|
-
:param quad_p1: First point of the quad
|
|
357
|
-
:type quad_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
358
|
-
:param quad_p2: Second point of the quad
|
|
359
|
-
:type quad_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
360
|
-
:param quad_p3: Third point of the quad
|
|
361
|
-
:type quad_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
362
|
-
:param quad_p4: Fourth point of the quad
|
|
363
|
-
:type quad_p4: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
364
|
-
:rtype: int
|
|
365
|
-
'''
|
|
366
|
-
|
|
367
|
-
pass
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
def intersect_point_tri(
|
|
371
|
-
pt: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
372
|
-
tri_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
373
|
-
tri_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
374
|
-
tri_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
375
|
-
) -> 'mathutils.Vector':
|
|
376
|
-
''' Takes 4 vectors: one is the point and the next 3 define the triangle. Projects the point onto the triangle plane and checks if it is within the triangle.
|
|
377
|
-
|
|
378
|
-
:param pt: Point
|
|
379
|
-
:type pt: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
380
|
-
:param tri_p1: First point of the triangle
|
|
381
|
-
:type tri_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
382
|
-
:param tri_p2: Second point of the triangle
|
|
383
|
-
:type tri_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
384
|
-
:param tri_p3: Third point of the triangle
|
|
385
|
-
:type tri_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
386
|
-
:rtype: 'mathutils.Vector'
|
|
387
|
-
:return: Point on the triangles plane or None if its outside the triangle
|
|
388
|
-
'''
|
|
389
|
-
|
|
390
|
-
pass
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
def intersect_point_tri_2d(
|
|
394
|
-
pt: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
395
|
-
tri_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
396
|
-
tri_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
397
|
-
tri_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
398
|
-
) -> int:
|
|
399
|
-
''' Takes 4 vectors (using only the x and y coordinates): one is the point and the next 3 define the triangle. Returns 1 if the point is within the triangle, otherwise 0.
|
|
400
|
-
|
|
401
|
-
:param pt: Point
|
|
402
|
-
:type pt: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
403
|
-
:param tri_p1: First point of the triangle
|
|
404
|
-
:type tri_p1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
405
|
-
:param tri_p2: Second point of the triangle
|
|
406
|
-
:type tri_p2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
407
|
-
:param tri_p3: Third point of the triangle
|
|
408
|
-
:type tri_p3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
409
|
-
:rtype: int
|
|
410
|
-
'''
|
|
411
|
-
|
|
412
|
-
pass
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
def intersect_ray_tri(
|
|
416
|
-
v1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
417
|
-
v2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
418
|
-
v3: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
419
|
-
ray: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
420
|
-
orig: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
421
|
-
clip: bool = True) -> 'mathutils.Vector':
|
|
422
|
-
''' Returns the intersection between a ray and a triangle, if possible, returns None otherwise.
|
|
423
|
-
|
|
424
|
-
:param v1: Point1
|
|
425
|
-
:type v1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
426
|
-
:param v2: Point2
|
|
427
|
-
:type v2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
428
|
-
:param v3: Point3
|
|
429
|
-
:type v3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
430
|
-
:param ray: Direction of the projection
|
|
431
|
-
:type ray: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
432
|
-
:param orig: Origin
|
|
433
|
-
:type orig: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
434
|
-
:param clip: When False, don't restrict the intersection to the area of the triangle, use the infinite plane defined by the triangle.
|
|
435
|
-
:type clip: bool
|
|
436
|
-
:rtype: 'mathutils.Vector'
|
|
437
|
-
:return: The point of intersection or None if no intersection is found
|
|
438
|
-
'''
|
|
439
|
-
|
|
440
|
-
pass
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
def intersect_sphere_sphere_2d(
|
|
444
|
-
p_a: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
445
|
-
radius_a: float,
|
|
446
|
-
p_b: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
447
|
-
radius_b: float) -> typing.Tuple['mathutils.Vector']:
|
|
448
|
-
''' Returns 2 points on between intersecting circles.
|
|
449
|
-
|
|
450
|
-
:param p_a: Center of the first circle
|
|
451
|
-
:type p_a: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
452
|
-
:param radius_a: Radius of the first circle
|
|
453
|
-
:type radius_a: float
|
|
454
|
-
:param p_b: Center of the second circle
|
|
455
|
-
:type p_b: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
456
|
-
:param radius_b: Radius of the second circle
|
|
457
|
-
:type radius_b: float
|
|
458
|
-
:rtype: typing.Tuple['mathutils.Vector']
|
|
459
|
-
'''
|
|
460
|
-
|
|
461
|
-
pass
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
def intersect_tri_tri_2d(tri_a1, tri_a2, tri_a3, tri_b1, tri_b2,
|
|
465
|
-
tri_b3) -> bool:
|
|
466
|
-
''' Check if two 2D triangles intersect.
|
|
467
|
-
|
|
468
|
-
:rtype: bool
|
|
469
|
-
'''
|
|
470
|
-
|
|
471
|
-
pass
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
def normal(vectors: typing.List) -> 'mathutils.Vector':
|
|
475
|
-
''' Returns the normal of a 3D polygon.
|
|
476
|
-
|
|
477
|
-
:param vectors: Vectors to calculate normals with
|
|
478
|
-
:type vectors: typing.List
|
|
479
|
-
:rtype: 'mathutils.Vector'
|
|
480
|
-
'''
|
|
481
|
-
|
|
482
|
-
pass
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
def points_in_planes(planes: typing.List['mathutils.Vector']) -> typing.Any:
|
|
486
|
-
''' Returns a list of points inside all planes given and a list of index values for the planes used.
|
|
487
|
-
|
|
488
|
-
:param planes: List of planes (4D vectors).
|
|
489
|
-
:type planes: typing.List['mathutils.Vector']
|
|
490
|
-
:rtype: typing.Any
|
|
491
|
-
:return: two lists, once containing the vertices inside the planes, another containing the plane indices used
|
|
492
|
-
'''
|
|
493
|
-
|
|
494
|
-
pass
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
def tessellate_polygon(veclist_list: typing.Any) -> typing.List:
|
|
498
|
-
''' Takes a list of polylines (each point a pair or triplet of numbers) and returns the point indices for a polyline filled with triangles. Does not handle degenerate geometry (such as zero-length lines due to consecutive identical points).
|
|
499
|
-
|
|
500
|
-
:param veclist_list: list of polylines
|
|
501
|
-
:type veclist_list: typing.Any
|
|
502
|
-
:rtype: typing.List
|
|
503
|
-
'''
|
|
504
|
-
|
|
505
|
-
pass
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
def volume_tetrahedron(
|
|
509
|
-
v1: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
510
|
-
v2: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
511
|
-
v3: typing.Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
512
|
-
v4: typing.Union[typing.Sequence[float], 'mathutils.Vector']) -> float:
|
|
513
|
-
''' Return the volume formed by a tetrahedron (points can be in any order).
|
|
514
|
-
|
|
515
|
-
:param v1: Point1
|
|
516
|
-
:type v1: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
517
|
-
:param v2: Point2
|
|
518
|
-
:type v2: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
519
|
-
:param v3: Point3
|
|
520
|
-
:type v3: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
521
|
-
:param v4: Point4
|
|
522
|
-
:type v4: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
523
|
-
:rtype: float
|
|
524
|
-
'''
|
|
525
|
-
|
|
526
|
-
pass
|
mathutils/interpolate.py
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import typing
|
|
3
|
-
|
|
4
|
-
GenericType = typing.TypeVar("GenericType")
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
def poly_3d_calc(veclist: typing.Any, pt: typing.Any):
|
|
8
|
-
''' Calculate barycentric weights for a point on a polygon.
|
|
9
|
-
|
|
10
|
-
:param veclist: list of vectors
|
|
11
|
-
:type veclist: typing.Any
|
|
12
|
-
:param pt: list of per-vector weights
|
|
13
|
-
:type pt: typing.Any
|
|
14
|
-
'''
|
|
15
|
-
|
|
16
|
-
pass
|