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