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