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