fake-bge-module 20250317__py3-none-any.whl → 20260201__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.
- {animsys_refactor → _animsys_refactor}/__init__.pyi +7 -6
- {bl_console_utils → _bl_console_utils}/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/__init__.pyi +1 -0
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_calltip/__init__.pyi +1 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_import/__init__.pyi +1 -5
- {bl_console_utils → _bl_console_utils}/autocomplete/complete_namespace/__init__.pyi +3 -13
- {bl_console_utils → _bl_console_utils}/autocomplete/intellisense/__init__.pyi +1 -10
- {bl_i18n_utils → _bl_i18n_utils}/__init__.pyi +2 -0
- _bl_i18n_utils/bl_extract_messages/__init__.pyi +28 -0
- {bl_i18n_utils → _bl_i18n_utils}/merge_po/__init__.pyi +2 -1
- {bl_i18n_utils → _bl_i18n_utils}/settings/__init__.pyi +10 -7
- {bl_i18n_utils → _bl_i18n_utils}/utils/__init__.pyi +53 -50
- _bl_i18n_utils/utils_cli/__init__.pyi +11 -0
- _bl_i18n_utils/utils_languages_menu/__init__.pyi +6 -0
- {bl_i18n_utils → _bl_i18n_utils}/utils_rtl/__init__.pyi +3 -2
- _bl_i18n_utils/utils_spell_check/__init__.pyi +22 -0
- {bl_previews_utils → _bl_previews_utils}/__init__.pyi +1 -0
- _bl_previews_utils/bl_previews_render/__init__.pyi +14 -0
- {bl_rna_utils → _bl_rna_utils}/__init__.pyi +1 -0
- {bl_rna_utils → _bl_rna_utils}/data_path/__init__.pyi +3 -2
- {bl_text_utils → _bl_text_utils}/__init__.pyi +1 -0
- _bl_text_utils/external_editor/__init__.pyi +6 -0
- {bl_ui_utils → _bl_ui_utils}/__init__.pyi +1 -0
- {bl_ui_utils → _bl_ui_utils}/layout/__init__.pyi +2 -1
- _blendfile_header/__init__.pyi +48 -0
- _bpy_internal/__init__.pyi +5 -1
- _bpy_internal/addons/__init__.pyi +1 -0
- _bpy_internal/addons/cli/__init__.pyi +2 -1
- _bpy_internal/assets/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/__init__.pyi +5 -0
- _bpy_internal/assets/remote_library_listing/blender_asset_library_openapi/__init__.pyi +13 -0
- _bpy_internal/disk_file_hash_service/__init__.pyi +19 -0
- _bpy_internal/disk_file_hash_service/backend_sqlite/__init__.pyi +48 -0
- _bpy_internal/disk_file_hash_service/hash_service/__init__.pyi +64 -0
- _bpy_internal/disk_file_hash_service/types/__init__.pyi +53 -0
- _bpy_internal/extensions/__init__.pyi +1 -0
- _bpy_internal/extensions/junction_module/__init__.pyi +8 -7
- _bpy_internal/extensions/stale_file_manager/__init__.pyi +9 -8
- _bpy_internal/extensions/wheel_manager/__init__.pyi +6 -5
- {bl_i18n_utils/utils_languages_menu → _bpy_internal/filesystem}/__init__.pyi +2 -2
- _bpy_internal/filesystem/locking/__init__.pyi +28 -0
- _bpy_internal/grease_pencil/__init__.pyi +1 -0
- _bpy_internal/grease_pencil/stroke/__init__.pyi +22 -6
- _bpy_internal/platform/__init__.pyi +5 -0
- _bpy_internal/platform/freedesktop/__init__.pyi +21 -0
- _bpy_internal/system_info/__init__.pyi +1 -0
- _bpy_internal/system_info/text_generate_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_runtime/__init__.pyi +2 -1
- _bpy_internal/system_info/url_prefill_startup/__init__.pyi +3 -2
- {bpy_restrict_state → _bpy_restrict_state}/__init__.pyi +1 -0
- _bpy_types/__init__.pyi +1635 -0
- {console_python → _console_python}/__init__.pyi +8 -7
- _console_shell/__init__.pyi +10 -0
- {graphviz_export → _graphviz_export}/__init__.pyi +3 -2
- _keyingsets_utils/__init__.pyi +21 -0
- {rna_info → _rna_info}/__init__.pyi +32 -27
- {rna_xml → _rna_xml}/__init__.pyi +7 -6
- addon_utils/__init__.pyi +13 -25
- aud/__init__.pyi +133 -155
- bge/__init__.pyi +1 -0
- bge/app/__init__.pyi +1 -0
- bge/constraints/__init__.pyi +22 -51
- bge/types/__init__.pyi +618 -1913
- bge_extras/__init__.pyi +1 -0
- bge_extras/logger/__init__.pyi +4 -3
- bgui/__init__.pyi +1 -0
- bgui/frame/__init__.pyi +1 -0
- bgui/frame_button/__init__.pyi +1 -0
- bgui/image/__init__.pyi +1 -1
- bgui/image_button/__init__.pyi +1 -0
- bgui/label/__init__.pyi +1 -0
- bgui/list_box/__init__.pyi +1 -1
- bgui/progress_bar/__init__.pyi +2 -1
- bgui/system/__init__.pyi +3 -5
- bgui/text_block/__init__.pyi +1 -0
- bgui/text_input/__init__.pyi +9 -8
- bgui/theme/__init__.pyi +4 -3
- bgui/widget/__init__.pyi +5 -4
- bl_app_override/__init__.pyi +4 -3
- bl_app_override/helpers/__init__.pyi +3 -2
- bl_app_template_utils/__init__.pyi +5 -4
- bl_app_templates_system/Game_Engine/__init__.pyi +5 -4
- bl_app_templates_system/Storyboarding/__init__.pyi +11 -0
- bl_app_templates_system/__init__.pyi +2 -0
- bl_keymap_utils/__init__.pyi +1 -0
- bl_keymap_utils/io/__init__.pyi +10 -9
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -1
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +2 -1
- bl_keymap_utils/platform_helpers/__init__.pyi +3 -2
- bl_keymap_utils/versioning/__init__.pyi +2 -1
- bl_math/__init__.pyi +4 -13
- bl_operators/__init__.pyi +4 -2
- bl_operators/add_mesh_torus/__init__.pyi +9 -9
- bl_operators/anim/__init__.pyi +90 -62
- bl_operators/assets/__init__.pyi +14 -18
- bl_operators/bmesh/__init__.pyi +1 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +12 -9
- bl_operators/bone_selection_sets/__init__.pyi +34 -60
- bl_operators/clip/__init__.pyi +39 -57
- bl_operators/connect_to_output/__init__.pyi +20 -18
- bl_operators/console/__init__.pyi +17 -25
- bl_operators/constraint/__init__.pyi +15 -21
- bl_operators/copy_global_transform/__init__.pyi +261 -0
- bl_operators/file/__init__.pyi +13 -17
- bl_operators/freestyle/__init__.pyi +15 -21
- bl_operators/geometry_nodes/__init__.pyi +30 -36
- bl_operators/grease_pencil/__init__.pyi +5 -5
- bl_operators/image/__init__.pyi +14 -22
- bl_operators/image_as_planes/__init__.pyi +36 -42
- bl_operators/mesh/__init__.pyi +8 -53
- bl_operators/node/__init__.pyi +375 -92
- bl_operators/node_editor/__init__.pyi +1 -0
- bl_operators/node_editor/node_functions/__init__.pyi +10 -9
- bl_operators/object/__init__.pyi +57 -98
- bl_operators/object_align/__init__.pyi +8 -8
- bl_operators/object_quick_effects/__init__.pyi +15 -21
- bl_operators/object_randomize_transform/__init__.pyi +6 -6
- bl_operators/presets/__init__.pyi +46 -94
- bl_operators/rigidbody/__init__.pyi +12 -16
- bl_operators/screen_play_rendered_anim/__init__.pyi +5 -5
- bl_operators/sequencer/__init__.pyi +40 -54
- bl_operators/spreadsheet/__init__.pyi +7 -7
- bl_operators/userpref/__init__.pyi +69 -117
- bl_operators/uvcalc_follow_active/__init__.pyi +8 -8
- bl_operators/uvcalc_lightmap/__init__.pyi +12 -12
- bl_operators/uvcalc_transform/__init__.pyi +39 -28
- bl_operators/vertexpaint_dirt/__init__.pyi +7 -7
- bl_operators/view3d/__init__.pyi +31 -43
- bl_operators/wm/__init__.pyi +139 -231
- bl_operators/world/__init__.pyi +6 -6
- bl_ui/__init__.pyi +18 -17
- bl_ui/anim/__init__.pyi +5 -5
- bl_ui/asset_shelf/__init__.pyi +5 -5
- bl_ui/generic_ui_list/__init__.pyi +11 -25
- bl_ui/node_add_menu/__init__.pyi +281 -12
- bl_ui/node_add_menu_compositor/__init__.pyi +135 -91
- bl_ui/node_add_menu_geometry/__init__.pyi +407 -263
- bl_ui/node_add_menu_shader/__init__.pyi +67 -67
- bl_ui/node_add_menu_texture/__init__.pyi +25 -69
- bl_ui/properties_animviz/__init__.pyi +3 -2
- bl_ui/properties_collection/__init__.pyi +20 -30
- bl_ui/properties_constraint/__init__.pyi +228 -450
- bl_ui/properties_data_armature/__init__.pyi +45 -79
- bl_ui/properties_data_bone/__init__.pyi +33 -51
- bl_ui/properties_data_camera/__init__.pyi +43 -75
- bl_ui/properties_data_curve/__init__.pyi +42 -101
- bl_ui/properties_data_curves/__init__.pyi +21 -35
- bl_ui/properties_data_empty/__init__.pyi +8 -10
- bl_ui/properties_data_grease_pencil/__init__.pyi +49 -87
- bl_ui/properties_data_lattice/__init__.pyi +12 -18
- bl_ui/properties_data_light/__init__.pyi +28 -46
- bl_ui/properties_data_lightprobe/__init__.pyi +35 -61
- bl_ui/properties_data_mesh/__init__.pyi +73 -120
- bl_ui/properties_data_metaball/__init__.pyi +16 -26
- bl_ui/properties_data_modifier/__init__.pyi +34 -39
- bl_ui/properties_data_pointcloud/__init__.pyi +17 -27
- bl_ui/properties_data_shaderfx/__init__.pyi +4 -4
- bl_ui/properties_data_speaker/__init__.pyi +15 -25
- bl_ui/properties_data_volume/__init__.pyi +22 -38
- bl_ui/properties_freestyle/__init__.pyi +79 -127
- bl_ui/properties_game/__init__.pyi +88 -84
- bl_ui/properties_grease_pencil_common/__init__.pyi +33 -190
- bl_ui/properties_mask_common/__init__.pyi +33 -45
- bl_ui/properties_material/__init__.pyi +52 -111
- bl_ui/properties_material_gpencil/__init__.pyi +48 -68
- bl_ui/properties_object/__init__.pyi +123 -93
- bl_ui/properties_output/__init__.pyi +103 -81
- bl_ui/properties_paint_common/__init__.pyi +78 -59
- bl_ui/properties_particle/__init__.pyi +160 -262
- bl_ui/properties_physics_cloth/__init__.pyi +36 -62
- bl_ui/properties_physics_common/__init__.pyi +11 -11
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +81 -123
- bl_ui/properties_physics_field/__init__.pyi +35 -53
- bl_ui/properties_physics_fluid/__init__.pyi +106 -160
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +6 -6
- bl_ui/properties_physics_rigidbody/__init__.pyi +28 -42
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +44 -68
- bl_ui/properties_physics_softbody/__init__.pyi +38 -66
- bl_ui/properties_render/__init__.pyi +267 -259
- bl_ui/properties_scene/__init__.pyi +69 -72
- bl_ui/properties_strip/__init__.pyi +744 -0
- bl_ui/properties_strip_modifier/__init__.pyi +45 -0
- bl_ui/properties_texture/__init__.pyi +69 -122
- bl_ui/properties_view_layer/__init__.pyi +97 -51
- bl_ui/properties_workspace/__init__.pyi +12 -18
- bl_ui/properties_world/__init__.pyi +33 -53
- bl_ui/space_clip/__init__.pyi +231 -311
- bl_ui/space_console/__init__.pyi +14 -24
- bl_ui/space_dopesheet/__init__.pyi +193 -125
- bl_ui/space_filebrowser/__init__.pyi +107 -131
- bl_ui/space_graph/__init__.pyi +93 -80
- bl_ui/space_image/__init__.pyi +207 -291
- bl_ui/space_info/__init__.pyi +14 -24
- bl_ui/space_logic/__init__.pyi +14 -22
- bl_ui/space_nla/__init__.pyi +63 -69
- bl_ui/space_node/__init__.pyi +215 -154
- bl_ui/space_outliner/__init__.pyi +65 -61
- bl_ui/space_properties/__init__.pyi +41 -16
- bl_ui/space_sequencer/__init__.pyi +276 -980
- bl_ui/space_spreadsheet/__init__.pyi +27 -23
- bl_ui/space_statusbar/__init__.pyi +4 -4
- bl_ui/space_text/__init__.pyi +39 -73
- bl_ui/space_time/__init__.pyi +33 -78
- bl_ui/space_toolsystem_common/__init__.pyi +31 -28
- bl_ui/space_toolsystem_toolbar/__init__.pyi +67 -43
- bl_ui/space_topbar/__init__.pyi +68 -111
- bl_ui/space_userpref/__init__.pyi +310 -445
- bl_ui/space_view3d/__init__.pyi +667 -1122
- bl_ui/space_view3d_sidebar/__init__.pyi +127 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +237 -966
- bl_ui/utils/__init__.pyi +4 -3
- blend_render_info/__init__.pyi +4 -2
- blf/__init__.pyi +92 -59
- bmesh/__init__.pyi +4 -10
- bmesh/geometry/__init__.pyi +2 -4
- bmesh/ops/__init__.pyi +442 -815
- bmesh/types/__init__.pyi +377 -720
- bmesh/utils/__init__.pyi +20 -45
- bpy/__init__.pyi +2 -1
- bpy/app/__init__.pyi +96 -90
- bpy/app/handlers/__init__.pyi +24 -19
- bpy/app/icons/__init__.pyi +2 -7
- bpy/app/timers/__init__.pyi +5 -18
- bpy/app/translations/__init__.pyi +21 -35
- bpy/msgbus/__init__.pyi +20 -9
- bpy/ops/__init__.pyi +21 -3
- bpy/ops/action/__init__.pyi +121 -226
- bpy/ops/anim/__init__.pyi +204 -358
- bpy/ops/armature/__init__.pyi +129 -249
- bpy/ops/asset/__init__.pyi +82 -111
- bpy/ops/bge_bricknodes/__init__.pyi +61 -0
- bpy/ops/boid/__init__.pyi +44 -50
- bpy/ops/bricknodes/__init__.pyi +37 -0
- bpy/ops/brush/__init__.pyi +33 -120
- bpy/ops/buttons/__init__.pyi +27 -83
- bpy/ops/cachefile/__init__.pyi +16 -74
- bpy/ops/camera/__init__.pyi +3 -13
- bpy/ops/clip/__init__.pyi +278 -558
- bpy/ops/cloth/__init__.pyi +2 -6
- bpy/ops/collection/__init__.pyi +34 -44
- bpy/ops/console/__init__.pyi +70 -111
- bpy/ops/constraint/__init__.pyi +34 -102
- bpy/ops/curve/__init__.pyi +163 -315
- bpy/ops/curves/__init__.pyi +163 -189
- bpy/ops/cycles/__init__.pyi +8 -18
- bpy/ops/dpaint/__init__.pyi +21 -30
- bpy/ops/ed/__init__.pyi +59 -103
- bpy/ops/export_anim/__init__.pyi +4 -11
- bpy/ops/export_scene/__init__.pyi +29 -174
- bpy/ops/extensions/__init__.pyi +102 -194
- bpy/ops/file/__init__.pyi +166 -272
- bpy/ops/fluid/__init__.pyi +78 -86
- bpy/ops/font/__init__.pyi +73 -164
- bpy/ops/geometry/__init__.pyi +33 -144
- bpy/ops/gizmogroup/__init__.pyi +8 -14
- bpy/ops/gpencil/__init__.pyi +31 -58
- bpy/ops/graph/__init__.pyi +176 -411
- bpy/ops/grease_pencil/__init__.pyi +416 -639
- bpy/ops/image/__init__.pyi +148 -492
- bpy/ops/import_anim/__init__.pyi +5 -18
- bpy/ops/import_curve/__init__.pyi +4 -6
- bpy/ops/import_scene/__init__.pyi +22 -49
- bpy/ops/info/__init__.pyi +27 -43
- bpy/ops/lattice/__init__.pyi +26 -43
- bpy/ops/logic/__init__.pyi +49 -122
- bpy/ops/logic_nodes/__init__.pyi +461 -0
- bpy/ops/marker/__init__.pyi +24 -60
- bpy/ops/mask/__init__.pyi +118 -222
- bpy/ops/material/__init__.pyi +19 -18
- bpy/ops/mball/__init__.pyi +13 -39
- bpy/ops/mesh/__init__.pyi +409 -1264
- bpy/ops/nla/__init__.pyi +140 -232
- bpy/ops/node/__init__.pyi +1189 -807
- bpy/ops/object/__init__.pyi +806 -1659
- bpy/ops/outliner/__init__.pyi +284 -432
- bpy/ops/paint/__init__.pyi +189 -381
- bpy/ops/paintcurve/__init__.pyi +29 -44
- bpy/ops/palette/__init__.pyi +23 -34
- bpy/ops/particle/__init__.pyi +135 -201
- bpy/ops/pointcloud/__init__.pyi +23 -42
- bpy/ops/pose/__init__.pyi +195 -310
- bpy/ops/poselib/__init__.pyi +45 -73
- bpy/ops/preferences/__init__.pyi +89 -221
- bpy/ops/ptcache/__init__.pyi +32 -39
- bpy/ops/render/__init__.pyi +36 -83
- bpy/ops/rigidbody/__init__.pyi +47 -78
- bpy/ops/scene/__init__.pyi +169 -222
- bpy/ops/screen/__init__.pyi +146 -259
- bpy/ops/script/__init__.pyi +9 -15
- bpy/ops/sculpt/__init__.pyi +194 -354
- bpy/ops/sculpt_curves/__init__.pyi +21 -29
- bpy/ops/sequencer/__init__.pyi +586 -836
- bpy/ops/sound/__init__.pyi +25 -131
- bpy/ops/spreadsheet/__init__.pyi +34 -21
- bpy/ops/surface/__init__.pyi +7 -54
- bpy/ops/text/__init__.pyi +166 -281
- bpy/ops/text_editor/__init__.pyi +2 -6
- bpy/ops/texture/__init__.pyi +20 -22
- bpy/ops/transform/__init__.pyi +108 -445
- bpy/ops/ui/__init__.pyi +157 -219
- bpy/ops/uilist/__init__.pyi +4 -16
- bpy/ops/uv/__init__.pyi +291 -347
- bpy/ops/view2d/__init__.pyi +29 -88
- bpy/ops/view3d/__init__.pyi +238 -438
- bpy/ops/wm/__init__.pyi +651 -1510
- bpy/ops/workspace/__init__.pyi +42 -44
- bpy/ops/world/__init__.pyi +12 -13
- bpy/path/__init__.pyi +5 -36
- bpy/props/__init__.pyi +395 -259
- bpy/{_typing → stub_internal}/__init__.pyi +1 -0
- bpy/{_typing → stub_internal}/rna_enums/__init__.pyi +214 -114
- bpy/types/__init__.pyi +93285 -103831
- bpy/utils/__init__.pyi +46 -104
- bpy/utils/previews/__init__.pyi +7 -15
- bpy/utils/units/__init__.pyi +6 -15
- bpy_extras/__init__.pyi +1 -0
- bpy_extras/anim_utils/__init__.pyi +32 -23
- bpy_extras/asset_utils/__init__.pyi +1 -0
- bpy_extras/bmesh_utils/__init__.pyi +2 -2
- bpy_extras/id_map_utils/__init__.pyi +15 -6
- bpy_extras/image_utils/__init__.pyi +3 -11
- bpy_extras/io_utils/__init__.pyi +22 -38
- bpy_extras/keyconfig_utils/__init__.pyi +5 -4
- bpy_extras/mesh_utils/__init__.pyi +3 -14
- bpy_extras/node_shader_utils/__init__.pyi +63 -70
- bpy_extras/node_utils/__init__.pyi +4 -3
- bpy_extras/object_utils/__init__.pyi +6 -19
- bpy_extras/view3d_utils/__init__.pyi +1 -18
- bpy_extras/wm_utils/__init__.pyi +1 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +12 -11
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/METADATA +9 -3
- fake_bge_module-20260201.dist-info/RECORD +414 -0
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/WHEEL +1 -1
- {fake_bge_module-20250317.dist-info → fake_bge_module-20260201.dist-info}/top_level.txt +16 -16
- freestyle/__init__.pyi +1 -0
- freestyle/chainingiterators/__init__.pyi +41 -60
- freestyle/functions/__init__.pyi +56 -194
- freestyle/predicates/__init__.pyi +11 -61
- freestyle/shaders/__init__.pyi +95 -156
- freestyle/types/__init__.pyi +306 -941
- freestyle/utils/ContextFunctions/__init__.pyi +4 -24
- freestyle/utils/__init__.pyi +46 -36
- gpu/__init__.pyi +84 -5
- gpu/capabilities/__init__.pyi +1 -21
- gpu/matrix/__init__.pyi +16 -24
- gpu/platform/__init__.pyi +3 -7
- gpu/select/__init__.pyi +2 -1
- gpu/shader/__init__.pyi +43 -9
- gpu/state/__init__.pyi +66 -44
- gpu/texture/__init__.pyi +4 -5
- gpu/types/__init__.pyi +216 -216
- gpu_extras/__init__.pyi +1 -0
- gpu_extras/batch/__init__.pyi +2 -5
- gpu_extras/presets/__init__.pyi +9 -10
- idprop/__init__.pyi +17 -0
- idprop/types/__init__.pyi +18 -17
- imbuf/__init__.pyi +13 -9
- imbuf/types/__init__.pyi +10 -23
- keyingsets_builtins/__init__.pyi +51 -93
- mathutils/__init__.pyi +296 -2255
- mathutils/bvhtree/__init__.pyi +22 -29
- mathutils/geometry/__init__.pyi +83 -132
- mathutils/interpolate/__init__.pyi +7 -5
- mathutils/kdtree/__init__.pyi +5 -14
- mathutils/noise/__init__.pyi +62 -106
- nodeitems_builtins/__init__.pyi +5 -4
- nodeitems_utils/__init__.pyi +10 -9
- rna_keymap_ui/__init__.pyi +7 -6
- rna_prop_ui/__init__.pyi +14 -13
- _bpy_internal/freedesktop/__init__.pyi +0 -20
- bgl/__init__.pyi +0 -4235
- bl_i18n_utils/bl_extract_messages/__init__.pyi +0 -24
- bl_i18n_utils/utils_cli/__init__.pyi +0 -10
- bl_previews_utils/bl_previews_render/__init__.pyi +0 -11
- bl_text_utils/external_editor/__init__.pyi +0 -5
- bpy_types/__init__.pyi +0 -29
- console_shell/__init__.pyi +0 -9
- fake_bge_module-20250317.dist-info/RECORD +0 -395
- keyingsets_utils/__init__.pyi +0 -18
- {animsys_refactor → _animsys_refactor}/py.typed +0 -0
- {bgl → _bl_console_utils}/py.typed +0 -0
- {bl_console_utils → _bl_i18n_utils}/py.typed +0 -0
- {bl_i18n_utils → _bl_previews_utils}/py.typed +0 -0
- {bl_previews_utils → _bl_rna_utils}/py.typed +0 -0
- {bl_rna_utils → _bl_text_utils}/py.typed +0 -0
- {bl_text_utils → _bl_ui_utils}/py.typed +0 -0
- {bl_ui_utils → _blendfile_header}/py.typed +0 -0
- {bpy_restrict_state → _bpy_restrict_state}/py.typed +0 -0
- {bpy_types → _bpy_types}/py.typed +0 -0
- {console_python → _console_python}/py.typed +0 -0
- {console_shell → _console_shell}/py.typed +0 -0
- {graphviz_export → _graphviz_export}/py.typed +0 -0
- {keyingsets_utils → _keyingsets_utils}/py.typed +0 -0
- {rna_info → _rna_info}/py.typed +0 -0
- {rna_xml → _rna_xml}/py.typed +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
4
5
|
import bpy.types
|
|
5
6
|
|
|
7
|
+
class AutoKeying:
|
|
8
|
+
"""Auto-keying support.Retrieve the lock status for 4D rotation."""
|
|
9
|
+
|
|
6
10
|
class BakeOptions:
|
|
7
11
|
"""BakeOptions(only_selected: bool, do_pose: bool, do_object: bool, do_visual_keying: bool, do_constraint_clear: bool, do_parents_clear: bool, do_clean: bool, do_location: bool, do_rotation: bool, do_scale: bool, do_bbone: bool, do_custom_props: bool)"""
|
|
8
12
|
|
|
@@ -14,14 +18,14 @@ class KeyframesCo:
|
|
|
14
18
|
|
|
15
19
|
keyframes_from_fcurve: typing.Any
|
|
16
20
|
|
|
17
|
-
def add_paths(self, rna_path, total_indices):
|
|
21
|
+
def add_paths(self, rna_path, total_indices) -> None:
|
|
18
22
|
"""
|
|
19
23
|
|
|
20
24
|
:param rna_path:
|
|
21
25
|
:param total_indices:
|
|
22
26
|
"""
|
|
23
27
|
|
|
24
|
-
def extend_co_value(self, rna_path, frame, value):
|
|
28
|
+
def extend_co_value(self, rna_path, frame, value) -> None:
|
|
25
29
|
"""
|
|
26
30
|
|
|
27
31
|
:param rna_path:
|
|
@@ -29,7 +33,7 @@ class KeyframesCo:
|
|
|
29
33
|
:param value:
|
|
30
34
|
"""
|
|
31
35
|
|
|
32
|
-
def extend_co_values(self, rna_path, total_indices, frame, values):
|
|
36
|
+
def extend_co_values(self, rna_path, total_indices, frame, values) -> None:
|
|
33
37
|
"""
|
|
34
38
|
|
|
35
39
|
:param rna_path:
|
|
@@ -39,52 +43,61 @@ class KeyframesCo:
|
|
|
39
43
|
"""
|
|
40
44
|
|
|
41
45
|
def insert_keyframes_into_existing_action(
|
|
42
|
-
self, lookup_fcurves, total_new_keys,
|
|
43
|
-
):
|
|
46
|
+
self, lookup_fcurves, total_new_keys, channelbag
|
|
47
|
+
) -> None:
|
|
44
48
|
"""Assumes the action already exists, that it might already have F-curves. Otherwise, the
|
|
45
49
|
only difference between versions is performance and implementation simplicity.
|
|
46
50
|
|
|
47
51
|
:param lookup_fcurves: : This is only used for efficiency.
|
|
48
|
-
|
|
52
|
+
Its a substitute for channelbag.fcurves.find() which is a potentially expensive linear search.
|
|
49
53
|
:param total_new_keys:
|
|
50
|
-
:param
|
|
51
|
-
:param action_slot:
|
|
54
|
+
:param channelbag:
|
|
52
55
|
"""
|
|
53
56
|
|
|
54
57
|
def insert_keyframes_into_new_action(
|
|
55
|
-
self, total_new_keys,
|
|
56
|
-
):
|
|
58
|
+
self, total_new_keys, channelbag, group_name
|
|
59
|
+
) -> None:
|
|
57
60
|
"""Assumes the action is new, that it has no F-curves. Otherwise, the only difference between versions is
|
|
58
61
|
performance and implementation simplicity.
|
|
59
62
|
|
|
60
63
|
:param total_new_keys:
|
|
61
|
-
:param
|
|
62
|
-
:param
|
|
63
|
-
:type action_group_name: str
|
|
64
|
+
:param channelbag:
|
|
65
|
+
:param group_name: Name of the Group that F-curves are added to.
|
|
64
66
|
"""
|
|
65
67
|
|
|
66
|
-
def
|
|
68
|
+
def action_ensure_channelbag_for_slot(action, slot) -> None:
|
|
69
|
+
"""Ensure a layer and a keyframe strip exists, then ensure that strip has a channelbag for the slot."""
|
|
70
|
+
|
|
71
|
+
def action_get_channelbag_for_slot(action, slot) -> None:
|
|
67
72
|
"""Returns the first channelbag found for the slot.
|
|
68
73
|
In case there are multiple layers or strips they are iterated until a
|
|
69
74
|
channelbag for that slot is found. In case no matching channelbag is found, returns None.
|
|
70
75
|
|
|
71
76
|
"""
|
|
72
77
|
|
|
78
|
+
def action_get_first_suitable_slot(action, target_id_type) -> None:
|
|
79
|
+
"""Return the first Slot of the given Action thats suitable for the given ID type.Typically you should not need this function; when an Action is assigned to a
|
|
80
|
+
data-block, just use the slot that was assigned along with it.
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
|
|
84
|
+
def animdata_get_channelbag_for_assigned_slot(anim_data) -> None:
|
|
85
|
+
"""Return the channelbag used in the given anim_data or None if there is no Action
|
|
86
|
+
+ Slot combination defined.
|
|
87
|
+
|
|
88
|
+
"""
|
|
89
|
+
|
|
73
90
|
def bake_action(
|
|
74
91
|
obj: bpy.types.Object, *, action: None | bpy.types.Action, frames: int, bake_options
|
|
75
92
|
) -> None | bpy.types.Action:
|
|
76
93
|
"""
|
|
77
94
|
|
|
78
95
|
:param obj: Object to bake.
|
|
79
|
-
:type obj: bpy.types.Object
|
|
80
96
|
:param action: An action to bake the data into, or None for a new action
|
|
81
97
|
to be created.
|
|
82
|
-
:type action: None | bpy.types.Action
|
|
83
98
|
:param frames: Frames to bake.
|
|
84
|
-
:type frames: int
|
|
85
99
|
:param bake_options: Options for baking.
|
|
86
100
|
:return: Action or None.
|
|
87
|
-
:rtype: None | bpy.types.Action
|
|
88
101
|
"""
|
|
89
102
|
|
|
90
103
|
def bake_action_iter(
|
|
@@ -93,13 +106,10 @@ def bake_action_iter(
|
|
|
93
106
|
"""An coroutine that bakes action for a single object.
|
|
94
107
|
|
|
95
108
|
:param obj: Object to bake.
|
|
96
|
-
:type obj: bpy.types.Object
|
|
97
109
|
:param action: An action to bake the data into, or None for a new action
|
|
98
110
|
to be created.
|
|
99
|
-
:type action: None | bpy.types.Action
|
|
100
111
|
:param bake_options: Boolean options of what to include into the action bake.
|
|
101
112
|
:return: an action or None
|
|
102
|
-
:rtype: bpy.types.Action
|
|
103
113
|
"""
|
|
104
114
|
|
|
105
115
|
def bake_action_objects(
|
|
@@ -110,10 +120,9 @@ def bake_action_objects(
|
|
|
110
120
|
:param frames: Frames to bake.
|
|
111
121
|
:param bake_options: Options for baking.
|
|
112
122
|
:return: A sequence of Action or None types (aligned with object_action_pairs)
|
|
113
|
-
:rtype: collections.abc.Sequence[bpy.types.Action]
|
|
114
123
|
"""
|
|
115
124
|
|
|
116
|
-
def bake_action_objects_iter(object_action_pairs, bake_options):
|
|
125
|
+
def bake_action_objects_iter(object_action_pairs, bake_options) -> None:
|
|
117
126
|
"""An coroutine that bakes actions for multiple objects.
|
|
118
127
|
|
|
119
128
|
:param object_action_pairs: Sequence of object action tuples,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
4
5
|
|
|
5
6
|
def bmesh_linked_uv_islands(bm, uv_layer) -> list[list[int]]:
|
|
6
7
|
"""Returns lists of faces connected by UV islands.For meshes use `bpy.types.Mesh.mesh_linked_uv_islands` instead.
|
|
@@ -8,7 +9,6 @@ def bmesh_linked_uv_islands(bm, uv_layer) -> list[list[int]]:
|
|
|
8
9
|
:param bm: the bmesh used to group with.
|
|
9
10
|
:param uv_layer: the UV layer to source UVs from.
|
|
10
11
|
:return: list of lists containing polygon indices
|
|
11
|
-
:rtype: list[list[int]]
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
def match_uv(face, vert, uv, uv_layer): ...
|
|
14
|
+
def match_uv(face, vert, uv, uv_layer) -> None: ...
|
|
@@ -1,12 +1,21 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
5
|
+
import bpy.types
|
|
4
6
|
|
|
5
|
-
def get_all_referenced_ids(
|
|
6
|
-
|
|
7
|
+
def get_all_referenced_ids(
|
|
8
|
+
id: bpy.types.ID, ref_map: dict[bpy.types.ID, set[bpy.types.ID]]
|
|
9
|
+
) -> set[bpy.types.ID]:
|
|
10
|
+
"""Return a set of IDs directly or indirectly referenced by id.
|
|
7
11
|
|
|
8
|
-
|
|
9
|
-
|
|
12
|
+
:param id: Datablock whose references were interested in.
|
|
13
|
+
:param ref_map: The global ID reference map, retrieved from get_id_reference_map()
|
|
14
|
+
:return: Set of datablocks referenced by id.
|
|
15
|
+
"""
|
|
10
16
|
|
|
11
|
-
def
|
|
12
|
-
"""
|
|
17
|
+
def get_id_reference_map() -> dict[bpy.types.ID, set[bpy.types.ID]]:
|
|
18
|
+
"""Return a dictionary of direct data-block references for every data-block in the blend file.
|
|
19
|
+
|
|
20
|
+
:return: Each datablock of the .blend file mapped to the set of IDs they directly reference.
|
|
21
|
+
"""
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
4
5
|
import bpy.types
|
|
5
6
|
|
|
6
7
|
def load_image(
|
|
@@ -20,32 +21,23 @@ def load_image(
|
|
|
20
21
|
|
|
21
22
|
:param dirname: is the directory where the image may be located - any file at
|
|
22
23
|
the end will be ignored.
|
|
23
|
-
:type dirname: str
|
|
24
24
|
:param place_holder: if True a new place holder image will be created.
|
|
25
25
|
this is useful so later you can relink the image to its original data.
|
|
26
|
-
:type place_holder: bool
|
|
27
26
|
:param recursive: If True, directories will be recursively searched.
|
|
28
27
|
Be careful with this if you have files in your root directory because
|
|
29
28
|
it may take a long time.
|
|
30
|
-
:type recursive: bool
|
|
31
29
|
:param ncase_cmp: on non windows systems, find the correct case for the file.
|
|
32
|
-
:type ncase_cmp: bool
|
|
33
30
|
:param convert_callback: a function that takes an existing path and returns
|
|
34
31
|
a new one. Use this when loading image formats blender may not support,
|
|
35
32
|
the CONVERT_CALLBACK can take the path for a GIF (for example),
|
|
36
|
-
convert it to a PNG and return the
|
|
33
|
+
convert it to a PNG and return the PNGs path.
|
|
37
34
|
For formats blender can read, simply return the path that is given.
|
|
38
|
-
:type convert_callback: typing.Any | None
|
|
39
35
|
:param relpath: If not None, make the file relative to this path.
|
|
40
|
-
:type relpath: None | str | None
|
|
41
36
|
:param check_existing: If true,
|
|
42
|
-
returns already loaded image
|
|
37
|
+
returns already loaded image data-block if possible
|
|
43
38
|
(based on file path).
|
|
44
|
-
:type check_existing: bool
|
|
45
39
|
:param force_reload: If true,
|
|
46
40
|
force reloading of image (only useful when check_existing
|
|
47
41
|
is also enabled).
|
|
48
|
-
:type force_reload: bool
|
|
49
42
|
:return: an image or None
|
|
50
|
-
:rtype: None | bpy.types.Image
|
|
51
43
|
"""
|
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
4
5
|
import bpy.types
|
|
5
6
|
import mathutils
|
|
6
7
|
|
|
7
8
|
class ExportHelper:
|
|
8
|
-
def check(self, _context):
|
|
9
|
+
def check(self, _context) -> None:
|
|
9
10
|
"""
|
|
10
11
|
|
|
11
12
|
:param _context:
|
|
12
13
|
"""
|
|
13
14
|
|
|
14
|
-
def invoke(self, context, _event):
|
|
15
|
+
def invoke(self, context, _event) -> None:
|
|
15
16
|
"""
|
|
16
17
|
|
|
17
18
|
:param context:
|
|
@@ -19,29 +20,30 @@ class ExportHelper:
|
|
|
19
20
|
"""
|
|
20
21
|
|
|
21
22
|
class ImportHelper:
|
|
22
|
-
def check(self, _context):
|
|
23
|
+
def check(self, _context) -> None:
|
|
23
24
|
"""
|
|
24
25
|
|
|
25
26
|
:param _context:
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
|
-
def invoke(self, context, _event):
|
|
29
|
+
def invoke(self, context, _event) -> None:
|
|
29
30
|
"""
|
|
30
31
|
|
|
31
32
|
:param context:
|
|
32
33
|
:param _event:
|
|
33
34
|
"""
|
|
34
35
|
|
|
35
|
-
def invoke_popup(self, context, confirm_text=""):
|
|
36
|
+
def invoke_popup(self, context, confirm_text="") -> None:
|
|
36
37
|
"""
|
|
37
38
|
|
|
38
39
|
:param context:
|
|
39
40
|
:param confirm_text:
|
|
40
41
|
"""
|
|
41
42
|
|
|
42
|
-
def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
|
|
43
|
-
"""Each argument
|
|
43
|
+
def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z") -> None:
|
|
44
|
+
"""Each argument is an axis in [X, Y, Z, -X, -Y, -Z]
|
|
44
45
|
where the first 2 are a source and the second 2 are the target.
|
|
46
|
+
:rtype: `mathutils.Matrix`
|
|
45
47
|
|
|
46
48
|
"""
|
|
47
49
|
|
|
@@ -52,13 +54,9 @@ def axis_conversion_ensure(
|
|
|
52
54
|
to be used from `bpy.types.Operator.check`.
|
|
53
55
|
|
|
54
56
|
:param operator: the operator to access axis attributes from.
|
|
55
|
-
:type operator: bpy.types.Operator
|
|
56
57
|
:param forward_attr: attribute storing the forward axis
|
|
57
|
-
:type forward_attr: str
|
|
58
58
|
:param up_attr: attribute storing the up axis
|
|
59
|
-
:type up_attr: str
|
|
60
59
|
:return: True if the value was modified.
|
|
61
|
-
:rtype: bool
|
|
62
60
|
"""
|
|
63
61
|
|
|
64
62
|
def create_derived_objects(
|
|
@@ -67,15 +65,12 @@ def create_derived_objects(
|
|
|
67
65
|
"""This function takes a sequence of objects, returning their instances.
|
|
68
66
|
|
|
69
67
|
:param depsgraph: The evaluated depsgraph.
|
|
70
|
-
:type depsgraph: bpy.types.Depsgraph
|
|
71
68
|
:param objects: A sequencer of objects.
|
|
72
|
-
:type objects: collections.abc.Sequence[bpy.types.Object]
|
|
73
69
|
:return: A dictionary where each key is an object from objects,
|
|
74
70
|
values are lists of (object, matrix) tuples representing instances.
|
|
75
|
-
:rtype: dict[bpy.types.Object, list[tuple[bpy.types.Object, mathutils.Matrix]]]
|
|
76
71
|
"""
|
|
77
72
|
|
|
78
|
-
def orientation_helper(axis_forward="Y", axis_up="Z"):
|
|
73
|
+
def orientation_helper(axis_forward="Y", axis_up="Z") -> None:
|
|
79
74
|
"""A decorator for import/export classes, generating properties needed by the axis conversion system and IO helpers,
|
|
80
75
|
with specified default values (axes).
|
|
81
76
|
|
|
@@ -87,43 +82,37 @@ def path_reference(
|
|
|
87
82
|
base_dst: str,
|
|
88
83
|
mode: str = "AUTO",
|
|
89
84
|
copy_subdir: str = "",
|
|
90
|
-
copy_set=None,
|
|
85
|
+
copy_set: set[tuple[str, str]] | None = None,
|
|
91
86
|
library: None | bpy.types.Library | None = None,
|
|
92
87
|
) -> str:
|
|
93
88
|
"""Return a filepath relative to a destination directory, for use with
|
|
94
89
|
exporters.
|
|
95
90
|
|
|
96
91
|
:param filepath: the file path to return,
|
|
97
|
-
supporting blenders relative
|
|
98
|
-
:type filepath: str
|
|
92
|
+
supporting blenders relative // prefix.
|
|
99
93
|
:param base_src: the directory the filepath is relative too
|
|
100
94
|
(normally the blend file).
|
|
101
|
-
:type base_src: str
|
|
102
95
|
:param base_dst: the directory the filepath will be referenced from
|
|
103
96
|
(normally the export path).
|
|
104
|
-
:type base_dst: str
|
|
105
97
|
:param mode: the method used get the path in
|
|
106
|
-
[
|
|
107
|
-
:
|
|
108
|
-
:param
|
|
109
|
-
:type copy_subdir: str
|
|
110
|
-
:param copy_set: collect from/to pairs when mode='COPY',
|
|
98
|
+
[AUTO, ABSOLUTE, RELATIVE, MATCH, STRIP, COPY]
|
|
99
|
+
:param copy_subdir: the subdirectory of base_dst to use when mode=COPY.
|
|
100
|
+
:param copy_set: collect from/to pairs when mode=COPY,
|
|
111
101
|
pass to path_reference_copy when exporting is done.
|
|
112
102
|
:param library: The library this path is relative to.
|
|
113
|
-
:type library: None | bpy.types.Library | None
|
|
114
103
|
:return: the new filepath.
|
|
115
|
-
:rtype: str
|
|
116
104
|
"""
|
|
117
105
|
|
|
118
|
-
def path_reference_copy(
|
|
106
|
+
def path_reference_copy(
|
|
107
|
+
copy_set: set[tuple[str, str]], report: collections.abc.Callable[str, None] = print
|
|
108
|
+
) -> None:
|
|
119
109
|
"""Execute copying files of path_reference
|
|
120
110
|
|
|
121
111
|
:param copy_set: set of (from, to) pairs to copy.
|
|
122
112
|
:param report: function used for reporting warnings, takes a string argument.
|
|
123
|
-
:type report: collections.abc.Callable[str, None]
|
|
124
113
|
"""
|
|
125
114
|
|
|
126
|
-
def poll_file_object_drop(context):
|
|
115
|
+
def poll_file_object_drop(context) -> None:
|
|
127
116
|
"""A default implementation for FileHandler poll_drop methods. Allows for both the 3D Viewport and
|
|
128
117
|
the Outliner (in ViewLayer display mode) to be targets for file drag and drop.
|
|
129
118
|
|
|
@@ -136,7 +125,7 @@ def unique_name(
|
|
|
136
125
|
name_max=-1,
|
|
137
126
|
clean_func: typing.Any | None = None,
|
|
138
127
|
sep: str = ".",
|
|
139
|
-
):
|
|
128
|
+
) -> None:
|
|
140
129
|
"""Helper function for storing unique names which may have special characters
|
|
141
130
|
stripped and restricted to a maximum length.
|
|
142
131
|
|
|
@@ -144,19 +133,14 @@ def unique_name(
|
|
|
144
133
|
when available.
|
|
145
134
|
This can be the object, mesh, material, etc instance itself.
|
|
146
135
|
Any hashable object associated with the name.
|
|
147
|
-
:type key: typing.Any
|
|
148
136
|
:param name: The name used to create a unique value in name_dict.
|
|
149
|
-
:type name: str
|
|
150
137
|
:param name_dict: This is used to cache namespace to ensure no collisions
|
|
151
138
|
occur, this should be an empty dict initially and only modified by this
|
|
152
139
|
function.
|
|
153
|
-
:type name_dict: dict
|
|
154
140
|
:param clean_func: Function to call on name before creating a unique value.
|
|
155
|
-
:type clean_func: typing.Any | None
|
|
156
141
|
:param sep: Separator to use when between the name and a number when a
|
|
157
142
|
duplicate name is found.
|
|
158
|
-
:type sep: str
|
|
159
143
|
"""
|
|
160
144
|
|
|
161
|
-
def unpack_face_list(list_of_tuples): ...
|
|
162
|
-
def unpack_list(list_of_tuples): ...
|
|
145
|
+
def unpack_face_list(list_of_tuples) -> None: ...
|
|
146
|
+
def unpack_list(list_of_tuples) -> None: ...
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
4
5
|
|
|
5
|
-
def addon_keymap_register(keymap_data):
|
|
6
|
-
"""Register a set of keymaps for addons using a list of keymaps.See
|
|
6
|
+
def addon_keymap_register(keymap_data) -> None:
|
|
7
|
+
"""Register a set of keymaps for addons using a list of keymaps.See blender_default.py for examples of the format this takes."""
|
|
7
8
|
|
|
8
|
-
def addon_keymap_unregister(keymap_data):
|
|
9
|
+
def addon_keymap_unregister(keymap_data) -> None:
|
|
9
10
|
"""Unregister a set of keymaps for addons."""
|
|
10
11
|
|
|
11
|
-
def keyconfig_test(kc): ...
|
|
12
|
+
def keyconfig_test(kc) -> None: ...
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import typing
|
|
2
2
|
import collections.abc
|
|
3
3
|
import typing_extensions
|
|
4
|
+
import numpy.typing as npt
|
|
4
5
|
import bpy.types
|
|
5
6
|
import mathutils
|
|
6
7
|
|
|
@@ -8,17 +9,15 @@ def edge_face_count(mesh) -> list[int]:
|
|
|
8
9
|
"""
|
|
9
10
|
|
|
10
11
|
:return: list face users for each item in mesh.edges.
|
|
11
|
-
:rtype: list[int]
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
14
|
def edge_face_count_dict(mesh) -> dict[tuple[int, int], int]:
|
|
15
15
|
"""
|
|
16
16
|
|
|
17
17
|
:return: Dictionary of edge keys with their value set to the number of faces using each edge.
|
|
18
|
-
:rtype: dict[tuple[int, int], int]
|
|
19
18
|
"""
|
|
20
19
|
|
|
21
|
-
def edge_loops_from_edges(mesh, edges=None):
|
|
20
|
+
def edge_loops_from_edges(mesh, edges=None) -> None:
|
|
22
21
|
"""Edge loops defined by edgesTakes me.edges or a list of edges and returns the edge loopsreturn a list of vertex indices.
|
|
23
22
|
[ [1, 6, 7, 2], ...]closed loops have matching start and end values.
|
|
24
23
|
|
|
@@ -31,18 +30,14 @@ def mesh_linked_triangles(
|
|
|
31
30
|
other mesh elements within 1 mesh data-block.
|
|
32
31
|
|
|
33
32
|
:param mesh: the mesh used to group with.
|
|
34
|
-
:type mesh: bpy.types.Mesh
|
|
35
33
|
:return: Lists of lists containing triangles.
|
|
36
|
-
:rtype: list[list[bpy.types.MeshLoopTriangle]]
|
|
37
34
|
"""
|
|
38
35
|
|
|
39
36
|
def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list[list[int]]:
|
|
40
37
|
"""Returns lists of polygon indices connected by UV islands.
|
|
41
38
|
|
|
42
39
|
:param mesh: the mesh used to group with.
|
|
43
|
-
:type mesh: bpy.types.Mesh
|
|
44
40
|
:return: list of lists containing polygon indices
|
|
45
|
-
:rtype: list[list[int]]
|
|
46
41
|
"""
|
|
47
42
|
|
|
48
43
|
def ngon_tessellate(
|
|
@@ -52,21 +47,18 @@ def ngon_tessellate(
|
|
|
52
47
|
indices: list[int],
|
|
53
48
|
fix_loops: bool = True,
|
|
54
49
|
debug_print=True,
|
|
55
|
-
):
|
|
50
|
+
) -> None:
|
|
56
51
|
"""Takes a poly-line of indices (ngon) and returns a list of face
|
|
57
52
|
index lists. Designed to be used for importers that need indices for an
|
|
58
53
|
ngon to create from existing verts.
|
|
59
54
|
|
|
60
55
|
:param from_data: Either a mesh, or a list/tuple of 3D vectors.
|
|
61
|
-
:type from_data: bpy.types.Mesh | list[collections.abc.Sequence[float]] | tuple[collections.abc.Sequence[float]]
|
|
62
56
|
:param indices: a list of indices to use this list
|
|
63
57
|
is the ordered closed poly-line
|
|
64
58
|
to fill, and can be a subset of the data given.
|
|
65
|
-
:type indices: list[int]
|
|
66
59
|
:param fix_loops: If this is enabled poly-lines
|
|
67
60
|
that use loops to make multiple
|
|
68
61
|
poly-lines are dealt with correctly.
|
|
69
|
-
:type fix_loops: bool
|
|
70
62
|
"""
|
|
71
63
|
|
|
72
64
|
def triangle_random_points(
|
|
@@ -76,9 +68,6 @@ def triangle_random_points(
|
|
|
76
68
|
"""Generates a list of random points over mesh loop triangles.
|
|
77
69
|
|
|
78
70
|
:param num_points: The number of random points to generate on each triangle.
|
|
79
|
-
:type num_points: int
|
|
80
71
|
:param loop_triangles: Sequence of the triangles to generate points on.
|
|
81
|
-
:type loop_triangles: collections.abc.Sequence[bpy.types.MeshLoopTriangle]
|
|
82
72
|
:return: List of random points over all triangles.
|
|
83
|
-
:rtype: list[mathutils.Vector]
|
|
84
73
|
"""
|