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
bl_ui/__init__.pyi
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
|
|
4
5
|
from . import anim
|
|
@@ -82,37 +83,46 @@ from . import utils
|
|
|
82
83
|
GenericType = typing.TypeVar("GenericType")
|
|
83
84
|
|
|
84
85
|
class UI_MT_button_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
85
|
-
"""
|
|
86
|
+
"""UI button context menu definition. Scripts can append/prepend this to
|
|
87
|
+
add own operators to the context menu. They must check context though, so
|
|
88
|
+
their items only draw in a valid context and for the correct buttons.
|
|
89
|
+
"""
|
|
86
90
|
|
|
87
91
|
bl_idname: typing.Any
|
|
88
|
-
""" """
|
|
89
|
-
|
|
90
92
|
bl_label: typing.Any
|
|
91
|
-
""" """
|
|
92
|
-
|
|
93
93
|
bl_rna: typing.Any
|
|
94
|
-
""" """
|
|
95
|
-
|
|
96
94
|
id_data: typing.Any
|
|
97
|
-
""" """
|
|
98
95
|
|
|
99
96
|
def append(self, draw_func):
|
|
100
|
-
"""
|
|
97
|
+
"""Append a draw function to this menu,
|
|
98
|
+
takes the same arguments as the menus draw function
|
|
101
99
|
|
|
102
|
-
|
|
100
|
+
:param draw_func:
|
|
103
101
|
"""
|
|
104
102
|
...
|
|
105
103
|
|
|
106
|
-
def as_pointer(self):
|
|
107
|
-
"""
|
|
104
|
+
def as_pointer(self) -> int:
|
|
105
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
106
|
+
|
|
107
|
+
:return: int (memory address).
|
|
108
|
+
:rtype: int
|
|
109
|
+
"""
|
|
108
110
|
...
|
|
109
111
|
|
|
110
|
-
def bl_rna_get_subclass(self):
|
|
111
|
-
"""
|
|
112
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
113
|
+
"""
|
|
114
|
+
|
|
115
|
+
:return: The RNA type or default when not found.
|
|
116
|
+
:rtype: bpy.types.Struct
|
|
117
|
+
"""
|
|
112
118
|
...
|
|
113
119
|
|
|
114
|
-
def bl_rna_get_subclass_py(self):
|
|
115
|
-
"""
|
|
120
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
:return: The class or default when not found.
|
|
124
|
+
:rtype: typing.Any
|
|
125
|
+
"""
|
|
116
126
|
...
|
|
117
127
|
|
|
118
128
|
def draw(self, context):
|
|
@@ -131,172 +141,264 @@ class UI_MT_button_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
131
141
|
...
|
|
132
142
|
|
|
133
143
|
def draw_preset(self, _context):
|
|
134
|
-
"""
|
|
144
|
+
"""Define these on the subclass:
|
|
145
|
+
- preset_operator (string)
|
|
146
|
+
- preset_subdir (string)Optionally:
|
|
147
|
+
- preset_add_operator (string)
|
|
148
|
+
- preset_extensions (set of strings)
|
|
149
|
+
- preset_operator_defaults (dict of keyword args)
|
|
135
150
|
|
|
136
|
-
|
|
151
|
+
:param _context:
|
|
137
152
|
"""
|
|
138
153
|
...
|
|
139
154
|
|
|
140
|
-
def driver_add(self):
|
|
141
|
-
"""
|
|
155
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
156
|
+
"""Adds driver(s) to the given property
|
|
157
|
+
|
|
158
|
+
:return: The driver(s) added.
|
|
159
|
+
:rtype: bpy.types.FCurve
|
|
160
|
+
"""
|
|
142
161
|
...
|
|
143
162
|
|
|
144
|
-
def driver_remove(self):
|
|
145
|
-
"""
|
|
163
|
+
def driver_remove(self) -> bool:
|
|
164
|
+
"""Remove driver(s) from the given property
|
|
165
|
+
|
|
166
|
+
:return: Success of driver removal.
|
|
167
|
+
:rtype: bool
|
|
168
|
+
"""
|
|
146
169
|
...
|
|
147
170
|
|
|
148
171
|
def get(self):
|
|
149
|
-
"""
|
|
172
|
+
"""Returns the value of the custom property assigned to key or default
|
|
173
|
+
when not found (matches Python's dictionary function of the same name).
|
|
174
|
+
|
|
175
|
+
"""
|
|
150
176
|
...
|
|
151
177
|
|
|
152
178
|
def id_properties_clear(self):
|
|
153
|
-
"""
|
|
179
|
+
"""
|
|
180
|
+
|
|
181
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
182
|
+
"""
|
|
154
183
|
...
|
|
155
184
|
|
|
156
185
|
def id_properties_ensure(self):
|
|
157
|
-
"""
|
|
186
|
+
"""
|
|
187
|
+
|
|
188
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
189
|
+
"""
|
|
158
190
|
...
|
|
159
191
|
|
|
160
192
|
def id_properties_ui(self):
|
|
161
|
-
"""
|
|
162
|
-
...
|
|
193
|
+
"""
|
|
163
194
|
|
|
164
|
-
|
|
165
|
-
"""
|
|
195
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
196
|
+
"""
|
|
166
197
|
...
|
|
167
198
|
|
|
168
|
-
def
|
|
169
|
-
|
|
199
|
+
def is_extended(self): ...
|
|
200
|
+
def is_property_hidden(self) -> bool:
|
|
201
|
+
"""Check if a property is hidden.
|
|
202
|
+
|
|
203
|
+
:return: True when the property is hidden.
|
|
204
|
+
:rtype: bool
|
|
205
|
+
"""
|
|
170
206
|
...
|
|
171
207
|
|
|
172
|
-
def is_property_overridable_library(self):
|
|
173
|
-
"""
|
|
208
|
+
def is_property_overridable_library(self) -> bool:
|
|
209
|
+
"""Check if a property is overridable.
|
|
210
|
+
|
|
211
|
+
:return: True when the property is overridable.
|
|
212
|
+
:rtype: bool
|
|
213
|
+
"""
|
|
174
214
|
...
|
|
175
215
|
|
|
176
|
-
def is_property_readonly(self):
|
|
177
|
-
"""
|
|
216
|
+
def is_property_readonly(self) -> bool:
|
|
217
|
+
"""Check if a property is readonly.
|
|
218
|
+
|
|
219
|
+
:return: True when the property is readonly (not writable).
|
|
220
|
+
:rtype: bool
|
|
221
|
+
"""
|
|
178
222
|
...
|
|
179
223
|
|
|
180
|
-
def is_property_set(self):
|
|
181
|
-
"""
|
|
224
|
+
def is_property_set(self) -> bool:
|
|
225
|
+
"""Check if a property is set, use for testing operator properties.
|
|
226
|
+
|
|
227
|
+
:return: True when the property has been set.
|
|
228
|
+
:rtype: bool
|
|
229
|
+
"""
|
|
182
230
|
...
|
|
183
231
|
|
|
184
232
|
def items(self):
|
|
185
|
-
"""
|
|
233
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
234
|
+
dictionary function of the same name).
|
|
235
|
+
|
|
236
|
+
:return: custom property key, value pairs.
|
|
237
|
+
"""
|
|
186
238
|
...
|
|
187
239
|
|
|
188
|
-
def keyframe_delete(self):
|
|
189
|
-
"""
|
|
240
|
+
def keyframe_delete(self) -> bool:
|
|
241
|
+
"""Remove a keyframe from this properties fcurve.
|
|
242
|
+
|
|
243
|
+
:return: Success of keyframe deletion.
|
|
244
|
+
:rtype: bool
|
|
245
|
+
"""
|
|
190
246
|
...
|
|
191
247
|
|
|
192
|
-
def keyframe_insert(self):
|
|
193
|
-
"""
|
|
248
|
+
def keyframe_insert(self) -> bool:
|
|
249
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
250
|
+
|
|
251
|
+
:return: Success of keyframe insertion.
|
|
252
|
+
:rtype: bool
|
|
253
|
+
"""
|
|
194
254
|
...
|
|
195
255
|
|
|
196
256
|
def keys(self):
|
|
197
|
-
"""
|
|
257
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
258
|
+
dictionary function of the same name).
|
|
259
|
+
|
|
260
|
+
:return: custom property keys.
|
|
261
|
+
"""
|
|
198
262
|
...
|
|
199
263
|
|
|
200
|
-
def path_from_id(self):
|
|
201
|
-
"""
|
|
264
|
+
def path_from_id(self) -> str:
|
|
265
|
+
"""Returns the data path from the ID to this object (string).
|
|
266
|
+
|
|
267
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
268
|
+
to this struct and property (when given).
|
|
269
|
+
:rtype: str
|
|
270
|
+
"""
|
|
202
271
|
...
|
|
203
272
|
|
|
204
273
|
def path_menu(
|
|
205
274
|
self,
|
|
206
|
-
searchpaths,
|
|
207
|
-
operator,
|
|
208
|
-
props_default,
|
|
209
|
-
prop_filepath,
|
|
210
|
-
filter_ext,
|
|
211
|
-
filter_path,
|
|
212
|
-
display_name,
|
|
213
|
-
add_operator,
|
|
214
|
-
add_operator_props,
|
|
275
|
+
searchpaths: list[str],
|
|
276
|
+
operator: str,
|
|
277
|
+
props_default: dict = None,
|
|
278
|
+
prop_filepath: str = "filepath",
|
|
279
|
+
filter_ext: typing.Callable = None,
|
|
280
|
+
filter_path=None,
|
|
281
|
+
display_name: typing.Callable = None,
|
|
282
|
+
add_operator=None,
|
|
283
|
+
add_operator_props=None,
|
|
215
284
|
):
|
|
216
|
-
"""
|
|
285
|
+
"""Populate a menu from a list of paths.
|
|
286
|
+
|
|
287
|
+
:param searchpaths: Paths to scan.
|
|
288
|
+
:type searchpaths: list[str]
|
|
289
|
+
:param operator: The operator id to use with each file.
|
|
290
|
+
:type operator: str
|
|
291
|
+
:param props_default: Properties to assign to each operator.
|
|
292
|
+
:type props_default: dict
|
|
293
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
294
|
+
:type prop_filepath: str
|
|
295
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
217
296
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
:param add_operator:
|
|
226
|
-
:param add_operator_props:
|
|
297
|
+
Returning false excludes the file from the list.
|
|
298
|
+
:type filter_ext: typing.Callable
|
|
299
|
+
:param filter_path:
|
|
300
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
301
|
+
:type display_name: typing.Callable
|
|
302
|
+
:param add_operator:
|
|
303
|
+
:param add_operator_props:
|
|
227
304
|
"""
|
|
228
305
|
...
|
|
229
306
|
|
|
230
307
|
def path_resolve(self):
|
|
231
|
-
""" """
|
|
308
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
232
309
|
...
|
|
233
310
|
|
|
234
311
|
def pop(self):
|
|
235
|
-
"""
|
|
312
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
313
|
+
when not found (matches Python's dictionary function of the same name).
|
|
314
|
+
|
|
315
|
+
"""
|
|
236
316
|
...
|
|
237
317
|
|
|
238
318
|
def prepend(self, draw_func):
|
|
239
|
-
"""
|
|
319
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
320
|
+
the menus draw function
|
|
240
321
|
|
|
241
|
-
|
|
322
|
+
:param draw_func:
|
|
242
323
|
"""
|
|
243
324
|
...
|
|
244
325
|
|
|
245
|
-
def property_overridable_library_set(self):
|
|
246
|
-
"""
|
|
326
|
+
def property_overridable_library_set(self) -> bool:
|
|
327
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
328
|
+
|
|
329
|
+
:return: True when the overridable status of the property was successfully set.
|
|
330
|
+
:rtype: bool
|
|
331
|
+
"""
|
|
247
332
|
...
|
|
248
333
|
|
|
249
334
|
def property_unset(self):
|
|
250
|
-
""" """
|
|
335
|
+
"""Unset a property, will use default value afterward."""
|
|
251
336
|
...
|
|
252
337
|
|
|
253
338
|
def remove(self, draw_func):
|
|
254
|
-
"""
|
|
339
|
+
"""Remove a draw function that has been added to this menu
|
|
255
340
|
|
|
256
341
|
:param draw_func:
|
|
257
342
|
"""
|
|
258
343
|
...
|
|
259
344
|
|
|
260
345
|
def type_recast(self):
|
|
261
|
-
"""
|
|
346
|
+
"""Return a new instance, this is needed because types
|
|
347
|
+
such as textures can be changed at runtime.
|
|
348
|
+
|
|
349
|
+
:return: a new instance of this object with the type initialized again.
|
|
350
|
+
"""
|
|
262
351
|
...
|
|
263
352
|
|
|
264
353
|
def values(self):
|
|
265
|
-
"""
|
|
354
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
355
|
+
dictionary function of the same name).
|
|
356
|
+
|
|
357
|
+
:return: custom property values.
|
|
358
|
+
"""
|
|
266
359
|
...
|
|
267
360
|
|
|
268
361
|
class UI_MT_list_item_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
269
|
-
"""
|
|
362
|
+
"""UI List item context menu definition. Scripts can append/prepend this to
|
|
363
|
+
add own operators to the context menu. They must check context though, so
|
|
364
|
+
their items only draw in a valid context and for the correct UI list.
|
|
365
|
+
"""
|
|
270
366
|
|
|
271
367
|
bl_idname: typing.Any
|
|
272
|
-
""" """
|
|
273
|
-
|
|
274
368
|
bl_label: typing.Any
|
|
275
|
-
""" """
|
|
276
|
-
|
|
277
369
|
bl_rna: typing.Any
|
|
278
|
-
""" """
|
|
279
|
-
|
|
280
370
|
id_data: typing.Any
|
|
281
|
-
""" """
|
|
282
371
|
|
|
283
372
|
def append(self, draw_func):
|
|
284
|
-
"""
|
|
373
|
+
"""Append a draw function to this menu,
|
|
374
|
+
takes the same arguments as the menus draw function
|
|
285
375
|
|
|
286
|
-
|
|
376
|
+
:param draw_func:
|
|
287
377
|
"""
|
|
288
378
|
...
|
|
289
379
|
|
|
290
|
-
def as_pointer(self):
|
|
291
|
-
"""
|
|
380
|
+
def as_pointer(self) -> int:
|
|
381
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
382
|
+
|
|
383
|
+
:return: int (memory address).
|
|
384
|
+
:rtype: int
|
|
385
|
+
"""
|
|
292
386
|
...
|
|
293
387
|
|
|
294
|
-
def bl_rna_get_subclass(self):
|
|
295
|
-
"""
|
|
388
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
389
|
+
"""
|
|
390
|
+
|
|
391
|
+
:return: The RNA type or default when not found.
|
|
392
|
+
:rtype: bpy.types.Struct
|
|
393
|
+
"""
|
|
296
394
|
...
|
|
297
395
|
|
|
298
|
-
def bl_rna_get_subclass_py(self):
|
|
299
|
-
"""
|
|
396
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
397
|
+
"""
|
|
398
|
+
|
|
399
|
+
:return: The class or default when not found.
|
|
400
|
+
:rtype: typing.Any
|
|
401
|
+
"""
|
|
300
402
|
...
|
|
301
403
|
|
|
302
404
|
def draw(self, context):
|
|
@@ -315,148 +417,226 @@ class UI_MT_list_item_context_menu(bpy_types.Menu, bpy_types._GenericUI):
|
|
|
315
417
|
...
|
|
316
418
|
|
|
317
419
|
def draw_preset(self, _context):
|
|
318
|
-
"""
|
|
420
|
+
"""Define these on the subclass:
|
|
421
|
+
- preset_operator (string)
|
|
422
|
+
- preset_subdir (string)Optionally:
|
|
423
|
+
- preset_add_operator (string)
|
|
424
|
+
- preset_extensions (set of strings)
|
|
425
|
+
- preset_operator_defaults (dict of keyword args)
|
|
319
426
|
|
|
320
|
-
|
|
427
|
+
:param _context:
|
|
321
428
|
"""
|
|
322
429
|
...
|
|
323
430
|
|
|
324
|
-
def driver_add(self):
|
|
325
|
-
"""
|
|
431
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
432
|
+
"""Adds driver(s) to the given property
|
|
433
|
+
|
|
434
|
+
:return: The driver(s) added.
|
|
435
|
+
:rtype: bpy.types.FCurve
|
|
436
|
+
"""
|
|
326
437
|
...
|
|
327
438
|
|
|
328
|
-
def driver_remove(self):
|
|
329
|
-
"""
|
|
439
|
+
def driver_remove(self) -> bool:
|
|
440
|
+
"""Remove driver(s) from the given property
|
|
441
|
+
|
|
442
|
+
:return: Success of driver removal.
|
|
443
|
+
:rtype: bool
|
|
444
|
+
"""
|
|
330
445
|
...
|
|
331
446
|
|
|
332
447
|
def get(self):
|
|
333
|
-
"""
|
|
448
|
+
"""Returns the value of the custom property assigned to key or default
|
|
449
|
+
when not found (matches Python's dictionary function of the same name).
|
|
450
|
+
|
|
451
|
+
"""
|
|
334
452
|
...
|
|
335
453
|
|
|
336
454
|
def id_properties_clear(self):
|
|
337
|
-
"""
|
|
455
|
+
"""
|
|
456
|
+
|
|
457
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
458
|
+
"""
|
|
338
459
|
...
|
|
339
460
|
|
|
340
461
|
def id_properties_ensure(self):
|
|
341
|
-
"""
|
|
462
|
+
"""
|
|
463
|
+
|
|
464
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
465
|
+
"""
|
|
342
466
|
...
|
|
343
467
|
|
|
344
468
|
def id_properties_ui(self):
|
|
345
|
-
"""
|
|
346
|
-
...
|
|
469
|
+
"""
|
|
347
470
|
|
|
348
|
-
|
|
349
|
-
"""
|
|
471
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
472
|
+
"""
|
|
350
473
|
...
|
|
351
474
|
|
|
352
|
-
def
|
|
353
|
-
|
|
475
|
+
def is_extended(self): ...
|
|
476
|
+
def is_property_hidden(self) -> bool:
|
|
477
|
+
"""Check if a property is hidden.
|
|
478
|
+
|
|
479
|
+
:return: True when the property is hidden.
|
|
480
|
+
:rtype: bool
|
|
481
|
+
"""
|
|
354
482
|
...
|
|
355
483
|
|
|
356
|
-
def is_property_overridable_library(self):
|
|
357
|
-
"""
|
|
484
|
+
def is_property_overridable_library(self) -> bool:
|
|
485
|
+
"""Check if a property is overridable.
|
|
486
|
+
|
|
487
|
+
:return: True when the property is overridable.
|
|
488
|
+
:rtype: bool
|
|
489
|
+
"""
|
|
358
490
|
...
|
|
359
491
|
|
|
360
|
-
def is_property_readonly(self):
|
|
361
|
-
"""
|
|
492
|
+
def is_property_readonly(self) -> bool:
|
|
493
|
+
"""Check if a property is readonly.
|
|
494
|
+
|
|
495
|
+
:return: True when the property is readonly (not writable).
|
|
496
|
+
:rtype: bool
|
|
497
|
+
"""
|
|
362
498
|
...
|
|
363
499
|
|
|
364
|
-
def is_property_set(self):
|
|
365
|
-
"""
|
|
500
|
+
def is_property_set(self) -> bool:
|
|
501
|
+
"""Check if a property is set, use for testing operator properties.
|
|
502
|
+
|
|
503
|
+
:return: True when the property has been set.
|
|
504
|
+
:rtype: bool
|
|
505
|
+
"""
|
|
366
506
|
...
|
|
367
507
|
|
|
368
508
|
def items(self):
|
|
369
|
-
"""
|
|
509
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
510
|
+
dictionary function of the same name).
|
|
511
|
+
|
|
512
|
+
:return: custom property key, value pairs.
|
|
513
|
+
"""
|
|
370
514
|
...
|
|
371
515
|
|
|
372
|
-
def keyframe_delete(self):
|
|
373
|
-
"""
|
|
516
|
+
def keyframe_delete(self) -> bool:
|
|
517
|
+
"""Remove a keyframe from this properties fcurve.
|
|
518
|
+
|
|
519
|
+
:return: Success of keyframe deletion.
|
|
520
|
+
:rtype: bool
|
|
521
|
+
"""
|
|
374
522
|
...
|
|
375
523
|
|
|
376
|
-
def keyframe_insert(self):
|
|
377
|
-
"""
|
|
524
|
+
def keyframe_insert(self) -> bool:
|
|
525
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
526
|
+
|
|
527
|
+
:return: Success of keyframe insertion.
|
|
528
|
+
:rtype: bool
|
|
529
|
+
"""
|
|
378
530
|
...
|
|
379
531
|
|
|
380
532
|
def keys(self):
|
|
381
|
-
"""
|
|
533
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
534
|
+
dictionary function of the same name).
|
|
535
|
+
|
|
536
|
+
:return: custom property keys.
|
|
537
|
+
"""
|
|
382
538
|
...
|
|
383
539
|
|
|
384
|
-
def path_from_id(self):
|
|
385
|
-
"""
|
|
540
|
+
def path_from_id(self) -> str:
|
|
541
|
+
"""Returns the data path from the ID to this object (string).
|
|
542
|
+
|
|
543
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
544
|
+
to this struct and property (when given).
|
|
545
|
+
:rtype: str
|
|
546
|
+
"""
|
|
386
547
|
...
|
|
387
548
|
|
|
388
549
|
def path_menu(
|
|
389
550
|
self,
|
|
390
|
-
searchpaths,
|
|
391
|
-
operator,
|
|
392
|
-
props_default,
|
|
393
|
-
prop_filepath,
|
|
394
|
-
filter_ext,
|
|
395
|
-
filter_path,
|
|
396
|
-
display_name,
|
|
397
|
-
add_operator,
|
|
398
|
-
add_operator_props,
|
|
551
|
+
searchpaths: list[str],
|
|
552
|
+
operator: str,
|
|
553
|
+
props_default: dict = None,
|
|
554
|
+
prop_filepath: str = "filepath",
|
|
555
|
+
filter_ext: typing.Callable = None,
|
|
556
|
+
filter_path=None,
|
|
557
|
+
display_name: typing.Callable = None,
|
|
558
|
+
add_operator=None,
|
|
559
|
+
add_operator_props=None,
|
|
399
560
|
):
|
|
400
|
-
"""
|
|
561
|
+
"""Populate a menu from a list of paths.
|
|
562
|
+
|
|
563
|
+
:param searchpaths: Paths to scan.
|
|
564
|
+
:type searchpaths: list[str]
|
|
565
|
+
:param operator: The operator id to use with each file.
|
|
566
|
+
:type operator: str
|
|
567
|
+
:param props_default: Properties to assign to each operator.
|
|
568
|
+
:type props_default: dict
|
|
569
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
570
|
+
:type prop_filepath: str
|
|
571
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
401
572
|
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
:param add_operator:
|
|
410
|
-
:param add_operator_props:
|
|
573
|
+
Returning false excludes the file from the list.
|
|
574
|
+
:type filter_ext: typing.Callable
|
|
575
|
+
:param filter_path:
|
|
576
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
577
|
+
:type display_name: typing.Callable
|
|
578
|
+
:param add_operator:
|
|
579
|
+
:param add_operator_props:
|
|
411
580
|
"""
|
|
412
581
|
...
|
|
413
582
|
|
|
414
583
|
def path_resolve(self):
|
|
415
|
-
""" """
|
|
584
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
416
585
|
...
|
|
417
586
|
|
|
418
587
|
def pop(self):
|
|
419
|
-
"""
|
|
588
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
589
|
+
when not found (matches Python's dictionary function of the same name).
|
|
590
|
+
|
|
591
|
+
"""
|
|
420
592
|
...
|
|
421
593
|
|
|
422
594
|
def prepend(self, draw_func):
|
|
423
|
-
"""
|
|
595
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
596
|
+
the menus draw function
|
|
424
597
|
|
|
425
|
-
|
|
598
|
+
:param draw_func:
|
|
426
599
|
"""
|
|
427
600
|
...
|
|
428
601
|
|
|
429
|
-
def property_overridable_library_set(self):
|
|
430
|
-
"""
|
|
602
|
+
def property_overridable_library_set(self) -> bool:
|
|
603
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
604
|
+
|
|
605
|
+
:return: True when the overridable status of the property was successfully set.
|
|
606
|
+
:rtype: bool
|
|
607
|
+
"""
|
|
431
608
|
...
|
|
432
609
|
|
|
433
610
|
def property_unset(self):
|
|
434
|
-
""" """
|
|
611
|
+
"""Unset a property, will use default value afterward."""
|
|
435
612
|
...
|
|
436
613
|
|
|
437
614
|
def remove(self, draw_func):
|
|
438
|
-
"""
|
|
615
|
+
"""Remove a draw function that has been added to this menu
|
|
439
616
|
|
|
440
617
|
:param draw_func:
|
|
441
618
|
"""
|
|
442
619
|
...
|
|
443
620
|
|
|
444
621
|
def type_recast(self):
|
|
445
|
-
"""
|
|
622
|
+
"""Return a new instance, this is needed because types
|
|
623
|
+
such as textures can be changed at runtime.
|
|
624
|
+
|
|
625
|
+
:return: a new instance of this object with the type initialized again.
|
|
626
|
+
"""
|
|
446
627
|
...
|
|
447
628
|
|
|
448
629
|
def values(self):
|
|
449
|
-
"""
|
|
630
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
631
|
+
dictionary function of the same name).
|
|
632
|
+
|
|
633
|
+
:return: custom property values.
|
|
634
|
+
"""
|
|
450
635
|
...
|
|
451
636
|
|
|
452
637
|
class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
453
|
-
""" """
|
|
454
|
-
|
|
455
638
|
bl_rna: typing.Any
|
|
456
|
-
""" """
|
|
457
|
-
|
|
458
639
|
id_data: typing.Any
|
|
459
|
-
""" """
|
|
460
640
|
|
|
461
641
|
def append(self, draw_func):
|
|
462
642
|
"""
|
|
@@ -465,27 +645,14 @@ class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
465
645
|
"""
|
|
466
646
|
...
|
|
467
647
|
|
|
468
|
-
def as_pointer(self):
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
def
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
def bl_rna_get_subclass_py(self):
|
|
477
|
-
""" """
|
|
478
|
-
...
|
|
479
|
-
|
|
480
|
-
def driver_add(self):
|
|
481
|
-
""" """
|
|
482
|
-
...
|
|
483
|
-
|
|
484
|
-
def driver_remove(self):
|
|
485
|
-
""" """
|
|
486
|
-
...
|
|
487
|
-
|
|
488
|
-
def filter_items_by_name(self, pattern, bitflag, items, propname, flags, reverse):
|
|
648
|
+
def as_pointer(self): ...
|
|
649
|
+
def bl_rna_get_subclass(self): ...
|
|
650
|
+
def bl_rna_get_subclass_py(self): ...
|
|
651
|
+
def driver_add(self): ...
|
|
652
|
+
def driver_remove(self): ...
|
|
653
|
+
def filter_items_by_name(
|
|
654
|
+
self, pattern, bitflag, items, propname="name", flags=None, reverse=False
|
|
655
|
+
):
|
|
489
656
|
"""
|
|
490
657
|
|
|
491
658
|
:param pattern:
|
|
@@ -497,70 +664,22 @@ class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
497
664
|
"""
|
|
498
665
|
...
|
|
499
666
|
|
|
500
|
-
def get(self):
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
def
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
def
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
def
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
def is_extended(self):
|
|
517
|
-
""" """
|
|
518
|
-
...
|
|
519
|
-
|
|
520
|
-
def is_property_hidden(self):
|
|
521
|
-
""" """
|
|
522
|
-
...
|
|
523
|
-
|
|
524
|
-
def is_property_overridable_library(self):
|
|
525
|
-
""" """
|
|
526
|
-
...
|
|
527
|
-
|
|
528
|
-
def is_property_readonly(self):
|
|
529
|
-
""" """
|
|
530
|
-
...
|
|
531
|
-
|
|
532
|
-
def is_property_set(self):
|
|
533
|
-
""" """
|
|
534
|
-
...
|
|
535
|
-
|
|
536
|
-
def items(self):
|
|
537
|
-
""" """
|
|
538
|
-
...
|
|
539
|
-
|
|
540
|
-
def keyframe_delete(self):
|
|
541
|
-
""" """
|
|
542
|
-
...
|
|
543
|
-
|
|
544
|
-
def keyframe_insert(self):
|
|
545
|
-
""" """
|
|
546
|
-
...
|
|
547
|
-
|
|
548
|
-
def keys(self):
|
|
549
|
-
""" """
|
|
550
|
-
...
|
|
551
|
-
|
|
552
|
-
def path_from_id(self):
|
|
553
|
-
""" """
|
|
554
|
-
...
|
|
555
|
-
|
|
556
|
-
def path_resolve(self):
|
|
557
|
-
""" """
|
|
558
|
-
...
|
|
559
|
-
|
|
560
|
-
def pop(self):
|
|
561
|
-
""" """
|
|
562
|
-
...
|
|
563
|
-
|
|
667
|
+
def get(self): ...
|
|
668
|
+
def id_properties_clear(self): ...
|
|
669
|
+
def id_properties_ensure(self): ...
|
|
670
|
+
def id_properties_ui(self): ...
|
|
671
|
+
def is_extended(self): ...
|
|
672
|
+
def is_property_hidden(self): ...
|
|
673
|
+
def is_property_overridable_library(self): ...
|
|
674
|
+
def is_property_readonly(self): ...
|
|
675
|
+
def is_property_set(self): ...
|
|
676
|
+
def items(self): ...
|
|
677
|
+
def keyframe_delete(self): ...
|
|
678
|
+
def keyframe_insert(self): ...
|
|
679
|
+
def keys(self): ...
|
|
680
|
+
def path_from_id(self): ...
|
|
681
|
+
def path_resolve(self): ...
|
|
682
|
+
def pop(self): ...
|
|
564
683
|
def prepend(self, draw_func):
|
|
565
684
|
"""
|
|
566
685
|
|
|
@@ -568,14 +687,8 @@ class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
568
687
|
"""
|
|
569
688
|
...
|
|
570
689
|
|
|
571
|
-
def property_overridable_library_set(self):
|
|
572
|
-
|
|
573
|
-
...
|
|
574
|
-
|
|
575
|
-
def property_unset(self):
|
|
576
|
-
""" """
|
|
577
|
-
...
|
|
578
|
-
|
|
690
|
+
def property_overridable_library_set(self): ...
|
|
691
|
+
def property_unset(self): ...
|
|
579
692
|
def remove(self, draw_func):
|
|
580
693
|
"""
|
|
581
694
|
|
|
@@ -583,7 +696,7 @@ class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
583
696
|
"""
|
|
584
697
|
...
|
|
585
698
|
|
|
586
|
-
def sort_items_by_name(self, items, propname):
|
|
699
|
+
def sort_items_by_name(self, items, propname="name"):
|
|
587
700
|
"""
|
|
588
701
|
|
|
589
702
|
:param items:
|
|
@@ -591,7 +704,7 @@ class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
591
704
|
"""
|
|
592
705
|
...
|
|
593
706
|
|
|
594
|
-
def sort_items_helper(self, sort_data, key, reverse):
|
|
707
|
+
def sort_items_helper(self, sort_data, key, reverse=False):
|
|
595
708
|
"""
|
|
596
709
|
|
|
597
710
|
:param sort_data:
|
|
@@ -600,25 +713,9 @@ class UI_UL_list(bpy_types.UIList, bpy_types._GenericUI):
|
|
|
600
713
|
"""
|
|
601
714
|
...
|
|
602
715
|
|
|
603
|
-
def type_recast(self):
|
|
604
|
-
|
|
605
|
-
...
|
|
606
|
-
|
|
607
|
-
def values(self):
|
|
608
|
-
""" """
|
|
609
|
-
...
|
|
610
|
-
|
|
611
|
-
def register():
|
|
612
|
-
""" """
|
|
613
|
-
|
|
614
|
-
...
|
|
615
|
-
|
|
616
|
-
def translation_update(_):
|
|
617
|
-
""" """
|
|
618
|
-
|
|
619
|
-
...
|
|
620
|
-
|
|
621
|
-
def unregister():
|
|
622
|
-
""" """
|
|
716
|
+
def type_recast(self): ...
|
|
717
|
+
def values(self): ...
|
|
623
718
|
|
|
624
|
-
|
|
719
|
+
def register(): ...
|
|
720
|
+
def translation_update(_): ...
|
|
721
|
+
def unregister(): ...
|