fake-bpy-module 20240516__py3-none-any.whl → 20240517__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 +2 -2
- addon_utils/__init__.pyi +43 -12
- animsys_refactor/__init__.pyi +4 -4
- aud/__init__.pyi +7 -7
- bgl/__init__.pyi +121 -183
- bl_app_override/__init__.pyi +5 -5
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +5 -5
- 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 +5 -5
- bl_i18n_utils/settings/__init__.pyi +4 -2
- bl_i18n_utils/utils/__init__.pyi +86 -58
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +4 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +126 -41
- bl_operators/anim/__init__.pyi +1001 -328
- bl_operators/assets/__init__.pyi +376 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
- bl_operators/clip/__init__.pyi +1250 -409
- bl_operators/console/__init__.pyi +626 -205
- bl_operators/constraint/__init__.pyi +502 -165
- bl_operators/file/__init__.pyi +376 -123
- bl_operators/freestyle/__init__.pyi +501 -164
- bl_operators/geometry_nodes/__init__.pyi +501 -164
- bl_operators/image/__init__.pyi +621 -200
- bl_operators/mesh/__init__.pyi +376 -123
- bl_operators/node/__init__.pyi +1243 -402
- bl_operators/object/__init__.pyi +1876 -615
- bl_operators/object_align/__init__.pyi +126 -41
- bl_operators/object_quick_effects/__init__.pyi +502 -165
- bl_operators/object_randomize_transform/__init__.pyi +126 -41
- bl_operators/presets/__init__.pyi +3069 -1027
- bl_operators/rigidbody/__init__.pyi +376 -123
- bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
- bl_operators/sequencer/__init__.pyi +1009 -331
- bl_operators/spreadsheet/__init__.pyi +126 -41
- bl_operators/userpref/__init__.pyi +3263 -1078
- bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
- bl_operators/uvcalc_transform/__init__.pyi +289 -90
- bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
- bl_operators/view3d/__init__.pyi +868 -279
- bl_operators/wm/__init__.pyi +5777 -1934
- bl_operators/world/__init__.pyi +126 -41
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
- bl_rna_utils/data_path/__init__.pyi +8 -3
- bl_ui/__init__.pyi +338 -131
- bl_ui/anim/__init__.pyi +164 -64
- bl_ui/asset_shelf/__init__.pyi +129 -42
- bl_ui/generic_ui_list/__init__.pyi +412 -135
- bl_ui/node_add_menu/__init__.pyi +168 -68
- bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
- bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
- bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +806 -274
- bl_ui/properties_constraint/__init__.pyi +10253 -3458
- bl_ui/properties_data_armature/__init__.pyi +1615 -552
- bl_ui/properties_data_bone/__init__.pyi +1288 -425
- bl_ui/properties_data_camera/__init__.pyi +1854 -631
- bl_ui/properties_data_curve/__init__.pyi +1929 -636
- bl_ui/properties_data_curves/__init__.pyi +806 -274
- bl_ui/properties_data_empty/__init__.pyi +257 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
- bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
- bl_ui/properties_data_lattice/__init__.pyi +388 -127
- bl_ui/properties_data_light/__init__.pyi +1541 -506
- bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
- bl_ui/properties_data_mesh/__init__.pyi +2704 -929
- bl_ui/properties_data_metaball/__init__.pyi +644 -211
- bl_ui/properties_data_modifier/__init__.pyi +1353 -502
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
- bl_ui/properties_data_speaker/__init__.pyi +644 -211
- bl_ui/properties_data_volume/__init__.pyi +1030 -339
- bl_ui/properties_freestyle/__init__.pyi +3113 -1035
- bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
- bl_ui/properties_mask_common/__init__.pyi +1101 -420
- bl_ui/properties_material/__init__.pyi +2091 -699
- bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
- bl_ui/properties_object/__init__.pyi +1838 -618
- bl_ui/properties_output/__init__.pyi +2414 -831
- bl_ui/properties_paint_common/__init__.pyi +412 -289
- bl_ui/properties_particle/__init__.pyi +6737 -2241
- bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
- bl_ui/properties_physics_common/__init__.pyi +129 -42
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
- bl_ui/properties_physics_field/__init__.pyi +1283 -422
- bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
- bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
- bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
- bl_ui/properties_render/__init__.pyi +6830 -2263
- bl_ui/properties_scene/__init__.pyi +1929 -636
- bl_ui/properties_texture/__init__.pyi +3370 -1118
- bl_ui/properties_view_layer/__init__.pyi +2346 -782
- bl_ui/properties_workspace/__init__.pyi +516 -169
- bl_ui/properties_world/__init__.pyi +1284 -421
- bl_ui/space_clip/__init__.pyi +10134 -3639
- bl_ui/space_console/__init__.pyi +939 -357
- bl_ui/space_dopesheet/__init__.pyi +4327 -1562
- bl_ui/space_filebrowser/__init__.pyi +4164 -1499
- bl_ui/space_graph/__init__.pyi +3108 -1179
- bl_ui/space_image/__init__.pyi +9766 -3596
- bl_ui/space_info/__init__.pyi +939 -357
- bl_ui/space_nla/__init__.pyi +2620 -988
- bl_ui/space_node/__init__.pyi +3994 -1434
- bl_ui/space_outliner/__init__.pyi +2203 -842
- bl_ui/space_properties/__init__.pyi +386 -127
- bl_ui/space_sequencer/__init__.pyi +10773 -3878
- bl_ui/space_spreadsheet/__init__.pyi +130 -43
- bl_ui/space_statusbar/__init__.pyi +129 -42
- bl_ui/space_text/__init__.pyi +2458 -925
- bl_ui/space_time/__init__.pyi +1033 -378
- bl_ui/space_toolsystem_common/__init__.pyi +20 -16
- bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11373 -3797
- bl_ui/space_view3d/__init__.pyi +40865 -15356
- bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
- bl_ui/temp_anim_layers/__init__.pyi +129 -42
- bl_ui/utils/__init__.pyi +28 -20
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +1 -1
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +38 -38
- 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 +2680 -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 +17056 -21951
- bpy/utils/__init__.pyi +242 -118
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -28
- bpy_extras/bmesh_utils/__init__.pyi +8 -2
- bpy_extras/extensions/junction_module/__init__.pyi +5 -2
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +113 -18
- bpy_extras/keyconfig_utils/__init__.pyi +2 -2
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +9 -4
- bpy_extras/node_utils/__init__.pyi +9 -2
- bpy_extras/object_utils/__init__.pyi +71 -12
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
- bpy_types/__init__.pyi +4197 -1333
- console_python/__init__.pyi +6 -1
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
- fake_bpy_module-20240517.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +3 -3
- 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 -2
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +4 -4
- keyingsets_builtins/__init__.pyi +2688 -839
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_utils/__init__.pyi +1 -1
- rna_info/__init__.pyi +17 -15
- rna_keymap_ui/__init__.pyi +1 -1
- rna_prop_ui/__init__.pyi +16 -14
- rna_xml/__init__.pyi +12 -12
- _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-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
import rna_prop_ui
|
|
4
5
|
|
|
@@ -51,22 +52,35 @@ class DATA_PT_cone(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
51
52
|
""" """
|
|
52
53
|
|
|
53
54
|
def append(self, draw_func):
|
|
54
|
-
"""
|
|
55
|
+
"""Append a draw function to this menu,
|
|
56
|
+
takes the same arguments as the menus draw function
|
|
55
57
|
|
|
56
|
-
|
|
58
|
+
:param draw_func:
|
|
57
59
|
"""
|
|
58
60
|
...
|
|
59
61
|
|
|
60
|
-
def as_pointer(self):
|
|
61
|
-
"""
|
|
62
|
+
def as_pointer(self) -> int:
|
|
63
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
64
|
+
|
|
65
|
+
:return: int (memory address).
|
|
66
|
+
:rtype: int
|
|
67
|
+
"""
|
|
62
68
|
...
|
|
63
69
|
|
|
64
|
-
def bl_rna_get_subclass(self):
|
|
65
|
-
"""
|
|
70
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
71
|
+
"""
|
|
72
|
+
|
|
73
|
+
:return: The RNA type or default when not found.
|
|
74
|
+
:rtype: bpy.types.Struct
|
|
75
|
+
"""
|
|
66
76
|
...
|
|
67
77
|
|
|
68
|
-
def bl_rna_get_subclass_py(self):
|
|
69
|
-
"""
|
|
78
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
79
|
+
"""
|
|
80
|
+
|
|
81
|
+
:return: The class or default when not found.
|
|
82
|
+
:rtype: typing.Any
|
|
83
|
+
"""
|
|
70
84
|
...
|
|
71
85
|
|
|
72
86
|
def draw(self, context):
|
|
@@ -76,72 +90,129 @@ class DATA_PT_cone(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
76
90
|
"""
|
|
77
91
|
...
|
|
78
92
|
|
|
79
|
-
def driver_add(self):
|
|
80
|
-
"""
|
|
93
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
94
|
+
"""Adds driver(s) to the given property
|
|
95
|
+
|
|
96
|
+
:return: The driver(s) added.
|
|
97
|
+
:rtype: bpy.types.FCurve
|
|
98
|
+
"""
|
|
81
99
|
...
|
|
82
100
|
|
|
83
|
-
def driver_remove(self):
|
|
84
|
-
"""
|
|
101
|
+
def driver_remove(self) -> bool:
|
|
102
|
+
"""Remove driver(s) from the given property
|
|
103
|
+
|
|
104
|
+
:return: Success of driver removal.
|
|
105
|
+
:rtype: bool
|
|
106
|
+
"""
|
|
85
107
|
...
|
|
86
108
|
|
|
87
109
|
def get(self):
|
|
88
|
-
"""
|
|
110
|
+
"""Returns the value of the custom property assigned to key or default
|
|
111
|
+
when not found (matches Python's dictionary function of the same name).
|
|
112
|
+
|
|
113
|
+
"""
|
|
89
114
|
...
|
|
90
115
|
|
|
91
116
|
def id_properties_clear(self):
|
|
92
|
-
"""
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
120
|
+
"""
|
|
93
121
|
...
|
|
94
122
|
|
|
95
123
|
def id_properties_ensure(self):
|
|
96
|
-
"""
|
|
124
|
+
"""
|
|
125
|
+
|
|
126
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
127
|
+
"""
|
|
97
128
|
...
|
|
98
129
|
|
|
99
130
|
def id_properties_ui(self):
|
|
100
|
-
"""
|
|
131
|
+
"""
|
|
132
|
+
|
|
133
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
134
|
+
"""
|
|
101
135
|
...
|
|
102
136
|
|
|
103
137
|
def is_extended(self):
|
|
104
138
|
""" """
|
|
105
139
|
...
|
|
106
140
|
|
|
107
|
-
def is_property_hidden(self):
|
|
108
|
-
"""
|
|
141
|
+
def is_property_hidden(self) -> bool:
|
|
142
|
+
"""Check if a property is hidden.
|
|
143
|
+
|
|
144
|
+
:return: True when the property is hidden.
|
|
145
|
+
:rtype: bool
|
|
146
|
+
"""
|
|
109
147
|
...
|
|
110
148
|
|
|
111
|
-
def is_property_overridable_library(self):
|
|
112
|
-
"""
|
|
149
|
+
def is_property_overridable_library(self) -> bool:
|
|
150
|
+
"""Check if a property is overridable.
|
|
151
|
+
|
|
152
|
+
:return: True when the property is overridable.
|
|
153
|
+
:rtype: bool
|
|
154
|
+
"""
|
|
113
155
|
...
|
|
114
156
|
|
|
115
|
-
def is_property_readonly(self):
|
|
116
|
-
"""
|
|
157
|
+
def is_property_readonly(self) -> bool:
|
|
158
|
+
"""Check if a property is readonly.
|
|
159
|
+
|
|
160
|
+
:return: True when the property is readonly (not writable).
|
|
161
|
+
:rtype: bool
|
|
162
|
+
"""
|
|
117
163
|
...
|
|
118
164
|
|
|
119
|
-
def is_property_set(self):
|
|
120
|
-
"""
|
|
165
|
+
def is_property_set(self) -> bool:
|
|
166
|
+
"""Check if a property is set, use for testing operator properties.
|
|
167
|
+
|
|
168
|
+
:return: True when the property has been set.
|
|
169
|
+
:rtype: bool
|
|
170
|
+
"""
|
|
121
171
|
...
|
|
122
172
|
|
|
123
173
|
def items(self):
|
|
124
|
-
"""
|
|
174
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
175
|
+
dictionary function of the same name).
|
|
176
|
+
|
|
177
|
+
:return: custom property key, value pairs.
|
|
178
|
+
"""
|
|
125
179
|
...
|
|
126
180
|
|
|
127
|
-
def keyframe_delete(self):
|
|
128
|
-
"""
|
|
181
|
+
def keyframe_delete(self) -> bool:
|
|
182
|
+
"""Remove a keyframe from this properties fcurve.
|
|
183
|
+
|
|
184
|
+
:return: Success of keyframe deletion.
|
|
185
|
+
:rtype: bool
|
|
186
|
+
"""
|
|
129
187
|
...
|
|
130
188
|
|
|
131
|
-
def keyframe_insert(self):
|
|
132
|
-
"""
|
|
189
|
+
def keyframe_insert(self) -> bool:
|
|
190
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
191
|
+
|
|
192
|
+
:return: Success of keyframe insertion.
|
|
193
|
+
:rtype: bool
|
|
194
|
+
"""
|
|
133
195
|
...
|
|
134
196
|
|
|
135
197
|
def keys(self):
|
|
136
|
-
"""
|
|
198
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
199
|
+
dictionary function of the same name).
|
|
200
|
+
|
|
201
|
+
:return: custom property keys.
|
|
202
|
+
"""
|
|
137
203
|
...
|
|
138
204
|
|
|
139
|
-
def path_from_id(self):
|
|
140
|
-
"""
|
|
205
|
+
def path_from_id(self) -> str:
|
|
206
|
+
"""Returns the data path from the ID to this object (string).
|
|
207
|
+
|
|
208
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
209
|
+
to this struct and property (when given).
|
|
210
|
+
:rtype: str
|
|
211
|
+
"""
|
|
141
212
|
...
|
|
142
213
|
|
|
143
214
|
def path_resolve(self):
|
|
144
|
-
""" """
|
|
215
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
145
216
|
...
|
|
146
217
|
|
|
147
218
|
def poll(self, context):
|
|
@@ -152,37 +223,53 @@ class DATA_PT_cone(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
152
223
|
...
|
|
153
224
|
|
|
154
225
|
def pop(self):
|
|
155
|
-
"""
|
|
226
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
227
|
+
when not found (matches Python's dictionary function of the same name).
|
|
228
|
+
|
|
229
|
+
"""
|
|
156
230
|
...
|
|
157
231
|
|
|
158
232
|
def prepend(self, draw_func):
|
|
159
|
-
"""
|
|
233
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
234
|
+
the menus draw function
|
|
160
235
|
|
|
161
|
-
|
|
236
|
+
:param draw_func:
|
|
162
237
|
"""
|
|
163
238
|
...
|
|
164
239
|
|
|
165
|
-
def property_overridable_library_set(self):
|
|
166
|
-
"""
|
|
240
|
+
def property_overridable_library_set(self) -> bool:
|
|
241
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
242
|
+
|
|
243
|
+
:return: True when the overridable status of the property was successfully set.
|
|
244
|
+
:rtype: bool
|
|
245
|
+
"""
|
|
167
246
|
...
|
|
168
247
|
|
|
169
248
|
def property_unset(self):
|
|
170
|
-
""" """
|
|
249
|
+
"""Unset a property, will use default value afterward."""
|
|
171
250
|
...
|
|
172
251
|
|
|
173
252
|
def remove(self, draw_func):
|
|
174
|
-
"""
|
|
253
|
+
"""Remove a draw function that has been added to this menu
|
|
175
254
|
|
|
176
255
|
:param draw_func:
|
|
177
256
|
"""
|
|
178
257
|
...
|
|
179
258
|
|
|
180
259
|
def type_recast(self):
|
|
181
|
-
"""
|
|
260
|
+
"""Return a new instance, this is needed because types
|
|
261
|
+
such as textures can be changed at runtime.
|
|
262
|
+
|
|
263
|
+
:return: a new instance of this object with the type initialized again.
|
|
264
|
+
"""
|
|
182
265
|
...
|
|
183
266
|
|
|
184
267
|
def values(self):
|
|
185
|
-
"""
|
|
268
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
269
|
+
dictionary function of the same name).
|
|
270
|
+
|
|
271
|
+
:return: custom property values.
|
|
272
|
+
"""
|
|
186
273
|
...
|
|
187
274
|
|
|
188
275
|
class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
@@ -213,22 +300,35 @@ class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._Gene
|
|
|
213
300
|
""" """
|
|
214
301
|
|
|
215
302
|
def append(self, draw_func):
|
|
216
|
-
"""
|
|
303
|
+
"""Append a draw function to this menu,
|
|
304
|
+
takes the same arguments as the menus draw function
|
|
217
305
|
|
|
218
|
-
|
|
306
|
+
:param draw_func:
|
|
219
307
|
"""
|
|
220
308
|
...
|
|
221
309
|
|
|
222
|
-
def as_pointer(self):
|
|
223
|
-
"""
|
|
310
|
+
def as_pointer(self) -> int:
|
|
311
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
312
|
+
|
|
313
|
+
:return: int (memory address).
|
|
314
|
+
:rtype: int
|
|
315
|
+
"""
|
|
224
316
|
...
|
|
225
317
|
|
|
226
|
-
def bl_rna_get_subclass(self):
|
|
227
|
-
"""
|
|
318
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
319
|
+
"""
|
|
320
|
+
|
|
321
|
+
:return: The RNA type or default when not found.
|
|
322
|
+
:rtype: bpy.types.Struct
|
|
323
|
+
"""
|
|
228
324
|
...
|
|
229
325
|
|
|
230
|
-
def bl_rna_get_subclass_py(self):
|
|
231
|
-
"""
|
|
326
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
:return: The class or default when not found.
|
|
330
|
+
:rtype: typing.Any
|
|
331
|
+
"""
|
|
232
332
|
...
|
|
233
333
|
|
|
234
334
|
def draw(self, context):
|
|
@@ -238,72 +338,129 @@ class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._Gene
|
|
|
238
338
|
"""
|
|
239
339
|
...
|
|
240
340
|
|
|
241
|
-
def driver_add(self):
|
|
242
|
-
"""
|
|
341
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
342
|
+
"""Adds driver(s) to the given property
|
|
343
|
+
|
|
344
|
+
:return: The driver(s) added.
|
|
345
|
+
:rtype: bpy.types.FCurve
|
|
346
|
+
"""
|
|
243
347
|
...
|
|
244
348
|
|
|
245
|
-
def driver_remove(self):
|
|
246
|
-
"""
|
|
349
|
+
def driver_remove(self) -> bool:
|
|
350
|
+
"""Remove driver(s) from the given property
|
|
351
|
+
|
|
352
|
+
:return: Success of driver removal.
|
|
353
|
+
:rtype: bool
|
|
354
|
+
"""
|
|
247
355
|
...
|
|
248
356
|
|
|
249
357
|
def get(self):
|
|
250
|
-
"""
|
|
358
|
+
"""Returns the value of the custom property assigned to key or default
|
|
359
|
+
when not found (matches Python's dictionary function of the same name).
|
|
360
|
+
|
|
361
|
+
"""
|
|
251
362
|
...
|
|
252
363
|
|
|
253
364
|
def id_properties_clear(self):
|
|
254
|
-
"""
|
|
365
|
+
"""
|
|
366
|
+
|
|
367
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
368
|
+
"""
|
|
255
369
|
...
|
|
256
370
|
|
|
257
371
|
def id_properties_ensure(self):
|
|
258
|
-
"""
|
|
372
|
+
"""
|
|
373
|
+
|
|
374
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
375
|
+
"""
|
|
259
376
|
...
|
|
260
377
|
|
|
261
378
|
def id_properties_ui(self):
|
|
262
|
-
"""
|
|
379
|
+
"""
|
|
380
|
+
|
|
381
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
382
|
+
"""
|
|
263
383
|
...
|
|
264
384
|
|
|
265
385
|
def is_extended(self):
|
|
266
386
|
""" """
|
|
267
387
|
...
|
|
268
388
|
|
|
269
|
-
def is_property_hidden(self):
|
|
270
|
-
"""
|
|
389
|
+
def is_property_hidden(self) -> bool:
|
|
390
|
+
"""Check if a property is hidden.
|
|
391
|
+
|
|
392
|
+
:return: True when the property is hidden.
|
|
393
|
+
:rtype: bool
|
|
394
|
+
"""
|
|
271
395
|
...
|
|
272
396
|
|
|
273
|
-
def is_property_overridable_library(self):
|
|
274
|
-
"""
|
|
397
|
+
def is_property_overridable_library(self) -> bool:
|
|
398
|
+
"""Check if a property is overridable.
|
|
399
|
+
|
|
400
|
+
:return: True when the property is overridable.
|
|
401
|
+
:rtype: bool
|
|
402
|
+
"""
|
|
275
403
|
...
|
|
276
404
|
|
|
277
|
-
def is_property_readonly(self):
|
|
278
|
-
"""
|
|
405
|
+
def is_property_readonly(self) -> bool:
|
|
406
|
+
"""Check if a property is readonly.
|
|
407
|
+
|
|
408
|
+
:return: True when the property is readonly (not writable).
|
|
409
|
+
:rtype: bool
|
|
410
|
+
"""
|
|
279
411
|
...
|
|
280
412
|
|
|
281
|
-
def is_property_set(self):
|
|
282
|
-
"""
|
|
413
|
+
def is_property_set(self) -> bool:
|
|
414
|
+
"""Check if a property is set, use for testing operator properties.
|
|
415
|
+
|
|
416
|
+
:return: True when the property has been set.
|
|
417
|
+
:rtype: bool
|
|
418
|
+
"""
|
|
283
419
|
...
|
|
284
420
|
|
|
285
421
|
def items(self):
|
|
286
|
-
"""
|
|
422
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
423
|
+
dictionary function of the same name).
|
|
424
|
+
|
|
425
|
+
:return: custom property key, value pairs.
|
|
426
|
+
"""
|
|
287
427
|
...
|
|
288
428
|
|
|
289
|
-
def keyframe_delete(self):
|
|
290
|
-
"""
|
|
429
|
+
def keyframe_delete(self) -> bool:
|
|
430
|
+
"""Remove a keyframe from this properties fcurve.
|
|
431
|
+
|
|
432
|
+
:return: Success of keyframe deletion.
|
|
433
|
+
:rtype: bool
|
|
434
|
+
"""
|
|
291
435
|
...
|
|
292
436
|
|
|
293
|
-
def keyframe_insert(self):
|
|
294
|
-
"""
|
|
437
|
+
def keyframe_insert(self) -> bool:
|
|
438
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
439
|
+
|
|
440
|
+
:return: Success of keyframe insertion.
|
|
441
|
+
:rtype: bool
|
|
442
|
+
"""
|
|
295
443
|
...
|
|
296
444
|
|
|
297
445
|
def keys(self):
|
|
298
|
-
"""
|
|
446
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
447
|
+
dictionary function of the same name).
|
|
448
|
+
|
|
449
|
+
:return: custom property keys.
|
|
450
|
+
"""
|
|
299
451
|
...
|
|
300
452
|
|
|
301
|
-
def path_from_id(self):
|
|
302
|
-
"""
|
|
453
|
+
def path_from_id(self) -> str:
|
|
454
|
+
"""Returns the data path from the ID to this object (string).
|
|
455
|
+
|
|
456
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
457
|
+
to this struct and property (when given).
|
|
458
|
+
:rtype: str
|
|
459
|
+
"""
|
|
303
460
|
...
|
|
304
461
|
|
|
305
462
|
def path_resolve(self):
|
|
306
|
-
""" """
|
|
463
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
307
464
|
...
|
|
308
465
|
|
|
309
466
|
def poll(self, context):
|
|
@@ -314,43 +471,61 @@ class DATA_PT_context_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._Gene
|
|
|
314
471
|
...
|
|
315
472
|
|
|
316
473
|
def pop(self):
|
|
317
|
-
"""
|
|
474
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
475
|
+
when not found (matches Python's dictionary function of the same name).
|
|
476
|
+
|
|
477
|
+
"""
|
|
318
478
|
...
|
|
319
479
|
|
|
320
480
|
def prepend(self, draw_func):
|
|
321
|
-
"""
|
|
481
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
482
|
+
the menus draw function
|
|
322
483
|
|
|
323
|
-
|
|
484
|
+
:param draw_func:
|
|
324
485
|
"""
|
|
325
486
|
...
|
|
326
487
|
|
|
327
|
-
def property_overridable_library_set(self):
|
|
328
|
-
"""
|
|
488
|
+
def property_overridable_library_set(self) -> bool:
|
|
489
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
490
|
+
|
|
491
|
+
:return: True when the overridable status of the property was successfully set.
|
|
492
|
+
:rtype: bool
|
|
493
|
+
"""
|
|
329
494
|
...
|
|
330
495
|
|
|
331
496
|
def property_unset(self):
|
|
332
|
-
""" """
|
|
497
|
+
"""Unset a property, will use default value afterward."""
|
|
333
498
|
...
|
|
334
499
|
|
|
335
500
|
def remove(self, draw_func):
|
|
336
|
-
"""
|
|
501
|
+
"""Remove a draw function that has been added to this menu
|
|
337
502
|
|
|
338
503
|
:param draw_func:
|
|
339
504
|
"""
|
|
340
505
|
...
|
|
341
506
|
|
|
342
507
|
def type_recast(self):
|
|
343
|
-
"""
|
|
508
|
+
"""Return a new instance, this is needed because types
|
|
509
|
+
such as textures can be changed at runtime.
|
|
510
|
+
|
|
511
|
+
:return: a new instance of this object with the type initialized again.
|
|
512
|
+
"""
|
|
344
513
|
...
|
|
345
514
|
|
|
346
515
|
def values(self):
|
|
347
|
-
"""
|
|
516
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
517
|
+
dictionary function of the same name).
|
|
518
|
+
|
|
519
|
+
:return: custom property values.
|
|
520
|
+
"""
|
|
348
521
|
...
|
|
349
522
|
|
|
350
523
|
class DATA_PT_custom_props_speaker(
|
|
351
524
|
bpy_types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
352
525
|
):
|
|
353
|
-
"""
|
|
526
|
+
"""The subclass should have its own poll function
|
|
527
|
+
and the variable '_context_path' MUST be set.
|
|
528
|
+
"""
|
|
354
529
|
|
|
355
530
|
COMPAT_ENGINES: typing.Any
|
|
356
531
|
""" """
|
|
@@ -380,22 +555,35 @@ class DATA_PT_custom_props_speaker(
|
|
|
380
555
|
""" """
|
|
381
556
|
|
|
382
557
|
def append(self, draw_func):
|
|
383
|
-
"""
|
|
558
|
+
"""Append a draw function to this menu,
|
|
559
|
+
takes the same arguments as the menus draw function
|
|
384
560
|
|
|
385
|
-
|
|
561
|
+
:param draw_func:
|
|
386
562
|
"""
|
|
387
563
|
...
|
|
388
564
|
|
|
389
|
-
def as_pointer(self):
|
|
390
|
-
"""
|
|
565
|
+
def as_pointer(self) -> int:
|
|
566
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
567
|
+
|
|
568
|
+
:return: int (memory address).
|
|
569
|
+
:rtype: int
|
|
570
|
+
"""
|
|
391
571
|
...
|
|
392
572
|
|
|
393
|
-
def bl_rna_get_subclass(self):
|
|
394
|
-
"""
|
|
573
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
574
|
+
"""
|
|
575
|
+
|
|
576
|
+
:return: The RNA type or default when not found.
|
|
577
|
+
:rtype: bpy.types.Struct
|
|
578
|
+
"""
|
|
395
579
|
...
|
|
396
580
|
|
|
397
|
-
def bl_rna_get_subclass_py(self):
|
|
398
|
-
"""
|
|
581
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
582
|
+
"""
|
|
583
|
+
|
|
584
|
+
:return: The class or default when not found.
|
|
585
|
+
:rtype: typing.Any
|
|
586
|
+
"""
|
|
399
587
|
...
|
|
400
588
|
|
|
401
589
|
def draw(self, context):
|
|
@@ -405,72 +593,129 @@ class DATA_PT_custom_props_speaker(
|
|
|
405
593
|
"""
|
|
406
594
|
...
|
|
407
595
|
|
|
408
|
-
def driver_add(self):
|
|
409
|
-
"""
|
|
596
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
597
|
+
"""Adds driver(s) to the given property
|
|
598
|
+
|
|
599
|
+
:return: The driver(s) added.
|
|
600
|
+
:rtype: bpy.types.FCurve
|
|
601
|
+
"""
|
|
410
602
|
...
|
|
411
603
|
|
|
412
|
-
def driver_remove(self):
|
|
413
|
-
"""
|
|
604
|
+
def driver_remove(self) -> bool:
|
|
605
|
+
"""Remove driver(s) from the given property
|
|
606
|
+
|
|
607
|
+
:return: Success of driver removal.
|
|
608
|
+
:rtype: bool
|
|
609
|
+
"""
|
|
414
610
|
...
|
|
415
611
|
|
|
416
612
|
def get(self):
|
|
417
|
-
"""
|
|
613
|
+
"""Returns the value of the custom property assigned to key or default
|
|
614
|
+
when not found (matches Python's dictionary function of the same name).
|
|
615
|
+
|
|
616
|
+
"""
|
|
418
617
|
...
|
|
419
618
|
|
|
420
619
|
def id_properties_clear(self):
|
|
421
|
-
"""
|
|
620
|
+
"""
|
|
621
|
+
|
|
622
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
623
|
+
"""
|
|
422
624
|
...
|
|
423
625
|
|
|
424
626
|
def id_properties_ensure(self):
|
|
425
|
-
"""
|
|
627
|
+
"""
|
|
628
|
+
|
|
629
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
630
|
+
"""
|
|
426
631
|
...
|
|
427
632
|
|
|
428
633
|
def id_properties_ui(self):
|
|
429
|
-
"""
|
|
634
|
+
"""
|
|
635
|
+
|
|
636
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
637
|
+
"""
|
|
430
638
|
...
|
|
431
639
|
|
|
432
640
|
def is_extended(self):
|
|
433
641
|
""" """
|
|
434
642
|
...
|
|
435
643
|
|
|
436
|
-
def is_property_hidden(self):
|
|
437
|
-
"""
|
|
644
|
+
def is_property_hidden(self) -> bool:
|
|
645
|
+
"""Check if a property is hidden.
|
|
646
|
+
|
|
647
|
+
:return: True when the property is hidden.
|
|
648
|
+
:rtype: bool
|
|
649
|
+
"""
|
|
438
650
|
...
|
|
439
651
|
|
|
440
|
-
def is_property_overridable_library(self):
|
|
441
|
-
"""
|
|
652
|
+
def is_property_overridable_library(self) -> bool:
|
|
653
|
+
"""Check if a property is overridable.
|
|
654
|
+
|
|
655
|
+
:return: True when the property is overridable.
|
|
656
|
+
:rtype: bool
|
|
657
|
+
"""
|
|
442
658
|
...
|
|
443
659
|
|
|
444
|
-
def is_property_readonly(self):
|
|
445
|
-
"""
|
|
660
|
+
def is_property_readonly(self) -> bool:
|
|
661
|
+
"""Check if a property is readonly.
|
|
662
|
+
|
|
663
|
+
:return: True when the property is readonly (not writable).
|
|
664
|
+
:rtype: bool
|
|
665
|
+
"""
|
|
446
666
|
...
|
|
447
667
|
|
|
448
|
-
def is_property_set(self):
|
|
449
|
-
"""
|
|
668
|
+
def is_property_set(self) -> bool:
|
|
669
|
+
"""Check if a property is set, use for testing operator properties.
|
|
670
|
+
|
|
671
|
+
:return: True when the property has been set.
|
|
672
|
+
:rtype: bool
|
|
673
|
+
"""
|
|
450
674
|
...
|
|
451
675
|
|
|
452
676
|
def items(self):
|
|
453
|
-
"""
|
|
677
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
678
|
+
dictionary function of the same name).
|
|
679
|
+
|
|
680
|
+
:return: custom property key, value pairs.
|
|
681
|
+
"""
|
|
454
682
|
...
|
|
455
683
|
|
|
456
|
-
def keyframe_delete(self):
|
|
457
|
-
"""
|
|
684
|
+
def keyframe_delete(self) -> bool:
|
|
685
|
+
"""Remove a keyframe from this properties fcurve.
|
|
686
|
+
|
|
687
|
+
:return: Success of keyframe deletion.
|
|
688
|
+
:rtype: bool
|
|
689
|
+
"""
|
|
458
690
|
...
|
|
459
691
|
|
|
460
|
-
def keyframe_insert(self):
|
|
461
|
-
"""
|
|
692
|
+
def keyframe_insert(self) -> bool:
|
|
693
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
694
|
+
|
|
695
|
+
:return: Success of keyframe insertion.
|
|
696
|
+
:rtype: bool
|
|
697
|
+
"""
|
|
462
698
|
...
|
|
463
699
|
|
|
464
700
|
def keys(self):
|
|
465
|
-
"""
|
|
701
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
702
|
+
dictionary function of the same name).
|
|
703
|
+
|
|
704
|
+
:return: custom property keys.
|
|
705
|
+
"""
|
|
466
706
|
...
|
|
467
707
|
|
|
468
|
-
def path_from_id(self):
|
|
469
|
-
"""
|
|
708
|
+
def path_from_id(self) -> str:
|
|
709
|
+
"""Returns the data path from the ID to this object (string).
|
|
710
|
+
|
|
711
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
712
|
+
to this struct and property (when given).
|
|
713
|
+
:rtype: str
|
|
714
|
+
"""
|
|
470
715
|
...
|
|
471
716
|
|
|
472
717
|
def path_resolve(self):
|
|
473
|
-
""" """
|
|
718
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
474
719
|
...
|
|
475
720
|
|
|
476
721
|
def poll(self, context):
|
|
@@ -481,37 +726,53 @@ class DATA_PT_custom_props_speaker(
|
|
|
481
726
|
...
|
|
482
727
|
|
|
483
728
|
def pop(self):
|
|
484
|
-
"""
|
|
729
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
730
|
+
when not found (matches Python's dictionary function of the same name).
|
|
731
|
+
|
|
732
|
+
"""
|
|
485
733
|
...
|
|
486
734
|
|
|
487
735
|
def prepend(self, draw_func):
|
|
488
|
-
"""
|
|
736
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
737
|
+
the menus draw function
|
|
489
738
|
|
|
490
|
-
|
|
739
|
+
:param draw_func:
|
|
491
740
|
"""
|
|
492
741
|
...
|
|
493
742
|
|
|
494
|
-
def property_overridable_library_set(self):
|
|
495
|
-
"""
|
|
743
|
+
def property_overridable_library_set(self) -> bool:
|
|
744
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
745
|
+
|
|
746
|
+
:return: True when the overridable status of the property was successfully set.
|
|
747
|
+
:rtype: bool
|
|
748
|
+
"""
|
|
496
749
|
...
|
|
497
750
|
|
|
498
751
|
def property_unset(self):
|
|
499
|
-
""" """
|
|
752
|
+
"""Unset a property, will use default value afterward."""
|
|
500
753
|
...
|
|
501
754
|
|
|
502
755
|
def remove(self, draw_func):
|
|
503
|
-
"""
|
|
756
|
+
"""Remove a draw function that has been added to this menu
|
|
504
757
|
|
|
505
758
|
:param draw_func:
|
|
506
759
|
"""
|
|
507
760
|
...
|
|
508
761
|
|
|
509
762
|
def type_recast(self):
|
|
510
|
-
"""
|
|
763
|
+
"""Return a new instance, this is needed because types
|
|
764
|
+
such as textures can be changed at runtime.
|
|
765
|
+
|
|
766
|
+
:return: a new instance of this object with the type initialized again.
|
|
767
|
+
"""
|
|
511
768
|
...
|
|
512
769
|
|
|
513
770
|
def values(self):
|
|
514
|
-
"""
|
|
771
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
772
|
+
dictionary function of the same name).
|
|
773
|
+
|
|
774
|
+
:return: custom property values.
|
|
775
|
+
"""
|
|
515
776
|
...
|
|
516
777
|
|
|
517
778
|
class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
@@ -542,22 +803,35 @@ class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
542
803
|
""" """
|
|
543
804
|
|
|
544
805
|
def append(self, draw_func):
|
|
545
|
-
"""
|
|
806
|
+
"""Append a draw function to this menu,
|
|
807
|
+
takes the same arguments as the menus draw function
|
|
546
808
|
|
|
547
|
-
|
|
809
|
+
:param draw_func:
|
|
548
810
|
"""
|
|
549
811
|
...
|
|
550
812
|
|
|
551
|
-
def as_pointer(self):
|
|
552
|
-
"""
|
|
813
|
+
def as_pointer(self) -> int:
|
|
814
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
815
|
+
|
|
816
|
+
:return: int (memory address).
|
|
817
|
+
:rtype: int
|
|
818
|
+
"""
|
|
553
819
|
...
|
|
554
820
|
|
|
555
|
-
def bl_rna_get_subclass(self):
|
|
556
|
-
"""
|
|
821
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
822
|
+
"""
|
|
823
|
+
|
|
824
|
+
:return: The RNA type or default when not found.
|
|
825
|
+
:rtype: bpy.types.Struct
|
|
826
|
+
"""
|
|
557
827
|
...
|
|
558
828
|
|
|
559
|
-
def bl_rna_get_subclass_py(self):
|
|
560
|
-
"""
|
|
829
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
830
|
+
"""
|
|
831
|
+
|
|
832
|
+
:return: The class or default when not found.
|
|
833
|
+
:rtype: typing.Any
|
|
834
|
+
"""
|
|
561
835
|
...
|
|
562
836
|
|
|
563
837
|
def draw(self, context):
|
|
@@ -567,72 +841,129 @@ class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
567
841
|
"""
|
|
568
842
|
...
|
|
569
843
|
|
|
570
|
-
def driver_add(self):
|
|
571
|
-
"""
|
|
844
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
845
|
+
"""Adds driver(s) to the given property
|
|
846
|
+
|
|
847
|
+
:return: The driver(s) added.
|
|
848
|
+
:rtype: bpy.types.FCurve
|
|
849
|
+
"""
|
|
572
850
|
...
|
|
573
851
|
|
|
574
|
-
def driver_remove(self):
|
|
575
|
-
"""
|
|
852
|
+
def driver_remove(self) -> bool:
|
|
853
|
+
"""Remove driver(s) from the given property
|
|
854
|
+
|
|
855
|
+
:return: Success of driver removal.
|
|
856
|
+
:rtype: bool
|
|
857
|
+
"""
|
|
576
858
|
...
|
|
577
859
|
|
|
578
860
|
def get(self):
|
|
579
|
-
"""
|
|
861
|
+
"""Returns the value of the custom property assigned to key or default
|
|
862
|
+
when not found (matches Python's dictionary function of the same name).
|
|
863
|
+
|
|
864
|
+
"""
|
|
580
865
|
...
|
|
581
866
|
|
|
582
867
|
def id_properties_clear(self):
|
|
583
|
-
"""
|
|
868
|
+
"""
|
|
869
|
+
|
|
870
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
871
|
+
"""
|
|
584
872
|
...
|
|
585
873
|
|
|
586
874
|
def id_properties_ensure(self):
|
|
587
|
-
"""
|
|
875
|
+
"""
|
|
876
|
+
|
|
877
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
878
|
+
"""
|
|
588
879
|
...
|
|
589
880
|
|
|
590
881
|
def id_properties_ui(self):
|
|
591
|
-
"""
|
|
882
|
+
"""
|
|
883
|
+
|
|
884
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
885
|
+
"""
|
|
592
886
|
...
|
|
593
887
|
|
|
594
888
|
def is_extended(self):
|
|
595
889
|
""" """
|
|
596
890
|
...
|
|
597
891
|
|
|
598
|
-
def is_property_hidden(self):
|
|
599
|
-
"""
|
|
892
|
+
def is_property_hidden(self) -> bool:
|
|
893
|
+
"""Check if a property is hidden.
|
|
894
|
+
|
|
895
|
+
:return: True when the property is hidden.
|
|
896
|
+
:rtype: bool
|
|
897
|
+
"""
|
|
600
898
|
...
|
|
601
899
|
|
|
602
|
-
def is_property_overridable_library(self):
|
|
603
|
-
"""
|
|
900
|
+
def is_property_overridable_library(self) -> bool:
|
|
901
|
+
"""Check if a property is overridable.
|
|
902
|
+
|
|
903
|
+
:return: True when the property is overridable.
|
|
904
|
+
:rtype: bool
|
|
905
|
+
"""
|
|
604
906
|
...
|
|
605
907
|
|
|
606
|
-
def is_property_readonly(self):
|
|
607
|
-
"""
|
|
908
|
+
def is_property_readonly(self) -> bool:
|
|
909
|
+
"""Check if a property is readonly.
|
|
910
|
+
|
|
911
|
+
:return: True when the property is readonly (not writable).
|
|
912
|
+
:rtype: bool
|
|
913
|
+
"""
|
|
608
914
|
...
|
|
609
915
|
|
|
610
|
-
def is_property_set(self):
|
|
611
|
-
"""
|
|
916
|
+
def is_property_set(self) -> bool:
|
|
917
|
+
"""Check if a property is set, use for testing operator properties.
|
|
918
|
+
|
|
919
|
+
:return: True when the property has been set.
|
|
920
|
+
:rtype: bool
|
|
921
|
+
"""
|
|
612
922
|
...
|
|
613
923
|
|
|
614
924
|
def items(self):
|
|
615
|
-
"""
|
|
925
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
926
|
+
dictionary function of the same name).
|
|
927
|
+
|
|
928
|
+
:return: custom property key, value pairs.
|
|
929
|
+
"""
|
|
616
930
|
...
|
|
617
931
|
|
|
618
|
-
def keyframe_delete(self):
|
|
619
|
-
"""
|
|
932
|
+
def keyframe_delete(self) -> bool:
|
|
933
|
+
"""Remove a keyframe from this properties fcurve.
|
|
934
|
+
|
|
935
|
+
:return: Success of keyframe deletion.
|
|
936
|
+
:rtype: bool
|
|
937
|
+
"""
|
|
620
938
|
...
|
|
621
939
|
|
|
622
|
-
def keyframe_insert(self):
|
|
623
|
-
"""
|
|
940
|
+
def keyframe_insert(self) -> bool:
|
|
941
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
942
|
+
|
|
943
|
+
:return: Success of keyframe insertion.
|
|
944
|
+
:rtype: bool
|
|
945
|
+
"""
|
|
624
946
|
...
|
|
625
947
|
|
|
626
948
|
def keys(self):
|
|
627
|
-
"""
|
|
949
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
950
|
+
dictionary function of the same name).
|
|
951
|
+
|
|
952
|
+
:return: custom property keys.
|
|
953
|
+
"""
|
|
628
954
|
...
|
|
629
955
|
|
|
630
|
-
def path_from_id(self):
|
|
631
|
-
"""
|
|
956
|
+
def path_from_id(self) -> str:
|
|
957
|
+
"""Returns the data path from the ID to this object (string).
|
|
958
|
+
|
|
959
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
960
|
+
to this struct and property (when given).
|
|
961
|
+
:rtype: str
|
|
962
|
+
"""
|
|
632
963
|
...
|
|
633
964
|
|
|
634
965
|
def path_resolve(self):
|
|
635
|
-
""" """
|
|
966
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
636
967
|
...
|
|
637
968
|
|
|
638
969
|
def poll(self, context):
|
|
@@ -643,37 +974,53 @@ class DATA_PT_distance(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
643
974
|
...
|
|
644
975
|
|
|
645
976
|
def pop(self):
|
|
646
|
-
"""
|
|
977
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
978
|
+
when not found (matches Python's dictionary function of the same name).
|
|
979
|
+
|
|
980
|
+
"""
|
|
647
981
|
...
|
|
648
982
|
|
|
649
983
|
def prepend(self, draw_func):
|
|
650
|
-
"""
|
|
984
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
985
|
+
the menus draw function
|
|
651
986
|
|
|
652
|
-
|
|
987
|
+
:param draw_func:
|
|
653
988
|
"""
|
|
654
989
|
...
|
|
655
990
|
|
|
656
|
-
def property_overridable_library_set(self):
|
|
657
|
-
"""
|
|
991
|
+
def property_overridable_library_set(self) -> bool:
|
|
992
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
993
|
+
|
|
994
|
+
:return: True when the overridable status of the property was successfully set.
|
|
995
|
+
:rtype: bool
|
|
996
|
+
"""
|
|
658
997
|
...
|
|
659
998
|
|
|
660
999
|
def property_unset(self):
|
|
661
|
-
""" """
|
|
1000
|
+
"""Unset a property, will use default value afterward."""
|
|
662
1001
|
...
|
|
663
1002
|
|
|
664
1003
|
def remove(self, draw_func):
|
|
665
|
-
"""
|
|
1004
|
+
"""Remove a draw function that has been added to this menu
|
|
666
1005
|
|
|
667
1006
|
:param draw_func:
|
|
668
1007
|
"""
|
|
669
1008
|
...
|
|
670
1009
|
|
|
671
1010
|
def type_recast(self):
|
|
672
|
-
"""
|
|
1011
|
+
"""Return a new instance, this is needed because types
|
|
1012
|
+
such as textures can be changed at runtime.
|
|
1013
|
+
|
|
1014
|
+
:return: a new instance of this object with the type initialized again.
|
|
1015
|
+
"""
|
|
673
1016
|
...
|
|
674
1017
|
|
|
675
1018
|
def values(self):
|
|
676
|
-
"""
|
|
1019
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1020
|
+
dictionary function of the same name).
|
|
1021
|
+
|
|
1022
|
+
:return: custom property values.
|
|
1023
|
+
"""
|
|
677
1024
|
...
|
|
678
1025
|
|
|
679
1026
|
class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
@@ -701,22 +1048,35 @@ class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
701
1048
|
""" """
|
|
702
1049
|
|
|
703
1050
|
def append(self, draw_func):
|
|
704
|
-
"""
|
|
1051
|
+
"""Append a draw function to this menu,
|
|
1052
|
+
takes the same arguments as the menus draw function
|
|
705
1053
|
|
|
706
|
-
|
|
1054
|
+
:param draw_func:
|
|
707
1055
|
"""
|
|
708
1056
|
...
|
|
709
1057
|
|
|
710
|
-
def as_pointer(self):
|
|
711
|
-
"""
|
|
1058
|
+
def as_pointer(self) -> int:
|
|
1059
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1060
|
+
|
|
1061
|
+
:return: int (memory address).
|
|
1062
|
+
:rtype: int
|
|
1063
|
+
"""
|
|
712
1064
|
...
|
|
713
1065
|
|
|
714
|
-
def bl_rna_get_subclass(self):
|
|
715
|
-
"""
|
|
1066
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1067
|
+
"""
|
|
1068
|
+
|
|
1069
|
+
:return: The RNA type or default when not found.
|
|
1070
|
+
:rtype: bpy.types.Struct
|
|
1071
|
+
"""
|
|
716
1072
|
...
|
|
717
1073
|
|
|
718
|
-
def bl_rna_get_subclass_py(self):
|
|
719
|
-
"""
|
|
1074
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1075
|
+
"""
|
|
1076
|
+
|
|
1077
|
+
:return: The class or default when not found.
|
|
1078
|
+
:rtype: typing.Any
|
|
1079
|
+
"""
|
|
720
1080
|
...
|
|
721
1081
|
|
|
722
1082
|
def draw(self, context):
|
|
@@ -726,72 +1086,129 @@ class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
726
1086
|
"""
|
|
727
1087
|
...
|
|
728
1088
|
|
|
729
|
-
def driver_add(self):
|
|
730
|
-
"""
|
|
1089
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1090
|
+
"""Adds driver(s) to the given property
|
|
1091
|
+
|
|
1092
|
+
:return: The driver(s) added.
|
|
1093
|
+
:rtype: bpy.types.FCurve
|
|
1094
|
+
"""
|
|
731
1095
|
...
|
|
732
1096
|
|
|
733
|
-
def driver_remove(self):
|
|
734
|
-
"""
|
|
1097
|
+
def driver_remove(self) -> bool:
|
|
1098
|
+
"""Remove driver(s) from the given property
|
|
1099
|
+
|
|
1100
|
+
:return: Success of driver removal.
|
|
1101
|
+
:rtype: bool
|
|
1102
|
+
"""
|
|
735
1103
|
...
|
|
736
1104
|
|
|
737
1105
|
def get(self):
|
|
738
|
-
"""
|
|
1106
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1107
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1108
|
+
|
|
1109
|
+
"""
|
|
739
1110
|
...
|
|
740
1111
|
|
|
741
1112
|
def id_properties_clear(self):
|
|
742
|
-
"""
|
|
1113
|
+
"""
|
|
1114
|
+
|
|
1115
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1116
|
+
"""
|
|
743
1117
|
...
|
|
744
1118
|
|
|
745
1119
|
def id_properties_ensure(self):
|
|
746
|
-
"""
|
|
1120
|
+
"""
|
|
1121
|
+
|
|
1122
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1123
|
+
"""
|
|
747
1124
|
...
|
|
748
1125
|
|
|
749
1126
|
def id_properties_ui(self):
|
|
750
|
-
"""
|
|
1127
|
+
"""
|
|
1128
|
+
|
|
1129
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1130
|
+
"""
|
|
751
1131
|
...
|
|
752
1132
|
|
|
753
1133
|
def is_extended(self):
|
|
754
1134
|
""" """
|
|
755
1135
|
...
|
|
756
1136
|
|
|
757
|
-
def is_property_hidden(self):
|
|
758
|
-
"""
|
|
1137
|
+
def is_property_hidden(self) -> bool:
|
|
1138
|
+
"""Check if a property is hidden.
|
|
1139
|
+
|
|
1140
|
+
:return: True when the property is hidden.
|
|
1141
|
+
:rtype: bool
|
|
1142
|
+
"""
|
|
759
1143
|
...
|
|
760
1144
|
|
|
761
|
-
def is_property_overridable_library(self):
|
|
762
|
-
"""
|
|
1145
|
+
def is_property_overridable_library(self) -> bool:
|
|
1146
|
+
"""Check if a property is overridable.
|
|
1147
|
+
|
|
1148
|
+
:return: True when the property is overridable.
|
|
1149
|
+
:rtype: bool
|
|
1150
|
+
"""
|
|
763
1151
|
...
|
|
764
1152
|
|
|
765
|
-
def is_property_readonly(self):
|
|
766
|
-
"""
|
|
1153
|
+
def is_property_readonly(self) -> bool:
|
|
1154
|
+
"""Check if a property is readonly.
|
|
1155
|
+
|
|
1156
|
+
:return: True when the property is readonly (not writable).
|
|
1157
|
+
:rtype: bool
|
|
1158
|
+
"""
|
|
767
1159
|
...
|
|
768
1160
|
|
|
769
|
-
def is_property_set(self):
|
|
770
|
-
"""
|
|
1161
|
+
def is_property_set(self) -> bool:
|
|
1162
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1163
|
+
|
|
1164
|
+
:return: True when the property has been set.
|
|
1165
|
+
:rtype: bool
|
|
1166
|
+
"""
|
|
771
1167
|
...
|
|
772
1168
|
|
|
773
1169
|
def items(self):
|
|
774
|
-
"""
|
|
1170
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1171
|
+
dictionary function of the same name).
|
|
1172
|
+
|
|
1173
|
+
:return: custom property key, value pairs.
|
|
1174
|
+
"""
|
|
775
1175
|
...
|
|
776
1176
|
|
|
777
|
-
def keyframe_delete(self):
|
|
778
|
-
"""
|
|
1177
|
+
def keyframe_delete(self) -> bool:
|
|
1178
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1179
|
+
|
|
1180
|
+
:return: Success of keyframe deletion.
|
|
1181
|
+
:rtype: bool
|
|
1182
|
+
"""
|
|
779
1183
|
...
|
|
780
1184
|
|
|
781
|
-
def keyframe_insert(self):
|
|
782
|
-
"""
|
|
1185
|
+
def keyframe_insert(self) -> bool:
|
|
1186
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1187
|
+
|
|
1188
|
+
:return: Success of keyframe insertion.
|
|
1189
|
+
:rtype: bool
|
|
1190
|
+
"""
|
|
783
1191
|
...
|
|
784
1192
|
|
|
785
1193
|
def keys(self):
|
|
786
|
-
"""
|
|
1194
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1195
|
+
dictionary function of the same name).
|
|
1196
|
+
|
|
1197
|
+
:return: custom property keys.
|
|
1198
|
+
"""
|
|
787
1199
|
...
|
|
788
1200
|
|
|
789
|
-
def path_from_id(self):
|
|
790
|
-
"""
|
|
1201
|
+
def path_from_id(self) -> str:
|
|
1202
|
+
"""Returns the data path from the ID to this object (string).
|
|
1203
|
+
|
|
1204
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1205
|
+
to this struct and property (when given).
|
|
1206
|
+
:rtype: str
|
|
1207
|
+
"""
|
|
791
1208
|
...
|
|
792
1209
|
|
|
793
1210
|
def path_resolve(self):
|
|
794
|
-
""" """
|
|
1211
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
795
1212
|
...
|
|
796
1213
|
|
|
797
1214
|
def poll(self, context):
|
|
@@ -802,35 +1219,51 @@ class DATA_PT_speaker(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
802
1219
|
...
|
|
803
1220
|
|
|
804
1221
|
def pop(self):
|
|
805
|
-
"""
|
|
1222
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1223
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1224
|
+
|
|
1225
|
+
"""
|
|
806
1226
|
...
|
|
807
1227
|
|
|
808
1228
|
def prepend(self, draw_func):
|
|
809
|
-
"""
|
|
1229
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1230
|
+
the menus draw function
|
|
810
1231
|
|
|
811
|
-
|
|
1232
|
+
:param draw_func:
|
|
812
1233
|
"""
|
|
813
1234
|
...
|
|
814
1235
|
|
|
815
|
-
def property_overridable_library_set(self):
|
|
816
|
-
"""
|
|
1236
|
+
def property_overridable_library_set(self) -> bool:
|
|
1237
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1238
|
+
|
|
1239
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1240
|
+
:rtype: bool
|
|
1241
|
+
"""
|
|
817
1242
|
...
|
|
818
1243
|
|
|
819
1244
|
def property_unset(self):
|
|
820
|
-
""" """
|
|
1245
|
+
"""Unset a property, will use default value afterward."""
|
|
821
1246
|
...
|
|
822
1247
|
|
|
823
1248
|
def remove(self, draw_func):
|
|
824
|
-
"""
|
|
1249
|
+
"""Remove a draw function that has been added to this menu
|
|
825
1250
|
|
|
826
1251
|
:param draw_func:
|
|
827
1252
|
"""
|
|
828
1253
|
...
|
|
829
1254
|
|
|
830
1255
|
def type_recast(self):
|
|
831
|
-
"""
|
|
1256
|
+
"""Return a new instance, this is needed because types
|
|
1257
|
+
such as textures can be changed at runtime.
|
|
1258
|
+
|
|
1259
|
+
:return: a new instance of this object with the type initialized again.
|
|
1260
|
+
"""
|
|
832
1261
|
...
|
|
833
1262
|
|
|
834
1263
|
def values(self):
|
|
835
|
-
"""
|
|
1264
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1265
|
+
dictionary function of the same name).
|
|
1266
|
+
|
|
1267
|
+
:return: custom property values.
|
|
1268
|
+
"""
|
|
836
1269
|
...
|