fake-bpy-module 20240516__py3-none-any.whl → 20240518__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/freedesktop/__init__.pyi +17 -84
- addon_utils/__init__.pyi +44 -38
- animsys_refactor/__init__.pyi +7 -27
- aud/__init__.pyi +8 -11
- bgl/__init__.pyi +121 -1812
- bl_app_override/__init__.pyi +8 -19
- bl_app_override/helpers/__init__.pyi +5 -23
- bl_app_template_utils/__init__.pyi +5 -17
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +16 -67
- bl_i18n_utils/merge_po/__init__.pyi +1 -4
- bl_i18n_utils/settings/__init__.pyi +6 -24
- bl_i18n_utils/utils/__init__.pyi +93 -122
- bl_i18n_utils/utils_cli/__init__.pyi +6 -29
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -4
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +9 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -4
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -6
- bl_keymap_utils/versioning/__init__.pyi +1 -4
- bl_operators/__init__.pyi +2 -9
- bl_operators/add_mesh_torus/__init__.pyi +128 -59
- bl_operators/anim/__init__.pyi +1001 -398
- bl_operators/assets/__init__.pyi +376 -152
- bl_operators/bmesh/find_adjacent/__init__.pyi +10 -37
- bl_operators/clip/__init__.pyi +1264 -532
- bl_operators/console/__init__.pyi +626 -242
- bl_operators/constraint/__init__.pyi +502 -201
- bl_operators/file/__init__.pyi +376 -150
- bl_operators/freestyle/__init__.pyi +501 -200
- bl_operators/geometry_nodes/__init__.pyi +514 -266
- bl_operators/image/__init__.pyi +621 -251
- bl_operators/mesh/__init__.pyi +376 -150
- bl_operators/node/__init__.pyi +1253 -516
- bl_operators/object/__init__.pyi +1879 -755
- bl_operators/object_align/__init__.pyi +129 -64
- bl_operators/object_quick_effects/__init__.pyi +504 -213
- bl_operators/object_randomize_transform/__init__.pyi +129 -54
- bl_operators/presets/__init__.pyi +3072 -1403
- bl_operators/rigidbody/__init__.pyi +376 -150
- bl_operators/screen_play_rendered_anim/__init__.pyi +127 -54
- bl_operators/sequencer/__init__.pyi +1010 -434
- bl_operators/spreadsheet/__init__.pyi +126 -50
- bl_operators/userpref/__init__.pyi +3253 -1267
- bl_operators/uvcalc_follow_active/__init__.pyi +128 -59
- bl_operators/uvcalc_lightmap/__init__.pyi +139 -80
- bl_operators/uvcalc_transform/__init__.pyi +297 -159
- bl_operators/vertexpaint_dirt/__init__.pyi +128 -59
- bl_operators/view3d/__init__.pyi +868 -342
- bl_operators/wm/__init__.pyi +5795 -2388
- bl_operators/world/__init__.pyi +126 -50
- bl_previews_utils/bl_previews_render/__init__.pyi +7 -34
- bl_rna_utils/data_path/__init__.pyi +8 -4
- bl_text_utils/external_editor/__init__.pyi +1 -4
- bl_ui/__init__.pyi +366 -269
- bl_ui/anim/__init__.pyi +164 -74
- bl_ui/asset_shelf/__init__.pyi +129 -56
- bl_ui/generic_ui_list/__init__.pyi +412 -163
- bl_ui/node_add_menu/__init__.pyi +171 -94
- bl_ui/node_add_menu_compositor/__init__.pyi +2918 -1353
- bl_ui/node_add_menu_geometry/__init__.pyi +7789 -3616
- bl_ui/node_add_menu_shader/__init__.pyi +1630 -790
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -675
- bl_ui/properties_animviz/__init__.pyi +2 -16
- bl_ui/properties_collection/__init__.pyi +807 -379
- bl_ui/properties_constraint/__init__.pyi +10292 -4941
- bl_ui/properties_data_armature/__init__.pyi +1615 -753
- bl_ui/properties_data_bone/__init__.pyi +1284 -608
- bl_ui/properties_data_camera/__init__.pyi +1854 -927
- bl_ui/properties_data_curve/__init__.pyi +1927 -937
- bl_ui/properties_data_curves/__init__.pyi +806 -375
- bl_ui/properties_data_empty/__init__.pyi +257 -125
- bl_ui/properties_data_gpencil/__init__.pyi +2376 -1130
- bl_ui/properties_data_grease_pencil/__init__.pyi +1898 -894
- bl_ui/properties_data_lattice/__init__.pyi +388 -188
- bl_ui/properties_data_light/__init__.pyi +1540 -756
- bl_ui/properties_data_lightprobe/__init__.pyi +1666 -810
- bl_ui/properties_data_mesh/__init__.pyi +2707 -1235
- bl_ui/properties_data_metaball/__init__.pyi +644 -308
- bl_ui/properties_data_modifier/__init__.pyi +1353 -671
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -316
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -67
- bl_ui/properties_data_speaker/__init__.pyi +644 -316
- bl_ui/properties_data_volume/__init__.pyi +1028 -484
- bl_ui/properties_freestyle/__init__.pyi +3112 -1619
- bl_ui/properties_grease_pencil_common/__init__.pyi +2454 -1123
- bl_ui/properties_mask_common/__init__.pyi +1102 -523
- bl_ui/properties_material/__init__.pyi +2089 -1009
- bl_ui/properties_material_gpencil/__init__.pyi +1348 -635
- bl_ui/properties_object/__init__.pyi +1832 -873
- bl_ui/properties_output/__init__.pyi +2405 -1173
- bl_ui/properties_paint_common/__init__.pyi +416 -386
- bl_ui/properties_particle/__init__.pyi +6740 -3346
- bl_ui/properties_physics_cloth/__init__.pyi +1822 -907
- bl_ui/properties_physics_common/__init__.pyi +135 -98
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2817 -1391
- bl_ui/properties_physics_field/__init__.pyi +1282 -627
- bl_ui/properties_physics_fluid/__init__.pyi +3614 -1794
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -60
- bl_ui/properties_physics_rigidbody/__init__.pyi +1026 -515
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1665 -811
- bl_ui/properties_physics_softbody/__init__.pyi +1922 -967
- bl_ui/properties_render/__init__.pyi +6843 -3367
- bl_ui/properties_scene/__init__.pyi +1924 -913
- bl_ui/properties_texture/__init__.pyi +3371 -1667
- bl_ui/properties_view_layer/__init__.pyi +2344 -1107
- bl_ui/properties_workspace/__init__.pyi +516 -244
- bl_ui/properties_world/__init__.pyi +1284 -630
- bl_ui/space_clip/__init__.pyi +10172 -4695
- bl_ui/space_console/__init__.pyi +940 -423
- bl_ui/space_dopesheet/__init__.pyi +4325 -2013
- bl_ui/space_filebrowser/__init__.pyi +4172 -1903
- bl_ui/space_graph/__init__.pyi +3107 -1394
- bl_ui/space_image/__init__.pyi +9764 -4614
- bl_ui/space_info/__init__.pyi +939 -421
- bl_ui/space_nla/__init__.pyi +2623 -1183
- bl_ui/space_node/__init__.pyi +3995 -1840
- bl_ui/space_outliner/__init__.pyi +2203 -991
- bl_ui/space_properties/__init__.pyi +386 -165
- bl_ui/space_sequencer/__init__.pyi +10809 -4978
- bl_ui/space_spreadsheet/__init__.pyi +130 -53
- bl_ui/space_statusbar/__init__.pyi +129 -52
- bl_ui/space_text/__init__.pyi +2457 -1100
- bl_ui/space_time/__init__.pyi +1034 -481
- bl_ui/space_toolsystem_common/__init__.pyi +56 -211
- bl_ui/space_toolsystem_toolbar/__init__.pyi +153 -882
- bl_ui/space_topbar/__init__.pyi +3982 -1805
- bl_ui/space_userpref/__init__.pyi +11383 -5290
- bl_ui/space_view3d/__init__.pyi +40873 -18532
- bl_ui/space_view3d_toolbar/__init__.pyi +12570 -6502
- bl_ui/temp_anim_layers/__init__.pyi +130 -62
- bl_ui/utils/__init__.pyi +28 -27
- bl_ui_utils/bug_report_url/__init__.pyi +1 -4
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +3 -10
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +39 -56
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2683 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17058 -26311
- bpy/utils/__init__.pyi +247 -179
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -29
- bpy_extras/asset_utils/__init__.pyi +0 -10
- bpy_extras/bmesh_utils/__init__.pyi +9 -6
- bpy_extras/extensions/junction_module/__init__.pyi +6 -8
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +116 -41
- bpy_extras/keyconfig_utils/__init__.pyi +4 -11
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +52 -288
- bpy_extras/node_utils/__init__.pyi +10 -10
- bpy_extras/object_utils/__init__.pyi +71 -14
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +15 -38
- bpy_restrict_state/__init__.pyi +1 -14
- bpy_types/__init__.pyi +4203 -1605
- console_python/__init__.pyi +12 -37
- console_shell/__init__.pyi +5 -24
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/METADATA +1 -1
- fake_bpy_module-20240518.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +14 -44
- freestyle/functions/__init__.pyi +7 -33
- freestyle/predicates/__init__.pyi +44 -217
- freestyle/shaders/__init__.pyi +2 -12
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +6 -18
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -9
- idprop/types/__init__.pyi +8 -35
- imbuf/__init__.pyi +4 -4
- imbuf/types/__init__.pyi +0 -2
- keyingsets_builtins/__init__.pyi +2692 -997
- keyingsets_utils/__init__.pyi +14 -69
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -6
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_builtins/__init__.pyi +5 -30
- nodeitems_utils/__init__.pyi +8 -45
- rna_info/__init__.pyi +39 -215
- rna_keymap_ui/__init__.pyi +6 -29
- rna_prop_ui/__init__.pyi +24 -62
- rna_xml/__init__.pyi +16 -39
- sys_info/__init__.pyi +1 -4
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/top_level.txt +0 -0
bpy_extras/io_utils/__init__.pyi
CHANGED
|
@@ -4,10 +4,7 @@ import bpy.types
|
|
|
4
4
|
GenericType = typing.TypeVar("GenericType")
|
|
5
5
|
|
|
6
6
|
class ExportHelper:
|
|
7
|
-
""" """
|
|
8
|
-
|
|
9
7
|
check_extension: typing.Any
|
|
10
|
-
""" """
|
|
11
8
|
|
|
12
9
|
def check(self, _context):
|
|
13
10
|
"""
|
|
@@ -25,8 +22,6 @@ class ExportHelper:
|
|
|
25
22
|
...
|
|
26
23
|
|
|
27
24
|
class ImportHelper:
|
|
28
|
-
""" """
|
|
29
|
-
|
|
30
25
|
def check(self, _context):
|
|
31
26
|
"""
|
|
32
27
|
|
|
@@ -42,7 +37,7 @@ class ImportHelper:
|
|
|
42
37
|
"""
|
|
43
38
|
...
|
|
44
39
|
|
|
45
|
-
def invoke_popup(self, context, confirm_text):
|
|
40
|
+
def invoke_popup(self, context, confirm_text=""):
|
|
46
41
|
"""
|
|
47
42
|
|
|
48
43
|
:param context:
|
|
@@ -58,8 +53,11 @@ def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
|
|
|
58
53
|
|
|
59
54
|
...
|
|
60
55
|
|
|
61
|
-
def axis_conversion(from_forward, from_up, to_forward, to_up):
|
|
62
|
-
"""
|
|
56
|
+
def axis_conversion(from_forward="Y", from_up="Z", to_forward="Y", to_up="Z"):
|
|
57
|
+
"""Each argument us an axis in ['X', 'Y', 'Z', '-X', '-Y', '-Z']
|
|
58
|
+
where the first 2 are a source and the second 2 are the target.
|
|
59
|
+
|
|
60
|
+
"""
|
|
63
61
|
|
|
64
62
|
...
|
|
65
63
|
|
|
@@ -81,8 +79,21 @@ def axis_conversion_ensure(
|
|
|
81
79
|
|
|
82
80
|
...
|
|
83
81
|
|
|
84
|
-
def axis_conversion_ensure(
|
|
85
|
-
|
|
82
|
+
def axis_conversion_ensure(
|
|
83
|
+
operator: bpy.types.Operator, forward_attr: str, up_attr: str
|
|
84
|
+
) -> bool:
|
|
85
|
+
"""Function to ensure an operator has valid axis conversion settings, intended
|
|
86
|
+
to be used from `bpy.types.Operator.check`.
|
|
87
|
+
|
|
88
|
+
:param operator: the operator to access axis attributes from.
|
|
89
|
+
:type operator: bpy.types.Operator
|
|
90
|
+
:param forward_attr: attribute storing the forward axis
|
|
91
|
+
:type forward_attr: str
|
|
92
|
+
:param up_attr: attribute storing the up axis
|
|
93
|
+
:type up_attr: str
|
|
94
|
+
:return: True if the value was modified.
|
|
95
|
+
:rtype: bool
|
|
96
|
+
"""
|
|
86
97
|
|
|
87
98
|
...
|
|
88
99
|
|
|
@@ -102,8 +113,19 @@ def create_derived_objects(
|
|
|
102
113
|
|
|
103
114
|
...
|
|
104
115
|
|
|
105
|
-
def create_derived_objects(
|
|
106
|
-
|
|
116
|
+
def create_derived_objects(
|
|
117
|
+
depsgraph: bpy.types.Depsgraph, objects: typing.Iterable[bpy.types.Object]
|
|
118
|
+
) -> dict:
|
|
119
|
+
"""This function takes a sequence of objects, returning their instances.
|
|
120
|
+
|
|
121
|
+
:param depsgraph: The evaluated depsgraph.
|
|
122
|
+
:type depsgraph: bpy.types.Depsgraph
|
|
123
|
+
:param objects: A sequencer of objects.
|
|
124
|
+
:type objects: typing.Iterable[bpy.types.Object]
|
|
125
|
+
:return: A dictionary where each key is an object from objects,
|
|
126
|
+
values are lists of (`bpy.types.Object`, `mathutils.Matrix`) tuples representing instances.
|
|
127
|
+
:rtype: dict
|
|
128
|
+
"""
|
|
107
129
|
|
|
108
130
|
...
|
|
109
131
|
|
|
@@ -115,8 +137,11 @@ def orientation_helper(axis_forward="Y", axis_up="Z"):
|
|
|
115
137
|
|
|
116
138
|
...
|
|
117
139
|
|
|
118
|
-
def orientation_helper(axis_forward, axis_up):
|
|
119
|
-
"""
|
|
140
|
+
def orientation_helper(axis_forward="Y", axis_up="Z"):
|
|
141
|
+
"""A decorator for import/export classes, generating properties needed by the axis conversion system and IO helpers,
|
|
142
|
+
with specified default values (axes).
|
|
143
|
+
|
|
144
|
+
"""
|
|
120
145
|
|
|
121
146
|
...
|
|
122
147
|
|
|
@@ -127,7 +152,7 @@ def path_reference(
|
|
|
127
152
|
mode: str = "AUTO",
|
|
128
153
|
copy_subdir: str = "",
|
|
129
154
|
copy_set: set = None,
|
|
130
|
-
library:
|
|
155
|
+
library: bpy.types.Library | None = None,
|
|
131
156
|
) -> str:
|
|
132
157
|
"""Return a filepath relative to a destination directory, for use with
|
|
133
158
|
exporters.
|
|
@@ -150,15 +175,47 @@ def path_reference(
|
|
|
150
175
|
pass to path_reference_copy when exporting is done.
|
|
151
176
|
:type copy_set: set
|
|
152
177
|
:param library: The library this path is relative to.
|
|
153
|
-
:type library:
|
|
178
|
+
:type library: bpy.types.Library | None
|
|
154
179
|
:return: the new filepath.
|
|
155
180
|
:rtype: str
|
|
156
181
|
"""
|
|
157
182
|
|
|
158
183
|
...
|
|
159
184
|
|
|
160
|
-
def path_reference(
|
|
161
|
-
|
|
185
|
+
def path_reference(
|
|
186
|
+
filepath: str,
|
|
187
|
+
base_src: str,
|
|
188
|
+
base_dst: str,
|
|
189
|
+
mode: str = "AUTO",
|
|
190
|
+
copy_subdir: str = "",
|
|
191
|
+
copy_set: set = None,
|
|
192
|
+
library: bpy.types.Library | None = None,
|
|
193
|
+
) -> str:
|
|
194
|
+
"""Return a filepath relative to a destination directory, for use with
|
|
195
|
+
exporters.
|
|
196
|
+
|
|
197
|
+
:param filepath: the file path to return,
|
|
198
|
+
supporting blenders relative '//' prefix.
|
|
199
|
+
:type filepath: str
|
|
200
|
+
:param base_src: the directory the filepath is relative too
|
|
201
|
+
(normally the blend file).
|
|
202
|
+
:type base_src: str
|
|
203
|
+
:param base_dst: the directory the filepath will be referenced from
|
|
204
|
+
(normally the export path).
|
|
205
|
+
:type base_dst: str
|
|
206
|
+
:param mode: the method used get the path in
|
|
207
|
+
['AUTO', 'ABSOLUTE', 'RELATIVE', 'MATCH', 'STRIP', 'COPY']
|
|
208
|
+
:type mode: str
|
|
209
|
+
:param copy_subdir: the subdirectory of base_dst to use when mode='COPY'.
|
|
210
|
+
:type copy_subdir: str
|
|
211
|
+
:param copy_set: collect from/to pairs when mode='COPY',
|
|
212
|
+
pass to path_reference_copy when exporting is done.
|
|
213
|
+
:type copy_set: set
|
|
214
|
+
:param library: The library this path is relative to.
|
|
215
|
+
:type library: bpy.types.Library | None
|
|
216
|
+
:return: the new filepath.
|
|
217
|
+
:rtype: str
|
|
218
|
+
"""
|
|
162
219
|
|
|
163
220
|
...
|
|
164
221
|
|
|
@@ -173,13 +230,22 @@ def path_reference_copy(copy_set: set, report: typing.Any = None):
|
|
|
173
230
|
|
|
174
231
|
...
|
|
175
232
|
|
|
176
|
-
def path_reference_copy(copy_set, report):
|
|
177
|
-
"""
|
|
233
|
+
def path_reference_copy(copy_set: set, report: typing.Any = None):
|
|
234
|
+
"""Execute copying files of path_reference
|
|
235
|
+
|
|
236
|
+
:param copy_set: set of (from, to) pairs to copy.
|
|
237
|
+
:type copy_set: set
|
|
238
|
+
:param report: function used for reporting warnings, takes a string argument.
|
|
239
|
+
:type report: typing.Any
|
|
240
|
+
"""
|
|
178
241
|
|
|
179
242
|
...
|
|
180
243
|
|
|
181
244
|
def poll_file_object_drop(context):
|
|
182
|
-
"""
|
|
245
|
+
"""A default implementation for FileHandler poll_drop methods. Allows for both the 3D Viewport and
|
|
246
|
+
the Outliner (in ViewLayer display mode) to be targets for file drag and drop.
|
|
247
|
+
|
|
248
|
+
"""
|
|
183
249
|
|
|
184
250
|
...
|
|
185
251
|
|
|
@@ -212,27 +278,36 @@ def unique_name(
|
|
|
212
278
|
|
|
213
279
|
...
|
|
214
280
|
|
|
215
|
-
def unique_name(
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
def unpack_face_list(list_of_tuples):
|
|
226
|
-
""" """
|
|
227
|
-
|
|
228
|
-
...
|
|
281
|
+
def unique_name(
|
|
282
|
+
key,
|
|
283
|
+
name: str,
|
|
284
|
+
name_dict: dict,
|
|
285
|
+
name_max=-1,
|
|
286
|
+
clean_func: typing.Any = None,
|
|
287
|
+
sep: str = ".",
|
|
288
|
+
):
|
|
289
|
+
"""Helper function for storing unique names which may have special characters
|
|
290
|
+
stripped and restricted to a maximum length.
|
|
229
291
|
|
|
230
|
-
|
|
231
|
-
|
|
292
|
+
:param key: unique item this name belongs to, name_dict[key] will be reused
|
|
293
|
+
when available.
|
|
294
|
+
This can be the object, mesh, material, etc instance itself.
|
|
295
|
+
:param name: The name used to create a unique value in name_dict.
|
|
296
|
+
:type name: str
|
|
297
|
+
:param name_dict: This is used to cache namespace to ensure no collisions
|
|
298
|
+
occur, this should be an empty dict initially and only modified by this
|
|
299
|
+
function.
|
|
300
|
+
:type name_dict: dict
|
|
301
|
+
:param clean_func: Function to call on name before creating a unique value.
|
|
302
|
+
:type clean_func: typing.Any
|
|
303
|
+
:param sep: Separator to use when between the name and a number when a
|
|
304
|
+
duplicate name is found.
|
|
305
|
+
:type sep: str
|
|
306
|
+
"""
|
|
232
307
|
|
|
233
308
|
...
|
|
234
309
|
|
|
235
|
-
def
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
310
|
+
def unpack_face_list(list_of_tuples): ...
|
|
311
|
+
def unpack_face_list(list_of_tuples): ...
|
|
312
|
+
def unpack_list(list_of_tuples): ...
|
|
313
|
+
def unpack_list(list_of_tuples): ...
|
|
@@ -8,7 +8,7 @@ def addon_keymap_register(keymap_data):
|
|
|
8
8
|
...
|
|
9
9
|
|
|
10
10
|
def addon_keymap_register(keymap_data):
|
|
11
|
-
""" """
|
|
11
|
+
"""Register a set of keymaps for addons using a list of keymaps.See 'blender_defaults.py' for examples of the format this takes."""
|
|
12
12
|
|
|
13
13
|
...
|
|
14
14
|
|
|
@@ -18,16 +18,9 @@ def addon_keymap_unregister(keymap_data):
|
|
|
18
18
|
...
|
|
19
19
|
|
|
20
20
|
def addon_keymap_unregister(keymap_data):
|
|
21
|
-
""" """
|
|
22
|
-
|
|
23
|
-
...
|
|
24
|
-
|
|
25
|
-
def keyconfig_test(kc):
|
|
26
|
-
""" """
|
|
21
|
+
"""Unregister a set of keymaps for addons."""
|
|
27
22
|
|
|
28
23
|
...
|
|
29
24
|
|
|
30
|
-
def keyconfig_test(kc):
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
...
|
|
25
|
+
def keyconfig_test(kc): ...
|
|
26
|
+
def keyconfig_test(kc): ...
|
|
@@ -12,8 +12,12 @@ def edge_face_count(mesh) -> list:
|
|
|
12
12
|
|
|
13
13
|
...
|
|
14
14
|
|
|
15
|
-
def edge_face_count(mesh):
|
|
16
|
-
"""
|
|
15
|
+
def edge_face_count(mesh) -> list:
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
:return: list face users for each item in mesh.edges.
|
|
19
|
+
:rtype: list
|
|
20
|
+
"""
|
|
17
21
|
|
|
18
22
|
...
|
|
19
23
|
|
|
@@ -27,8 +31,13 @@ def edge_face_count_dict(mesh) -> dict:
|
|
|
27
31
|
|
|
28
32
|
...
|
|
29
33
|
|
|
30
|
-
def edge_face_count_dict(mesh):
|
|
31
|
-
"""
|
|
34
|
+
def edge_face_count_dict(mesh) -> dict:
|
|
35
|
+
"""
|
|
36
|
+
|
|
37
|
+
:return: dict of edge keys with their value set to the number of
|
|
38
|
+
faces using each edge.
|
|
39
|
+
:rtype: dict
|
|
40
|
+
"""
|
|
32
41
|
|
|
33
42
|
...
|
|
34
43
|
|
|
@@ -40,8 +49,11 @@ def edge_loops_from_edges(mesh, edges=None):
|
|
|
40
49
|
|
|
41
50
|
...
|
|
42
51
|
|
|
43
|
-
def edge_loops_from_edges(mesh, edges):
|
|
44
|
-
"""
|
|
52
|
+
def edge_loops_from_edges(mesh, edges=None):
|
|
53
|
+
"""Edge loops defined by edgesTakes me.edges or a list of edges and returns the edge loopsreturn a list of vertex indices.
|
|
54
|
+
[ [1, 6, 7, 2], ...]closed loops have matching start and end values.
|
|
55
|
+
|
|
56
|
+
"""
|
|
45
57
|
|
|
46
58
|
...
|
|
47
59
|
|
|
@@ -57,8 +69,15 @@ def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
|
|
|
57
69
|
|
|
58
70
|
...
|
|
59
71
|
|
|
60
|
-
def mesh_linked_triangles(mesh):
|
|
61
|
-
"""
|
|
72
|
+
def mesh_linked_triangles(mesh: bpy.types.Mesh) -> list:
|
|
73
|
+
"""Splits the mesh into connected triangles, use this for separating cubes from
|
|
74
|
+
other mesh elements within 1 mesh datablock.
|
|
75
|
+
|
|
76
|
+
:param mesh: the mesh used to group with.
|
|
77
|
+
:type mesh: bpy.types.Mesh
|
|
78
|
+
:return: lists of lists containing triangles.
|
|
79
|
+
:rtype: list
|
|
80
|
+
"""
|
|
62
81
|
|
|
63
82
|
...
|
|
64
83
|
|
|
@@ -73,13 +92,19 @@ def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
|
|
|
73
92
|
|
|
74
93
|
...
|
|
75
94
|
|
|
76
|
-
def mesh_linked_uv_islands(mesh):
|
|
77
|
-
"""
|
|
95
|
+
def mesh_linked_uv_islands(mesh: bpy.types.Mesh) -> list:
|
|
96
|
+
"""Returns lists of polygon indices connected by UV islands.
|
|
97
|
+
|
|
98
|
+
:param mesh: the mesh used to group with.
|
|
99
|
+
:type mesh: bpy.types.Mesh
|
|
100
|
+
:return: list of lists containing polygon indices
|
|
101
|
+
:rtype: list
|
|
102
|
+
"""
|
|
78
103
|
|
|
79
104
|
...
|
|
80
105
|
|
|
81
106
|
def ngon_tessellate(
|
|
82
|
-
from_data:
|
|
107
|
+
from_data: list | bpy.types.Mesh,
|
|
83
108
|
indices: list,
|
|
84
109
|
fix_loops: bool = True,
|
|
85
110
|
debug_print=True,
|
|
@@ -89,7 +114,7 @@ def ngon_tessellate(
|
|
|
89
114
|
ngon to create from existing verts.
|
|
90
115
|
|
|
91
116
|
:param from_data: either a mesh, or a list/tuple of vectors.
|
|
92
|
-
:type from_data:
|
|
117
|
+
:type from_data: list | bpy.types.Mesh
|
|
93
118
|
:param indices: a list of indices to use this list
|
|
94
119
|
is the ordered closed poly-line
|
|
95
120
|
to fill, and can be a subset of the data given.
|
|
@@ -102,27 +127,54 @@ def ngon_tessellate(
|
|
|
102
127
|
|
|
103
128
|
...
|
|
104
129
|
|
|
105
|
-
def ngon_tessellate(
|
|
106
|
-
|
|
130
|
+
def ngon_tessellate(
|
|
131
|
+
from_data: list | bpy.types.Mesh,
|
|
132
|
+
indices: list,
|
|
133
|
+
fix_loops: bool = True,
|
|
134
|
+
debug_print=True,
|
|
135
|
+
):
|
|
136
|
+
"""Takes a poly-line of indices (ngon) and returns a list of face
|
|
137
|
+
index lists. Designed to be used for importers that need indices for an
|
|
138
|
+
ngon to create from existing verts.
|
|
139
|
+
|
|
140
|
+
:param from_data: either a mesh, or a list/tuple of vectors.
|
|
141
|
+
:type from_data: list | bpy.types.Mesh
|
|
142
|
+
:param indices: a list of indices to use this list
|
|
143
|
+
is the ordered closed poly-line
|
|
144
|
+
to fill, and can be a subset of the data given.
|
|
145
|
+
:type indices: list
|
|
146
|
+
:param fix_loops: If this is enabled poly-lines
|
|
147
|
+
that use loops to make multiple
|
|
148
|
+
poly-lines are dealt with correctly.
|
|
149
|
+
:type fix_loops: bool
|
|
150
|
+
"""
|
|
107
151
|
|
|
108
152
|
...
|
|
109
153
|
|
|
110
154
|
def triangle_random_points(
|
|
111
|
-
num_points,
|
|
112
|
-
loop_triangles: typing.Union[bpy.types.MeshLoopTriangle, typing.Sequence],
|
|
155
|
+
num_points, loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
|
|
113
156
|
) -> list:
|
|
114
157
|
"""Generates a list of random points over mesh loop triangles.
|
|
115
158
|
|
|
116
159
|
:param num_points: the number of random points to generate on each triangle.
|
|
117
160
|
:param loop_triangles: list of the triangles to generate points on.
|
|
118
|
-
:type loop_triangles:
|
|
161
|
+
:type loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
|
|
119
162
|
:return: list of random points over all triangles.
|
|
120
163
|
:rtype: list
|
|
121
164
|
"""
|
|
122
165
|
|
|
123
166
|
...
|
|
124
167
|
|
|
125
|
-
def triangle_random_points(
|
|
126
|
-
|
|
168
|
+
def triangle_random_points(
|
|
169
|
+
num_points, loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
|
|
170
|
+
) -> list:
|
|
171
|
+
"""Generates a list of random points over mesh loop triangles.
|
|
172
|
+
|
|
173
|
+
:param num_points: the number of random points to generate on each triangle.
|
|
174
|
+
:param loop_triangles: list of the triangles to generate points on.
|
|
175
|
+
:type loop_triangles: bpy.types.MeshLoopTriangle | typing.Sequence
|
|
176
|
+
:return: list of random points over all triangles.
|
|
177
|
+
:rtype: list
|
|
178
|
+
"""
|
|
127
179
|
|
|
128
180
|
...
|