fake-bpy-module 20240516__py3-none-any.whl → 20240518__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/freedesktop/__init__.pyi +17 -84
- addon_utils/__init__.pyi +44 -38
- animsys_refactor/__init__.pyi +7 -27
- aud/__init__.pyi +8 -11
- bgl/__init__.pyi +121 -1812
- bl_app_override/__init__.pyi +8 -19
- bl_app_override/helpers/__init__.pyi +5 -23
- bl_app_template_utils/__init__.pyi +5 -17
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +16 -67
- bl_i18n_utils/merge_po/__init__.pyi +1 -4
- bl_i18n_utils/settings/__init__.pyi +6 -24
- bl_i18n_utils/utils/__init__.pyi +93 -122
- bl_i18n_utils/utils_cli/__init__.pyi +6 -29
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -4
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +9 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -4
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -6
- bl_keymap_utils/versioning/__init__.pyi +1 -4
- bl_operators/__init__.pyi +2 -9
- bl_operators/add_mesh_torus/__init__.pyi +128 -59
- bl_operators/anim/__init__.pyi +1001 -398
- bl_operators/assets/__init__.pyi +376 -152
- bl_operators/bmesh/find_adjacent/__init__.pyi +10 -37
- bl_operators/clip/__init__.pyi +1264 -532
- bl_operators/console/__init__.pyi +626 -242
- bl_operators/constraint/__init__.pyi +502 -201
- bl_operators/file/__init__.pyi +376 -150
- bl_operators/freestyle/__init__.pyi +501 -200
- bl_operators/geometry_nodes/__init__.pyi +514 -266
- bl_operators/image/__init__.pyi +621 -251
- bl_operators/mesh/__init__.pyi +376 -150
- bl_operators/node/__init__.pyi +1253 -516
- bl_operators/object/__init__.pyi +1879 -755
- bl_operators/object_align/__init__.pyi +129 -64
- bl_operators/object_quick_effects/__init__.pyi +504 -213
- bl_operators/object_randomize_transform/__init__.pyi +129 -54
- bl_operators/presets/__init__.pyi +3072 -1403
- bl_operators/rigidbody/__init__.pyi +376 -150
- bl_operators/screen_play_rendered_anim/__init__.pyi +127 -54
- bl_operators/sequencer/__init__.pyi +1010 -434
- bl_operators/spreadsheet/__init__.pyi +126 -50
- bl_operators/userpref/__init__.pyi +3253 -1267
- bl_operators/uvcalc_follow_active/__init__.pyi +128 -59
- bl_operators/uvcalc_lightmap/__init__.pyi +139 -80
- bl_operators/uvcalc_transform/__init__.pyi +297 -159
- bl_operators/vertexpaint_dirt/__init__.pyi +128 -59
- bl_operators/view3d/__init__.pyi +868 -342
- bl_operators/wm/__init__.pyi +5795 -2388
- bl_operators/world/__init__.pyi +126 -50
- bl_previews_utils/bl_previews_render/__init__.pyi +7 -34
- bl_rna_utils/data_path/__init__.pyi +8 -4
- bl_text_utils/external_editor/__init__.pyi +1 -4
- bl_ui/__init__.pyi +366 -269
- bl_ui/anim/__init__.pyi +164 -74
- bl_ui/asset_shelf/__init__.pyi +129 -56
- bl_ui/generic_ui_list/__init__.pyi +412 -163
- bl_ui/node_add_menu/__init__.pyi +171 -94
- bl_ui/node_add_menu_compositor/__init__.pyi +2918 -1353
- bl_ui/node_add_menu_geometry/__init__.pyi +7789 -3616
- bl_ui/node_add_menu_shader/__init__.pyi +1630 -790
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -675
- bl_ui/properties_animviz/__init__.pyi +2 -16
- bl_ui/properties_collection/__init__.pyi +807 -379
- bl_ui/properties_constraint/__init__.pyi +10292 -4941
- bl_ui/properties_data_armature/__init__.pyi +1615 -753
- bl_ui/properties_data_bone/__init__.pyi +1284 -608
- bl_ui/properties_data_camera/__init__.pyi +1854 -927
- bl_ui/properties_data_curve/__init__.pyi +1927 -937
- bl_ui/properties_data_curves/__init__.pyi +806 -375
- bl_ui/properties_data_empty/__init__.pyi +257 -125
- bl_ui/properties_data_gpencil/__init__.pyi +2376 -1130
- bl_ui/properties_data_grease_pencil/__init__.pyi +1898 -894
- bl_ui/properties_data_lattice/__init__.pyi +388 -188
- bl_ui/properties_data_light/__init__.pyi +1540 -756
- bl_ui/properties_data_lightprobe/__init__.pyi +1666 -810
- bl_ui/properties_data_mesh/__init__.pyi +2707 -1235
- bl_ui/properties_data_metaball/__init__.pyi +644 -308
- bl_ui/properties_data_modifier/__init__.pyi +1353 -671
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -316
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -67
- bl_ui/properties_data_speaker/__init__.pyi +644 -316
- bl_ui/properties_data_volume/__init__.pyi +1028 -484
- bl_ui/properties_freestyle/__init__.pyi +3112 -1619
- bl_ui/properties_grease_pencil_common/__init__.pyi +2454 -1123
- bl_ui/properties_mask_common/__init__.pyi +1102 -523
- bl_ui/properties_material/__init__.pyi +2089 -1009
- bl_ui/properties_material_gpencil/__init__.pyi +1348 -635
- bl_ui/properties_object/__init__.pyi +1832 -873
- bl_ui/properties_output/__init__.pyi +2405 -1173
- bl_ui/properties_paint_common/__init__.pyi +416 -386
- bl_ui/properties_particle/__init__.pyi +6740 -3346
- bl_ui/properties_physics_cloth/__init__.pyi +1822 -907
- bl_ui/properties_physics_common/__init__.pyi +135 -98
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2817 -1391
- bl_ui/properties_physics_field/__init__.pyi +1282 -627
- bl_ui/properties_physics_fluid/__init__.pyi +3614 -1794
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -60
- bl_ui/properties_physics_rigidbody/__init__.pyi +1026 -515
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1665 -811
- bl_ui/properties_physics_softbody/__init__.pyi +1922 -967
- bl_ui/properties_render/__init__.pyi +6843 -3367
- bl_ui/properties_scene/__init__.pyi +1924 -913
- bl_ui/properties_texture/__init__.pyi +3371 -1667
- bl_ui/properties_view_layer/__init__.pyi +2344 -1107
- bl_ui/properties_workspace/__init__.pyi +516 -244
- bl_ui/properties_world/__init__.pyi +1284 -630
- bl_ui/space_clip/__init__.pyi +10172 -4695
- bl_ui/space_console/__init__.pyi +940 -423
- bl_ui/space_dopesheet/__init__.pyi +4325 -2013
- bl_ui/space_filebrowser/__init__.pyi +4172 -1903
- bl_ui/space_graph/__init__.pyi +3107 -1394
- bl_ui/space_image/__init__.pyi +9764 -4614
- bl_ui/space_info/__init__.pyi +939 -421
- bl_ui/space_nla/__init__.pyi +2623 -1183
- bl_ui/space_node/__init__.pyi +3995 -1840
- bl_ui/space_outliner/__init__.pyi +2203 -991
- bl_ui/space_properties/__init__.pyi +386 -165
- bl_ui/space_sequencer/__init__.pyi +10809 -4978
- bl_ui/space_spreadsheet/__init__.pyi +130 -53
- bl_ui/space_statusbar/__init__.pyi +129 -52
- bl_ui/space_text/__init__.pyi +2457 -1100
- bl_ui/space_time/__init__.pyi +1034 -481
- bl_ui/space_toolsystem_common/__init__.pyi +56 -211
- bl_ui/space_toolsystem_toolbar/__init__.pyi +153 -882
- bl_ui/space_topbar/__init__.pyi +3982 -1805
- bl_ui/space_userpref/__init__.pyi +11383 -5290
- bl_ui/space_view3d/__init__.pyi +40873 -18532
- bl_ui/space_view3d_toolbar/__init__.pyi +12570 -6502
- bl_ui/temp_anim_layers/__init__.pyi +130 -62
- bl_ui/utils/__init__.pyi +28 -27
- bl_ui_utils/bug_report_url/__init__.pyi +1 -4
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +3 -10
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +39 -56
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2683 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17058 -26311
- bpy/utils/__init__.pyi +247 -179
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -29
- bpy_extras/asset_utils/__init__.pyi +0 -10
- bpy_extras/bmesh_utils/__init__.pyi +9 -6
- bpy_extras/extensions/junction_module/__init__.pyi +6 -8
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +116 -41
- bpy_extras/keyconfig_utils/__init__.pyi +4 -11
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +52 -288
- bpy_extras/node_utils/__init__.pyi +10 -10
- bpy_extras/object_utils/__init__.pyi +71 -14
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +15 -38
- bpy_restrict_state/__init__.pyi +1 -14
- bpy_types/__init__.pyi +4203 -1605
- console_python/__init__.pyi +12 -37
- console_shell/__init__.pyi +5 -24
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/METADATA +1 -1
- fake_bpy_module-20240518.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +14 -44
- freestyle/functions/__init__.pyi +7 -33
- freestyle/predicates/__init__.pyi +44 -217
- freestyle/shaders/__init__.pyi +2 -12
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +6 -18
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -9
- idprop/types/__init__.pyi +8 -35
- imbuf/__init__.pyi +4 -4
- imbuf/types/__init__.pyi +0 -2
- keyingsets_builtins/__init__.pyi +2692 -997
- keyingsets_utils/__init__.pyi +14 -69
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -6
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_builtins/__init__.pyi +5 -30
- nodeitems_utils/__init__.pyi +8 -45
- rna_info/__init__.pyi +39 -215
- rna_keymap_ui/__init__.pyi +6 -29
- rna_prop_ui/__init__.pyi +24 -62
- rna_xml/__init__.pyi +16 -39
- sys_info/__init__.pyi +1 -4
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/top_level.txt +0 -0
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
import rna_prop_ui
|
|
4
5
|
|
|
5
6
|
GenericType = typing.TypeVar("GenericType")
|
|
6
7
|
|
|
7
8
|
class DataButtonsPanel:
|
|
8
|
-
""" """
|
|
9
|
-
|
|
10
9
|
bl_context: typing.Any
|
|
11
|
-
""" """
|
|
12
|
-
|
|
13
10
|
bl_region_type: typing.Any
|
|
14
|
-
""" """
|
|
15
|
-
|
|
16
11
|
bl_space_type: typing.Any
|
|
17
|
-
""" """
|
|
18
12
|
|
|
19
13
|
def poll(self, context):
|
|
20
14
|
"""
|
|
@@ -24,46 +18,44 @@ class DataButtonsPanel:
|
|
|
24
18
|
...
|
|
25
19
|
|
|
26
20
|
class DATA_PT_context_metaball(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
27
|
-
""" """
|
|
28
|
-
|
|
29
21
|
bl_context: typing.Any
|
|
30
|
-
""" """
|
|
31
|
-
|
|
32
22
|
bl_label: typing.Any
|
|
33
|
-
""" """
|
|
34
|
-
|
|
35
23
|
bl_options: typing.Any
|
|
36
|
-
""" """
|
|
37
|
-
|
|
38
24
|
bl_region_type: typing.Any
|
|
39
|
-
""" """
|
|
40
|
-
|
|
41
25
|
bl_rna: typing.Any
|
|
42
|
-
""" """
|
|
43
|
-
|
|
44
26
|
bl_space_type: typing.Any
|
|
45
|
-
""" """
|
|
46
|
-
|
|
47
27
|
id_data: typing.Any
|
|
48
|
-
""" """
|
|
49
28
|
|
|
50
29
|
def append(self, draw_func):
|
|
51
|
-
"""
|
|
30
|
+
"""Append a draw function to this menu,
|
|
31
|
+
takes the same arguments as the menus draw function
|
|
52
32
|
|
|
53
|
-
|
|
33
|
+
:param draw_func:
|
|
54
34
|
"""
|
|
55
35
|
...
|
|
56
36
|
|
|
57
|
-
def as_pointer(self):
|
|
58
|
-
"""
|
|
37
|
+
def as_pointer(self) -> int:
|
|
38
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
39
|
+
|
|
40
|
+
:return: int (memory address).
|
|
41
|
+
:rtype: int
|
|
42
|
+
"""
|
|
59
43
|
...
|
|
60
44
|
|
|
61
|
-
def bl_rna_get_subclass(self):
|
|
62
|
-
"""
|
|
45
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
:return: The RNA type or default when not found.
|
|
49
|
+
:rtype: bpy.types.Struct
|
|
50
|
+
"""
|
|
63
51
|
...
|
|
64
52
|
|
|
65
|
-
def bl_rna_get_subclass_py(self):
|
|
66
|
-
"""
|
|
53
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
54
|
+
"""
|
|
55
|
+
|
|
56
|
+
:return: The class or default when not found.
|
|
57
|
+
:rtype: typing.Any
|
|
58
|
+
"""
|
|
67
59
|
...
|
|
68
60
|
|
|
69
61
|
def draw(self, context):
|
|
@@ -73,72 +65,126 @@ class DATA_PT_context_metaball(bpy_types.Panel, DataButtonsPanel, bpy_types._Gen
|
|
|
73
65
|
"""
|
|
74
66
|
...
|
|
75
67
|
|
|
76
|
-
def driver_add(self):
|
|
77
|
-
"""
|
|
68
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
69
|
+
"""Adds driver(s) to the given property
|
|
70
|
+
|
|
71
|
+
:return: The driver(s) added.
|
|
72
|
+
:rtype: bpy.types.FCurve
|
|
73
|
+
"""
|
|
78
74
|
...
|
|
79
75
|
|
|
80
|
-
def driver_remove(self):
|
|
81
|
-
"""
|
|
76
|
+
def driver_remove(self) -> bool:
|
|
77
|
+
"""Remove driver(s) from the given property
|
|
78
|
+
|
|
79
|
+
:return: Success of driver removal.
|
|
80
|
+
:rtype: bool
|
|
81
|
+
"""
|
|
82
82
|
...
|
|
83
83
|
|
|
84
84
|
def get(self):
|
|
85
|
-
"""
|
|
85
|
+
"""Returns the value of the custom property assigned to key or default
|
|
86
|
+
when not found (matches Python's dictionary function of the same name).
|
|
87
|
+
|
|
88
|
+
"""
|
|
86
89
|
...
|
|
87
90
|
|
|
88
91
|
def id_properties_clear(self):
|
|
89
|
-
"""
|
|
92
|
+
"""
|
|
93
|
+
|
|
94
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
95
|
+
"""
|
|
90
96
|
...
|
|
91
97
|
|
|
92
98
|
def id_properties_ensure(self):
|
|
93
|
-
"""
|
|
99
|
+
"""
|
|
100
|
+
|
|
101
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
102
|
+
"""
|
|
94
103
|
...
|
|
95
104
|
|
|
96
105
|
def id_properties_ui(self):
|
|
97
|
-
"""
|
|
98
|
-
...
|
|
106
|
+
"""
|
|
99
107
|
|
|
100
|
-
|
|
101
|
-
"""
|
|
108
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
109
|
+
"""
|
|
102
110
|
...
|
|
103
111
|
|
|
104
|
-
def
|
|
105
|
-
|
|
112
|
+
def is_extended(self): ...
|
|
113
|
+
def is_property_hidden(self) -> bool:
|
|
114
|
+
"""Check if a property is hidden.
|
|
115
|
+
|
|
116
|
+
:return: True when the property is hidden.
|
|
117
|
+
:rtype: bool
|
|
118
|
+
"""
|
|
106
119
|
...
|
|
107
120
|
|
|
108
|
-
def is_property_overridable_library(self):
|
|
109
|
-
"""
|
|
121
|
+
def is_property_overridable_library(self) -> bool:
|
|
122
|
+
"""Check if a property is overridable.
|
|
123
|
+
|
|
124
|
+
:return: True when the property is overridable.
|
|
125
|
+
:rtype: bool
|
|
126
|
+
"""
|
|
110
127
|
...
|
|
111
128
|
|
|
112
|
-
def is_property_readonly(self):
|
|
113
|
-
"""
|
|
129
|
+
def is_property_readonly(self) -> bool:
|
|
130
|
+
"""Check if a property is readonly.
|
|
131
|
+
|
|
132
|
+
:return: True when the property is readonly (not writable).
|
|
133
|
+
:rtype: bool
|
|
134
|
+
"""
|
|
114
135
|
...
|
|
115
136
|
|
|
116
|
-
def is_property_set(self):
|
|
117
|
-
"""
|
|
137
|
+
def is_property_set(self) -> bool:
|
|
138
|
+
"""Check if a property is set, use for testing operator properties.
|
|
139
|
+
|
|
140
|
+
:return: True when the property has been set.
|
|
141
|
+
:rtype: bool
|
|
142
|
+
"""
|
|
118
143
|
...
|
|
119
144
|
|
|
120
145
|
def items(self):
|
|
121
|
-
"""
|
|
146
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
147
|
+
dictionary function of the same name).
|
|
148
|
+
|
|
149
|
+
:return: custom property key, value pairs.
|
|
150
|
+
"""
|
|
122
151
|
...
|
|
123
152
|
|
|
124
|
-
def keyframe_delete(self):
|
|
125
|
-
"""
|
|
153
|
+
def keyframe_delete(self) -> bool:
|
|
154
|
+
"""Remove a keyframe from this properties fcurve.
|
|
155
|
+
|
|
156
|
+
:return: Success of keyframe deletion.
|
|
157
|
+
:rtype: bool
|
|
158
|
+
"""
|
|
126
159
|
...
|
|
127
160
|
|
|
128
|
-
def keyframe_insert(self):
|
|
129
|
-
"""
|
|
161
|
+
def keyframe_insert(self) -> bool:
|
|
162
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
163
|
+
|
|
164
|
+
:return: Success of keyframe insertion.
|
|
165
|
+
:rtype: bool
|
|
166
|
+
"""
|
|
130
167
|
...
|
|
131
168
|
|
|
132
169
|
def keys(self):
|
|
133
|
-
"""
|
|
170
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
171
|
+
dictionary function of the same name).
|
|
172
|
+
|
|
173
|
+
:return: custom property keys.
|
|
174
|
+
"""
|
|
134
175
|
...
|
|
135
176
|
|
|
136
|
-
def path_from_id(self):
|
|
137
|
-
"""
|
|
177
|
+
def path_from_id(self) -> str:
|
|
178
|
+
"""Returns the data path from the ID to this object (string).
|
|
179
|
+
|
|
180
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
181
|
+
to this struct and property (when given).
|
|
182
|
+
:rtype: str
|
|
183
|
+
"""
|
|
138
184
|
...
|
|
139
185
|
|
|
140
186
|
def path_resolve(self):
|
|
141
|
-
""" """
|
|
187
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
142
188
|
...
|
|
143
189
|
|
|
144
190
|
def poll(self, context):
|
|
@@ -149,88 +195,102 @@ class DATA_PT_context_metaball(bpy_types.Panel, DataButtonsPanel, bpy_types._Gen
|
|
|
149
195
|
...
|
|
150
196
|
|
|
151
197
|
def pop(self):
|
|
152
|
-
"""
|
|
198
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
199
|
+
when not found (matches Python's dictionary function of the same name).
|
|
200
|
+
|
|
201
|
+
"""
|
|
153
202
|
...
|
|
154
203
|
|
|
155
204
|
def prepend(self, draw_func):
|
|
156
|
-
"""
|
|
205
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
206
|
+
the menus draw function
|
|
157
207
|
|
|
158
|
-
|
|
208
|
+
:param draw_func:
|
|
159
209
|
"""
|
|
160
210
|
...
|
|
161
211
|
|
|
162
|
-
def property_overridable_library_set(self):
|
|
163
|
-
"""
|
|
212
|
+
def property_overridable_library_set(self) -> bool:
|
|
213
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
214
|
+
|
|
215
|
+
:return: True when the overridable status of the property was successfully set.
|
|
216
|
+
:rtype: bool
|
|
217
|
+
"""
|
|
164
218
|
...
|
|
165
219
|
|
|
166
220
|
def property_unset(self):
|
|
167
|
-
""" """
|
|
221
|
+
"""Unset a property, will use default value afterward."""
|
|
168
222
|
...
|
|
169
223
|
|
|
170
224
|
def remove(self, draw_func):
|
|
171
|
-
"""
|
|
225
|
+
"""Remove a draw function that has been added to this menu
|
|
172
226
|
|
|
173
227
|
:param draw_func:
|
|
174
228
|
"""
|
|
175
229
|
...
|
|
176
230
|
|
|
177
231
|
def type_recast(self):
|
|
178
|
-
"""
|
|
232
|
+
"""Return a new instance, this is needed because types
|
|
233
|
+
such as textures can be changed at runtime.
|
|
234
|
+
|
|
235
|
+
:return: a new instance of this object with the type initialized again.
|
|
236
|
+
"""
|
|
179
237
|
...
|
|
180
238
|
|
|
181
239
|
def values(self):
|
|
182
|
-
"""
|
|
240
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
241
|
+
dictionary function of the same name).
|
|
242
|
+
|
|
243
|
+
:return: custom property values.
|
|
244
|
+
"""
|
|
183
245
|
...
|
|
184
246
|
|
|
185
247
|
class DATA_PT_custom_props_metaball(
|
|
186
248
|
bpy_types.Panel, DataButtonsPanel, rna_prop_ui.PropertyPanel, bpy_types._GenericUI
|
|
187
249
|
):
|
|
188
|
-
"""
|
|
250
|
+
"""The subclass should have its own poll function
|
|
251
|
+
and the variable '_context_path' MUST be set.
|
|
252
|
+
"""
|
|
189
253
|
|
|
190
254
|
COMPAT_ENGINES: typing.Any
|
|
191
|
-
""" """
|
|
192
|
-
|
|
193
255
|
bl_context: typing.Any
|
|
194
|
-
""" """
|
|
195
|
-
|
|
196
256
|
bl_label: typing.Any
|
|
197
|
-
""" """
|
|
198
|
-
|
|
199
257
|
bl_options: typing.Any
|
|
200
|
-
""" """
|
|
201
|
-
|
|
202
258
|
bl_order: typing.Any
|
|
203
|
-
""" """
|
|
204
|
-
|
|
205
259
|
bl_region_type: typing.Any
|
|
206
|
-
""" """
|
|
207
|
-
|
|
208
260
|
bl_rna: typing.Any
|
|
209
|
-
""" """
|
|
210
|
-
|
|
211
261
|
bl_space_type: typing.Any
|
|
212
|
-
""" """
|
|
213
|
-
|
|
214
262
|
id_data: typing.Any
|
|
215
|
-
""" """
|
|
216
263
|
|
|
217
264
|
def append(self, draw_func):
|
|
218
|
-
"""
|
|
265
|
+
"""Append a draw function to this menu,
|
|
266
|
+
takes the same arguments as the menus draw function
|
|
219
267
|
|
|
220
|
-
|
|
268
|
+
:param draw_func:
|
|
221
269
|
"""
|
|
222
270
|
...
|
|
223
271
|
|
|
224
|
-
def as_pointer(self):
|
|
225
|
-
"""
|
|
272
|
+
def as_pointer(self) -> int:
|
|
273
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
274
|
+
|
|
275
|
+
:return: int (memory address).
|
|
276
|
+
:rtype: int
|
|
277
|
+
"""
|
|
226
278
|
...
|
|
227
279
|
|
|
228
|
-
def bl_rna_get_subclass(self):
|
|
229
|
-
"""
|
|
280
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
281
|
+
"""
|
|
282
|
+
|
|
283
|
+
:return: The RNA type or default when not found.
|
|
284
|
+
:rtype: bpy.types.Struct
|
|
285
|
+
"""
|
|
230
286
|
...
|
|
231
287
|
|
|
232
|
-
def bl_rna_get_subclass_py(self):
|
|
233
|
-
"""
|
|
288
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
289
|
+
"""
|
|
290
|
+
|
|
291
|
+
:return: The class or default when not found.
|
|
292
|
+
:rtype: typing.Any
|
|
293
|
+
"""
|
|
234
294
|
...
|
|
235
295
|
|
|
236
296
|
def draw(self, context):
|
|
@@ -240,72 +300,126 @@ class DATA_PT_custom_props_metaball(
|
|
|
240
300
|
"""
|
|
241
301
|
...
|
|
242
302
|
|
|
243
|
-
def driver_add(self):
|
|
244
|
-
"""
|
|
303
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
304
|
+
"""Adds driver(s) to the given property
|
|
305
|
+
|
|
306
|
+
:return: The driver(s) added.
|
|
307
|
+
:rtype: bpy.types.FCurve
|
|
308
|
+
"""
|
|
245
309
|
...
|
|
246
310
|
|
|
247
|
-
def driver_remove(self):
|
|
248
|
-
"""
|
|
311
|
+
def driver_remove(self) -> bool:
|
|
312
|
+
"""Remove driver(s) from the given property
|
|
313
|
+
|
|
314
|
+
:return: Success of driver removal.
|
|
315
|
+
:rtype: bool
|
|
316
|
+
"""
|
|
249
317
|
...
|
|
250
318
|
|
|
251
319
|
def get(self):
|
|
252
|
-
"""
|
|
320
|
+
"""Returns the value of the custom property assigned to key or default
|
|
321
|
+
when not found (matches Python's dictionary function of the same name).
|
|
322
|
+
|
|
323
|
+
"""
|
|
253
324
|
...
|
|
254
325
|
|
|
255
326
|
def id_properties_clear(self):
|
|
256
|
-
"""
|
|
327
|
+
"""
|
|
328
|
+
|
|
329
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
330
|
+
"""
|
|
257
331
|
...
|
|
258
332
|
|
|
259
333
|
def id_properties_ensure(self):
|
|
260
|
-
"""
|
|
334
|
+
"""
|
|
335
|
+
|
|
336
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
337
|
+
"""
|
|
261
338
|
...
|
|
262
339
|
|
|
263
340
|
def id_properties_ui(self):
|
|
264
|
-
"""
|
|
265
|
-
...
|
|
341
|
+
"""
|
|
266
342
|
|
|
267
|
-
|
|
268
|
-
"""
|
|
343
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
344
|
+
"""
|
|
269
345
|
...
|
|
270
346
|
|
|
271
|
-
def
|
|
272
|
-
|
|
347
|
+
def is_extended(self): ...
|
|
348
|
+
def is_property_hidden(self) -> bool:
|
|
349
|
+
"""Check if a property is hidden.
|
|
350
|
+
|
|
351
|
+
:return: True when the property is hidden.
|
|
352
|
+
:rtype: bool
|
|
353
|
+
"""
|
|
273
354
|
...
|
|
274
355
|
|
|
275
|
-
def is_property_overridable_library(self):
|
|
276
|
-
"""
|
|
356
|
+
def is_property_overridable_library(self) -> bool:
|
|
357
|
+
"""Check if a property is overridable.
|
|
358
|
+
|
|
359
|
+
:return: True when the property is overridable.
|
|
360
|
+
:rtype: bool
|
|
361
|
+
"""
|
|
277
362
|
...
|
|
278
363
|
|
|
279
|
-
def is_property_readonly(self):
|
|
280
|
-
"""
|
|
364
|
+
def is_property_readonly(self) -> bool:
|
|
365
|
+
"""Check if a property is readonly.
|
|
366
|
+
|
|
367
|
+
:return: True when the property is readonly (not writable).
|
|
368
|
+
:rtype: bool
|
|
369
|
+
"""
|
|
281
370
|
...
|
|
282
371
|
|
|
283
|
-
def is_property_set(self):
|
|
284
|
-
"""
|
|
372
|
+
def is_property_set(self) -> bool:
|
|
373
|
+
"""Check if a property is set, use for testing operator properties.
|
|
374
|
+
|
|
375
|
+
:return: True when the property has been set.
|
|
376
|
+
:rtype: bool
|
|
377
|
+
"""
|
|
285
378
|
...
|
|
286
379
|
|
|
287
380
|
def items(self):
|
|
288
|
-
"""
|
|
381
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
382
|
+
dictionary function of the same name).
|
|
383
|
+
|
|
384
|
+
:return: custom property key, value pairs.
|
|
385
|
+
"""
|
|
289
386
|
...
|
|
290
387
|
|
|
291
|
-
def keyframe_delete(self):
|
|
292
|
-
"""
|
|
388
|
+
def keyframe_delete(self) -> bool:
|
|
389
|
+
"""Remove a keyframe from this properties fcurve.
|
|
390
|
+
|
|
391
|
+
:return: Success of keyframe deletion.
|
|
392
|
+
:rtype: bool
|
|
393
|
+
"""
|
|
293
394
|
...
|
|
294
395
|
|
|
295
|
-
def keyframe_insert(self):
|
|
296
|
-
"""
|
|
396
|
+
def keyframe_insert(self) -> bool:
|
|
397
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
398
|
+
|
|
399
|
+
:return: Success of keyframe insertion.
|
|
400
|
+
:rtype: bool
|
|
401
|
+
"""
|
|
297
402
|
...
|
|
298
403
|
|
|
299
404
|
def keys(self):
|
|
300
|
-
"""
|
|
405
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
406
|
+
dictionary function of the same name).
|
|
407
|
+
|
|
408
|
+
:return: custom property keys.
|
|
409
|
+
"""
|
|
301
410
|
...
|
|
302
411
|
|
|
303
|
-
def path_from_id(self):
|
|
304
|
-
"""
|
|
412
|
+
def path_from_id(self) -> str:
|
|
413
|
+
"""Returns the data path from the ID to this object (string).
|
|
414
|
+
|
|
415
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
416
|
+
to this struct and property (when given).
|
|
417
|
+
:rtype: str
|
|
418
|
+
"""
|
|
305
419
|
...
|
|
306
420
|
|
|
307
421
|
def path_resolve(self):
|
|
308
|
-
""" """
|
|
422
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
309
423
|
...
|
|
310
424
|
|
|
311
425
|
def poll(self, context):
|
|
@@ -316,85 +430,97 @@ class DATA_PT_custom_props_metaball(
|
|
|
316
430
|
...
|
|
317
431
|
|
|
318
432
|
def pop(self):
|
|
319
|
-
"""
|
|
433
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
434
|
+
when not found (matches Python's dictionary function of the same name).
|
|
435
|
+
|
|
436
|
+
"""
|
|
320
437
|
...
|
|
321
438
|
|
|
322
439
|
def prepend(self, draw_func):
|
|
323
|
-
"""
|
|
440
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
441
|
+
the menus draw function
|
|
324
442
|
|
|
325
|
-
|
|
443
|
+
:param draw_func:
|
|
326
444
|
"""
|
|
327
445
|
...
|
|
328
446
|
|
|
329
|
-
def property_overridable_library_set(self):
|
|
330
|
-
"""
|
|
447
|
+
def property_overridable_library_set(self) -> bool:
|
|
448
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
449
|
+
|
|
450
|
+
:return: True when the overridable status of the property was successfully set.
|
|
451
|
+
:rtype: bool
|
|
452
|
+
"""
|
|
331
453
|
...
|
|
332
454
|
|
|
333
455
|
def property_unset(self):
|
|
334
|
-
""" """
|
|
456
|
+
"""Unset a property, will use default value afterward."""
|
|
335
457
|
...
|
|
336
458
|
|
|
337
459
|
def remove(self, draw_func):
|
|
338
|
-
"""
|
|
460
|
+
"""Remove a draw function that has been added to this menu
|
|
339
461
|
|
|
340
462
|
:param draw_func:
|
|
341
463
|
"""
|
|
342
464
|
...
|
|
343
465
|
|
|
344
466
|
def type_recast(self):
|
|
345
|
-
"""
|
|
467
|
+
"""Return a new instance, this is needed because types
|
|
468
|
+
such as textures can be changed at runtime.
|
|
469
|
+
|
|
470
|
+
:return: a new instance of this object with the type initialized again.
|
|
471
|
+
"""
|
|
346
472
|
...
|
|
347
473
|
|
|
348
474
|
def values(self):
|
|
349
|
-
"""
|
|
475
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
476
|
+
dictionary function of the same name).
|
|
477
|
+
|
|
478
|
+
:return: custom property values.
|
|
479
|
+
"""
|
|
350
480
|
...
|
|
351
481
|
|
|
352
482
|
class DATA_PT_mball_texture_space(
|
|
353
483
|
bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI
|
|
354
484
|
):
|
|
355
|
-
""" """
|
|
356
|
-
|
|
357
485
|
COMPAT_ENGINES: typing.Any
|
|
358
|
-
""" """
|
|
359
|
-
|
|
360
486
|
bl_context: typing.Any
|
|
361
|
-
""" """
|
|
362
|
-
|
|
363
487
|
bl_label: typing.Any
|
|
364
|
-
""" """
|
|
365
|
-
|
|
366
488
|
bl_options: typing.Any
|
|
367
|
-
""" """
|
|
368
|
-
|
|
369
489
|
bl_region_type: typing.Any
|
|
370
|
-
""" """
|
|
371
|
-
|
|
372
490
|
bl_rna: typing.Any
|
|
373
|
-
""" """
|
|
374
|
-
|
|
375
491
|
bl_space_type: typing.Any
|
|
376
|
-
""" """
|
|
377
|
-
|
|
378
492
|
id_data: typing.Any
|
|
379
|
-
""" """
|
|
380
493
|
|
|
381
494
|
def append(self, draw_func):
|
|
382
|
-
"""
|
|
495
|
+
"""Append a draw function to this menu,
|
|
496
|
+
takes the same arguments as the menus draw function
|
|
383
497
|
|
|
384
|
-
|
|
498
|
+
:param draw_func:
|
|
385
499
|
"""
|
|
386
500
|
...
|
|
387
501
|
|
|
388
|
-
def as_pointer(self):
|
|
389
|
-
"""
|
|
502
|
+
def as_pointer(self) -> int:
|
|
503
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
504
|
+
|
|
505
|
+
:return: int (memory address).
|
|
506
|
+
:rtype: int
|
|
507
|
+
"""
|
|
390
508
|
...
|
|
391
509
|
|
|
392
|
-
def bl_rna_get_subclass(self):
|
|
393
|
-
"""
|
|
510
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
511
|
+
"""
|
|
512
|
+
|
|
513
|
+
:return: The RNA type or default when not found.
|
|
514
|
+
:rtype: bpy.types.Struct
|
|
515
|
+
"""
|
|
394
516
|
...
|
|
395
517
|
|
|
396
|
-
def bl_rna_get_subclass_py(self):
|
|
397
|
-
"""
|
|
518
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
519
|
+
"""
|
|
520
|
+
|
|
521
|
+
:return: The class or default when not found.
|
|
522
|
+
:rtype: typing.Any
|
|
523
|
+
"""
|
|
398
524
|
...
|
|
399
525
|
|
|
400
526
|
def draw(self, context):
|
|
@@ -404,72 +530,126 @@ class DATA_PT_mball_texture_space(
|
|
|
404
530
|
"""
|
|
405
531
|
...
|
|
406
532
|
|
|
407
|
-
def driver_add(self):
|
|
408
|
-
"""
|
|
533
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
534
|
+
"""Adds driver(s) to the given property
|
|
535
|
+
|
|
536
|
+
:return: The driver(s) added.
|
|
537
|
+
:rtype: bpy.types.FCurve
|
|
538
|
+
"""
|
|
409
539
|
...
|
|
410
540
|
|
|
411
|
-
def driver_remove(self):
|
|
412
|
-
"""
|
|
541
|
+
def driver_remove(self) -> bool:
|
|
542
|
+
"""Remove driver(s) from the given property
|
|
543
|
+
|
|
544
|
+
:return: Success of driver removal.
|
|
545
|
+
:rtype: bool
|
|
546
|
+
"""
|
|
413
547
|
...
|
|
414
548
|
|
|
415
549
|
def get(self):
|
|
416
|
-
"""
|
|
550
|
+
"""Returns the value of the custom property assigned to key or default
|
|
551
|
+
when not found (matches Python's dictionary function of the same name).
|
|
552
|
+
|
|
553
|
+
"""
|
|
417
554
|
...
|
|
418
555
|
|
|
419
556
|
def id_properties_clear(self):
|
|
420
|
-
"""
|
|
557
|
+
"""
|
|
558
|
+
|
|
559
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
560
|
+
"""
|
|
421
561
|
...
|
|
422
562
|
|
|
423
563
|
def id_properties_ensure(self):
|
|
424
|
-
"""
|
|
564
|
+
"""
|
|
565
|
+
|
|
566
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
567
|
+
"""
|
|
425
568
|
...
|
|
426
569
|
|
|
427
570
|
def id_properties_ui(self):
|
|
428
|
-
"""
|
|
429
|
-
...
|
|
571
|
+
"""
|
|
430
572
|
|
|
431
|
-
|
|
432
|
-
"""
|
|
573
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
574
|
+
"""
|
|
433
575
|
...
|
|
434
576
|
|
|
435
|
-
def
|
|
436
|
-
|
|
577
|
+
def is_extended(self): ...
|
|
578
|
+
def is_property_hidden(self) -> bool:
|
|
579
|
+
"""Check if a property is hidden.
|
|
580
|
+
|
|
581
|
+
:return: True when the property is hidden.
|
|
582
|
+
:rtype: bool
|
|
583
|
+
"""
|
|
437
584
|
...
|
|
438
585
|
|
|
439
|
-
def is_property_overridable_library(self):
|
|
440
|
-
"""
|
|
586
|
+
def is_property_overridable_library(self) -> bool:
|
|
587
|
+
"""Check if a property is overridable.
|
|
588
|
+
|
|
589
|
+
:return: True when the property is overridable.
|
|
590
|
+
:rtype: bool
|
|
591
|
+
"""
|
|
441
592
|
...
|
|
442
593
|
|
|
443
|
-
def is_property_readonly(self):
|
|
444
|
-
"""
|
|
594
|
+
def is_property_readonly(self) -> bool:
|
|
595
|
+
"""Check if a property is readonly.
|
|
596
|
+
|
|
597
|
+
:return: True when the property is readonly (not writable).
|
|
598
|
+
:rtype: bool
|
|
599
|
+
"""
|
|
445
600
|
...
|
|
446
601
|
|
|
447
|
-
def is_property_set(self):
|
|
448
|
-
"""
|
|
602
|
+
def is_property_set(self) -> bool:
|
|
603
|
+
"""Check if a property is set, use for testing operator properties.
|
|
604
|
+
|
|
605
|
+
:return: True when the property has been set.
|
|
606
|
+
:rtype: bool
|
|
607
|
+
"""
|
|
449
608
|
...
|
|
450
609
|
|
|
451
610
|
def items(self):
|
|
452
|
-
"""
|
|
611
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
612
|
+
dictionary function of the same name).
|
|
613
|
+
|
|
614
|
+
:return: custom property key, value pairs.
|
|
615
|
+
"""
|
|
453
616
|
...
|
|
454
617
|
|
|
455
|
-
def keyframe_delete(self):
|
|
456
|
-
"""
|
|
618
|
+
def keyframe_delete(self) -> bool:
|
|
619
|
+
"""Remove a keyframe from this properties fcurve.
|
|
620
|
+
|
|
621
|
+
:return: Success of keyframe deletion.
|
|
622
|
+
:rtype: bool
|
|
623
|
+
"""
|
|
457
624
|
...
|
|
458
625
|
|
|
459
|
-
def keyframe_insert(self):
|
|
460
|
-
"""
|
|
626
|
+
def keyframe_insert(self) -> bool:
|
|
627
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
628
|
+
|
|
629
|
+
:return: Success of keyframe insertion.
|
|
630
|
+
:rtype: bool
|
|
631
|
+
"""
|
|
461
632
|
...
|
|
462
633
|
|
|
463
634
|
def keys(self):
|
|
464
|
-
"""
|
|
635
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
636
|
+
dictionary function of the same name).
|
|
637
|
+
|
|
638
|
+
:return: custom property keys.
|
|
639
|
+
"""
|
|
465
640
|
...
|
|
466
641
|
|
|
467
|
-
def path_from_id(self):
|
|
468
|
-
"""
|
|
642
|
+
def path_from_id(self) -> str:
|
|
643
|
+
"""Returns the data path from the ID to this object (string).
|
|
644
|
+
|
|
645
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
646
|
+
to this struct and property (when given).
|
|
647
|
+
:rtype: str
|
|
648
|
+
"""
|
|
469
649
|
...
|
|
470
650
|
|
|
471
651
|
def path_resolve(self):
|
|
472
|
-
""" """
|
|
652
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
473
653
|
...
|
|
474
654
|
|
|
475
655
|
def poll(self, context):
|
|
@@ -480,77 +660,93 @@ class DATA_PT_mball_texture_space(
|
|
|
480
660
|
...
|
|
481
661
|
|
|
482
662
|
def pop(self):
|
|
483
|
-
"""
|
|
663
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
664
|
+
when not found (matches Python's dictionary function of the same name).
|
|
665
|
+
|
|
666
|
+
"""
|
|
484
667
|
...
|
|
485
668
|
|
|
486
669
|
def prepend(self, draw_func):
|
|
487
|
-
"""
|
|
670
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
671
|
+
the menus draw function
|
|
488
672
|
|
|
489
|
-
|
|
673
|
+
:param draw_func:
|
|
490
674
|
"""
|
|
491
675
|
...
|
|
492
676
|
|
|
493
|
-
def property_overridable_library_set(self):
|
|
494
|
-
"""
|
|
677
|
+
def property_overridable_library_set(self) -> bool:
|
|
678
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
679
|
+
|
|
680
|
+
:return: True when the overridable status of the property was successfully set.
|
|
681
|
+
:rtype: bool
|
|
682
|
+
"""
|
|
495
683
|
...
|
|
496
684
|
|
|
497
685
|
def property_unset(self):
|
|
498
|
-
""" """
|
|
686
|
+
"""Unset a property, will use default value afterward."""
|
|
499
687
|
...
|
|
500
688
|
|
|
501
689
|
def remove(self, draw_func):
|
|
502
|
-
"""
|
|
690
|
+
"""Remove a draw function that has been added to this menu
|
|
503
691
|
|
|
504
692
|
:param draw_func:
|
|
505
693
|
"""
|
|
506
694
|
...
|
|
507
695
|
|
|
508
696
|
def type_recast(self):
|
|
509
|
-
"""
|
|
697
|
+
"""Return a new instance, this is needed because types
|
|
698
|
+
such as textures can be changed at runtime.
|
|
699
|
+
|
|
700
|
+
:return: a new instance of this object with the type initialized again.
|
|
701
|
+
"""
|
|
510
702
|
...
|
|
511
703
|
|
|
512
704
|
def values(self):
|
|
513
|
-
"""
|
|
705
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
706
|
+
dictionary function of the same name).
|
|
707
|
+
|
|
708
|
+
:return: custom property values.
|
|
709
|
+
"""
|
|
514
710
|
...
|
|
515
711
|
|
|
516
712
|
class DATA_PT_metaball(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
517
|
-
""" """
|
|
518
|
-
|
|
519
713
|
bl_context: typing.Any
|
|
520
|
-
""" """
|
|
521
|
-
|
|
522
714
|
bl_label: typing.Any
|
|
523
|
-
""" """
|
|
524
|
-
|
|
525
715
|
bl_region_type: typing.Any
|
|
526
|
-
""" """
|
|
527
|
-
|
|
528
716
|
bl_rna: typing.Any
|
|
529
|
-
""" """
|
|
530
|
-
|
|
531
717
|
bl_space_type: typing.Any
|
|
532
|
-
""" """
|
|
533
|
-
|
|
534
718
|
id_data: typing.Any
|
|
535
|
-
""" """
|
|
536
719
|
|
|
537
720
|
def append(self, draw_func):
|
|
538
|
-
"""
|
|
721
|
+
"""Append a draw function to this menu,
|
|
722
|
+
takes the same arguments as the menus draw function
|
|
539
723
|
|
|
540
|
-
|
|
724
|
+
:param draw_func:
|
|
541
725
|
"""
|
|
542
726
|
...
|
|
543
727
|
|
|
544
|
-
def as_pointer(self):
|
|
545
|
-
"""
|
|
728
|
+
def as_pointer(self) -> int:
|
|
729
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
730
|
+
|
|
731
|
+
:return: int (memory address).
|
|
732
|
+
:rtype: int
|
|
733
|
+
"""
|
|
546
734
|
...
|
|
547
735
|
|
|
548
|
-
def bl_rna_get_subclass(self):
|
|
549
|
-
"""
|
|
736
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
737
|
+
"""
|
|
738
|
+
|
|
739
|
+
:return: The RNA type or default when not found.
|
|
740
|
+
:rtype: bpy.types.Struct
|
|
741
|
+
"""
|
|
550
742
|
...
|
|
551
743
|
|
|
552
|
-
def bl_rna_get_subclass_py(self):
|
|
553
|
-
"""
|
|
744
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
745
|
+
"""
|
|
746
|
+
|
|
747
|
+
:return: The class or default when not found.
|
|
748
|
+
:rtype: typing.Any
|
|
749
|
+
"""
|
|
554
750
|
...
|
|
555
751
|
|
|
556
752
|
def draw(self, context):
|
|
@@ -560,72 +756,126 @@ class DATA_PT_metaball(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
560
756
|
"""
|
|
561
757
|
...
|
|
562
758
|
|
|
563
|
-
def driver_add(self):
|
|
564
|
-
"""
|
|
759
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
760
|
+
"""Adds driver(s) to the given property
|
|
761
|
+
|
|
762
|
+
:return: The driver(s) added.
|
|
763
|
+
:rtype: bpy.types.FCurve
|
|
764
|
+
"""
|
|
565
765
|
...
|
|
566
766
|
|
|
567
|
-
def driver_remove(self):
|
|
568
|
-
"""
|
|
767
|
+
def driver_remove(self) -> bool:
|
|
768
|
+
"""Remove driver(s) from the given property
|
|
769
|
+
|
|
770
|
+
:return: Success of driver removal.
|
|
771
|
+
:rtype: bool
|
|
772
|
+
"""
|
|
569
773
|
...
|
|
570
774
|
|
|
571
775
|
def get(self):
|
|
572
|
-
"""
|
|
776
|
+
"""Returns the value of the custom property assigned to key or default
|
|
777
|
+
when not found (matches Python's dictionary function of the same name).
|
|
778
|
+
|
|
779
|
+
"""
|
|
573
780
|
...
|
|
574
781
|
|
|
575
782
|
def id_properties_clear(self):
|
|
576
|
-
"""
|
|
783
|
+
"""
|
|
784
|
+
|
|
785
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
786
|
+
"""
|
|
577
787
|
...
|
|
578
788
|
|
|
579
789
|
def id_properties_ensure(self):
|
|
580
|
-
"""
|
|
790
|
+
"""
|
|
791
|
+
|
|
792
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
793
|
+
"""
|
|
581
794
|
...
|
|
582
795
|
|
|
583
796
|
def id_properties_ui(self):
|
|
584
|
-
"""
|
|
585
|
-
...
|
|
797
|
+
"""
|
|
586
798
|
|
|
587
|
-
|
|
588
|
-
"""
|
|
799
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
800
|
+
"""
|
|
589
801
|
...
|
|
590
802
|
|
|
591
|
-
def
|
|
592
|
-
|
|
803
|
+
def is_extended(self): ...
|
|
804
|
+
def is_property_hidden(self) -> bool:
|
|
805
|
+
"""Check if a property is hidden.
|
|
806
|
+
|
|
807
|
+
:return: True when the property is hidden.
|
|
808
|
+
:rtype: bool
|
|
809
|
+
"""
|
|
593
810
|
...
|
|
594
811
|
|
|
595
|
-
def is_property_overridable_library(self):
|
|
596
|
-
"""
|
|
812
|
+
def is_property_overridable_library(self) -> bool:
|
|
813
|
+
"""Check if a property is overridable.
|
|
814
|
+
|
|
815
|
+
:return: True when the property is overridable.
|
|
816
|
+
:rtype: bool
|
|
817
|
+
"""
|
|
597
818
|
...
|
|
598
819
|
|
|
599
|
-
def is_property_readonly(self):
|
|
600
|
-
"""
|
|
820
|
+
def is_property_readonly(self) -> bool:
|
|
821
|
+
"""Check if a property is readonly.
|
|
822
|
+
|
|
823
|
+
:return: True when the property is readonly (not writable).
|
|
824
|
+
:rtype: bool
|
|
825
|
+
"""
|
|
601
826
|
...
|
|
602
827
|
|
|
603
|
-
def is_property_set(self):
|
|
604
|
-
"""
|
|
828
|
+
def is_property_set(self) -> bool:
|
|
829
|
+
"""Check if a property is set, use for testing operator properties.
|
|
830
|
+
|
|
831
|
+
:return: True when the property has been set.
|
|
832
|
+
:rtype: bool
|
|
833
|
+
"""
|
|
605
834
|
...
|
|
606
835
|
|
|
607
836
|
def items(self):
|
|
608
|
-
"""
|
|
837
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
838
|
+
dictionary function of the same name).
|
|
839
|
+
|
|
840
|
+
:return: custom property key, value pairs.
|
|
841
|
+
"""
|
|
609
842
|
...
|
|
610
843
|
|
|
611
|
-
def keyframe_delete(self):
|
|
612
|
-
"""
|
|
844
|
+
def keyframe_delete(self) -> bool:
|
|
845
|
+
"""Remove a keyframe from this properties fcurve.
|
|
846
|
+
|
|
847
|
+
:return: Success of keyframe deletion.
|
|
848
|
+
:rtype: bool
|
|
849
|
+
"""
|
|
613
850
|
...
|
|
614
851
|
|
|
615
|
-
def keyframe_insert(self):
|
|
616
|
-
"""
|
|
852
|
+
def keyframe_insert(self) -> bool:
|
|
853
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
854
|
+
|
|
855
|
+
:return: Success of keyframe insertion.
|
|
856
|
+
:rtype: bool
|
|
857
|
+
"""
|
|
617
858
|
...
|
|
618
859
|
|
|
619
860
|
def keys(self):
|
|
620
|
-
"""
|
|
861
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
862
|
+
dictionary function of the same name).
|
|
863
|
+
|
|
864
|
+
:return: custom property keys.
|
|
865
|
+
"""
|
|
621
866
|
...
|
|
622
867
|
|
|
623
|
-
def path_from_id(self):
|
|
624
|
-
"""
|
|
868
|
+
def path_from_id(self) -> str:
|
|
869
|
+
"""Returns the data path from the ID to this object (string).
|
|
870
|
+
|
|
871
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
872
|
+
to this struct and property (when given).
|
|
873
|
+
:rtype: str
|
|
874
|
+
"""
|
|
625
875
|
...
|
|
626
876
|
|
|
627
877
|
def path_resolve(self):
|
|
628
|
-
""" """
|
|
878
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
629
879
|
...
|
|
630
880
|
|
|
631
881
|
def poll(self, context):
|
|
@@ -636,77 +886,93 @@ class DATA_PT_metaball(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
|
636
886
|
...
|
|
637
887
|
|
|
638
888
|
def pop(self):
|
|
639
|
-
"""
|
|
889
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
890
|
+
when not found (matches Python's dictionary function of the same name).
|
|
891
|
+
|
|
892
|
+
"""
|
|
640
893
|
...
|
|
641
894
|
|
|
642
895
|
def prepend(self, draw_func):
|
|
643
|
-
"""
|
|
896
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
897
|
+
the menus draw function
|
|
644
898
|
|
|
645
|
-
|
|
899
|
+
:param draw_func:
|
|
646
900
|
"""
|
|
647
901
|
...
|
|
648
902
|
|
|
649
|
-
def property_overridable_library_set(self):
|
|
650
|
-
"""
|
|
903
|
+
def property_overridable_library_set(self) -> bool:
|
|
904
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
905
|
+
|
|
906
|
+
:return: True when the overridable status of the property was successfully set.
|
|
907
|
+
:rtype: bool
|
|
908
|
+
"""
|
|
651
909
|
...
|
|
652
910
|
|
|
653
911
|
def property_unset(self):
|
|
654
|
-
""" """
|
|
912
|
+
"""Unset a property, will use default value afterward."""
|
|
655
913
|
...
|
|
656
914
|
|
|
657
915
|
def remove(self, draw_func):
|
|
658
|
-
"""
|
|
916
|
+
"""Remove a draw function that has been added to this menu
|
|
659
917
|
|
|
660
918
|
:param draw_func:
|
|
661
919
|
"""
|
|
662
920
|
...
|
|
663
921
|
|
|
664
922
|
def type_recast(self):
|
|
665
|
-
"""
|
|
923
|
+
"""Return a new instance, this is needed because types
|
|
924
|
+
such as textures can be changed at runtime.
|
|
925
|
+
|
|
926
|
+
:return: a new instance of this object with the type initialized again.
|
|
927
|
+
"""
|
|
666
928
|
...
|
|
667
929
|
|
|
668
930
|
def values(self):
|
|
669
|
-
"""
|
|
931
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
932
|
+
dictionary function of the same name).
|
|
933
|
+
|
|
934
|
+
:return: custom property values.
|
|
935
|
+
"""
|
|
670
936
|
...
|
|
671
937
|
|
|
672
938
|
class DATA_PT_metaball_element(bpy_types.Panel, DataButtonsPanel, bpy_types._GenericUI):
|
|
673
|
-
""" """
|
|
674
|
-
|
|
675
939
|
bl_context: typing.Any
|
|
676
|
-
""" """
|
|
677
|
-
|
|
678
940
|
bl_label: typing.Any
|
|
679
|
-
""" """
|
|
680
|
-
|
|
681
941
|
bl_region_type: typing.Any
|
|
682
|
-
""" """
|
|
683
|
-
|
|
684
942
|
bl_rna: typing.Any
|
|
685
|
-
""" """
|
|
686
|
-
|
|
687
943
|
bl_space_type: typing.Any
|
|
688
|
-
""" """
|
|
689
|
-
|
|
690
944
|
id_data: typing.Any
|
|
691
|
-
""" """
|
|
692
945
|
|
|
693
946
|
def append(self, draw_func):
|
|
694
|
-
"""
|
|
947
|
+
"""Append a draw function to this menu,
|
|
948
|
+
takes the same arguments as the menus draw function
|
|
695
949
|
|
|
696
|
-
|
|
950
|
+
:param draw_func:
|
|
697
951
|
"""
|
|
698
952
|
...
|
|
699
953
|
|
|
700
|
-
def as_pointer(self):
|
|
701
|
-
"""
|
|
954
|
+
def as_pointer(self) -> int:
|
|
955
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
956
|
+
|
|
957
|
+
:return: int (memory address).
|
|
958
|
+
:rtype: int
|
|
959
|
+
"""
|
|
702
960
|
...
|
|
703
961
|
|
|
704
|
-
def bl_rna_get_subclass(self):
|
|
705
|
-
"""
|
|
962
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
963
|
+
"""
|
|
964
|
+
|
|
965
|
+
:return: The RNA type or default when not found.
|
|
966
|
+
:rtype: bpy.types.Struct
|
|
967
|
+
"""
|
|
706
968
|
...
|
|
707
969
|
|
|
708
|
-
def bl_rna_get_subclass_py(self):
|
|
709
|
-
"""
|
|
970
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
971
|
+
"""
|
|
972
|
+
|
|
973
|
+
:return: The class or default when not found.
|
|
974
|
+
:rtype: typing.Any
|
|
975
|
+
"""
|
|
710
976
|
...
|
|
711
977
|
|
|
712
978
|
def draw(self, context):
|
|
@@ -716,72 +982,126 @@ class DATA_PT_metaball_element(bpy_types.Panel, DataButtonsPanel, bpy_types._Gen
|
|
|
716
982
|
"""
|
|
717
983
|
...
|
|
718
984
|
|
|
719
|
-
def driver_add(self):
|
|
720
|
-
"""
|
|
985
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
986
|
+
"""Adds driver(s) to the given property
|
|
987
|
+
|
|
988
|
+
:return: The driver(s) added.
|
|
989
|
+
:rtype: bpy.types.FCurve
|
|
990
|
+
"""
|
|
721
991
|
...
|
|
722
992
|
|
|
723
|
-
def driver_remove(self):
|
|
724
|
-
"""
|
|
993
|
+
def driver_remove(self) -> bool:
|
|
994
|
+
"""Remove driver(s) from the given property
|
|
995
|
+
|
|
996
|
+
:return: Success of driver removal.
|
|
997
|
+
:rtype: bool
|
|
998
|
+
"""
|
|
725
999
|
...
|
|
726
1000
|
|
|
727
1001
|
def get(self):
|
|
728
|
-
"""
|
|
1002
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1003
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1004
|
+
|
|
1005
|
+
"""
|
|
729
1006
|
...
|
|
730
1007
|
|
|
731
1008
|
def id_properties_clear(self):
|
|
732
|
-
"""
|
|
1009
|
+
"""
|
|
1010
|
+
|
|
1011
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1012
|
+
"""
|
|
733
1013
|
...
|
|
734
1014
|
|
|
735
1015
|
def id_properties_ensure(self):
|
|
736
|
-
"""
|
|
1016
|
+
"""
|
|
1017
|
+
|
|
1018
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1019
|
+
"""
|
|
737
1020
|
...
|
|
738
1021
|
|
|
739
1022
|
def id_properties_ui(self):
|
|
740
|
-
"""
|
|
741
|
-
...
|
|
1023
|
+
"""
|
|
742
1024
|
|
|
743
|
-
|
|
744
|
-
"""
|
|
1025
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1026
|
+
"""
|
|
745
1027
|
...
|
|
746
1028
|
|
|
747
|
-
def
|
|
748
|
-
|
|
1029
|
+
def is_extended(self): ...
|
|
1030
|
+
def is_property_hidden(self) -> bool:
|
|
1031
|
+
"""Check if a property is hidden.
|
|
1032
|
+
|
|
1033
|
+
:return: True when the property is hidden.
|
|
1034
|
+
:rtype: bool
|
|
1035
|
+
"""
|
|
749
1036
|
...
|
|
750
1037
|
|
|
751
|
-
def is_property_overridable_library(self):
|
|
752
|
-
"""
|
|
1038
|
+
def is_property_overridable_library(self) -> bool:
|
|
1039
|
+
"""Check if a property is overridable.
|
|
1040
|
+
|
|
1041
|
+
:return: True when the property is overridable.
|
|
1042
|
+
:rtype: bool
|
|
1043
|
+
"""
|
|
753
1044
|
...
|
|
754
1045
|
|
|
755
|
-
def is_property_readonly(self):
|
|
756
|
-
"""
|
|
1046
|
+
def is_property_readonly(self) -> bool:
|
|
1047
|
+
"""Check if a property is readonly.
|
|
1048
|
+
|
|
1049
|
+
:return: True when the property is readonly (not writable).
|
|
1050
|
+
:rtype: bool
|
|
1051
|
+
"""
|
|
757
1052
|
...
|
|
758
1053
|
|
|
759
|
-
def is_property_set(self):
|
|
760
|
-
"""
|
|
1054
|
+
def is_property_set(self) -> bool:
|
|
1055
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1056
|
+
|
|
1057
|
+
:return: True when the property has been set.
|
|
1058
|
+
:rtype: bool
|
|
1059
|
+
"""
|
|
761
1060
|
...
|
|
762
1061
|
|
|
763
1062
|
def items(self):
|
|
764
|
-
"""
|
|
1063
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1064
|
+
dictionary function of the same name).
|
|
1065
|
+
|
|
1066
|
+
:return: custom property key, value pairs.
|
|
1067
|
+
"""
|
|
765
1068
|
...
|
|
766
1069
|
|
|
767
|
-
def keyframe_delete(self):
|
|
768
|
-
"""
|
|
1070
|
+
def keyframe_delete(self) -> bool:
|
|
1071
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1072
|
+
|
|
1073
|
+
:return: Success of keyframe deletion.
|
|
1074
|
+
:rtype: bool
|
|
1075
|
+
"""
|
|
769
1076
|
...
|
|
770
1077
|
|
|
771
|
-
def keyframe_insert(self):
|
|
772
|
-
"""
|
|
1078
|
+
def keyframe_insert(self) -> bool:
|
|
1079
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1080
|
+
|
|
1081
|
+
:return: Success of keyframe insertion.
|
|
1082
|
+
:rtype: bool
|
|
1083
|
+
"""
|
|
773
1084
|
...
|
|
774
1085
|
|
|
775
1086
|
def keys(self):
|
|
776
|
-
"""
|
|
1087
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1088
|
+
dictionary function of the same name).
|
|
1089
|
+
|
|
1090
|
+
:return: custom property keys.
|
|
1091
|
+
"""
|
|
777
1092
|
...
|
|
778
1093
|
|
|
779
|
-
def path_from_id(self):
|
|
780
|
-
"""
|
|
1094
|
+
def path_from_id(self) -> str:
|
|
1095
|
+
"""Returns the data path from the ID to this object (string).
|
|
1096
|
+
|
|
1097
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1098
|
+
to this struct and property (when given).
|
|
1099
|
+
:rtype: str
|
|
1100
|
+
"""
|
|
781
1101
|
...
|
|
782
1102
|
|
|
783
1103
|
def path_resolve(self):
|
|
784
|
-
""" """
|
|
1104
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
785
1105
|
...
|
|
786
1106
|
|
|
787
1107
|
def poll(self, context):
|
|
@@ -792,35 +1112,51 @@ class DATA_PT_metaball_element(bpy_types.Panel, DataButtonsPanel, bpy_types._Gen
|
|
|
792
1112
|
...
|
|
793
1113
|
|
|
794
1114
|
def pop(self):
|
|
795
|
-
"""
|
|
1115
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1116
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1117
|
+
|
|
1118
|
+
"""
|
|
796
1119
|
...
|
|
797
1120
|
|
|
798
1121
|
def prepend(self, draw_func):
|
|
799
|
-
"""
|
|
1122
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1123
|
+
the menus draw function
|
|
800
1124
|
|
|
801
|
-
|
|
1125
|
+
:param draw_func:
|
|
802
1126
|
"""
|
|
803
1127
|
...
|
|
804
1128
|
|
|
805
|
-
def property_overridable_library_set(self):
|
|
806
|
-
"""
|
|
1129
|
+
def property_overridable_library_set(self) -> bool:
|
|
1130
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1131
|
+
|
|
1132
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1133
|
+
:rtype: bool
|
|
1134
|
+
"""
|
|
807
1135
|
...
|
|
808
1136
|
|
|
809
1137
|
def property_unset(self):
|
|
810
|
-
""" """
|
|
1138
|
+
"""Unset a property, will use default value afterward."""
|
|
811
1139
|
...
|
|
812
1140
|
|
|
813
1141
|
def remove(self, draw_func):
|
|
814
|
-
"""
|
|
1142
|
+
"""Remove a draw function that has been added to this menu
|
|
815
1143
|
|
|
816
1144
|
:param draw_func:
|
|
817
1145
|
"""
|
|
818
1146
|
...
|
|
819
1147
|
|
|
820
1148
|
def type_recast(self):
|
|
821
|
-
"""
|
|
1149
|
+
"""Return a new instance, this is needed because types
|
|
1150
|
+
such as textures can be changed at runtime.
|
|
1151
|
+
|
|
1152
|
+
:return: a new instance of this object with the type initialized again.
|
|
1153
|
+
"""
|
|
822
1154
|
...
|
|
823
1155
|
|
|
824
1156
|
def values(self):
|
|
825
|
-
"""
|
|
1157
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1158
|
+
dictionary function of the same name).
|
|
1159
|
+
|
|
1160
|
+
:return: custom property values.
|
|
1161
|
+
"""
|
|
826
1162
|
...
|