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
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
import rna_prop_ui
|
|
4
5
|
|
|
5
6
|
GenericType = typing.TypeVar("GenericType")
|
|
6
7
|
|
|
7
8
|
class DataButtonsPanel:
|
|
8
|
-
""" """
|
|
9
|
-
|
|
10
9
|
bl_context: typing.Any
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
10
|
bl_region_type: typing.Any
|
|
14
|
-
""" """
|
|
15
|
-
|
|
16
11
|
bl_space_type: typing.Any
|
|
17
|
-
""" """
|
|
18
12
|
|
|
19
13
|
def poll(self, context):
|
|
20
14
|
"""
|
|
@@ -24,49 +18,45 @@ class DataButtonsPanel:
|
|
|
24
18
|
...
|
|
25
19
|
|
|
26
20
|
class DATA_PT_cone(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
27
|
-
""" """
|
|
28
|
-
|
|
29
21
|
COMPAT_ENGINES: typing.Any
|
|
30
|
-
""" """
|
|
31
|
-
|
|
32
22
|
bl_context: typing.Any
|
|
33
|
-
""" """
|
|
34
|
-
|
|
35
23
|
bl_label: typing.Any
|
|
36
|
-
""" """
|
|
37
|
-
|
|
38
24
|
bl_options: typing.Any
|
|
39
|
-
""" """
|
|
40
|
-
|
|
41
25
|
bl_region_type: typing.Any
|
|
42
|
-
""" """
|
|
43
|
-
|
|
44
26
|
bl_rna: typing.Any
|
|
45
|
-
""" """
|
|
46
|
-
|
|
47
27
|
bl_space_type: typing.Any
|
|
48
|
-
""" """
|
|
49
|
-
|
|
50
28
|
id_data: typing.Any
|
|
51
|
-
""" """
|
|
52
29
|
|
|
53
30
|
def append(self, draw_func):
|
|
54
|
-
"""
|
|
31
|
+
"""Append a draw function to this menu,
|
|
32
|
+
takes the same arguments as the menus draw function
|
|
55
33
|
|
|
56
|
-
|
|
34
|
+
:param draw_func:
|
|
57
35
|
"""
|
|
58
36
|
...
|
|
59
37
|
|
|
60
|
-
def as_pointer(self):
|
|
61
|
-
"""
|
|
38
|
+
def as_pointer(self) -> int:
|
|
39
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
40
|
+
|
|
41
|
+
:return: int (memory address).
|
|
42
|
+
:rtype: int
|
|
43
|
+
"""
|
|
62
44
|
...
|
|
63
45
|
|
|
64
|
-
def bl_rna_get_subclass(self):
|
|
65
|
-
"""
|
|
46
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
:return: The RNA type or default when not found.
|
|
50
|
+
:rtype: bpy.types.Struct
|
|
51
|
+
"""
|
|
66
52
|
...
|
|
67
53
|
|
|
68
|
-
def bl_rna_get_subclass_py(self):
|
|
69
|
-
"""
|
|
54
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
55
|
+
"""
|
|
56
|
+
|
|
57
|
+
:return: The class or default when not found.
|
|
58
|
+
:rtype: typing.Any
|
|
59
|
+
"""
|
|
70
60
|
...
|
|
71
61
|
|
|
72
62
|
def draw(self, context):
|
|
@@ -76,72 +66,126 @@ class DATA_PT_cone(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
76
66
|
"""
|
|
77
67
|
...
|
|
78
68
|
|
|
79
|
-
def driver_add(self):
|
|
80
|
-
"""
|
|
69
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
70
|
+
"""Adds driver(s) to the given property
|
|
71
|
+
|
|
72
|
+
:return: The driver(s) added.
|
|
73
|
+
:rtype: bpy.types.FCurve
|
|
74
|
+
"""
|
|
81
75
|
...
|
|
82
76
|
|
|
83
|
-
def driver_remove(self):
|
|
84
|
-
"""
|
|
77
|
+
def driver_remove(self) -> bool:
|
|
78
|
+
"""Remove driver(s) from the given property
|
|
79
|
+
|
|
80
|
+
:return: Success of driver removal.
|
|
81
|
+
:rtype: bool
|
|
82
|
+
"""
|
|
85
83
|
...
|
|
86
84
|
|
|
87
85
|
def get(self):
|
|
88
|
-
"""
|
|
86
|
+
"""Returns the value of the custom property assigned to key or default
|
|
87
|
+
when not found (matches Python's dictionary function of the same name).
|
|
88
|
+
|
|
89
|
+
"""
|
|
89
90
|
...
|
|
90
91
|
|
|
91
92
|
def id_properties_clear(self):
|
|
92
|
-
"""
|
|
93
|
+
"""
|
|
94
|
+
|
|
95
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
96
|
+
"""
|
|
93
97
|
...
|
|
94
98
|
|
|
95
99
|
def id_properties_ensure(self):
|
|
96
|
-
"""
|
|
100
|
+
"""
|
|
101
|
+
|
|
102
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
103
|
+
"""
|
|
97
104
|
...
|
|
98
105
|
|
|
99
106
|
def id_properties_ui(self):
|
|
100
|
-
"""
|
|
101
|
-
...
|
|
107
|
+
"""
|
|
102
108
|
|
|
103
|
-
|
|
104
|
-
"""
|
|
109
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
110
|
+
"""
|
|
105
111
|
...
|
|
106
112
|
|
|
107
|
-
def
|
|
108
|
-
|
|
113
|
+
def is_extended(self): ...
|
|
114
|
+
def is_property_hidden(self) -> bool:
|
|
115
|
+
"""Check if a property is hidden.
|
|
116
|
+
|
|
117
|
+
:return: True when the property is hidden.
|
|
118
|
+
:rtype: bool
|
|
119
|
+
"""
|
|
109
120
|
...
|
|
110
121
|
|
|
111
|
-
def is_property_overridable_library(self):
|
|
112
|
-
"""
|
|
122
|
+
def is_property_overridable_library(self) -> bool:
|
|
123
|
+
"""Check if a property is overridable.
|
|
124
|
+
|
|
125
|
+
:return: True when the property is overridable.
|
|
126
|
+
:rtype: bool
|
|
127
|
+
"""
|
|
113
128
|
...
|
|
114
129
|
|
|
115
|
-
def is_property_readonly(self):
|
|
116
|
-
"""
|
|
130
|
+
def is_property_readonly(self) -> bool:
|
|
131
|
+
"""Check if a property is readonly.
|
|
132
|
+
|
|
133
|
+
:return: True when the property is readonly (not writable).
|
|
134
|
+
:rtype: bool
|
|
135
|
+
"""
|
|
117
136
|
...
|
|
118
137
|
|
|
119
|
-
def is_property_set(self):
|
|
120
|
-
"""
|
|
138
|
+
def is_property_set(self) -> bool:
|
|
139
|
+
"""Check if a property is set, use for testing operator properties.
|
|
140
|
+
|
|
141
|
+
:return: True when the property has been set.
|
|
142
|
+
:rtype: bool
|
|
143
|
+
"""
|
|
121
144
|
...
|
|
122
145
|
|
|
123
146
|
def items(self):
|
|
124
|
-
"""
|
|
147
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
148
|
+
dictionary function of the same name).
|
|
149
|
+
|
|
150
|
+
:return: custom property key, value pairs.
|
|
151
|
+
"""
|
|
125
152
|
...
|
|
126
153
|
|
|
127
|
-
def keyframe_delete(self):
|
|
128
|
-
"""
|
|
154
|
+
def keyframe_delete(self) -> bool:
|
|
155
|
+
"""Remove a keyframe from this properties fcurve.
|
|
156
|
+
|
|
157
|
+
:return: Success of keyframe deletion.
|
|
158
|
+
:rtype: bool
|
|
159
|
+
"""
|
|
129
160
|
...
|
|
130
161
|
|
|
131
|
-
def keyframe_insert(self):
|
|
132
|
-
"""
|
|
162
|
+
def keyframe_insert(self) -> bool:
|
|
163
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
164
|
+
|
|
165
|
+
:return: Success of keyframe insertion.
|
|
166
|
+
:rtype: bool
|
|
167
|
+
"""
|
|
133
168
|
...
|
|
134
169
|
|
|
135
170
|
def keys(self):
|
|
136
|
-
"""
|
|
171
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
172
|
+
dictionary function of the same name).
|
|
173
|
+
|
|
174
|
+
:return: custom property keys.
|
|
175
|
+
"""
|
|
137
176
|
...
|
|
138
177
|
|
|
139
|
-
def path_from_id(self):
|
|
140
|
-
"""
|
|
178
|
+
def path_from_id(self) -> str:
|
|
179
|
+
"""Returns the data path from the ID to this object (string).
|
|
180
|
+
|
|
181
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
182
|
+
to this struct and property (when given).
|
|
183
|
+
:rtype: str
|
|
184
|
+
"""
|
|
141
185
|
...
|
|
142
186
|
|
|
143
187
|
def path_resolve(self):
|
|
144
|
-
""" """
|
|
188
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
145
189
|
...
|
|
146
190
|
|
|
147
191
|
def poll(self, context):
|
|
@@ -152,83 +196,95 @@ class DATA_PT_cone(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
152
196
|
...
|
|
153
197
|
|
|
154
198
|
def pop(self):
|
|
155
|
-
"""
|
|
199
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
200
|
+
when not found (matches Python's dictionary function of the same name).
|
|
201
|
+
|
|
202
|
+
"""
|
|
156
203
|
...
|
|
157
204
|
|
|
158
205
|
def prepend(self, draw_func):
|
|
159
|
-
"""
|
|
206
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
207
|
+
the menus draw function
|
|
160
208
|
|
|
161
|
-
|
|
209
|
+
:param draw_func:
|
|
162
210
|
"""
|
|
163
211
|
...
|
|
164
212
|
|
|
165
|
-
def property_overridable_library_set(self):
|
|
166
|
-
"""
|
|
213
|
+
def property_overridable_library_set(self) -> bool:
|
|
214
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
215
|
+
|
|
216
|
+
:return: True when the overridable status of the property was successfully set.
|
|
217
|
+
:rtype: bool
|
|
218
|
+
"""
|
|
167
219
|
...
|
|
168
220
|
|
|
169
221
|
def property_unset(self):
|
|
170
|
-
""" """
|
|
222
|
+
"""Unset a property, will use default value afterward."""
|
|
171
223
|
...
|
|
172
224
|
|
|
173
225
|
def remove(self, draw_func):
|
|
174
|
-
"""
|
|
226
|
+
"""Remove a draw function that has been added to this menu
|
|
175
227
|
|
|
176
228
|
:param draw_func:
|
|
177
229
|
"""
|
|
178
230
|
...
|
|
179
231
|
|
|
180
232
|
def type_recast(self):
|
|
181
|
-
"""
|
|
233
|
+
"""Return a new instance, this is needed because types
|
|
234
|
+
such as textures can be changed at runtime.
|
|
235
|
+
|
|
236
|
+
:return: a new instance of this object with the type initialized again.
|
|
237
|
+
"""
|
|
182
238
|
...
|
|
183
239
|
|
|
184
240
|
def values(self):
|
|
185
|
-
"""
|
|
241
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
242
|
+
dictionary function of the same name).
|
|
243
|
+
|
|
244
|
+
:return: custom property values.
|
|
245
|
+
"""
|
|
186
246
|
...
|
|
187
247
|
|
|
188
248
|
class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
189
|
-
""" """
|
|
190
|
-
|
|
191
249
|
COMPAT_ENGINES: typing.Any
|
|
192
|
-
""" """
|
|
193
|
-
|
|
194
250
|
bl_context: typing.Any
|
|
195
|
-
""" """
|
|
196
|
-
|
|
197
251
|
bl_label: typing.Any
|
|
198
|
-
""" """
|
|
199
|
-
|
|
200
252
|
bl_options: typing.Any
|
|
201
|
-
""" """
|
|
202
|
-
|
|
203
253
|
bl_region_type: typing.Any
|
|
204
|
-
""" """
|
|
205
|
-
|
|
206
254
|
bl_rna: typing.Any
|
|
207
|
-
""" """
|
|
208
|
-
|
|
209
255
|
bl_space_type: typing.Any
|
|
210
|
-
""" """
|
|
211
|
-
|
|
212
256
|
id_data: typing.Any
|
|
213
|
-
""" """
|
|
214
257
|
|
|
215
258
|
def append(self, draw_func):
|
|
216
|
-
"""
|
|
259
|
+
"""Append a draw function to this menu,
|
|
260
|
+
takes the same arguments as the menus draw function
|
|
217
261
|
|
|
218
|
-
|
|
262
|
+
:param draw_func:
|
|
219
263
|
"""
|
|
220
264
|
...
|
|
221
265
|
|
|
222
|
-
def as_pointer(self):
|
|
223
|
-
"""
|
|
266
|
+
def as_pointer(self) -> int:
|
|
267
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
268
|
+
|
|
269
|
+
:return: int (memory address).
|
|
270
|
+
:rtype: int
|
|
271
|
+
"""
|
|
224
272
|
...
|
|
225
273
|
|
|
226
|
-
def bl_rna_get_subclass(self):
|
|
227
|
-
"""
|
|
274
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
275
|
+
"""
|
|
276
|
+
|
|
277
|
+
:return: The RNA type or default when not found.
|
|
278
|
+
:rtype: bpy.types.Struct
|
|
279
|
+
"""
|
|
228
280
|
...
|
|
229
281
|
|
|
230
|
-
def bl_rna_get_subclass_py(self):
|
|
231
|
-
"""
|
|
282
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
:return: The class or default when not found.
|
|
286
|
+
:rtype: typing.Any
|
|
287
|
+
"""
|
|
232
288
|
...
|
|
233
289
|
|
|
234
290
|
def draw(self, context):
|
|
@@ -238,72 +294,126 @@ class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._Gene
|
|
|
238
294
|
"""
|
|
239
295
|
...
|
|
240
296
|
|
|
241
|
-
def driver_add(self):
|
|
242
|
-
"""
|
|
297
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
298
|
+
"""Adds driver(s) to the given property
|
|
299
|
+
|
|
300
|
+
:return: The driver(s) added.
|
|
301
|
+
:rtype: bpy.types.FCurve
|
|
302
|
+
"""
|
|
243
303
|
...
|
|
244
304
|
|
|
245
|
-
def driver_remove(self):
|
|
246
|
-
"""
|
|
305
|
+
def driver_remove(self) -> bool:
|
|
306
|
+
"""Remove driver(s) from the given property
|
|
307
|
+
|
|
308
|
+
:return: Success of driver removal.
|
|
309
|
+
:rtype: bool
|
|
310
|
+
"""
|
|
247
311
|
...
|
|
248
312
|
|
|
249
313
|
def get(self):
|
|
250
|
-
"""
|
|
314
|
+
"""Returns the value of the custom property assigned to key or default
|
|
315
|
+
when not found (matches Python's dictionary function of the same name).
|
|
316
|
+
|
|
317
|
+
"""
|
|
251
318
|
...
|
|
252
319
|
|
|
253
320
|
def id_properties_clear(self):
|
|
254
|
-
"""
|
|
321
|
+
"""
|
|
322
|
+
|
|
323
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
324
|
+
"""
|
|
255
325
|
...
|
|
256
326
|
|
|
257
327
|
def id_properties_ensure(self):
|
|
258
|
-
"""
|
|
328
|
+
"""
|
|
329
|
+
|
|
330
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
331
|
+
"""
|
|
259
332
|
...
|
|
260
333
|
|
|
261
334
|
def id_properties_ui(self):
|
|
262
|
-
"""
|
|
263
|
-
...
|
|
335
|
+
"""
|
|
264
336
|
|
|
265
|
-
|
|
266
|
-
"""
|
|
337
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
338
|
+
"""
|
|
267
339
|
...
|
|
268
340
|
|
|
269
|
-
def
|
|
270
|
-
|
|
341
|
+
def is_extended(self): ...
|
|
342
|
+
def is_property_hidden(self) -> bool:
|
|
343
|
+
"""Check if a property is hidden.
|
|
344
|
+
|
|
345
|
+
:return: True when the property is hidden.
|
|
346
|
+
:rtype: bool
|
|
347
|
+
"""
|
|
271
348
|
...
|
|
272
349
|
|
|
273
|
-
def is_property_overridable_library(self):
|
|
274
|
-
"""
|
|
350
|
+
def is_property_overridable_library(self) -> bool:
|
|
351
|
+
"""Check if a property is overridable.
|
|
352
|
+
|
|
353
|
+
:return: True when the property is overridable.
|
|
354
|
+
:rtype: bool
|
|
355
|
+
"""
|
|
275
356
|
...
|
|
276
357
|
|
|
277
|
-
def is_property_readonly(self):
|
|
278
|
-
"""
|
|
358
|
+
def is_property_readonly(self) -> bool:
|
|
359
|
+
"""Check if a property is readonly.
|
|
360
|
+
|
|
361
|
+
:return: True when the property is readonly (not writable).
|
|
362
|
+
:rtype: bool
|
|
363
|
+
"""
|
|
279
364
|
...
|
|
280
365
|
|
|
281
|
-
def is_property_set(self):
|
|
282
|
-
"""
|
|
366
|
+
def is_property_set(self) -> bool:
|
|
367
|
+
"""Check if a property is set, use for testing operator properties.
|
|
368
|
+
|
|
369
|
+
:return: True when the property has been set.
|
|
370
|
+
:rtype: bool
|
|
371
|
+
"""
|
|
283
372
|
...
|
|
284
373
|
|
|
285
374
|
def items(self):
|
|
286
|
-
"""
|
|
375
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
376
|
+
dictionary function of the same name).
|
|
377
|
+
|
|
378
|
+
:return: custom property key, value pairs.
|
|
379
|
+
"""
|
|
287
380
|
...
|
|
288
381
|
|
|
289
|
-
def keyframe_delete(self):
|
|
290
|
-
"""
|
|
382
|
+
def keyframe_delete(self) -> bool:
|
|
383
|
+
"""Remove a keyframe from this properties fcurve.
|
|
384
|
+
|
|
385
|
+
:return: Success of keyframe deletion.
|
|
386
|
+
:rtype: bool
|
|
387
|
+
"""
|
|
291
388
|
...
|
|
292
389
|
|
|
293
|
-
def keyframe_insert(self):
|
|
294
|
-
"""
|
|
390
|
+
def keyframe_insert(self) -> bool:
|
|
391
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
392
|
+
|
|
393
|
+
:return: Success of keyframe insertion.
|
|
394
|
+
:rtype: bool
|
|
395
|
+
"""
|
|
295
396
|
...
|
|
296
397
|
|
|
297
398
|
def keys(self):
|
|
298
|
-
"""
|
|
399
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
400
|
+
dictionary function of the same name).
|
|
401
|
+
|
|
402
|
+
:return: custom property keys.
|
|
403
|
+
"""
|
|
299
404
|
...
|
|
300
405
|
|
|
301
|
-
def path_from_id(self):
|
|
302
|
-
"""
|
|
406
|
+
def path_from_id(self) -> str:
|
|
407
|
+
"""Returns the data path from the ID to this object (string).
|
|
408
|
+
|
|
409
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
410
|
+
to this struct and property (when given).
|
|
411
|
+
:rtype: str
|
|
412
|
+
"""
|
|
303
413
|
...
|
|
304
414
|
|
|
305
415
|
def path_resolve(self):
|
|
306
|
-
""" """
|
|
416
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
307
417
|
...
|
|
308
418
|
|
|
309
419
|
def poll(self, context):
|
|
@@ -314,88 +424,102 @@ class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._Gene
|
|
|
314
424
|
...
|
|
315
425
|
|
|
316
426
|
def pop(self):
|
|
317
|
-
"""
|
|
427
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
428
|
+
when not found (matches Python's dictionary function of the same name).
|
|
429
|
+
|
|
430
|
+
"""
|
|
318
431
|
...
|
|
319
432
|
|
|
320
433
|
def prepend(self, draw_func):
|
|
321
|
-
"""
|
|
434
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
435
|
+
the menus draw function
|
|
322
436
|
|
|
323
|
-
|
|
437
|
+
:param draw_func:
|
|
324
438
|
"""
|
|
325
439
|
...
|
|
326
440
|
|
|
327
|
-
def property_overridable_library_set(self):
|
|
328
|
-
"""
|
|
441
|
+
def property_overridable_library_set(self) -> bool:
|
|
442
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
443
|
+
|
|
444
|
+
:return: True when the overridable status of the property was successfully set.
|
|
445
|
+
:rtype: bool
|
|
446
|
+
"""
|
|
329
447
|
...
|
|
330
448
|
|
|
331
449
|
def property_unset(self):
|
|
332
|
-
""" """
|
|
450
|
+
"""Unset a property, will use default value afterward."""
|
|
333
451
|
...
|
|
334
452
|
|
|
335
453
|
def remove(self, draw_func):
|
|
336
|
-
"""
|
|
454
|
+
"""Remove a draw function that has been added to this menu
|
|
337
455
|
|
|
338
456
|
:param draw_func:
|
|
339
457
|
"""
|
|
340
458
|
...
|
|
341
459
|
|
|
342
460
|
def type_recast(self):
|
|
343
|
-
"""
|
|
461
|
+
"""Return a new instance, this is needed because types
|
|
462
|
+
such as textures can be changed at runtime.
|
|
463
|
+
|
|
464
|
+
:return: a new instance of this object with the type initialized again.
|
|
465
|
+
"""
|
|
344
466
|
...
|
|
345
467
|
|
|
346
468
|
def values(self):
|
|
347
|
-
"""
|
|
469
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
470
|
+
dictionary function of the same name).
|
|
471
|
+
|
|
472
|
+
:return: custom property values.
|
|
473
|
+
"""
|
|
348
474
|
...
|
|
349
475
|
|
|
350
476
|
class DATA_PT_custom_props_speaker(
|
|
351
477
|
bpy_types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
352
478
|
):
|
|
353
|
-
"""
|
|
479
|
+
"""The subclass should have its own poll function
|
|
480
|
+
and the variable '_context_path' MUST be set.
|
|
481
|
+
"""
|
|
354
482
|
|
|
355
483
|
COMPAT_ENGINES: typing.Any
|
|
356
|
-
""" """
|
|
357
|
-
|
|
358
484
|
bl_context: typing.Any
|
|
359
|
-
""" """
|
|
360
|
-
|
|
361
485
|
bl_label: typing.Any
|
|
362
|
-
""" """
|
|
363
|
-
|
|
364
486
|
bl_options: typing.Any
|
|
365
|
-
""" """
|
|
366
|
-
|
|
367
487
|
bl_order: typing.Any
|
|
368
|
-
""" """
|
|
369
|
-
|
|
370
488
|
bl_region_type: typing.Any
|
|
371
|
-
""" """
|
|
372
|
-
|
|
373
489
|
bl_rna: typing.Any
|
|
374
|
-
""" """
|
|
375
|
-
|
|
376
490
|
bl_space_type: typing.Any
|
|
377
|
-
""" """
|
|
378
|
-
|
|
379
491
|
id_data: typing.Any
|
|
380
|
-
""" """
|
|
381
492
|
|
|
382
493
|
def append(self, draw_func):
|
|
383
|
-
"""
|
|
494
|
+
"""Append a draw function to this menu,
|
|
495
|
+
takes the same arguments as the menus draw function
|
|
384
496
|
|
|
385
|
-
|
|
497
|
+
:param draw_func:
|
|
386
498
|
"""
|
|
387
499
|
...
|
|
388
500
|
|
|
389
|
-
def as_pointer(self):
|
|
390
|
-
"""
|
|
501
|
+
def as_pointer(self) -> int:
|
|
502
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
503
|
+
|
|
504
|
+
:return: int (memory address).
|
|
505
|
+
:rtype: int
|
|
506
|
+
"""
|
|
391
507
|
...
|
|
392
508
|
|
|
393
|
-
def bl_rna_get_subclass(self):
|
|
394
|
-
"""
|
|
509
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
510
|
+
"""
|
|
511
|
+
|
|
512
|
+
:return: The RNA type or default when not found.
|
|
513
|
+
:rtype: bpy.types.Struct
|
|
514
|
+
"""
|
|
395
515
|
...
|
|
396
516
|
|
|
397
|
-
def bl_rna_get_subclass_py(self):
|
|
398
|
-
"""
|
|
517
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
518
|
+
"""
|
|
519
|
+
|
|
520
|
+
:return: The class or default when not found.
|
|
521
|
+
:rtype: typing.Any
|
|
522
|
+
"""
|
|
399
523
|
...
|
|
400
524
|
|
|
401
525
|
def draw(self, context):
|
|
@@ -405,72 +529,126 @@ class DATA_PT_custom_props_speaker(
|
|
|
405
529
|
"""
|
|
406
530
|
...
|
|
407
531
|
|
|
408
|
-
def driver_add(self):
|
|
409
|
-
"""
|
|
532
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
533
|
+
"""Adds driver(s) to the given property
|
|
534
|
+
|
|
535
|
+
:return: The driver(s) added.
|
|
536
|
+
:rtype: bpy.types.FCurve
|
|
537
|
+
"""
|
|
410
538
|
...
|
|
411
539
|
|
|
412
|
-
def driver_remove(self):
|
|
413
|
-
"""
|
|
540
|
+
def driver_remove(self) -> bool:
|
|
541
|
+
"""Remove driver(s) from the given property
|
|
542
|
+
|
|
543
|
+
:return: Success of driver removal.
|
|
544
|
+
:rtype: bool
|
|
545
|
+
"""
|
|
414
546
|
...
|
|
415
547
|
|
|
416
548
|
def get(self):
|
|
417
|
-
"""
|
|
549
|
+
"""Returns the value of the custom property assigned to key or default
|
|
550
|
+
when not found (matches Python's dictionary function of the same name).
|
|
551
|
+
|
|
552
|
+
"""
|
|
418
553
|
...
|
|
419
554
|
|
|
420
555
|
def id_properties_clear(self):
|
|
421
|
-
"""
|
|
556
|
+
"""
|
|
557
|
+
|
|
558
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
559
|
+
"""
|
|
422
560
|
...
|
|
423
561
|
|
|
424
562
|
def id_properties_ensure(self):
|
|
425
|
-
"""
|
|
563
|
+
"""
|
|
564
|
+
|
|
565
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
566
|
+
"""
|
|
426
567
|
...
|
|
427
568
|
|
|
428
569
|
def id_properties_ui(self):
|
|
429
|
-
"""
|
|
430
|
-
...
|
|
570
|
+
"""
|
|
431
571
|
|
|
432
|
-
|
|
433
|
-
"""
|
|
572
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
573
|
+
"""
|
|
434
574
|
...
|
|
435
575
|
|
|
436
|
-
def
|
|
437
|
-
|
|
576
|
+
def is_extended(self): ...
|
|
577
|
+
def is_property_hidden(self) -> bool:
|
|
578
|
+
"""Check if a property is hidden.
|
|
579
|
+
|
|
580
|
+
:return: True when the property is hidden.
|
|
581
|
+
:rtype: bool
|
|
582
|
+
"""
|
|
438
583
|
...
|
|
439
584
|
|
|
440
|
-
def is_property_overridable_library(self):
|
|
441
|
-
"""
|
|
585
|
+
def is_property_overridable_library(self) -> bool:
|
|
586
|
+
"""Check if a property is overridable.
|
|
587
|
+
|
|
588
|
+
:return: True when the property is overridable.
|
|
589
|
+
:rtype: bool
|
|
590
|
+
"""
|
|
442
591
|
...
|
|
443
592
|
|
|
444
|
-
def is_property_readonly(self):
|
|
445
|
-
"""
|
|
593
|
+
def is_property_readonly(self) -> bool:
|
|
594
|
+
"""Check if a property is readonly.
|
|
595
|
+
|
|
596
|
+
:return: True when the property is readonly (not writable).
|
|
597
|
+
:rtype: bool
|
|
598
|
+
"""
|
|
446
599
|
...
|
|
447
600
|
|
|
448
|
-
def is_property_set(self):
|
|
449
|
-
"""
|
|
601
|
+
def is_property_set(self) -> bool:
|
|
602
|
+
"""Check if a property is set, use for testing operator properties.
|
|
603
|
+
|
|
604
|
+
:return: True when the property has been set.
|
|
605
|
+
:rtype: bool
|
|
606
|
+
"""
|
|
450
607
|
...
|
|
451
608
|
|
|
452
609
|
def items(self):
|
|
453
|
-
"""
|
|
610
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
611
|
+
dictionary function of the same name).
|
|
612
|
+
|
|
613
|
+
:return: custom property key, value pairs.
|
|
614
|
+
"""
|
|
454
615
|
...
|
|
455
616
|
|
|
456
|
-
def keyframe_delete(self):
|
|
457
|
-
"""
|
|
617
|
+
def keyframe_delete(self) -> bool:
|
|
618
|
+
"""Remove a keyframe from this properties fcurve.
|
|
619
|
+
|
|
620
|
+
:return: Success of keyframe deletion.
|
|
621
|
+
:rtype: bool
|
|
622
|
+
"""
|
|
458
623
|
...
|
|
459
624
|
|
|
460
|
-
def keyframe_insert(self):
|
|
461
|
-
"""
|
|
625
|
+
def keyframe_insert(self) -> bool:
|
|
626
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
627
|
+
|
|
628
|
+
:return: Success of keyframe insertion.
|
|
629
|
+
:rtype: bool
|
|
630
|
+
"""
|
|
462
631
|
...
|
|
463
632
|
|
|
464
633
|
def keys(self):
|
|
465
|
-
"""
|
|
634
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
635
|
+
dictionary function of the same name).
|
|
636
|
+
|
|
637
|
+
:return: custom property keys.
|
|
638
|
+
"""
|
|
466
639
|
...
|
|
467
640
|
|
|
468
|
-
def path_from_id(self):
|
|
469
|
-
"""
|
|
641
|
+
def path_from_id(self) -> str:
|
|
642
|
+
"""Returns the data path from the ID to this object (string).
|
|
643
|
+
|
|
644
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
645
|
+
to this struct and property (when given).
|
|
646
|
+
:rtype: str
|
|
647
|
+
"""
|
|
470
648
|
...
|
|
471
649
|
|
|
472
650
|
def path_resolve(self):
|
|
473
|
-
""" """
|
|
651
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
474
652
|
...
|
|
475
653
|
|
|
476
654
|
def poll(self, context):
|
|
@@ -481,83 +659,95 @@ class DATA_PT_custom_props_speaker(
|
|
|
481
659
|
...
|
|
482
660
|
|
|
483
661
|
def pop(self):
|
|
484
|
-
"""
|
|
662
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
663
|
+
when not found (matches Python's dictionary function of the same name).
|
|
664
|
+
|
|
665
|
+
"""
|
|
485
666
|
...
|
|
486
667
|
|
|
487
668
|
def prepend(self, draw_func):
|
|
488
|
-
"""
|
|
669
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
670
|
+
the menus draw function
|
|
489
671
|
|
|
490
|
-
|
|
672
|
+
:param draw_func:
|
|
491
673
|
"""
|
|
492
674
|
...
|
|
493
675
|
|
|
494
|
-
def property_overridable_library_set(self):
|
|
495
|
-
"""
|
|
676
|
+
def property_overridable_library_set(self) -> bool:
|
|
677
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
678
|
+
|
|
679
|
+
:return: True when the overridable status of the property was successfully set.
|
|
680
|
+
:rtype: bool
|
|
681
|
+
"""
|
|
496
682
|
...
|
|
497
683
|
|
|
498
684
|
def property_unset(self):
|
|
499
|
-
""" """
|
|
685
|
+
"""Unset a property, will use default value afterward."""
|
|
500
686
|
...
|
|
501
687
|
|
|
502
688
|
def remove(self, draw_func):
|
|
503
|
-
"""
|
|
689
|
+
"""Remove a draw function that has been added to this menu
|
|
504
690
|
|
|
505
691
|
:param draw_func:
|
|
506
692
|
"""
|
|
507
693
|
...
|
|
508
694
|
|
|
509
695
|
def type_recast(self):
|
|
510
|
-
"""
|
|
696
|
+
"""Return a new instance, this is needed because types
|
|
697
|
+
such as textures can be changed at runtime.
|
|
698
|
+
|
|
699
|
+
:return: a new instance of this object with the type initialized again.
|
|
700
|
+
"""
|
|
511
701
|
...
|
|
512
702
|
|
|
513
703
|
def values(self):
|
|
514
|
-
"""
|
|
704
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
705
|
+
dictionary function of the same name).
|
|
706
|
+
|
|
707
|
+
:return: custom property values.
|
|
708
|
+
"""
|
|
515
709
|
...
|
|
516
710
|
|
|
517
711
|
class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
518
|
-
""" """
|
|
519
|
-
|
|
520
712
|
COMPAT_ENGINES: typing.Any
|
|
521
|
-
""" """
|
|
522
|
-
|
|
523
713
|
bl_context: typing.Any
|
|
524
|
-
""" """
|
|
525
|
-
|
|
526
714
|
bl_label: typing.Any
|
|
527
|
-
""" """
|
|
528
|
-
|
|
529
715
|
bl_options: typing.Any
|
|
530
|
-
""" """
|
|
531
|
-
|
|
532
716
|
bl_region_type: typing.Any
|
|
533
|
-
""" """
|
|
534
|
-
|
|
535
717
|
bl_rna: typing.Any
|
|
536
|
-
""" """
|
|
537
|
-
|
|
538
718
|
bl_space_type: typing.Any
|
|
539
|
-
""" """
|
|
540
|
-
|
|
541
719
|
id_data: typing.Any
|
|
542
|
-
""" """
|
|
543
720
|
|
|
544
721
|
def append(self, draw_func):
|
|
545
|
-
"""
|
|
722
|
+
"""Append a draw function to this menu,
|
|
723
|
+
takes the same arguments as the menus draw function
|
|
546
724
|
|
|
547
|
-
|
|
725
|
+
:param draw_func:
|
|
548
726
|
"""
|
|
549
727
|
...
|
|
550
728
|
|
|
551
|
-
def as_pointer(self):
|
|
552
|
-
"""
|
|
729
|
+
def as_pointer(self) -> int:
|
|
730
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
731
|
+
|
|
732
|
+
:return: int (memory address).
|
|
733
|
+
:rtype: int
|
|
734
|
+
"""
|
|
553
735
|
...
|
|
554
736
|
|
|
555
|
-
def bl_rna_get_subclass(self):
|
|
556
|
-
"""
|
|
737
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
738
|
+
"""
|
|
739
|
+
|
|
740
|
+
:return: The RNA type or default when not found.
|
|
741
|
+
:rtype: bpy.types.Struct
|
|
742
|
+
"""
|
|
557
743
|
...
|
|
558
744
|
|
|
559
|
-
def bl_rna_get_subclass_py(self):
|
|
560
|
-
"""
|
|
745
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
746
|
+
"""
|
|
747
|
+
|
|
748
|
+
:return: The class or default when not found.
|
|
749
|
+
:rtype: typing.Any
|
|
750
|
+
"""
|
|
561
751
|
...
|
|
562
752
|
|
|
563
753
|
def draw(self, context):
|
|
@@ -567,72 +757,126 @@ class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
567
757
|
"""
|
|
568
758
|
...
|
|
569
759
|
|
|
570
|
-
def driver_add(self):
|
|
571
|
-
"""
|
|
760
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
761
|
+
"""Adds driver(s) to the given property
|
|
762
|
+
|
|
763
|
+
:return: The driver(s) added.
|
|
764
|
+
:rtype: bpy.types.FCurve
|
|
765
|
+
"""
|
|
572
766
|
...
|
|
573
767
|
|
|
574
|
-
def driver_remove(self):
|
|
575
|
-
"""
|
|
768
|
+
def driver_remove(self) -> bool:
|
|
769
|
+
"""Remove driver(s) from the given property
|
|
770
|
+
|
|
771
|
+
:return: Success of driver removal.
|
|
772
|
+
:rtype: bool
|
|
773
|
+
"""
|
|
576
774
|
...
|
|
577
775
|
|
|
578
776
|
def get(self):
|
|
579
|
-
"""
|
|
777
|
+
"""Returns the value of the custom property assigned to key or default
|
|
778
|
+
when not found (matches Python's dictionary function of the same name).
|
|
779
|
+
|
|
780
|
+
"""
|
|
580
781
|
...
|
|
581
782
|
|
|
582
783
|
def id_properties_clear(self):
|
|
583
|
-
"""
|
|
784
|
+
"""
|
|
785
|
+
|
|
786
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
787
|
+
"""
|
|
584
788
|
...
|
|
585
789
|
|
|
586
790
|
def id_properties_ensure(self):
|
|
587
|
-
"""
|
|
791
|
+
"""
|
|
792
|
+
|
|
793
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
794
|
+
"""
|
|
588
795
|
...
|
|
589
796
|
|
|
590
797
|
def id_properties_ui(self):
|
|
591
|
-
"""
|
|
592
|
-
...
|
|
798
|
+
"""
|
|
593
799
|
|
|
594
|
-
|
|
595
|
-
"""
|
|
800
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
801
|
+
"""
|
|
596
802
|
...
|
|
597
803
|
|
|
598
|
-
def
|
|
599
|
-
|
|
804
|
+
def is_extended(self): ...
|
|
805
|
+
def is_property_hidden(self) -> bool:
|
|
806
|
+
"""Check if a property is hidden.
|
|
807
|
+
|
|
808
|
+
:return: True when the property is hidden.
|
|
809
|
+
:rtype: bool
|
|
810
|
+
"""
|
|
600
811
|
...
|
|
601
812
|
|
|
602
|
-
def is_property_overridable_library(self):
|
|
603
|
-
"""
|
|
813
|
+
def is_property_overridable_library(self) -> bool:
|
|
814
|
+
"""Check if a property is overridable.
|
|
815
|
+
|
|
816
|
+
:return: True when the property is overridable.
|
|
817
|
+
:rtype: bool
|
|
818
|
+
"""
|
|
604
819
|
...
|
|
605
820
|
|
|
606
|
-
def is_property_readonly(self):
|
|
607
|
-
"""
|
|
821
|
+
def is_property_readonly(self) -> bool:
|
|
822
|
+
"""Check if a property is readonly.
|
|
823
|
+
|
|
824
|
+
:return: True when the property is readonly (not writable).
|
|
825
|
+
:rtype: bool
|
|
826
|
+
"""
|
|
608
827
|
...
|
|
609
828
|
|
|
610
|
-
def is_property_set(self):
|
|
611
|
-
"""
|
|
829
|
+
def is_property_set(self) -> bool:
|
|
830
|
+
"""Check if a property is set, use for testing operator properties.
|
|
831
|
+
|
|
832
|
+
:return: True when the property has been set.
|
|
833
|
+
:rtype: bool
|
|
834
|
+
"""
|
|
612
835
|
...
|
|
613
836
|
|
|
614
837
|
def items(self):
|
|
615
|
-
"""
|
|
838
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
839
|
+
dictionary function of the same name).
|
|
840
|
+
|
|
841
|
+
:return: custom property key, value pairs.
|
|
842
|
+
"""
|
|
616
843
|
...
|
|
617
844
|
|
|
618
|
-
def keyframe_delete(self):
|
|
619
|
-
"""
|
|
845
|
+
def keyframe_delete(self) -> bool:
|
|
846
|
+
"""Remove a keyframe from this properties fcurve.
|
|
847
|
+
|
|
848
|
+
:return: Success of keyframe deletion.
|
|
849
|
+
:rtype: bool
|
|
850
|
+
"""
|
|
620
851
|
...
|
|
621
852
|
|
|
622
|
-
def keyframe_insert(self):
|
|
623
|
-
"""
|
|
853
|
+
def keyframe_insert(self) -> bool:
|
|
854
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
855
|
+
|
|
856
|
+
:return: Success of keyframe insertion.
|
|
857
|
+
:rtype: bool
|
|
858
|
+
"""
|
|
624
859
|
...
|
|
625
860
|
|
|
626
861
|
def keys(self):
|
|
627
|
-
"""
|
|
862
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
863
|
+
dictionary function of the same name).
|
|
864
|
+
|
|
865
|
+
:return: custom property keys.
|
|
866
|
+
"""
|
|
628
867
|
...
|
|
629
868
|
|
|
630
|
-
def path_from_id(self):
|
|
631
|
-
"""
|
|
869
|
+
def path_from_id(self) -> str:
|
|
870
|
+
"""Returns the data path from the ID to this object (string).
|
|
871
|
+
|
|
872
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
873
|
+
to this struct and property (when given).
|
|
874
|
+
:rtype: str
|
|
875
|
+
"""
|
|
632
876
|
...
|
|
633
877
|
|
|
634
878
|
def path_resolve(self):
|
|
635
|
-
""" """
|
|
879
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
636
880
|
...
|
|
637
881
|
|
|
638
882
|
def poll(self, context):
|
|
@@ -643,80 +887,94 @@ class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
643
887
|
...
|
|
644
888
|
|
|
645
889
|
def pop(self):
|
|
646
|
-
"""
|
|
890
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
891
|
+
when not found (matches Python's dictionary function of the same name).
|
|
892
|
+
|
|
893
|
+
"""
|
|
647
894
|
...
|
|
648
895
|
|
|
649
896
|
def prepend(self, draw_func):
|
|
650
|
-
"""
|
|
897
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
898
|
+
the menus draw function
|
|
651
899
|
|
|
652
|
-
|
|
900
|
+
:param draw_func:
|
|
653
901
|
"""
|
|
654
902
|
...
|
|
655
903
|
|
|
656
|
-
def property_overridable_library_set(self):
|
|
657
|
-
"""
|
|
904
|
+
def property_overridable_library_set(self) -> bool:
|
|
905
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
906
|
+
|
|
907
|
+
:return: True when the overridable status of the property was successfully set.
|
|
908
|
+
:rtype: bool
|
|
909
|
+
"""
|
|
658
910
|
...
|
|
659
911
|
|
|
660
912
|
def property_unset(self):
|
|
661
|
-
""" """
|
|
913
|
+
"""Unset a property, will use default value afterward."""
|
|
662
914
|
...
|
|
663
915
|
|
|
664
916
|
def remove(self, draw_func):
|
|
665
|
-
"""
|
|
917
|
+
"""Remove a draw function that has been added to this menu
|
|
666
918
|
|
|
667
919
|
:param draw_func:
|
|
668
920
|
"""
|
|
669
921
|
...
|
|
670
922
|
|
|
671
923
|
def type_recast(self):
|
|
672
|
-
"""
|
|
924
|
+
"""Return a new instance, this is needed because types
|
|
925
|
+
such as textures can be changed at runtime.
|
|
926
|
+
|
|
927
|
+
:return: a new instance of this object with the type initialized again.
|
|
928
|
+
"""
|
|
673
929
|
...
|
|
674
930
|
|
|
675
931
|
def values(self):
|
|
676
|
-
"""
|
|
932
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
933
|
+
dictionary function of the same name).
|
|
934
|
+
|
|
935
|
+
:return: custom property values.
|
|
936
|
+
"""
|
|
677
937
|
...
|
|
678
938
|
|
|
679
939
|
class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
680
|
-
""" """
|
|
681
|
-
|
|
682
940
|
COMPAT_ENGINES: typing.Any
|
|
683
|
-
""" """
|
|
684
|
-
|
|
685
941
|
bl_context: typing.Any
|
|
686
|
-
""" """
|
|
687
|
-
|
|
688
942
|
bl_label: typing.Any
|
|
689
|
-
""" """
|
|
690
|
-
|
|
691
943
|
bl_region_type: typing.Any
|
|
692
|
-
""" """
|
|
693
|
-
|
|
694
944
|
bl_rna: typing.Any
|
|
695
|
-
""" """
|
|
696
|
-
|
|
697
945
|
bl_space_type: typing.Any
|
|
698
|
-
""" """
|
|
699
|
-
|
|
700
946
|
id_data: typing.Any
|
|
701
|
-
""" """
|
|
702
947
|
|
|
703
948
|
def append(self, draw_func):
|
|
704
|
-
"""
|
|
949
|
+
"""Append a draw function to this menu,
|
|
950
|
+
takes the same arguments as the menus draw function
|
|
705
951
|
|
|
706
|
-
|
|
952
|
+
:param draw_func:
|
|
707
953
|
"""
|
|
708
954
|
...
|
|
709
955
|
|
|
710
|
-
def as_pointer(self):
|
|
711
|
-
"""
|
|
956
|
+
def as_pointer(self) -> int:
|
|
957
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
958
|
+
|
|
959
|
+
:return: int (memory address).
|
|
960
|
+
:rtype: int
|
|
961
|
+
"""
|
|
712
962
|
...
|
|
713
963
|
|
|
714
|
-
def bl_rna_get_subclass(self):
|
|
715
|
-
"""
|
|
964
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
965
|
+
"""
|
|
966
|
+
|
|
967
|
+
:return: The RNA type or default when not found.
|
|
968
|
+
:rtype: bpy.types.Struct
|
|
969
|
+
"""
|
|
716
970
|
...
|
|
717
971
|
|
|
718
|
-
def bl_rna_get_subclass_py(self):
|
|
719
|
-
"""
|
|
972
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
973
|
+
"""
|
|
974
|
+
|
|
975
|
+
:return: The class or default when not found.
|
|
976
|
+
:rtype: typing.Any
|
|
977
|
+
"""
|
|
720
978
|
...
|
|
721
979
|
|
|
722
980
|
def draw(self, context):
|
|
@@ -726,72 +984,126 @@ class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
726
984
|
"""
|
|
727
985
|
...
|
|
728
986
|
|
|
729
|
-
def driver_add(self):
|
|
730
|
-
"""
|
|
987
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
988
|
+
"""Adds driver(s) to the given property
|
|
989
|
+
|
|
990
|
+
:return: The driver(s) added.
|
|
991
|
+
:rtype: bpy.types.FCurve
|
|
992
|
+
"""
|
|
731
993
|
...
|
|
732
994
|
|
|
733
|
-
def driver_remove(self):
|
|
734
|
-
"""
|
|
995
|
+
def driver_remove(self) -> bool:
|
|
996
|
+
"""Remove driver(s) from the given property
|
|
997
|
+
|
|
998
|
+
:return: Success of driver removal.
|
|
999
|
+
:rtype: bool
|
|
1000
|
+
"""
|
|
735
1001
|
...
|
|
736
1002
|
|
|
737
1003
|
def get(self):
|
|
738
|
-
"""
|
|
1004
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1005
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1006
|
+
|
|
1007
|
+
"""
|
|
739
1008
|
...
|
|
740
1009
|
|
|
741
1010
|
def id_properties_clear(self):
|
|
742
|
-
"""
|
|
1011
|
+
"""
|
|
1012
|
+
|
|
1013
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1014
|
+
"""
|
|
743
1015
|
...
|
|
744
1016
|
|
|
745
1017
|
def id_properties_ensure(self):
|
|
746
|
-
"""
|
|
1018
|
+
"""
|
|
1019
|
+
|
|
1020
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1021
|
+
"""
|
|
747
1022
|
...
|
|
748
1023
|
|
|
749
1024
|
def id_properties_ui(self):
|
|
750
|
-
"""
|
|
751
|
-
...
|
|
1025
|
+
"""
|
|
752
1026
|
|
|
753
|
-
|
|
754
|
-
"""
|
|
1027
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1028
|
+
"""
|
|
755
1029
|
...
|
|
756
1030
|
|
|
757
|
-
def
|
|
758
|
-
|
|
1031
|
+
def is_extended(self): ...
|
|
1032
|
+
def is_property_hidden(self) -> bool:
|
|
1033
|
+
"""Check if a property is hidden.
|
|
1034
|
+
|
|
1035
|
+
:return: True when the property is hidden.
|
|
1036
|
+
:rtype: bool
|
|
1037
|
+
"""
|
|
759
1038
|
...
|
|
760
1039
|
|
|
761
|
-
def is_property_overridable_library(self):
|
|
762
|
-
"""
|
|
1040
|
+
def is_property_overridable_library(self) -> bool:
|
|
1041
|
+
"""Check if a property is overridable.
|
|
1042
|
+
|
|
1043
|
+
:return: True when the property is overridable.
|
|
1044
|
+
:rtype: bool
|
|
1045
|
+
"""
|
|
763
1046
|
...
|
|
764
1047
|
|
|
765
|
-
def is_property_readonly(self):
|
|
766
|
-
"""
|
|
1048
|
+
def is_property_readonly(self) -> bool:
|
|
1049
|
+
"""Check if a property is readonly.
|
|
1050
|
+
|
|
1051
|
+
:return: True when the property is readonly (not writable).
|
|
1052
|
+
:rtype: bool
|
|
1053
|
+
"""
|
|
767
1054
|
...
|
|
768
1055
|
|
|
769
|
-
def is_property_set(self):
|
|
770
|
-
"""
|
|
1056
|
+
def is_property_set(self) -> bool:
|
|
1057
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1058
|
+
|
|
1059
|
+
:return: True when the property has been set.
|
|
1060
|
+
:rtype: bool
|
|
1061
|
+
"""
|
|
771
1062
|
...
|
|
772
1063
|
|
|
773
1064
|
def items(self):
|
|
774
|
-
"""
|
|
1065
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1066
|
+
dictionary function of the same name).
|
|
1067
|
+
|
|
1068
|
+
:return: custom property key, value pairs.
|
|
1069
|
+
"""
|
|
775
1070
|
...
|
|
776
1071
|
|
|
777
|
-
def keyframe_delete(self):
|
|
778
|
-
"""
|
|
1072
|
+
def keyframe_delete(self) -> bool:
|
|
1073
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1074
|
+
|
|
1075
|
+
:return: Success of keyframe deletion.
|
|
1076
|
+
:rtype: bool
|
|
1077
|
+
"""
|
|
779
1078
|
...
|
|
780
1079
|
|
|
781
|
-
def keyframe_insert(self):
|
|
782
|
-
"""
|
|
1080
|
+
def keyframe_insert(self) -> bool:
|
|
1081
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1082
|
+
|
|
1083
|
+
:return: Success of keyframe insertion.
|
|
1084
|
+
:rtype: bool
|
|
1085
|
+
"""
|
|
783
1086
|
...
|
|
784
1087
|
|
|
785
1088
|
def keys(self):
|
|
786
|
-
"""
|
|
1089
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1090
|
+
dictionary function of the same name).
|
|
1091
|
+
|
|
1092
|
+
:return: custom property keys.
|
|
1093
|
+
"""
|
|
787
1094
|
...
|
|
788
1095
|
|
|
789
|
-
def path_from_id(self):
|
|
790
|
-
"""
|
|
1096
|
+
def path_from_id(self) -> str:
|
|
1097
|
+
"""Returns the data path from the ID to this object (string).
|
|
1098
|
+
|
|
1099
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1100
|
+
to this struct and property (when given).
|
|
1101
|
+
:rtype: str
|
|
1102
|
+
"""
|
|
791
1103
|
...
|
|
792
1104
|
|
|
793
1105
|
def path_resolve(self):
|
|
794
|
-
""" """
|
|
1106
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
795
1107
|
...
|
|
796
1108
|
|
|
797
1109
|
def poll(self, context):
|
|
@@ -802,35 +1114,51 @@ class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
802
1114
|
...
|
|
803
1115
|
|
|
804
1116
|
def pop(self):
|
|
805
|
-
"""
|
|
1117
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1118
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1119
|
+
|
|
1120
|
+
"""
|
|
806
1121
|
...
|
|
807
1122
|
|
|
808
1123
|
def prepend(self, draw_func):
|
|
809
|
-
"""
|
|
1124
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1125
|
+
the menus draw function
|
|
810
1126
|
|
|
811
|
-
|
|
1127
|
+
:param draw_func:
|
|
812
1128
|
"""
|
|
813
1129
|
...
|
|
814
1130
|
|
|
815
|
-
def property_overridable_library_set(self):
|
|
816
|
-
"""
|
|
1131
|
+
def property_overridable_library_set(self) -> bool:
|
|
1132
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1133
|
+
|
|
1134
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1135
|
+
:rtype: bool
|
|
1136
|
+
"""
|
|
817
1137
|
...
|
|
818
1138
|
|
|
819
1139
|
def property_unset(self):
|
|
820
|
-
""" """
|
|
1140
|
+
"""Unset a property, will use default value afterward."""
|
|
821
1141
|
...
|
|
822
1142
|
|
|
823
1143
|
def remove(self, draw_func):
|
|
824
|
-
"""
|
|
1144
|
+
"""Remove a draw function that has been added to this menu
|
|
825
1145
|
|
|
826
1146
|
:param draw_func:
|
|
827
1147
|
"""
|
|
828
1148
|
...
|
|
829
1149
|
|
|
830
1150
|
def type_recast(self):
|
|
831
|
-
"""
|
|
1151
|
+
"""Return a new instance, this is needed because types
|
|
1152
|
+
such as textures can be changed at runtime.
|
|
1153
|
+
|
|
1154
|
+
:return: a new instance of this object with the type initialized again.
|
|
1155
|
+
"""
|
|
832
1156
|
...
|
|
833
1157
|
|
|
834
1158
|
def values(self):
|
|
835
|
-
"""
|
|
1159
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1160
|
+
dictionary function of the same name).
|
|
1161
|
+
|
|
1162
|
+
:return: custom property values.
|
|
1163
|
+
"""
|
|
836
1164
|
...
|