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
|
|
|
@@ -17,22 +18,35 @@ class COLLECTION_MT_context_menu_instance_offset(bpy_types.Menu, bpy_types._Gene
|
|
|
17
18
|
""" """
|
|
18
19
|
|
|
19
20
|
def append(self, draw_func):
|
|
20
|
-
"""
|
|
21
|
+
"""Append a draw function to this menu,
|
|
22
|
+
takes the same arguments as the menus draw function
|
|
21
23
|
|
|
22
|
-
|
|
24
|
+
:param draw_func:
|
|
23
25
|
"""
|
|
24
26
|
...
|
|
25
27
|
|
|
26
|
-
def as_pointer(self):
|
|
27
|
-
"""
|
|
28
|
+
def as_pointer(self) -> int:
|
|
29
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
30
|
+
|
|
31
|
+
:return: int (memory address).
|
|
32
|
+
:rtype: int
|
|
33
|
+
"""
|
|
28
34
|
...
|
|
29
35
|
|
|
30
|
-
def bl_rna_get_subclass(self):
|
|
31
|
-
"""
|
|
36
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
37
|
+
"""
|
|
38
|
+
|
|
39
|
+
:return: The RNA type or default when not found.
|
|
40
|
+
:rtype: bpy.types.Struct
|
|
41
|
+
"""
|
|
32
42
|
...
|
|
33
43
|
|
|
34
|
-
def bl_rna_get_subclass_py(self):
|
|
35
|
-
"""
|
|
44
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
45
|
+
"""
|
|
46
|
+
|
|
47
|
+
:return: The class or default when not found.
|
|
48
|
+
:rtype: typing.Any
|
|
49
|
+
"""
|
|
36
50
|
...
|
|
37
51
|
|
|
38
52
|
def draw(self, _context):
|
|
@@ -51,138 +65,224 @@ class COLLECTION_MT_context_menu_instance_offset(bpy_types.Menu, bpy_types._Gene
|
|
|
51
65
|
...
|
|
52
66
|
|
|
53
67
|
def draw_preset(self, _context):
|
|
54
|
-
"""
|
|
68
|
+
"""Define these on the subclass:
|
|
69
|
+
- preset_operator (string)
|
|
70
|
+
- preset_subdir (string)Optionally:
|
|
71
|
+
- preset_add_operator (string)
|
|
72
|
+
- preset_extensions (set of strings)
|
|
73
|
+
- preset_operator_defaults (dict of keyword args)
|
|
55
74
|
|
|
56
|
-
|
|
75
|
+
:param _context:
|
|
57
76
|
"""
|
|
58
77
|
...
|
|
59
78
|
|
|
60
|
-
def driver_add(self):
|
|
61
|
-
"""
|
|
79
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
80
|
+
"""Adds driver(s) to the given property
|
|
81
|
+
|
|
82
|
+
:return: The driver(s) added.
|
|
83
|
+
:rtype: bpy.types.FCurve
|
|
84
|
+
"""
|
|
62
85
|
...
|
|
63
86
|
|
|
64
|
-
def driver_remove(self):
|
|
65
|
-
"""
|
|
87
|
+
def driver_remove(self) -> bool:
|
|
88
|
+
"""Remove driver(s) from the given property
|
|
89
|
+
|
|
90
|
+
:return: Success of driver removal.
|
|
91
|
+
:rtype: bool
|
|
92
|
+
"""
|
|
66
93
|
...
|
|
67
94
|
|
|
68
95
|
def get(self):
|
|
69
|
-
"""
|
|
96
|
+
"""Returns the value of the custom property assigned to key or default
|
|
97
|
+
when not found (matches Python's dictionary function of the same name).
|
|
98
|
+
|
|
99
|
+
"""
|
|
70
100
|
...
|
|
71
101
|
|
|
72
102
|
def id_properties_clear(self):
|
|
73
|
-
"""
|
|
103
|
+
"""
|
|
104
|
+
|
|
105
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
106
|
+
"""
|
|
74
107
|
...
|
|
75
108
|
|
|
76
109
|
def id_properties_ensure(self):
|
|
77
|
-
"""
|
|
110
|
+
"""
|
|
111
|
+
|
|
112
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
113
|
+
"""
|
|
78
114
|
...
|
|
79
115
|
|
|
80
116
|
def id_properties_ui(self):
|
|
81
|
-
"""
|
|
117
|
+
"""
|
|
118
|
+
|
|
119
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
120
|
+
"""
|
|
82
121
|
...
|
|
83
122
|
|
|
84
123
|
def is_extended(self):
|
|
85
124
|
""" """
|
|
86
125
|
...
|
|
87
126
|
|
|
88
|
-
def is_property_hidden(self):
|
|
89
|
-
"""
|
|
127
|
+
def is_property_hidden(self) -> bool:
|
|
128
|
+
"""Check if a property is hidden.
|
|
129
|
+
|
|
130
|
+
:return: True when the property is hidden.
|
|
131
|
+
:rtype: bool
|
|
132
|
+
"""
|
|
90
133
|
...
|
|
91
134
|
|
|
92
|
-
def is_property_overridable_library(self):
|
|
93
|
-
"""
|
|
135
|
+
def is_property_overridable_library(self) -> bool:
|
|
136
|
+
"""Check if a property is overridable.
|
|
137
|
+
|
|
138
|
+
:return: True when the property is overridable.
|
|
139
|
+
:rtype: bool
|
|
140
|
+
"""
|
|
94
141
|
...
|
|
95
142
|
|
|
96
|
-
def is_property_readonly(self):
|
|
97
|
-
"""
|
|
143
|
+
def is_property_readonly(self) -> bool:
|
|
144
|
+
"""Check if a property is readonly.
|
|
145
|
+
|
|
146
|
+
:return: True when the property is readonly (not writable).
|
|
147
|
+
:rtype: bool
|
|
148
|
+
"""
|
|
98
149
|
...
|
|
99
150
|
|
|
100
|
-
def is_property_set(self):
|
|
101
|
-
"""
|
|
151
|
+
def is_property_set(self) -> bool:
|
|
152
|
+
"""Check if a property is set, use for testing operator properties.
|
|
153
|
+
|
|
154
|
+
:return: True when the property has been set.
|
|
155
|
+
:rtype: bool
|
|
156
|
+
"""
|
|
102
157
|
...
|
|
103
158
|
|
|
104
159
|
def items(self):
|
|
105
|
-
"""
|
|
160
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
161
|
+
dictionary function of the same name).
|
|
162
|
+
|
|
163
|
+
:return: custom property key, value pairs.
|
|
164
|
+
"""
|
|
106
165
|
...
|
|
107
166
|
|
|
108
|
-
def keyframe_delete(self):
|
|
109
|
-
"""
|
|
167
|
+
def keyframe_delete(self) -> bool:
|
|
168
|
+
"""Remove a keyframe from this properties fcurve.
|
|
169
|
+
|
|
170
|
+
:return: Success of keyframe deletion.
|
|
171
|
+
:rtype: bool
|
|
172
|
+
"""
|
|
110
173
|
...
|
|
111
174
|
|
|
112
|
-
def keyframe_insert(self):
|
|
113
|
-
"""
|
|
175
|
+
def keyframe_insert(self) -> bool:
|
|
176
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
177
|
+
|
|
178
|
+
:return: Success of keyframe insertion.
|
|
179
|
+
:rtype: bool
|
|
180
|
+
"""
|
|
114
181
|
...
|
|
115
182
|
|
|
116
183
|
def keys(self):
|
|
117
|
-
"""
|
|
184
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
185
|
+
dictionary function of the same name).
|
|
186
|
+
|
|
187
|
+
:return: custom property keys.
|
|
188
|
+
"""
|
|
118
189
|
...
|
|
119
190
|
|
|
120
|
-
def path_from_id(self):
|
|
121
|
-
"""
|
|
191
|
+
def path_from_id(self) -> str:
|
|
192
|
+
"""Returns the data path from the ID to this object (string).
|
|
193
|
+
|
|
194
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
195
|
+
to this struct and property (when given).
|
|
196
|
+
:rtype: str
|
|
197
|
+
"""
|
|
122
198
|
...
|
|
123
199
|
|
|
124
200
|
def path_menu(
|
|
125
201
|
self,
|
|
126
|
-
searchpaths,
|
|
127
|
-
operator,
|
|
128
|
-
props_default,
|
|
129
|
-
prop_filepath,
|
|
130
|
-
filter_ext,
|
|
131
|
-
filter_path,
|
|
132
|
-
display_name,
|
|
133
|
-
add_operator,
|
|
134
|
-
add_operator_props,
|
|
202
|
+
searchpaths: list[str],
|
|
203
|
+
operator: str,
|
|
204
|
+
props_default: dict = None,
|
|
205
|
+
prop_filepath: str = "filepath",
|
|
206
|
+
filter_ext: typing.Callable = None,
|
|
207
|
+
filter_path=None,
|
|
208
|
+
display_name: typing.Callable = None,
|
|
209
|
+
add_operator=None,
|
|
210
|
+
add_operator_props=None,
|
|
135
211
|
):
|
|
136
|
-
"""
|
|
212
|
+
"""Populate a menu from a list of paths.
|
|
137
213
|
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
214
|
+
:param searchpaths: Paths to scan.
|
|
215
|
+
:type searchpaths: list[str]
|
|
216
|
+
:param operator: The operator id to use with each file.
|
|
217
|
+
:type operator: str
|
|
218
|
+
:param props_default: Properties to assign to each operator.
|
|
219
|
+
:type props_default: dict
|
|
220
|
+
:param prop_filepath: Optional operator filepath property (defaults to "filepath").
|
|
221
|
+
:type prop_filepath: str
|
|
222
|
+
:param filter_ext: Optional callback that takes the file extensions.
|
|
223
|
+
|
|
224
|
+
Returning false excludes the file from the list.
|
|
225
|
+
:type filter_ext: typing.Callable
|
|
226
|
+
:param filter_path:
|
|
227
|
+
:param display_name: Optional callback that takes the full path, returns the name to display.
|
|
228
|
+
:type display_name: typing.Callable
|
|
229
|
+
:param add_operator:
|
|
230
|
+
:param add_operator_props:
|
|
147
231
|
"""
|
|
148
232
|
...
|
|
149
233
|
|
|
150
234
|
def path_resolve(self):
|
|
151
|
-
""" """
|
|
235
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
152
236
|
...
|
|
153
237
|
|
|
154
238
|
def pop(self):
|
|
155
|
-
"""
|
|
239
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
240
|
+
when not found (matches Python's dictionary function of the same name).
|
|
241
|
+
|
|
242
|
+
"""
|
|
156
243
|
...
|
|
157
244
|
|
|
158
245
|
def prepend(self, draw_func):
|
|
159
|
-
"""
|
|
246
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
247
|
+
the menus draw function
|
|
160
248
|
|
|
161
|
-
|
|
249
|
+
:param draw_func:
|
|
162
250
|
"""
|
|
163
251
|
...
|
|
164
252
|
|
|
165
|
-
def property_overridable_library_set(self):
|
|
166
|
-
"""
|
|
253
|
+
def property_overridable_library_set(self) -> bool:
|
|
254
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
255
|
+
|
|
256
|
+
:return: True when the overridable status of the property was successfully set.
|
|
257
|
+
:rtype: bool
|
|
258
|
+
"""
|
|
167
259
|
...
|
|
168
260
|
|
|
169
261
|
def property_unset(self):
|
|
170
|
-
""" """
|
|
262
|
+
"""Unset a property, will use default value afterward."""
|
|
171
263
|
...
|
|
172
264
|
|
|
173
265
|
def remove(self, draw_func):
|
|
174
|
-
"""
|
|
266
|
+
"""Remove a draw function that has been added to this menu
|
|
175
267
|
|
|
176
268
|
:param draw_func:
|
|
177
269
|
"""
|
|
178
270
|
...
|
|
179
271
|
|
|
180
272
|
def type_recast(self):
|
|
181
|
-
"""
|
|
273
|
+
"""Return a new instance, this is needed because types
|
|
274
|
+
such as textures can be changed at runtime.
|
|
275
|
+
|
|
276
|
+
:return: a new instance of this object with the type initialized again.
|
|
277
|
+
"""
|
|
182
278
|
...
|
|
183
279
|
|
|
184
280
|
def values(self):
|
|
185
|
-
"""
|
|
281
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
282
|
+
dictionary function of the same name).
|
|
283
|
+
|
|
284
|
+
:return: custom property values.
|
|
285
|
+
"""
|
|
186
286
|
...
|
|
187
287
|
|
|
188
288
|
class CollectionButtonsPanel:
|
|
@@ -210,7 +310,9 @@ class COLLECTION_PT_collection_custom_props(
|
|
|
210
310
|
rna_prop_ui.PropertyPanel,
|
|
211
311
|
bpy_types._GenericUI,
|
|
212
312
|
):
|
|
213
|
-
"""
|
|
313
|
+
"""The subclass should have its own poll function
|
|
314
|
+
and the variable '_context_path' MUST be set.
|
|
315
|
+
"""
|
|
214
316
|
|
|
215
317
|
bl_context: typing.Any
|
|
216
318
|
""" """
|
|
@@ -237,22 +339,35 @@ class COLLECTION_PT_collection_custom_props(
|
|
|
237
339
|
""" """
|
|
238
340
|
|
|
239
341
|
def append(self, draw_func):
|
|
240
|
-
"""
|
|
342
|
+
"""Append a draw function to this menu,
|
|
343
|
+
takes the same arguments as the menus draw function
|
|
241
344
|
|
|
242
|
-
|
|
345
|
+
:param draw_func:
|
|
243
346
|
"""
|
|
244
347
|
...
|
|
245
348
|
|
|
246
|
-
def as_pointer(self):
|
|
247
|
-
"""
|
|
349
|
+
def as_pointer(self) -> int:
|
|
350
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
351
|
+
|
|
352
|
+
:return: int (memory address).
|
|
353
|
+
:rtype: int
|
|
354
|
+
"""
|
|
248
355
|
...
|
|
249
356
|
|
|
250
|
-
def bl_rna_get_subclass(self):
|
|
251
|
-
"""
|
|
357
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
:return: The RNA type or default when not found.
|
|
361
|
+
:rtype: bpy.types.Struct
|
|
362
|
+
"""
|
|
252
363
|
...
|
|
253
364
|
|
|
254
|
-
def bl_rna_get_subclass_py(self):
|
|
255
|
-
"""
|
|
365
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
366
|
+
"""
|
|
367
|
+
|
|
368
|
+
:return: The class or default when not found.
|
|
369
|
+
:rtype: typing.Any
|
|
370
|
+
"""
|
|
256
371
|
...
|
|
257
372
|
|
|
258
373
|
def draw(self, context):
|
|
@@ -262,72 +377,129 @@ class COLLECTION_PT_collection_custom_props(
|
|
|
262
377
|
"""
|
|
263
378
|
...
|
|
264
379
|
|
|
265
|
-
def driver_add(self):
|
|
266
|
-
"""
|
|
380
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
381
|
+
"""Adds driver(s) to the given property
|
|
382
|
+
|
|
383
|
+
:return: The driver(s) added.
|
|
384
|
+
:rtype: bpy.types.FCurve
|
|
385
|
+
"""
|
|
267
386
|
...
|
|
268
387
|
|
|
269
|
-
def driver_remove(self):
|
|
270
|
-
"""
|
|
388
|
+
def driver_remove(self) -> bool:
|
|
389
|
+
"""Remove driver(s) from the given property
|
|
390
|
+
|
|
391
|
+
:return: Success of driver removal.
|
|
392
|
+
:rtype: bool
|
|
393
|
+
"""
|
|
271
394
|
...
|
|
272
395
|
|
|
273
396
|
def get(self):
|
|
274
|
-
"""
|
|
397
|
+
"""Returns the value of the custom property assigned to key or default
|
|
398
|
+
when not found (matches Python's dictionary function of the same name).
|
|
399
|
+
|
|
400
|
+
"""
|
|
275
401
|
...
|
|
276
402
|
|
|
277
403
|
def id_properties_clear(self):
|
|
278
|
-
"""
|
|
404
|
+
"""
|
|
405
|
+
|
|
406
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
407
|
+
"""
|
|
279
408
|
...
|
|
280
409
|
|
|
281
410
|
def id_properties_ensure(self):
|
|
282
|
-
"""
|
|
411
|
+
"""
|
|
412
|
+
|
|
413
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
414
|
+
"""
|
|
283
415
|
...
|
|
284
416
|
|
|
285
417
|
def id_properties_ui(self):
|
|
286
|
-
"""
|
|
418
|
+
"""
|
|
419
|
+
|
|
420
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
421
|
+
"""
|
|
287
422
|
...
|
|
288
423
|
|
|
289
424
|
def is_extended(self):
|
|
290
425
|
""" """
|
|
291
426
|
...
|
|
292
427
|
|
|
293
|
-
def is_property_hidden(self):
|
|
294
|
-
"""
|
|
428
|
+
def is_property_hidden(self) -> bool:
|
|
429
|
+
"""Check if a property is hidden.
|
|
430
|
+
|
|
431
|
+
:return: True when the property is hidden.
|
|
432
|
+
:rtype: bool
|
|
433
|
+
"""
|
|
295
434
|
...
|
|
296
435
|
|
|
297
|
-
def is_property_overridable_library(self):
|
|
298
|
-
"""
|
|
436
|
+
def is_property_overridable_library(self) -> bool:
|
|
437
|
+
"""Check if a property is overridable.
|
|
438
|
+
|
|
439
|
+
:return: True when the property is overridable.
|
|
440
|
+
:rtype: bool
|
|
441
|
+
"""
|
|
299
442
|
...
|
|
300
443
|
|
|
301
|
-
def is_property_readonly(self):
|
|
302
|
-
"""
|
|
444
|
+
def is_property_readonly(self) -> bool:
|
|
445
|
+
"""Check if a property is readonly.
|
|
446
|
+
|
|
447
|
+
:return: True when the property is readonly (not writable).
|
|
448
|
+
:rtype: bool
|
|
449
|
+
"""
|
|
303
450
|
...
|
|
304
451
|
|
|
305
|
-
def is_property_set(self):
|
|
306
|
-
"""
|
|
452
|
+
def is_property_set(self) -> bool:
|
|
453
|
+
"""Check if a property is set, use for testing operator properties.
|
|
454
|
+
|
|
455
|
+
:return: True when the property has been set.
|
|
456
|
+
:rtype: bool
|
|
457
|
+
"""
|
|
307
458
|
...
|
|
308
459
|
|
|
309
460
|
def items(self):
|
|
310
|
-
"""
|
|
461
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
462
|
+
dictionary function of the same name).
|
|
463
|
+
|
|
464
|
+
:return: custom property key, value pairs.
|
|
465
|
+
"""
|
|
311
466
|
...
|
|
312
467
|
|
|
313
|
-
def keyframe_delete(self):
|
|
314
|
-
"""
|
|
468
|
+
def keyframe_delete(self) -> bool:
|
|
469
|
+
"""Remove a keyframe from this properties fcurve.
|
|
470
|
+
|
|
471
|
+
:return: Success of keyframe deletion.
|
|
472
|
+
:rtype: bool
|
|
473
|
+
"""
|
|
315
474
|
...
|
|
316
475
|
|
|
317
|
-
def keyframe_insert(self):
|
|
318
|
-
"""
|
|
476
|
+
def keyframe_insert(self) -> bool:
|
|
477
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
478
|
+
|
|
479
|
+
:return: Success of keyframe insertion.
|
|
480
|
+
:rtype: bool
|
|
481
|
+
"""
|
|
319
482
|
...
|
|
320
483
|
|
|
321
484
|
def keys(self):
|
|
322
|
-
"""
|
|
485
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
486
|
+
dictionary function of the same name).
|
|
487
|
+
|
|
488
|
+
:return: custom property keys.
|
|
489
|
+
"""
|
|
323
490
|
...
|
|
324
491
|
|
|
325
|
-
def path_from_id(self):
|
|
326
|
-
"""
|
|
492
|
+
def path_from_id(self) -> str:
|
|
493
|
+
"""Returns the data path from the ID to this object (string).
|
|
494
|
+
|
|
495
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
496
|
+
to this struct and property (when given).
|
|
497
|
+
:rtype: str
|
|
498
|
+
"""
|
|
327
499
|
...
|
|
328
500
|
|
|
329
501
|
def path_resolve(self):
|
|
330
|
-
""" """
|
|
502
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
331
503
|
...
|
|
332
504
|
|
|
333
505
|
def poll(self, context):
|
|
@@ -338,37 +510,53 @@ class COLLECTION_PT_collection_custom_props(
|
|
|
338
510
|
...
|
|
339
511
|
|
|
340
512
|
def pop(self):
|
|
341
|
-
"""
|
|
513
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
514
|
+
when not found (matches Python's dictionary function of the same name).
|
|
515
|
+
|
|
516
|
+
"""
|
|
342
517
|
...
|
|
343
518
|
|
|
344
519
|
def prepend(self, draw_func):
|
|
345
|
-
"""
|
|
520
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
521
|
+
the menus draw function
|
|
346
522
|
|
|
347
|
-
|
|
523
|
+
:param draw_func:
|
|
348
524
|
"""
|
|
349
525
|
...
|
|
350
526
|
|
|
351
|
-
def property_overridable_library_set(self):
|
|
352
|
-
"""
|
|
527
|
+
def property_overridable_library_set(self) -> bool:
|
|
528
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
529
|
+
|
|
530
|
+
:return: True when the overridable status of the property was successfully set.
|
|
531
|
+
:rtype: bool
|
|
532
|
+
"""
|
|
353
533
|
...
|
|
354
534
|
|
|
355
535
|
def property_unset(self):
|
|
356
|
-
""" """
|
|
536
|
+
"""Unset a property, will use default value afterward."""
|
|
357
537
|
...
|
|
358
538
|
|
|
359
539
|
def remove(self, draw_func):
|
|
360
|
-
"""
|
|
540
|
+
"""Remove a draw function that has been added to this menu
|
|
361
541
|
|
|
362
542
|
:param draw_func:
|
|
363
543
|
"""
|
|
364
544
|
...
|
|
365
545
|
|
|
366
546
|
def type_recast(self):
|
|
367
|
-
"""
|
|
547
|
+
"""Return a new instance, this is needed because types
|
|
548
|
+
such as textures can be changed at runtime.
|
|
549
|
+
|
|
550
|
+
:return: a new instance of this object with the type initialized again.
|
|
551
|
+
"""
|
|
368
552
|
...
|
|
369
553
|
|
|
370
554
|
def values(self):
|
|
371
|
-
"""
|
|
555
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
556
|
+
dictionary function of the same name).
|
|
557
|
+
|
|
558
|
+
:return: custom property values.
|
|
559
|
+
"""
|
|
372
560
|
...
|
|
373
561
|
|
|
374
562
|
class COLLECTION_PT_collection_flags(
|
|
@@ -395,22 +583,35 @@ class COLLECTION_PT_collection_flags(
|
|
|
395
583
|
""" """
|
|
396
584
|
|
|
397
585
|
def append(self, draw_func):
|
|
398
|
-
"""
|
|
586
|
+
"""Append a draw function to this menu,
|
|
587
|
+
takes the same arguments as the menus draw function
|
|
399
588
|
|
|
400
|
-
|
|
589
|
+
:param draw_func:
|
|
401
590
|
"""
|
|
402
591
|
...
|
|
403
592
|
|
|
404
|
-
def as_pointer(self):
|
|
405
|
-
"""
|
|
593
|
+
def as_pointer(self) -> int:
|
|
594
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
595
|
+
|
|
596
|
+
:return: int (memory address).
|
|
597
|
+
:rtype: int
|
|
598
|
+
"""
|
|
406
599
|
...
|
|
407
600
|
|
|
408
|
-
def bl_rna_get_subclass(self):
|
|
409
|
-
"""
|
|
601
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
602
|
+
"""
|
|
603
|
+
|
|
604
|
+
:return: The RNA type or default when not found.
|
|
605
|
+
:rtype: bpy.types.Struct
|
|
606
|
+
"""
|
|
410
607
|
...
|
|
411
608
|
|
|
412
|
-
def bl_rna_get_subclass_py(self):
|
|
413
|
-
"""
|
|
609
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
610
|
+
"""
|
|
611
|
+
|
|
612
|
+
:return: The class or default when not found.
|
|
613
|
+
:rtype: typing.Any
|
|
614
|
+
"""
|
|
414
615
|
...
|
|
415
616
|
|
|
416
617
|
def draw(self, context):
|
|
@@ -420,72 +621,129 @@ class COLLECTION_PT_collection_flags(
|
|
|
420
621
|
"""
|
|
421
622
|
...
|
|
422
623
|
|
|
423
|
-
def driver_add(self):
|
|
424
|
-
"""
|
|
624
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
625
|
+
"""Adds driver(s) to the given property
|
|
626
|
+
|
|
627
|
+
:return: The driver(s) added.
|
|
628
|
+
:rtype: bpy.types.FCurve
|
|
629
|
+
"""
|
|
425
630
|
...
|
|
426
631
|
|
|
427
|
-
def driver_remove(self):
|
|
428
|
-
"""
|
|
632
|
+
def driver_remove(self) -> bool:
|
|
633
|
+
"""Remove driver(s) from the given property
|
|
634
|
+
|
|
635
|
+
:return: Success of driver removal.
|
|
636
|
+
:rtype: bool
|
|
637
|
+
"""
|
|
429
638
|
...
|
|
430
639
|
|
|
431
640
|
def get(self):
|
|
432
|
-
"""
|
|
641
|
+
"""Returns the value of the custom property assigned to key or default
|
|
642
|
+
when not found (matches Python's dictionary function of the same name).
|
|
643
|
+
|
|
644
|
+
"""
|
|
433
645
|
...
|
|
434
646
|
|
|
435
647
|
def id_properties_clear(self):
|
|
436
|
-
"""
|
|
648
|
+
"""
|
|
649
|
+
|
|
650
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
651
|
+
"""
|
|
437
652
|
...
|
|
438
653
|
|
|
439
654
|
def id_properties_ensure(self):
|
|
440
|
-
"""
|
|
655
|
+
"""
|
|
656
|
+
|
|
657
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
658
|
+
"""
|
|
441
659
|
...
|
|
442
660
|
|
|
443
661
|
def id_properties_ui(self):
|
|
444
|
-
"""
|
|
662
|
+
"""
|
|
663
|
+
|
|
664
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
665
|
+
"""
|
|
445
666
|
...
|
|
446
667
|
|
|
447
668
|
def is_extended(self):
|
|
448
669
|
""" """
|
|
449
670
|
...
|
|
450
671
|
|
|
451
|
-
def is_property_hidden(self):
|
|
452
|
-
"""
|
|
672
|
+
def is_property_hidden(self) -> bool:
|
|
673
|
+
"""Check if a property is hidden.
|
|
674
|
+
|
|
675
|
+
:return: True when the property is hidden.
|
|
676
|
+
:rtype: bool
|
|
677
|
+
"""
|
|
453
678
|
...
|
|
454
679
|
|
|
455
|
-
def is_property_overridable_library(self):
|
|
456
|
-
"""
|
|
680
|
+
def is_property_overridable_library(self) -> bool:
|
|
681
|
+
"""Check if a property is overridable.
|
|
682
|
+
|
|
683
|
+
:return: True when the property is overridable.
|
|
684
|
+
:rtype: bool
|
|
685
|
+
"""
|
|
457
686
|
...
|
|
458
687
|
|
|
459
|
-
def is_property_readonly(self):
|
|
460
|
-
"""
|
|
688
|
+
def is_property_readonly(self) -> bool:
|
|
689
|
+
"""Check if a property is readonly.
|
|
690
|
+
|
|
691
|
+
:return: True when the property is readonly (not writable).
|
|
692
|
+
:rtype: bool
|
|
693
|
+
"""
|
|
461
694
|
...
|
|
462
695
|
|
|
463
|
-
def is_property_set(self):
|
|
464
|
-
"""
|
|
696
|
+
def is_property_set(self) -> bool:
|
|
697
|
+
"""Check if a property is set, use for testing operator properties.
|
|
698
|
+
|
|
699
|
+
:return: True when the property has been set.
|
|
700
|
+
:rtype: bool
|
|
701
|
+
"""
|
|
465
702
|
...
|
|
466
703
|
|
|
467
704
|
def items(self):
|
|
468
|
-
"""
|
|
705
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
706
|
+
dictionary function of the same name).
|
|
707
|
+
|
|
708
|
+
:return: custom property key, value pairs.
|
|
709
|
+
"""
|
|
469
710
|
...
|
|
470
711
|
|
|
471
|
-
def keyframe_delete(self):
|
|
472
|
-
"""
|
|
712
|
+
def keyframe_delete(self) -> bool:
|
|
713
|
+
"""Remove a keyframe from this properties fcurve.
|
|
714
|
+
|
|
715
|
+
:return: Success of keyframe deletion.
|
|
716
|
+
:rtype: bool
|
|
717
|
+
"""
|
|
473
718
|
...
|
|
474
719
|
|
|
475
|
-
def keyframe_insert(self):
|
|
476
|
-
"""
|
|
720
|
+
def keyframe_insert(self) -> bool:
|
|
721
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
722
|
+
|
|
723
|
+
:return: Success of keyframe insertion.
|
|
724
|
+
:rtype: bool
|
|
725
|
+
"""
|
|
477
726
|
...
|
|
478
727
|
|
|
479
728
|
def keys(self):
|
|
480
|
-
"""
|
|
729
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
730
|
+
dictionary function of the same name).
|
|
731
|
+
|
|
732
|
+
:return: custom property keys.
|
|
733
|
+
"""
|
|
481
734
|
...
|
|
482
735
|
|
|
483
|
-
def path_from_id(self):
|
|
484
|
-
"""
|
|
736
|
+
def path_from_id(self) -> str:
|
|
737
|
+
"""Returns the data path from the ID to this object (string).
|
|
738
|
+
|
|
739
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
740
|
+
to this struct and property (when given).
|
|
741
|
+
:rtype: str
|
|
742
|
+
"""
|
|
485
743
|
...
|
|
486
744
|
|
|
487
745
|
def path_resolve(self):
|
|
488
|
-
""" """
|
|
746
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
489
747
|
...
|
|
490
748
|
|
|
491
749
|
def poll(self, context):
|
|
@@ -496,37 +754,53 @@ class COLLECTION_PT_collection_flags(
|
|
|
496
754
|
...
|
|
497
755
|
|
|
498
756
|
def pop(self):
|
|
499
|
-
"""
|
|
757
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
758
|
+
when not found (matches Python's dictionary function of the same name).
|
|
759
|
+
|
|
760
|
+
"""
|
|
500
761
|
...
|
|
501
762
|
|
|
502
763
|
def prepend(self, draw_func):
|
|
503
|
-
"""
|
|
764
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
765
|
+
the menus draw function
|
|
504
766
|
|
|
505
|
-
|
|
767
|
+
:param draw_func:
|
|
506
768
|
"""
|
|
507
769
|
...
|
|
508
770
|
|
|
509
|
-
def property_overridable_library_set(self):
|
|
510
|
-
"""
|
|
771
|
+
def property_overridable_library_set(self) -> bool:
|
|
772
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
773
|
+
|
|
774
|
+
:return: True when the overridable status of the property was successfully set.
|
|
775
|
+
:rtype: bool
|
|
776
|
+
"""
|
|
511
777
|
...
|
|
512
778
|
|
|
513
779
|
def property_unset(self):
|
|
514
|
-
""" """
|
|
780
|
+
"""Unset a property, will use default value afterward."""
|
|
515
781
|
...
|
|
516
782
|
|
|
517
783
|
def remove(self, draw_func):
|
|
518
|
-
"""
|
|
784
|
+
"""Remove a draw function that has been added to this menu
|
|
519
785
|
|
|
520
786
|
:param draw_func:
|
|
521
787
|
"""
|
|
522
788
|
...
|
|
523
789
|
|
|
524
790
|
def type_recast(self):
|
|
525
|
-
"""
|
|
791
|
+
"""Return a new instance, this is needed because types
|
|
792
|
+
such as textures can be changed at runtime.
|
|
793
|
+
|
|
794
|
+
:return: a new instance of this object with the type initialized again.
|
|
795
|
+
"""
|
|
526
796
|
...
|
|
527
797
|
|
|
528
798
|
def values(self):
|
|
529
|
-
"""
|
|
799
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
800
|
+
dictionary function of the same name).
|
|
801
|
+
|
|
802
|
+
:return: custom property values.
|
|
803
|
+
"""
|
|
530
804
|
...
|
|
531
805
|
|
|
532
806
|
class COLLECTION_PT_exporters(
|
|
@@ -553,22 +827,35 @@ class COLLECTION_PT_exporters(
|
|
|
553
827
|
""" """
|
|
554
828
|
|
|
555
829
|
def append(self, draw_func):
|
|
556
|
-
"""
|
|
830
|
+
"""Append a draw function to this menu,
|
|
831
|
+
takes the same arguments as the menus draw function
|
|
557
832
|
|
|
558
|
-
|
|
833
|
+
:param draw_func:
|
|
559
834
|
"""
|
|
560
835
|
...
|
|
561
836
|
|
|
562
|
-
def as_pointer(self):
|
|
563
|
-
"""
|
|
837
|
+
def as_pointer(self) -> int:
|
|
838
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
839
|
+
|
|
840
|
+
:return: int (memory address).
|
|
841
|
+
:rtype: int
|
|
842
|
+
"""
|
|
564
843
|
...
|
|
565
844
|
|
|
566
|
-
def bl_rna_get_subclass(self):
|
|
567
|
-
"""
|
|
845
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
846
|
+
"""
|
|
847
|
+
|
|
848
|
+
:return: The RNA type or default when not found.
|
|
849
|
+
:rtype: bpy.types.Struct
|
|
850
|
+
"""
|
|
568
851
|
...
|
|
569
852
|
|
|
570
|
-
def bl_rna_get_subclass_py(self):
|
|
571
|
-
"""
|
|
853
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
854
|
+
"""
|
|
855
|
+
|
|
856
|
+
:return: The class or default when not found.
|
|
857
|
+
:rtype: typing.Any
|
|
858
|
+
"""
|
|
572
859
|
...
|
|
573
860
|
|
|
574
861
|
def draw(self, context):
|
|
@@ -578,72 +865,129 @@ class COLLECTION_PT_exporters(
|
|
|
578
865
|
"""
|
|
579
866
|
...
|
|
580
867
|
|
|
581
|
-
def driver_add(self):
|
|
582
|
-
"""
|
|
868
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
869
|
+
"""Adds driver(s) to the given property
|
|
870
|
+
|
|
871
|
+
:return: The driver(s) added.
|
|
872
|
+
:rtype: bpy.types.FCurve
|
|
873
|
+
"""
|
|
583
874
|
...
|
|
584
875
|
|
|
585
|
-
def driver_remove(self):
|
|
586
|
-
"""
|
|
876
|
+
def driver_remove(self) -> bool:
|
|
877
|
+
"""Remove driver(s) from the given property
|
|
878
|
+
|
|
879
|
+
:return: Success of driver removal.
|
|
880
|
+
:rtype: bool
|
|
881
|
+
"""
|
|
587
882
|
...
|
|
588
883
|
|
|
589
884
|
def get(self):
|
|
590
|
-
"""
|
|
885
|
+
"""Returns the value of the custom property assigned to key or default
|
|
886
|
+
when not found (matches Python's dictionary function of the same name).
|
|
887
|
+
|
|
888
|
+
"""
|
|
591
889
|
...
|
|
592
890
|
|
|
593
891
|
def id_properties_clear(self):
|
|
594
|
-
"""
|
|
892
|
+
"""
|
|
893
|
+
|
|
894
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
895
|
+
"""
|
|
595
896
|
...
|
|
596
897
|
|
|
597
898
|
def id_properties_ensure(self):
|
|
598
|
-
"""
|
|
899
|
+
"""
|
|
900
|
+
|
|
901
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
902
|
+
"""
|
|
599
903
|
...
|
|
600
904
|
|
|
601
905
|
def id_properties_ui(self):
|
|
602
|
-
"""
|
|
906
|
+
"""
|
|
907
|
+
|
|
908
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
909
|
+
"""
|
|
603
910
|
...
|
|
604
911
|
|
|
605
912
|
def is_extended(self):
|
|
606
913
|
""" """
|
|
607
914
|
...
|
|
608
915
|
|
|
609
|
-
def is_property_hidden(self):
|
|
610
|
-
"""
|
|
916
|
+
def is_property_hidden(self) -> bool:
|
|
917
|
+
"""Check if a property is hidden.
|
|
918
|
+
|
|
919
|
+
:return: True when the property is hidden.
|
|
920
|
+
:rtype: bool
|
|
921
|
+
"""
|
|
611
922
|
...
|
|
612
923
|
|
|
613
|
-
def is_property_overridable_library(self):
|
|
614
|
-
"""
|
|
924
|
+
def is_property_overridable_library(self) -> bool:
|
|
925
|
+
"""Check if a property is overridable.
|
|
926
|
+
|
|
927
|
+
:return: True when the property is overridable.
|
|
928
|
+
:rtype: bool
|
|
929
|
+
"""
|
|
615
930
|
...
|
|
616
931
|
|
|
617
|
-
def is_property_readonly(self):
|
|
618
|
-
"""
|
|
932
|
+
def is_property_readonly(self) -> bool:
|
|
933
|
+
"""Check if a property is readonly.
|
|
934
|
+
|
|
935
|
+
:return: True when the property is readonly (not writable).
|
|
936
|
+
:rtype: bool
|
|
937
|
+
"""
|
|
619
938
|
...
|
|
620
939
|
|
|
621
|
-
def is_property_set(self):
|
|
622
|
-
"""
|
|
940
|
+
def is_property_set(self) -> bool:
|
|
941
|
+
"""Check if a property is set, use for testing operator properties.
|
|
942
|
+
|
|
943
|
+
:return: True when the property has been set.
|
|
944
|
+
:rtype: bool
|
|
945
|
+
"""
|
|
623
946
|
...
|
|
624
947
|
|
|
625
948
|
def items(self):
|
|
626
|
-
"""
|
|
949
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
950
|
+
dictionary function of the same name).
|
|
951
|
+
|
|
952
|
+
:return: custom property key, value pairs.
|
|
953
|
+
"""
|
|
627
954
|
...
|
|
628
955
|
|
|
629
|
-
def keyframe_delete(self):
|
|
630
|
-
"""
|
|
956
|
+
def keyframe_delete(self) -> bool:
|
|
957
|
+
"""Remove a keyframe from this properties fcurve.
|
|
958
|
+
|
|
959
|
+
:return: Success of keyframe deletion.
|
|
960
|
+
:rtype: bool
|
|
961
|
+
"""
|
|
631
962
|
...
|
|
632
963
|
|
|
633
|
-
def keyframe_insert(self):
|
|
634
|
-
"""
|
|
964
|
+
def keyframe_insert(self) -> bool:
|
|
965
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
966
|
+
|
|
967
|
+
:return: Success of keyframe insertion.
|
|
968
|
+
:rtype: bool
|
|
969
|
+
"""
|
|
635
970
|
...
|
|
636
971
|
|
|
637
972
|
def keys(self):
|
|
638
|
-
"""
|
|
973
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
974
|
+
dictionary function of the same name).
|
|
975
|
+
|
|
976
|
+
:return: custom property keys.
|
|
977
|
+
"""
|
|
639
978
|
...
|
|
640
979
|
|
|
641
|
-
def path_from_id(self):
|
|
642
|
-
"""
|
|
980
|
+
def path_from_id(self) -> str:
|
|
981
|
+
"""Returns the data path from the ID to this object (string).
|
|
982
|
+
|
|
983
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
984
|
+
to this struct and property (when given).
|
|
985
|
+
:rtype: str
|
|
986
|
+
"""
|
|
643
987
|
...
|
|
644
988
|
|
|
645
989
|
def path_resolve(self):
|
|
646
|
-
""" """
|
|
990
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
647
991
|
...
|
|
648
992
|
|
|
649
993
|
def poll(self, context):
|
|
@@ -654,37 +998,53 @@ class COLLECTION_PT_exporters(
|
|
|
654
998
|
...
|
|
655
999
|
|
|
656
1000
|
def pop(self):
|
|
657
|
-
"""
|
|
1001
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1002
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1003
|
+
|
|
1004
|
+
"""
|
|
658
1005
|
...
|
|
659
1006
|
|
|
660
1007
|
def prepend(self, draw_func):
|
|
661
|
-
"""
|
|
1008
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1009
|
+
the menus draw function
|
|
662
1010
|
|
|
663
|
-
|
|
1011
|
+
:param draw_func:
|
|
664
1012
|
"""
|
|
665
1013
|
...
|
|
666
1014
|
|
|
667
|
-
def property_overridable_library_set(self):
|
|
668
|
-
"""
|
|
1015
|
+
def property_overridable_library_set(self) -> bool:
|
|
1016
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1017
|
+
|
|
1018
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1019
|
+
:rtype: bool
|
|
1020
|
+
"""
|
|
669
1021
|
...
|
|
670
1022
|
|
|
671
1023
|
def property_unset(self):
|
|
672
|
-
""" """
|
|
1024
|
+
"""Unset a property, will use default value afterward."""
|
|
673
1025
|
...
|
|
674
1026
|
|
|
675
1027
|
def remove(self, draw_func):
|
|
676
|
-
"""
|
|
1028
|
+
"""Remove a draw function that has been added to this menu
|
|
677
1029
|
|
|
678
1030
|
:param draw_func:
|
|
679
1031
|
"""
|
|
680
1032
|
...
|
|
681
1033
|
|
|
682
1034
|
def type_recast(self):
|
|
683
|
-
"""
|
|
1035
|
+
"""Return a new instance, this is needed because types
|
|
1036
|
+
such as textures can be changed at runtime.
|
|
1037
|
+
|
|
1038
|
+
:return: a new instance of this object with the type initialized again.
|
|
1039
|
+
"""
|
|
684
1040
|
...
|
|
685
1041
|
|
|
686
1042
|
def values(self):
|
|
687
|
-
"""
|
|
1043
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1044
|
+
dictionary function of the same name).
|
|
1045
|
+
|
|
1046
|
+
:return: custom property values.
|
|
1047
|
+
"""
|
|
688
1048
|
...
|
|
689
1049
|
|
|
690
1050
|
class COLLECTION_PT_instancing(
|
|
@@ -711,22 +1071,35 @@ class COLLECTION_PT_instancing(
|
|
|
711
1071
|
""" """
|
|
712
1072
|
|
|
713
1073
|
def append(self, draw_func):
|
|
714
|
-
"""
|
|
1074
|
+
"""Append a draw function to this menu,
|
|
1075
|
+
takes the same arguments as the menus draw function
|
|
715
1076
|
|
|
716
|
-
|
|
1077
|
+
:param draw_func:
|
|
717
1078
|
"""
|
|
718
1079
|
...
|
|
719
1080
|
|
|
720
|
-
def as_pointer(self):
|
|
721
|
-
"""
|
|
1081
|
+
def as_pointer(self) -> int:
|
|
1082
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1083
|
+
|
|
1084
|
+
:return: int (memory address).
|
|
1085
|
+
:rtype: int
|
|
1086
|
+
"""
|
|
722
1087
|
...
|
|
723
1088
|
|
|
724
|
-
def bl_rna_get_subclass(self):
|
|
725
|
-
"""
|
|
1089
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1090
|
+
"""
|
|
1091
|
+
|
|
1092
|
+
:return: The RNA type or default when not found.
|
|
1093
|
+
:rtype: bpy.types.Struct
|
|
1094
|
+
"""
|
|
726
1095
|
...
|
|
727
1096
|
|
|
728
|
-
def bl_rna_get_subclass_py(self):
|
|
729
|
-
"""
|
|
1097
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1098
|
+
"""
|
|
1099
|
+
|
|
1100
|
+
:return: The class or default when not found.
|
|
1101
|
+
:rtype: typing.Any
|
|
1102
|
+
"""
|
|
730
1103
|
...
|
|
731
1104
|
|
|
732
1105
|
def draw(self, context):
|
|
@@ -736,72 +1109,129 @@ class COLLECTION_PT_instancing(
|
|
|
736
1109
|
"""
|
|
737
1110
|
...
|
|
738
1111
|
|
|
739
|
-
def driver_add(self):
|
|
740
|
-
"""
|
|
1112
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1113
|
+
"""Adds driver(s) to the given property
|
|
1114
|
+
|
|
1115
|
+
:return: The driver(s) added.
|
|
1116
|
+
:rtype: bpy.types.FCurve
|
|
1117
|
+
"""
|
|
741
1118
|
...
|
|
742
1119
|
|
|
743
|
-
def driver_remove(self):
|
|
744
|
-
"""
|
|
1120
|
+
def driver_remove(self) -> bool:
|
|
1121
|
+
"""Remove driver(s) from the given property
|
|
1122
|
+
|
|
1123
|
+
:return: Success of driver removal.
|
|
1124
|
+
:rtype: bool
|
|
1125
|
+
"""
|
|
745
1126
|
...
|
|
746
1127
|
|
|
747
1128
|
def get(self):
|
|
748
|
-
"""
|
|
1129
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1130
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1131
|
+
|
|
1132
|
+
"""
|
|
749
1133
|
...
|
|
750
1134
|
|
|
751
1135
|
def id_properties_clear(self):
|
|
752
|
-
"""
|
|
1136
|
+
"""
|
|
1137
|
+
|
|
1138
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1139
|
+
"""
|
|
753
1140
|
...
|
|
754
1141
|
|
|
755
1142
|
def id_properties_ensure(self):
|
|
756
|
-
"""
|
|
1143
|
+
"""
|
|
1144
|
+
|
|
1145
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1146
|
+
"""
|
|
757
1147
|
...
|
|
758
1148
|
|
|
759
1149
|
def id_properties_ui(self):
|
|
760
|
-
"""
|
|
1150
|
+
"""
|
|
1151
|
+
|
|
1152
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1153
|
+
"""
|
|
761
1154
|
...
|
|
762
1155
|
|
|
763
1156
|
def is_extended(self):
|
|
764
1157
|
""" """
|
|
765
1158
|
...
|
|
766
1159
|
|
|
767
|
-
def is_property_hidden(self):
|
|
768
|
-
"""
|
|
1160
|
+
def is_property_hidden(self) -> bool:
|
|
1161
|
+
"""Check if a property is hidden.
|
|
1162
|
+
|
|
1163
|
+
:return: True when the property is hidden.
|
|
1164
|
+
:rtype: bool
|
|
1165
|
+
"""
|
|
769
1166
|
...
|
|
770
1167
|
|
|
771
|
-
def is_property_overridable_library(self):
|
|
772
|
-
"""
|
|
1168
|
+
def is_property_overridable_library(self) -> bool:
|
|
1169
|
+
"""Check if a property is overridable.
|
|
1170
|
+
|
|
1171
|
+
:return: True when the property is overridable.
|
|
1172
|
+
:rtype: bool
|
|
1173
|
+
"""
|
|
773
1174
|
...
|
|
774
1175
|
|
|
775
|
-
def is_property_readonly(self):
|
|
776
|
-
"""
|
|
1176
|
+
def is_property_readonly(self) -> bool:
|
|
1177
|
+
"""Check if a property is readonly.
|
|
1178
|
+
|
|
1179
|
+
:return: True when the property is readonly (not writable).
|
|
1180
|
+
:rtype: bool
|
|
1181
|
+
"""
|
|
777
1182
|
...
|
|
778
1183
|
|
|
779
|
-
def is_property_set(self):
|
|
780
|
-
"""
|
|
1184
|
+
def is_property_set(self) -> bool:
|
|
1185
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1186
|
+
|
|
1187
|
+
:return: True when the property has been set.
|
|
1188
|
+
:rtype: bool
|
|
1189
|
+
"""
|
|
781
1190
|
...
|
|
782
1191
|
|
|
783
1192
|
def items(self):
|
|
784
|
-
"""
|
|
1193
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1194
|
+
dictionary function of the same name).
|
|
1195
|
+
|
|
1196
|
+
:return: custom property key, value pairs.
|
|
1197
|
+
"""
|
|
785
1198
|
...
|
|
786
1199
|
|
|
787
|
-
def keyframe_delete(self):
|
|
788
|
-
"""
|
|
1200
|
+
def keyframe_delete(self) -> bool:
|
|
1201
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1202
|
+
|
|
1203
|
+
:return: Success of keyframe deletion.
|
|
1204
|
+
:rtype: bool
|
|
1205
|
+
"""
|
|
789
1206
|
...
|
|
790
1207
|
|
|
791
|
-
def keyframe_insert(self):
|
|
792
|
-
"""
|
|
1208
|
+
def keyframe_insert(self) -> bool:
|
|
1209
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1210
|
+
|
|
1211
|
+
:return: Success of keyframe insertion.
|
|
1212
|
+
:rtype: bool
|
|
1213
|
+
"""
|
|
793
1214
|
...
|
|
794
1215
|
|
|
795
1216
|
def keys(self):
|
|
796
|
-
"""
|
|
1217
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1218
|
+
dictionary function of the same name).
|
|
1219
|
+
|
|
1220
|
+
:return: custom property keys.
|
|
1221
|
+
"""
|
|
797
1222
|
...
|
|
798
1223
|
|
|
799
|
-
def path_from_id(self):
|
|
800
|
-
"""
|
|
1224
|
+
def path_from_id(self) -> str:
|
|
1225
|
+
"""Returns the data path from the ID to this object (string).
|
|
1226
|
+
|
|
1227
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1228
|
+
to this struct and property (when given).
|
|
1229
|
+
:rtype: str
|
|
1230
|
+
"""
|
|
801
1231
|
...
|
|
802
1232
|
|
|
803
1233
|
def path_resolve(self):
|
|
804
|
-
""" """
|
|
1234
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
805
1235
|
...
|
|
806
1236
|
|
|
807
1237
|
def poll(self, context):
|
|
@@ -812,37 +1242,53 @@ class COLLECTION_PT_instancing(
|
|
|
812
1242
|
...
|
|
813
1243
|
|
|
814
1244
|
def pop(self):
|
|
815
|
-
"""
|
|
1245
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1246
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1247
|
+
|
|
1248
|
+
"""
|
|
816
1249
|
...
|
|
817
1250
|
|
|
818
1251
|
def prepend(self, draw_func):
|
|
819
|
-
"""
|
|
1252
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1253
|
+
the menus draw function
|
|
820
1254
|
|
|
821
|
-
|
|
1255
|
+
:param draw_func:
|
|
822
1256
|
"""
|
|
823
1257
|
...
|
|
824
1258
|
|
|
825
|
-
def property_overridable_library_set(self):
|
|
826
|
-
"""
|
|
1259
|
+
def property_overridable_library_set(self) -> bool:
|
|
1260
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1261
|
+
|
|
1262
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1263
|
+
:rtype: bool
|
|
1264
|
+
"""
|
|
827
1265
|
...
|
|
828
1266
|
|
|
829
1267
|
def property_unset(self):
|
|
830
|
-
""" """
|
|
1268
|
+
"""Unset a property, will use default value afterward."""
|
|
831
1269
|
...
|
|
832
1270
|
|
|
833
1271
|
def remove(self, draw_func):
|
|
834
|
-
"""
|
|
1272
|
+
"""Remove a draw function that has been added to this menu
|
|
835
1273
|
|
|
836
1274
|
:param draw_func:
|
|
837
1275
|
"""
|
|
838
1276
|
...
|
|
839
1277
|
|
|
840
1278
|
def type_recast(self):
|
|
841
|
-
"""
|
|
1279
|
+
"""Return a new instance, this is needed because types
|
|
1280
|
+
such as textures can be changed at runtime.
|
|
1281
|
+
|
|
1282
|
+
:return: a new instance of this object with the type initialized again.
|
|
1283
|
+
"""
|
|
842
1284
|
...
|
|
843
1285
|
|
|
844
1286
|
def values(self):
|
|
845
|
-
"""
|
|
1287
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1288
|
+
dictionary function of the same name).
|
|
1289
|
+
|
|
1290
|
+
:return: custom property values.
|
|
1291
|
+
"""
|
|
846
1292
|
...
|
|
847
1293
|
|
|
848
1294
|
class COLLECTION_PT_lineart_collection(
|
|
@@ -872,22 +1318,35 @@ class COLLECTION_PT_lineart_collection(
|
|
|
872
1318
|
""" """
|
|
873
1319
|
|
|
874
1320
|
def append(self, draw_func):
|
|
875
|
-
"""
|
|
1321
|
+
"""Append a draw function to this menu,
|
|
1322
|
+
takes the same arguments as the menus draw function
|
|
876
1323
|
|
|
877
|
-
|
|
1324
|
+
:param draw_func:
|
|
878
1325
|
"""
|
|
879
1326
|
...
|
|
880
1327
|
|
|
881
|
-
def as_pointer(self):
|
|
882
|
-
"""
|
|
1328
|
+
def as_pointer(self) -> int:
|
|
1329
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1330
|
+
|
|
1331
|
+
:return: int (memory address).
|
|
1332
|
+
:rtype: int
|
|
1333
|
+
"""
|
|
883
1334
|
...
|
|
884
1335
|
|
|
885
|
-
def bl_rna_get_subclass(self):
|
|
886
|
-
"""
|
|
1336
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1337
|
+
"""
|
|
1338
|
+
|
|
1339
|
+
:return: The RNA type or default when not found.
|
|
1340
|
+
:rtype: bpy.types.Struct
|
|
1341
|
+
"""
|
|
887
1342
|
...
|
|
888
1343
|
|
|
889
|
-
def bl_rna_get_subclass_py(self):
|
|
890
|
-
"""
|
|
1344
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1345
|
+
"""
|
|
1346
|
+
|
|
1347
|
+
:return: The class or default when not found.
|
|
1348
|
+
:rtype: typing.Any
|
|
1349
|
+
"""
|
|
891
1350
|
...
|
|
892
1351
|
|
|
893
1352
|
def draw(self, context):
|
|
@@ -897,72 +1356,129 @@ class COLLECTION_PT_lineart_collection(
|
|
|
897
1356
|
"""
|
|
898
1357
|
...
|
|
899
1358
|
|
|
900
|
-
def driver_add(self):
|
|
901
|
-
"""
|
|
1359
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1360
|
+
"""Adds driver(s) to the given property
|
|
1361
|
+
|
|
1362
|
+
:return: The driver(s) added.
|
|
1363
|
+
:rtype: bpy.types.FCurve
|
|
1364
|
+
"""
|
|
902
1365
|
...
|
|
903
1366
|
|
|
904
|
-
def driver_remove(self):
|
|
905
|
-
"""
|
|
1367
|
+
def driver_remove(self) -> bool:
|
|
1368
|
+
"""Remove driver(s) from the given property
|
|
1369
|
+
|
|
1370
|
+
:return: Success of driver removal.
|
|
1371
|
+
:rtype: bool
|
|
1372
|
+
"""
|
|
906
1373
|
...
|
|
907
1374
|
|
|
908
1375
|
def get(self):
|
|
909
|
-
"""
|
|
1376
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1377
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1378
|
+
|
|
1379
|
+
"""
|
|
910
1380
|
...
|
|
911
1381
|
|
|
912
1382
|
def id_properties_clear(self):
|
|
913
|
-
"""
|
|
1383
|
+
"""
|
|
1384
|
+
|
|
1385
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1386
|
+
"""
|
|
914
1387
|
...
|
|
915
1388
|
|
|
916
1389
|
def id_properties_ensure(self):
|
|
917
|
-
"""
|
|
1390
|
+
"""
|
|
1391
|
+
|
|
1392
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1393
|
+
"""
|
|
918
1394
|
...
|
|
919
1395
|
|
|
920
1396
|
def id_properties_ui(self):
|
|
921
|
-
"""
|
|
1397
|
+
"""
|
|
1398
|
+
|
|
1399
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1400
|
+
"""
|
|
922
1401
|
...
|
|
923
1402
|
|
|
924
1403
|
def is_extended(self):
|
|
925
1404
|
""" """
|
|
926
1405
|
...
|
|
927
1406
|
|
|
928
|
-
def is_property_hidden(self):
|
|
929
|
-
"""
|
|
1407
|
+
def is_property_hidden(self) -> bool:
|
|
1408
|
+
"""Check if a property is hidden.
|
|
1409
|
+
|
|
1410
|
+
:return: True when the property is hidden.
|
|
1411
|
+
:rtype: bool
|
|
1412
|
+
"""
|
|
930
1413
|
...
|
|
931
1414
|
|
|
932
|
-
def is_property_overridable_library(self):
|
|
933
|
-
"""
|
|
1415
|
+
def is_property_overridable_library(self) -> bool:
|
|
1416
|
+
"""Check if a property is overridable.
|
|
1417
|
+
|
|
1418
|
+
:return: True when the property is overridable.
|
|
1419
|
+
:rtype: bool
|
|
1420
|
+
"""
|
|
934
1421
|
...
|
|
935
1422
|
|
|
936
|
-
def is_property_readonly(self):
|
|
937
|
-
"""
|
|
1423
|
+
def is_property_readonly(self) -> bool:
|
|
1424
|
+
"""Check if a property is readonly.
|
|
1425
|
+
|
|
1426
|
+
:return: True when the property is readonly (not writable).
|
|
1427
|
+
:rtype: bool
|
|
1428
|
+
"""
|
|
938
1429
|
...
|
|
939
1430
|
|
|
940
|
-
def is_property_set(self):
|
|
941
|
-
"""
|
|
1431
|
+
def is_property_set(self) -> bool:
|
|
1432
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1433
|
+
|
|
1434
|
+
:return: True when the property has been set.
|
|
1435
|
+
:rtype: bool
|
|
1436
|
+
"""
|
|
942
1437
|
...
|
|
943
1438
|
|
|
944
1439
|
def items(self):
|
|
945
|
-
"""
|
|
1440
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1441
|
+
dictionary function of the same name).
|
|
1442
|
+
|
|
1443
|
+
:return: custom property key, value pairs.
|
|
1444
|
+
"""
|
|
946
1445
|
...
|
|
947
1446
|
|
|
948
|
-
def keyframe_delete(self):
|
|
949
|
-
"""
|
|
1447
|
+
def keyframe_delete(self) -> bool:
|
|
1448
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1449
|
+
|
|
1450
|
+
:return: Success of keyframe deletion.
|
|
1451
|
+
:rtype: bool
|
|
1452
|
+
"""
|
|
950
1453
|
...
|
|
951
1454
|
|
|
952
|
-
def keyframe_insert(self):
|
|
953
|
-
"""
|
|
1455
|
+
def keyframe_insert(self) -> bool:
|
|
1456
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1457
|
+
|
|
1458
|
+
:return: Success of keyframe insertion.
|
|
1459
|
+
:rtype: bool
|
|
1460
|
+
"""
|
|
954
1461
|
...
|
|
955
1462
|
|
|
956
1463
|
def keys(self):
|
|
957
|
-
"""
|
|
1464
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1465
|
+
dictionary function of the same name).
|
|
1466
|
+
|
|
1467
|
+
:return: custom property keys.
|
|
1468
|
+
"""
|
|
958
1469
|
...
|
|
959
1470
|
|
|
960
|
-
def path_from_id(self):
|
|
961
|
-
"""
|
|
1471
|
+
def path_from_id(self) -> str:
|
|
1472
|
+
"""Returns the data path from the ID to this object (string).
|
|
1473
|
+
|
|
1474
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1475
|
+
to this struct and property (when given).
|
|
1476
|
+
:rtype: str
|
|
1477
|
+
"""
|
|
962
1478
|
...
|
|
963
1479
|
|
|
964
1480
|
def path_resolve(self):
|
|
965
|
-
""" """
|
|
1481
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
966
1482
|
...
|
|
967
1483
|
|
|
968
1484
|
def poll(self, context):
|
|
@@ -973,37 +1489,53 @@ class COLLECTION_PT_lineart_collection(
|
|
|
973
1489
|
...
|
|
974
1490
|
|
|
975
1491
|
def pop(self):
|
|
976
|
-
"""
|
|
1492
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1493
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1494
|
+
|
|
1495
|
+
"""
|
|
977
1496
|
...
|
|
978
1497
|
|
|
979
1498
|
def prepend(self, draw_func):
|
|
980
|
-
"""
|
|
1499
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1500
|
+
the menus draw function
|
|
981
1501
|
|
|
982
|
-
|
|
1502
|
+
:param draw_func:
|
|
983
1503
|
"""
|
|
984
1504
|
...
|
|
985
1505
|
|
|
986
|
-
def property_overridable_library_set(self):
|
|
987
|
-
"""
|
|
1506
|
+
def property_overridable_library_set(self) -> bool:
|
|
1507
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1508
|
+
|
|
1509
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1510
|
+
:rtype: bool
|
|
1511
|
+
"""
|
|
988
1512
|
...
|
|
989
1513
|
|
|
990
1514
|
def property_unset(self):
|
|
991
|
-
""" """
|
|
1515
|
+
"""Unset a property, will use default value afterward."""
|
|
992
1516
|
...
|
|
993
1517
|
|
|
994
1518
|
def remove(self, draw_func):
|
|
995
|
-
"""
|
|
1519
|
+
"""Remove a draw function that has been added to this menu
|
|
996
1520
|
|
|
997
1521
|
:param draw_func:
|
|
998
1522
|
"""
|
|
999
1523
|
...
|
|
1000
1524
|
|
|
1001
1525
|
def type_recast(self):
|
|
1002
|
-
"""
|
|
1526
|
+
"""Return a new instance, this is needed because types
|
|
1527
|
+
such as textures can be changed at runtime.
|
|
1528
|
+
|
|
1529
|
+
:return: a new instance of this object with the type initialized again.
|
|
1530
|
+
"""
|
|
1003
1531
|
...
|
|
1004
1532
|
|
|
1005
1533
|
def values(self):
|
|
1006
|
-
"""
|
|
1534
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1535
|
+
dictionary function of the same name).
|
|
1536
|
+
|
|
1537
|
+
:return: custom property values.
|
|
1538
|
+
"""
|
|
1007
1539
|
...
|
|
1008
1540
|
|
|
1009
1541
|
def lineart_make_line_type_entry(col, line_type, text_disp, expand, search_from):
|