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
bpy/types/py.typed
ADDED
|
File without changes
|
bpy/utils/__init__.pyi
ADDED
|
@@ -0,0 +1,429 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
import bpy.types
|
|
4
|
+
|
|
5
|
+
from . import units
|
|
6
|
+
from . import previews
|
|
7
|
+
|
|
8
|
+
GenericType = typing.TypeVar("GenericType")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
def app_template_paths(*, path: typing.Optional[str] = None) -> typing.Any:
|
|
12
|
+
''' Returns valid application template paths.
|
|
13
|
+
|
|
14
|
+
:param path: Optional subdir.
|
|
15
|
+
:type path: typing.Optional[str]
|
|
16
|
+
:rtype: typing.Any
|
|
17
|
+
:return: app template paths.
|
|
18
|
+
'''
|
|
19
|
+
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def blend_paths(absolute: typing.Optional[bool] = False,
|
|
24
|
+
packed: typing.Optional[bool] = False,
|
|
25
|
+
local: typing.Optional[bool] = False) -> typing.List[str]:
|
|
26
|
+
''' Returns a list of paths to external files referenced by the loaded .blend file.
|
|
27
|
+
|
|
28
|
+
:param absolute: When true the paths returned are made absolute.
|
|
29
|
+
:type absolute: typing.Optional[bool]
|
|
30
|
+
:param packed: When true skip file paths for packed data.
|
|
31
|
+
:type packed: typing.Optional[bool]
|
|
32
|
+
:param local: When true skip linked library paths.
|
|
33
|
+
:type local: typing.Optional[bool]
|
|
34
|
+
:rtype: typing.List[str]
|
|
35
|
+
:return: path list.
|
|
36
|
+
'''
|
|
37
|
+
|
|
38
|
+
...
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def escape_identifier(string: typing.Optional[str]) -> str:
|
|
42
|
+
''' Simple string escaping function used for animation paths.
|
|
43
|
+
|
|
44
|
+
:param string: text
|
|
45
|
+
:type string: typing.Optional[str]
|
|
46
|
+
:rtype: str
|
|
47
|
+
:return: The escaped string.
|
|
48
|
+
'''
|
|
49
|
+
|
|
50
|
+
...
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def execfile(filepath: typing.Optional[str],
|
|
54
|
+
*,
|
|
55
|
+
mod: typing.Optional[typing.Any] = None) -> typing.Any:
|
|
56
|
+
''' Execute a file path as a Python script.
|
|
57
|
+
|
|
58
|
+
:param filepath: Path of the script to execute.
|
|
59
|
+
:type filepath: typing.Optional[str]
|
|
60
|
+
:param mod: Optional cached module, the result of a previous execution.
|
|
61
|
+
:type mod: typing.Optional[typing.Any]
|
|
62
|
+
:rtype: typing.Any
|
|
63
|
+
:return: The module which can be passed back in as ``mod``.
|
|
64
|
+
'''
|
|
65
|
+
|
|
66
|
+
...
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
def flip_name(name: typing.Optional[str],
|
|
70
|
+
strip_digits: typing.Optional[bool] = False) -> str:
|
|
71
|
+
''' Flip a name between left/right sides, useful for mirroring bone names.
|
|
72
|
+
|
|
73
|
+
:param name: Bone name to flip.
|
|
74
|
+
:type name: typing.Optional[str]
|
|
75
|
+
:param strip_digits: Whether to remove ``.###`` suffix.
|
|
76
|
+
:type strip_digits: typing.Optional[bool]
|
|
77
|
+
:rtype: str
|
|
78
|
+
:return: The flipped name.
|
|
79
|
+
'''
|
|
80
|
+
|
|
81
|
+
...
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def is_path_builtin(path):
|
|
85
|
+
'''
|
|
86
|
+
|
|
87
|
+
'''
|
|
88
|
+
|
|
89
|
+
...
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
def keyconfig_init():
|
|
93
|
+
'''
|
|
94
|
+
|
|
95
|
+
'''
|
|
96
|
+
|
|
97
|
+
...
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
def keyconfig_set(filepath, *, report=None):
|
|
101
|
+
'''
|
|
102
|
+
|
|
103
|
+
'''
|
|
104
|
+
|
|
105
|
+
...
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def load_scripts(*,
|
|
109
|
+
reload_scripts: typing.Optional[bool] = False,
|
|
110
|
+
refresh_scripts: typing.Optional[bool] = False,
|
|
111
|
+
extensions: typing.Optional[bool] = True):
|
|
112
|
+
''' Load scripts and run each modules register function.
|
|
113
|
+
|
|
114
|
+
:param reload_scripts: Causes all scripts to have their unregister method called before loading.
|
|
115
|
+
:type reload_scripts: typing.Optional[bool]
|
|
116
|
+
:param refresh_scripts: only load scripts which are not already loaded as modules.
|
|
117
|
+
:type refresh_scripts: typing.Optional[bool]
|
|
118
|
+
:param extensions: Loads additional scripts (add-ons & app-templates).
|
|
119
|
+
:type extensions: typing.Optional[bool]
|
|
120
|
+
'''
|
|
121
|
+
|
|
122
|
+
...
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def load_scripts_extensions(reload_scripts):
|
|
126
|
+
'''
|
|
127
|
+
|
|
128
|
+
'''
|
|
129
|
+
|
|
130
|
+
...
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
def make_rna_paths(struct_name: typing.Optional[str],
|
|
134
|
+
prop_name: typing.Optional[str],
|
|
135
|
+
enum_name: typing.Optional[str]) -> typing.Tuple:
|
|
136
|
+
''' Create RNA "paths" from given names.
|
|
137
|
+
|
|
138
|
+
:param struct_name: Name of a RNA struct (like e.g. "Scene").
|
|
139
|
+
:type struct_name: typing.Optional[str]
|
|
140
|
+
:param prop_name: Name of a RNA struct's property.
|
|
141
|
+
:type prop_name: typing.Optional[str]
|
|
142
|
+
:param enum_name: Name of a RNA enum identifier.
|
|
143
|
+
:type enum_name: typing.Optional[str]
|
|
144
|
+
:rtype: typing.Tuple
|
|
145
|
+
:return: A triple of three "RNA paths" (most_complete_path, "struct.prop", "struct.prop:'enum'"). If no enum_name is given, the third element will always be void.
|
|
146
|
+
'''
|
|
147
|
+
|
|
148
|
+
...
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
def manual_language_code(default='en') -> str:
|
|
152
|
+
'''
|
|
153
|
+
|
|
154
|
+
:rtype: str
|
|
155
|
+
:return: The language code used for user manual URL component based on the current language user-preference, falling back to the ``default`` when unavailable.
|
|
156
|
+
'''
|
|
157
|
+
|
|
158
|
+
...
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def manual_map():
|
|
162
|
+
'''
|
|
163
|
+
|
|
164
|
+
'''
|
|
165
|
+
|
|
166
|
+
...
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def modules_from_path(
|
|
170
|
+
path: typing.Optional[str],
|
|
171
|
+
loaded_modules: typing.Optional[typing.Set]) -> typing.List:
|
|
172
|
+
''' Load all modules in a path and return them as a list.
|
|
173
|
+
|
|
174
|
+
:param path: this path is scanned for scripts and packages.
|
|
175
|
+
:type path: typing.Optional[str]
|
|
176
|
+
:param loaded_modules: already loaded module names, files matching these names will be ignored.
|
|
177
|
+
:type loaded_modules: typing.Optional[typing.Set]
|
|
178
|
+
:rtype: typing.List
|
|
179
|
+
:return: all loaded modules.
|
|
180
|
+
'''
|
|
181
|
+
|
|
182
|
+
...
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def preset_find(name, preset_path, *, display_name=False, ext='.py'):
|
|
186
|
+
'''
|
|
187
|
+
|
|
188
|
+
'''
|
|
189
|
+
|
|
190
|
+
...
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
def preset_paths(subdir: typing.Optional[str]) -> typing.List:
|
|
194
|
+
''' Returns a list of paths for a specific preset.
|
|
195
|
+
|
|
196
|
+
:param subdir: preset subdirectory (must not be an absolute path).
|
|
197
|
+
:type subdir: typing.Optional[str]
|
|
198
|
+
:rtype: typing.List
|
|
199
|
+
:return: script paths.
|
|
200
|
+
'''
|
|
201
|
+
|
|
202
|
+
...
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
def refresh_script_paths():
|
|
206
|
+
''' Run this after creating new script paths to update sys.path
|
|
207
|
+
|
|
208
|
+
'''
|
|
209
|
+
|
|
210
|
+
...
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
def register_class(cls: typing.Optional[typing.Any]):
|
|
214
|
+
''' Register a subclass of a Blender type class. :raises ValueError: if the class is not a subclass of a registerable blender class.
|
|
215
|
+
|
|
216
|
+
:param cls: `bpy.types.Panel`, `bpy.types.UIList`, `bpy.types.Menu`, `bpy.types.Header`, `bpy.types.Operator`, `bpy.types.KeyingSetInfo`, `bpy.types.RenderEngine`, `bpy.types.AssetShelf`
|
|
217
|
+
:type cls: typing.Optional[typing.Any]
|
|
218
|
+
'''
|
|
219
|
+
|
|
220
|
+
...
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
def register_classes_factory(classes):
|
|
224
|
+
''' Utility function to create register and unregister functions which simply registers and unregisters a sequence of classes.
|
|
225
|
+
|
|
226
|
+
'''
|
|
227
|
+
|
|
228
|
+
...
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
def register_manual_map(manual_hook):
|
|
232
|
+
'''
|
|
233
|
+
|
|
234
|
+
'''
|
|
235
|
+
|
|
236
|
+
...
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
def register_submodule_factory(
|
|
240
|
+
module_name: typing.Optional[str],
|
|
241
|
+
submodule_names: typing.Optional[typing.List[str]]) -> typing.Tuple:
|
|
242
|
+
''' Utility function to create register and unregister functions which simply load submodules, calling their register & unregister functions.
|
|
243
|
+
|
|
244
|
+
:param module_name: The module name, typically ``__name__``.
|
|
245
|
+
:type module_name: typing.Optional[str]
|
|
246
|
+
:param submodule_names: List of submodule names to load and unload.
|
|
247
|
+
:type submodule_names: typing.Optional[typing.List[str]]
|
|
248
|
+
:rtype: typing.Tuple
|
|
249
|
+
:return: register and unregister functions.
|
|
250
|
+
'''
|
|
251
|
+
|
|
252
|
+
...
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
def register_tool(tool_cls,
|
|
256
|
+
*,
|
|
257
|
+
after: typing.Optional[typing.Any] = None,
|
|
258
|
+
separator: typing.Optional[bool] = False,
|
|
259
|
+
group: typing.Optional[bool] = False):
|
|
260
|
+
''' Register a tool in the toolbar.
|
|
261
|
+
|
|
262
|
+
:param tool: A tool subclass.
|
|
263
|
+
:type tool: typing.Optional['bpy.types.WorkSpaceTool']
|
|
264
|
+
:param space_type: Space type identifier.
|
|
265
|
+
:type space_type: typing.Optional[str]
|
|
266
|
+
:param after: Optional identifiers this tool will be added after.
|
|
267
|
+
:type after: typing.Optional[typing.Any]
|
|
268
|
+
:param separator: When true, add a separator before this tool.
|
|
269
|
+
:type separator: typing.Optional[bool]
|
|
270
|
+
:param group: When true, add a new nested group of tools.
|
|
271
|
+
:type group: typing.Optional[bool]
|
|
272
|
+
'''
|
|
273
|
+
|
|
274
|
+
...
|
|
275
|
+
|
|
276
|
+
|
|
277
|
+
def resource_path(type: typing.Optional[str],
|
|
278
|
+
major: typing.Optional[int] = 'bpy.app.version[0]',
|
|
279
|
+
minor: typing.Optional[str] = 'bpy.app.version[1]') -> str:
|
|
280
|
+
''' Return the base path for storing system files.
|
|
281
|
+
|
|
282
|
+
:param type: string in ['USER', 'LOCAL', 'SYSTEM'].
|
|
283
|
+
:type type: typing.Optional[str]
|
|
284
|
+
:param major: major version, defaults to current.
|
|
285
|
+
:type major: typing.Optional[int]
|
|
286
|
+
:param minor: minor version, defaults to current.
|
|
287
|
+
:type minor: typing.Optional[str]
|
|
288
|
+
:rtype: str
|
|
289
|
+
:return: the resource path (not necessarily existing).
|
|
290
|
+
'''
|
|
291
|
+
|
|
292
|
+
...
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
def script_path_user():
|
|
296
|
+
''' returns the env var and falls back to home dir or None
|
|
297
|
+
|
|
298
|
+
'''
|
|
299
|
+
|
|
300
|
+
...
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
def script_paths(*,
|
|
304
|
+
subdir: typing.Optional[str] = None,
|
|
305
|
+
user_pref: typing.Optional[bool] = True,
|
|
306
|
+
check_all: typing.Optional[bool] = False,
|
|
307
|
+
use_user=True) -> typing.List:
|
|
308
|
+
''' Returns a list of valid script paths.
|
|
309
|
+
|
|
310
|
+
:param subdir: Optional subdir.
|
|
311
|
+
:type subdir: typing.Optional[str]
|
|
312
|
+
:param user_pref: Include the user preference script paths.
|
|
313
|
+
:type user_pref: typing.Optional[bool]
|
|
314
|
+
:param check_all: Include local, user and system paths rather just the paths Blender uses.
|
|
315
|
+
:type check_all: typing.Optional[bool]
|
|
316
|
+
:rtype: typing.List
|
|
317
|
+
:return: script paths.
|
|
318
|
+
'''
|
|
319
|
+
|
|
320
|
+
...
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
def script_paths_pref():
|
|
324
|
+
'''
|
|
325
|
+
|
|
326
|
+
'''
|
|
327
|
+
|
|
328
|
+
...
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
def smpte_from_frame(frame: typing.Optional[int], *, fps=None,
|
|
332
|
+
fps_base=None) -> str:
|
|
333
|
+
''' Returns an SMPTE formatted string from the *frame*: ``HH:MM:SS:FF``. If *fps* and *fps_base* are not given the current scene is used.
|
|
334
|
+
|
|
335
|
+
:param frame: frame number.
|
|
336
|
+
:type frame: typing.Optional[int]
|
|
337
|
+
:rtype: str
|
|
338
|
+
:return: the frame string.
|
|
339
|
+
'''
|
|
340
|
+
|
|
341
|
+
...
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
def smpte_from_seconds(time: typing.Optional[typing.Union[int, float]],
|
|
345
|
+
*,
|
|
346
|
+
fps=None,
|
|
347
|
+
fps_base=None) -> str:
|
|
348
|
+
''' Returns an SMPTE formatted string from the *time*: ``HH:MM:SS:FF``. If *fps* and *fps_base* are not given the current scene is used.
|
|
349
|
+
|
|
350
|
+
:param time: time in seconds.
|
|
351
|
+
:type time: typing.Optional[typing.Union[int, float]]
|
|
352
|
+
:rtype: str
|
|
353
|
+
:return: the frame string.
|
|
354
|
+
'''
|
|
355
|
+
|
|
356
|
+
...
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
def time_from_frame(frame, fps, fps_base):
|
|
360
|
+
'''
|
|
361
|
+
|
|
362
|
+
'''
|
|
363
|
+
|
|
364
|
+
...
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
def time_to_frame(time, fps, fps_base):
|
|
368
|
+
'''
|
|
369
|
+
|
|
370
|
+
'''
|
|
371
|
+
|
|
372
|
+
...
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
def unescape_identifier(string: typing.Optional[str]) -> str:
|
|
376
|
+
''' Simple string un-escape function used for animation paths. This performs the reverse of `escape_identifier`.
|
|
377
|
+
|
|
378
|
+
:param string: text
|
|
379
|
+
:type string: typing.Optional[str]
|
|
380
|
+
:rtype: str
|
|
381
|
+
:return: The un-escaped string.
|
|
382
|
+
'''
|
|
383
|
+
|
|
384
|
+
...
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
def unregister_class(cls: typing.Optional[typing.Any]):
|
|
388
|
+
''' Unload the Python class from blender.
|
|
389
|
+
|
|
390
|
+
:param cls: Blender type class, see :mod:`bpy.utils.register_class` for classes which can be registered.
|
|
391
|
+
:type cls: typing.Optional[typing.Any]
|
|
392
|
+
'''
|
|
393
|
+
|
|
394
|
+
...
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
def unregister_manual_map(manual_hook):
|
|
398
|
+
'''
|
|
399
|
+
|
|
400
|
+
'''
|
|
401
|
+
|
|
402
|
+
...
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
def unregister_tool(tool_cls):
|
|
406
|
+
'''
|
|
407
|
+
|
|
408
|
+
'''
|
|
409
|
+
|
|
410
|
+
...
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
def user_resource(resource_type,
|
|
414
|
+
*,
|
|
415
|
+
path: typing.Optional[str] = '',
|
|
416
|
+
create: typing.Optional[bool] = False) -> str:
|
|
417
|
+
''' Return a user resource path (normally from the users home directory).
|
|
418
|
+
|
|
419
|
+
:param type: Resource type in ['DATAFILES', 'CONFIG', 'SCRIPTS', 'AUTOSAVE'].
|
|
420
|
+
:type type: typing.Optional[str]
|
|
421
|
+
:param path: Optional subdirectory.
|
|
422
|
+
:type path: typing.Optional[str]
|
|
423
|
+
:param create: Treat the path as a directory and create it if its not existing.
|
|
424
|
+
:type create: typing.Optional[bool]
|
|
425
|
+
:rtype: str
|
|
426
|
+
:return: a path.
|
|
427
|
+
'''
|
|
428
|
+
|
|
429
|
+
...
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
import bpy.types
|
|
4
|
+
|
|
5
|
+
GenericType = typing.TypeVar("GenericType")
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ImagePreviewCollection:
|
|
9
|
+
''' Dictionary-like class of previews. This is a subclass of Python's built-in dict type, used to store multiple image previews.
|
|
10
|
+
'''
|
|
11
|
+
|
|
12
|
+
def clear(self):
|
|
13
|
+
''' Clear all previews.
|
|
14
|
+
|
|
15
|
+
'''
|
|
16
|
+
...
|
|
17
|
+
|
|
18
|
+
def close(self):
|
|
19
|
+
''' Close the collection and clear all previews.
|
|
20
|
+
|
|
21
|
+
'''
|
|
22
|
+
...
|
|
23
|
+
|
|
24
|
+
def load(self,
|
|
25
|
+
name: typing.Optional[str],
|
|
26
|
+
filepath: typing.Optional[typing.Union[str, bytes]],
|
|
27
|
+
filetype: typing.Optional[str],
|
|
28
|
+
force_reload: typing.Optional[bool] = False
|
|
29
|
+
) -> 'bpy.types.ImagePreview':
|
|
30
|
+
''' Generate a new preview from given file path. :raises KeyError: if ``name`` already exists.
|
|
31
|
+
|
|
32
|
+
:param name: The name (unique id) identifying the preview.
|
|
33
|
+
:type name: typing.Optional[str]
|
|
34
|
+
:param filepath: The file path to generate the preview from.
|
|
35
|
+
:type filepath: typing.Optional[typing.Union[str, bytes]]
|
|
36
|
+
:param filetype: The type of file, needed to generate the preview in ['IMAGE', 'MOVIE', 'BLEND', 'FONT'].
|
|
37
|
+
:type filetype: typing.Optional[str]
|
|
38
|
+
:param force_reload: If True, force running thumbnail manager even if preview already exists in cache.
|
|
39
|
+
:type force_reload: typing.Optional[bool]
|
|
40
|
+
:rtype: 'bpy.types.ImagePreview'
|
|
41
|
+
:return: The Preview matching given name, or a new empty one.
|
|
42
|
+
'''
|
|
43
|
+
...
|
|
44
|
+
|
|
45
|
+
def new(self, name: typing.Optional[str]) -> 'bpy.types.ImagePreview':
|
|
46
|
+
''' Generate a new empty preview. :raises KeyError: if ``name`` already exists.
|
|
47
|
+
|
|
48
|
+
:param name: The name (unique id) identifying the preview.
|
|
49
|
+
:type name: typing.Optional[str]
|
|
50
|
+
:rtype: 'bpy.types.ImagePreview'
|
|
51
|
+
:return: The Preview matching given name, or a new empty one.
|
|
52
|
+
'''
|
|
53
|
+
...
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def new() -> 'ImagePreviewCollection':
|
|
57
|
+
'''
|
|
58
|
+
|
|
59
|
+
:rtype: 'ImagePreviewCollection'
|
|
60
|
+
:return: a new preview collection.
|
|
61
|
+
'''
|
|
62
|
+
|
|
63
|
+
...
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
def remove(pcoll: typing.Optional['ImagePreviewCollection']):
|
|
67
|
+
''' Remove the specified previews collection.
|
|
68
|
+
|
|
69
|
+
:param pcoll: Preview collection to close.
|
|
70
|
+
:type pcoll: typing.Optional['ImagePreviewCollection']
|
|
71
|
+
'''
|
|
72
|
+
|
|
73
|
+
...
|
|
File without changes
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
|
|
4
|
+
GenericType = typing.TypeVar("GenericType")
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def to_string(unit_system: typing.Optional[str],
|
|
8
|
+
unit_category: typing.Optional[str],
|
|
9
|
+
value: typing.Optional[float],
|
|
10
|
+
precision: typing.Optional[int] = 3,
|
|
11
|
+
split_unit: typing.Optional[bool] = False,
|
|
12
|
+
compatible_unit: typing.Optional[bool] = False) -> str:
|
|
13
|
+
''' Convert a given input float value into a string with units. :raises ValueError: if conversion fails to generate a valid Python string.
|
|
14
|
+
|
|
15
|
+
:param unit_system: `bpy.utils.units.systems`.
|
|
16
|
+
:type unit_system: typing.Optional[str]
|
|
17
|
+
:param unit_category: The category of data we are converting (length, area, rotation, etc.), from :attr:`bpy.utils.units.categories`.
|
|
18
|
+
:type unit_category: typing.Optional[str]
|
|
19
|
+
:param value: The value to convert to a string.
|
|
20
|
+
:type value: typing.Optional[float]
|
|
21
|
+
:param precision: Number of digits after the comma.
|
|
22
|
+
:type precision: typing.Optional[int]
|
|
23
|
+
:param split_unit: Whether to use several units if needed (1m1cm), or always only one (1.01m).
|
|
24
|
+
:type split_unit: typing.Optional[bool]
|
|
25
|
+
:param compatible_unit: Whether to use keyboard-friendly units (1m2) or nicer utf-8 ones (1m²).
|
|
26
|
+
:type compatible_unit: typing.Optional[bool]
|
|
27
|
+
:rtype: str
|
|
28
|
+
:return: The converted string.
|
|
29
|
+
'''
|
|
30
|
+
|
|
31
|
+
...
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
def to_value(unit_system: typing.Optional[str],
|
|
35
|
+
unit_category: typing.Optional[str],
|
|
36
|
+
str_input: typing.Optional[str],
|
|
37
|
+
str_ref_unit: typing.Optional[str] = None) -> float:
|
|
38
|
+
''' Convert a given input string into a float value. :raises ValueError: if conversion fails to generate a valid Python float value.
|
|
39
|
+
|
|
40
|
+
:param unit_system: `bpy.utils.units.systems`.
|
|
41
|
+
:type unit_system: typing.Optional[str]
|
|
42
|
+
:param unit_category: The category of data we are converting (length, area, rotation, etc.), from :attr:`bpy.utils.units.categories`.
|
|
43
|
+
:type unit_category: typing.Optional[str]
|
|
44
|
+
:param str_input: The string to convert to a float value.
|
|
45
|
+
:type str_input: typing.Optional[str]
|
|
46
|
+
:param str_ref_unit: A reference string from which to extract a default unit, if none is found in ``str_input``.
|
|
47
|
+
:type str_ref_unit: typing.Optional[str]
|
|
48
|
+
:rtype: float
|
|
49
|
+
:return: The converted/interpreted value.
|
|
50
|
+
'''
|
|
51
|
+
|
|
52
|
+
...
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
categories: typing.Any
|
|
56
|
+
''' Constant value bpy.utils.units.categories(NONE='NONE', LENGTH='LENGTH', AREA='AREA', VOLUME='VOLUME', MASS='MASS', ROTATION='ROTATION', TIME='TIME', TIME_ABSOLUTE='TIME_ABSOLUTE', VELOCITY='VELOCITY', ACCELERATION='ACCELERATION', CAMERA='CAMERA', POWER='POWER', TEMPERATURE='TEMPERATURE')
|
|
57
|
+
'''
|
|
58
|
+
|
|
59
|
+
systems: typing.Any
|
|
60
|
+
''' Constant value bpy.utils.units.systems(NONE='NONE', METRIC='METRIC', IMPERIAL='IMPERIAL')
|
|
61
|
+
'''
|
bpy/utils/units/py.typed
ADDED
|
File without changes
|
bpy_extras/__init__.pyi
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
from . import view3d_utils
|
|
4
|
+
from . import object_utils
|
|
5
|
+
from . import node_utils
|
|
6
|
+
from . import keyconfig_utils
|
|
7
|
+
from . import id_map_utils
|
|
8
|
+
from . import image_utils
|
|
9
|
+
from . import asset_utils
|
|
10
|
+
from . import mesh_utils
|
|
11
|
+
from . import io_utils
|
|
12
|
+
from . import anim_utils
|
|
13
|
+
from . import node_shader_utils
|
|
14
|
+
from . import wm_utils
|
|
15
|
+
from . import bmesh_utils
|
|
16
|
+
from . import extensions
|
|
17
|
+
|
|
18
|
+
GenericType = typing.TypeVar("GenericType")
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
import bpy.types
|
|
4
|
+
|
|
5
|
+
GenericType = typing.TypeVar("GenericType")
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class BakeOptions:
|
|
9
|
+
...
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
class KeyframesCo:
|
|
13
|
+
keyframes_from_fcurve: typing.Any
|
|
14
|
+
''' '''
|
|
15
|
+
|
|
16
|
+
def add_paths(self, rna_path, total_indices):
|
|
17
|
+
'''
|
|
18
|
+
|
|
19
|
+
'''
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
def extend_co_value(self, rna_path, frame, value):
|
|
23
|
+
'''
|
|
24
|
+
|
|
25
|
+
'''
|
|
26
|
+
...
|
|
27
|
+
|
|
28
|
+
def extend_co_values(self, rna_path, total_indices, frame, values):
|
|
29
|
+
'''
|
|
30
|
+
|
|
31
|
+
'''
|
|
32
|
+
...
|
|
33
|
+
|
|
34
|
+
def insert_keyframes_into_existing_action(
|
|
35
|
+
self, lookup_fcurves, total_new_keys, action, action_group_name):
|
|
36
|
+
'''
|
|
37
|
+
|
|
38
|
+
'''
|
|
39
|
+
...
|
|
40
|
+
|
|
41
|
+
def insert_keyframes_into_new_action(self, total_new_keys, action,
|
|
42
|
+
action_group_name):
|
|
43
|
+
'''
|
|
44
|
+
|
|
45
|
+
'''
|
|
46
|
+
...
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def bake_action(obj: 'bpy.types.Object', *,
|
|
50
|
+
action: typing.Optional['bpy.types.Action'], frames: int,
|
|
51
|
+
bake_o) -> 'bpy.types.Action':
|
|
52
|
+
'''
|
|
53
|
+
|
|
54
|
+
:param obj: Object to bake.
|
|
55
|
+
:type obj: 'bpy.types.Object'
|
|
56
|
+
:param action: An action to bake the data into, or None for a new action to be created.
|
|
57
|
+
:type action: typing.Optional['bpy.types.Action']
|
|
58
|
+
:param frames: Frames to bake.
|
|
59
|
+
:type frames: int
|
|
60
|
+
:rtype: 'bpy.types.Action'
|
|
61
|
+
:return: an action or None
|
|
62
|
+
'''
|
|
63
|
+
|
|
64
|
+
...
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
def bake_action_iter(obj: 'bpy.types.Object', *,
|
|
68
|
+
action: typing.Optional['bpy.types.Action'],
|
|
69
|
+
bake_o) -> 'bpy.types.Action':
|
|
70
|
+
''' An coroutine that bakes action for a single object.
|
|
71
|
+
|
|
72
|
+
:param obj: Object to bake.
|
|
73
|
+
:type obj: 'bpy.types.Object'
|
|
74
|
+
:param action: An action to bake the data into, or None for a new action to be created.
|
|
75
|
+
:type action: typing.Optional['bpy.types.Action']
|
|
76
|
+
:param bake_options: Boolean options of what to include into the action bake.
|
|
77
|
+
:type bake_options: typing.Any
|
|
78
|
+
:rtype: 'bpy.types.Action'
|
|
79
|
+
:return: an action or None
|
|
80
|
+
'''
|
|
81
|
+
|
|
82
|
+
...
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def bake_action_objects(object_action_pairs, *, frames: int,
|
|
86
|
+
bake_o) -> typing.Iterable['bpy.types.Action']:
|
|
87
|
+
''' A version of :func:`bake_action_objects_iter` that takes frames and returns the output.
|
|
88
|
+
|
|
89
|
+
:param frames: Frames to bake.
|
|
90
|
+
:type frames: int
|
|
91
|
+
:rtype: typing.Iterable['bpy.types.Action']
|
|
92
|
+
:return: A sequence of Action or None types (aligned with `object_action_pairs`)
|
|
93
|
+
'''
|
|
94
|
+
|
|
95
|
+
...
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
def bake_action_objects_iter(
|
|
99
|
+
object_action_pairs: typing.
|
|
100
|
+
Union['bpy.types.Action', 'bpy.types.Sequence', 'bpy.types.Object'],
|
|
101
|
+
bake_o):
|
|
102
|
+
''' An coroutine that bakes actions for multiple objects.
|
|
103
|
+
|
|
104
|
+
:param object_action_pairs: Sequence of object action tuples, action is the destination for the baked data. When None a new action will be created.
|
|
105
|
+
:type object_action_pairs: typing.Union['bpy.types.Action', 'bpy.types.Sequence', 'bpy.types.Object']
|
|
106
|
+
'''
|
|
107
|
+
|
|
108
|
+
...
|
|
File without changes
|