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,48 +1,62 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
|
|
4
5
|
GenericType = typing.TypeVar("GenericType")
|
|
5
6
|
|
|
6
7
|
class ConsoleAutocomplete(bpy_types.Operator):
|
|
7
|
-
""" """
|
|
8
|
+
"""Evaluate the namespace up until the cursor and give a list of options or complete the name if there is only one"""
|
|
8
9
|
|
|
9
10
|
bl_idname: typing.Any
|
|
10
|
-
""" """
|
|
11
|
-
|
|
12
11
|
bl_label: typing.Any
|
|
13
|
-
""" """
|
|
14
|
-
|
|
15
12
|
bl_rna: typing.Any
|
|
16
|
-
""" """
|
|
17
|
-
|
|
18
13
|
id_data: typing.Any
|
|
19
|
-
""" """
|
|
20
14
|
|
|
21
|
-
def as_keywords(self, ignore):
|
|
22
|
-
"""
|
|
15
|
+
def as_keywords(self, ignore=()):
|
|
16
|
+
"""Return a copy of the properties as a dictionary
|
|
23
17
|
|
|
24
18
|
:param ignore:
|
|
25
19
|
"""
|
|
26
20
|
...
|
|
27
21
|
|
|
28
|
-
def as_pointer(self):
|
|
29
|
-
"""
|
|
22
|
+
def as_pointer(self) -> int:
|
|
23
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
24
|
+
|
|
25
|
+
:return: int (memory address).
|
|
26
|
+
:rtype: int
|
|
27
|
+
"""
|
|
30
28
|
...
|
|
31
29
|
|
|
32
|
-
def bl_rna_get_subclass(self):
|
|
33
|
-
"""
|
|
30
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
:return: The RNA type or default when not found.
|
|
34
|
+
:rtype: bpy.types.Struct
|
|
35
|
+
"""
|
|
34
36
|
...
|
|
35
37
|
|
|
36
|
-
def bl_rna_get_subclass_py(self):
|
|
37
|
-
"""
|
|
38
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
:return: The class or default when not found.
|
|
42
|
+
:rtype: typing.Any
|
|
43
|
+
"""
|
|
38
44
|
...
|
|
39
45
|
|
|
40
|
-
def driver_add(self):
|
|
41
|
-
"""
|
|
46
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
47
|
+
"""Adds driver(s) to the given property
|
|
48
|
+
|
|
49
|
+
:return: The driver(s) added.
|
|
50
|
+
:rtype: bpy.types.FCurve
|
|
51
|
+
"""
|
|
42
52
|
...
|
|
43
53
|
|
|
44
|
-
def driver_remove(self):
|
|
45
|
-
"""
|
|
54
|
+
def driver_remove(self) -> bool:
|
|
55
|
+
"""Remove driver(s) from the given property
|
|
56
|
+
|
|
57
|
+
:return: Success of driver removal.
|
|
58
|
+
:rtype: bool
|
|
59
|
+
"""
|
|
46
60
|
...
|
|
47
61
|
|
|
48
62
|
def execute(self, context):
|
|
@@ -53,59 +67,108 @@ class ConsoleAutocomplete(bpy_types.Operator):
|
|
|
53
67
|
...
|
|
54
68
|
|
|
55
69
|
def get(self):
|
|
56
|
-
"""
|
|
70
|
+
"""Returns the value of the custom property assigned to key or default
|
|
71
|
+
when not found (matches Python's dictionary function of the same name).
|
|
72
|
+
|
|
73
|
+
"""
|
|
57
74
|
...
|
|
58
75
|
|
|
59
76
|
def id_properties_clear(self):
|
|
60
|
-
"""
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
80
|
+
"""
|
|
61
81
|
...
|
|
62
82
|
|
|
63
83
|
def id_properties_ensure(self):
|
|
64
|
-
"""
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
87
|
+
"""
|
|
65
88
|
...
|
|
66
89
|
|
|
67
90
|
def id_properties_ui(self):
|
|
68
|
-
"""
|
|
91
|
+
"""
|
|
92
|
+
|
|
93
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
94
|
+
"""
|
|
69
95
|
...
|
|
70
96
|
|
|
71
|
-
def is_property_hidden(self):
|
|
72
|
-
"""
|
|
97
|
+
def is_property_hidden(self) -> bool:
|
|
98
|
+
"""Check if a property is hidden.
|
|
99
|
+
|
|
100
|
+
:return: True when the property is hidden.
|
|
101
|
+
:rtype: bool
|
|
102
|
+
"""
|
|
73
103
|
...
|
|
74
104
|
|
|
75
|
-
def is_property_overridable_library(self):
|
|
76
|
-
"""
|
|
105
|
+
def is_property_overridable_library(self) -> bool:
|
|
106
|
+
"""Check if a property is overridable.
|
|
107
|
+
|
|
108
|
+
:return: True when the property is overridable.
|
|
109
|
+
:rtype: bool
|
|
110
|
+
"""
|
|
77
111
|
...
|
|
78
112
|
|
|
79
|
-
def is_property_readonly(self):
|
|
80
|
-
"""
|
|
113
|
+
def is_property_readonly(self) -> bool:
|
|
114
|
+
"""Check if a property is readonly.
|
|
115
|
+
|
|
116
|
+
:return: True when the property is readonly (not writable).
|
|
117
|
+
:rtype: bool
|
|
118
|
+
"""
|
|
81
119
|
...
|
|
82
120
|
|
|
83
|
-
def is_property_set(self):
|
|
84
|
-
"""
|
|
121
|
+
def is_property_set(self) -> bool:
|
|
122
|
+
"""Check if a property is set, use for testing operator properties.
|
|
123
|
+
|
|
124
|
+
:return: True when the property has been set.
|
|
125
|
+
:rtype: bool
|
|
126
|
+
"""
|
|
85
127
|
...
|
|
86
128
|
|
|
87
129
|
def items(self):
|
|
88
|
-
"""
|
|
130
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
131
|
+
dictionary function of the same name).
|
|
132
|
+
|
|
133
|
+
:return: custom property key, value pairs.
|
|
134
|
+
"""
|
|
89
135
|
...
|
|
90
136
|
|
|
91
|
-
def keyframe_delete(self):
|
|
92
|
-
"""
|
|
137
|
+
def keyframe_delete(self) -> bool:
|
|
138
|
+
"""Remove a keyframe from this properties fcurve.
|
|
139
|
+
|
|
140
|
+
:return: Success of keyframe deletion.
|
|
141
|
+
:rtype: bool
|
|
142
|
+
"""
|
|
93
143
|
...
|
|
94
144
|
|
|
95
|
-
def keyframe_insert(self):
|
|
96
|
-
"""
|
|
145
|
+
def keyframe_insert(self) -> bool:
|
|
146
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
147
|
+
|
|
148
|
+
:return: Success of keyframe insertion.
|
|
149
|
+
:rtype: bool
|
|
150
|
+
"""
|
|
97
151
|
...
|
|
98
152
|
|
|
99
153
|
def keys(self):
|
|
100
|
-
"""
|
|
154
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
155
|
+
dictionary function of the same name).
|
|
156
|
+
|
|
157
|
+
:return: custom property keys.
|
|
158
|
+
"""
|
|
101
159
|
...
|
|
102
160
|
|
|
103
|
-
def path_from_id(self):
|
|
104
|
-
"""
|
|
161
|
+
def path_from_id(self) -> str:
|
|
162
|
+
"""Returns the data path from the ID to this object (string).
|
|
163
|
+
|
|
164
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
165
|
+
to this struct and property (when given).
|
|
166
|
+
:rtype: str
|
|
167
|
+
"""
|
|
105
168
|
...
|
|
106
169
|
|
|
107
170
|
def path_resolve(self):
|
|
108
|
-
""" """
|
|
171
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
109
172
|
...
|
|
110
173
|
|
|
111
174
|
def poll(self, context):
|
|
@@ -116,69 +179,97 @@ class ConsoleAutocomplete(bpy_types.Operator):
|
|
|
116
179
|
...
|
|
117
180
|
|
|
118
181
|
def poll_message_set(self):
|
|
119
|
-
""" """
|
|
182
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
120
183
|
...
|
|
121
184
|
|
|
122
185
|
def pop(self):
|
|
123
|
-
"""
|
|
186
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
187
|
+
when not found (matches Python's dictionary function of the same name).
|
|
188
|
+
|
|
189
|
+
"""
|
|
124
190
|
...
|
|
125
191
|
|
|
126
|
-
def property_overridable_library_set(self):
|
|
127
|
-
"""
|
|
192
|
+
def property_overridable_library_set(self) -> bool:
|
|
193
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
194
|
+
|
|
195
|
+
:return: True when the overridable status of the property was successfully set.
|
|
196
|
+
:rtype: bool
|
|
197
|
+
"""
|
|
128
198
|
...
|
|
129
199
|
|
|
130
200
|
def property_unset(self):
|
|
131
|
-
""" """
|
|
201
|
+
"""Unset a property, will use default value afterward."""
|
|
132
202
|
...
|
|
133
203
|
|
|
134
204
|
def type_recast(self):
|
|
135
|
-
"""
|
|
205
|
+
"""Return a new instance, this is needed because types
|
|
206
|
+
such as textures can be changed at runtime.
|
|
207
|
+
|
|
208
|
+
:return: a new instance of this object with the type initialized again.
|
|
209
|
+
"""
|
|
136
210
|
...
|
|
137
211
|
|
|
138
212
|
def values(self):
|
|
139
|
-
"""
|
|
213
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
214
|
+
dictionary function of the same name).
|
|
215
|
+
|
|
216
|
+
:return: custom property values.
|
|
217
|
+
"""
|
|
140
218
|
...
|
|
141
219
|
|
|
142
220
|
class ConsoleBanner(bpy_types.Operator):
|
|
143
|
-
""" """
|
|
221
|
+
"""Print a message when the terminal initializes"""
|
|
144
222
|
|
|
145
223
|
bl_idname: typing.Any
|
|
146
|
-
""" """
|
|
147
|
-
|
|
148
224
|
bl_label: typing.Any
|
|
149
|
-
""" """
|
|
150
|
-
|
|
151
225
|
bl_rna: typing.Any
|
|
152
|
-
""" """
|
|
153
|
-
|
|
154
226
|
id_data: typing.Any
|
|
155
|
-
""" """
|
|
156
227
|
|
|
157
|
-
def as_keywords(self, ignore):
|
|
158
|
-
"""
|
|
228
|
+
def as_keywords(self, ignore=()):
|
|
229
|
+
"""Return a copy of the properties as a dictionary
|
|
159
230
|
|
|
160
231
|
:param ignore:
|
|
161
232
|
"""
|
|
162
233
|
...
|
|
163
234
|
|
|
164
|
-
def as_pointer(self):
|
|
165
|
-
"""
|
|
235
|
+
def as_pointer(self) -> int:
|
|
236
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
237
|
+
|
|
238
|
+
:return: int (memory address).
|
|
239
|
+
:rtype: int
|
|
240
|
+
"""
|
|
166
241
|
...
|
|
167
242
|
|
|
168
|
-
def bl_rna_get_subclass(self):
|
|
169
|
-
"""
|
|
243
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
244
|
+
"""
|
|
245
|
+
|
|
246
|
+
:return: The RNA type or default when not found.
|
|
247
|
+
:rtype: bpy.types.Struct
|
|
248
|
+
"""
|
|
170
249
|
...
|
|
171
250
|
|
|
172
|
-
def bl_rna_get_subclass_py(self):
|
|
173
|
-
"""
|
|
251
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
252
|
+
"""
|
|
253
|
+
|
|
254
|
+
:return: The class or default when not found.
|
|
255
|
+
:rtype: typing.Any
|
|
256
|
+
"""
|
|
174
257
|
...
|
|
175
258
|
|
|
176
|
-
def driver_add(self):
|
|
177
|
-
"""
|
|
259
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
260
|
+
"""Adds driver(s) to the given property
|
|
261
|
+
|
|
262
|
+
:return: The driver(s) added.
|
|
263
|
+
:rtype: bpy.types.FCurve
|
|
264
|
+
"""
|
|
178
265
|
...
|
|
179
266
|
|
|
180
|
-
def driver_remove(self):
|
|
181
|
-
"""
|
|
267
|
+
def driver_remove(self) -> bool:
|
|
268
|
+
"""Remove driver(s) from the given property
|
|
269
|
+
|
|
270
|
+
:return: Success of driver removal.
|
|
271
|
+
:rtype: bool
|
|
272
|
+
"""
|
|
182
273
|
...
|
|
183
274
|
|
|
184
275
|
def execute(self, context):
|
|
@@ -189,59 +280,108 @@ class ConsoleBanner(bpy_types.Operator):
|
|
|
189
280
|
...
|
|
190
281
|
|
|
191
282
|
def get(self):
|
|
192
|
-
"""
|
|
283
|
+
"""Returns the value of the custom property assigned to key or default
|
|
284
|
+
when not found (matches Python's dictionary function of the same name).
|
|
285
|
+
|
|
286
|
+
"""
|
|
193
287
|
...
|
|
194
288
|
|
|
195
289
|
def id_properties_clear(self):
|
|
196
|
-
"""
|
|
290
|
+
"""
|
|
291
|
+
|
|
292
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
293
|
+
"""
|
|
197
294
|
...
|
|
198
295
|
|
|
199
296
|
def id_properties_ensure(self):
|
|
200
|
-
"""
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
300
|
+
"""
|
|
201
301
|
...
|
|
202
302
|
|
|
203
303
|
def id_properties_ui(self):
|
|
204
|
-
"""
|
|
304
|
+
"""
|
|
305
|
+
|
|
306
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
307
|
+
"""
|
|
205
308
|
...
|
|
206
309
|
|
|
207
|
-
def is_property_hidden(self):
|
|
208
|
-
"""
|
|
310
|
+
def is_property_hidden(self) -> bool:
|
|
311
|
+
"""Check if a property is hidden.
|
|
312
|
+
|
|
313
|
+
:return: True when the property is hidden.
|
|
314
|
+
:rtype: bool
|
|
315
|
+
"""
|
|
209
316
|
...
|
|
210
317
|
|
|
211
|
-
def is_property_overridable_library(self):
|
|
212
|
-
"""
|
|
318
|
+
def is_property_overridable_library(self) -> bool:
|
|
319
|
+
"""Check if a property is overridable.
|
|
320
|
+
|
|
321
|
+
:return: True when the property is overridable.
|
|
322
|
+
:rtype: bool
|
|
323
|
+
"""
|
|
213
324
|
...
|
|
214
325
|
|
|
215
|
-
def is_property_readonly(self):
|
|
216
|
-
"""
|
|
326
|
+
def is_property_readonly(self) -> bool:
|
|
327
|
+
"""Check if a property is readonly.
|
|
328
|
+
|
|
329
|
+
:return: True when the property is readonly (not writable).
|
|
330
|
+
:rtype: bool
|
|
331
|
+
"""
|
|
217
332
|
...
|
|
218
333
|
|
|
219
|
-
def is_property_set(self):
|
|
220
|
-
"""
|
|
334
|
+
def is_property_set(self) -> bool:
|
|
335
|
+
"""Check if a property is set, use for testing operator properties.
|
|
336
|
+
|
|
337
|
+
:return: True when the property has been set.
|
|
338
|
+
:rtype: bool
|
|
339
|
+
"""
|
|
221
340
|
...
|
|
222
341
|
|
|
223
342
|
def items(self):
|
|
224
|
-
"""
|
|
343
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
344
|
+
dictionary function of the same name).
|
|
345
|
+
|
|
346
|
+
:return: custom property key, value pairs.
|
|
347
|
+
"""
|
|
225
348
|
...
|
|
226
349
|
|
|
227
|
-
def keyframe_delete(self):
|
|
228
|
-
"""
|
|
350
|
+
def keyframe_delete(self) -> bool:
|
|
351
|
+
"""Remove a keyframe from this properties fcurve.
|
|
352
|
+
|
|
353
|
+
:return: Success of keyframe deletion.
|
|
354
|
+
:rtype: bool
|
|
355
|
+
"""
|
|
229
356
|
...
|
|
230
357
|
|
|
231
|
-
def keyframe_insert(self):
|
|
232
|
-
"""
|
|
358
|
+
def keyframe_insert(self) -> bool:
|
|
359
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
360
|
+
|
|
361
|
+
:return: Success of keyframe insertion.
|
|
362
|
+
:rtype: bool
|
|
363
|
+
"""
|
|
233
364
|
...
|
|
234
365
|
|
|
235
366
|
def keys(self):
|
|
236
|
-
"""
|
|
367
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
368
|
+
dictionary function of the same name).
|
|
369
|
+
|
|
370
|
+
:return: custom property keys.
|
|
371
|
+
"""
|
|
237
372
|
...
|
|
238
373
|
|
|
239
|
-
def path_from_id(self):
|
|
240
|
-
"""
|
|
374
|
+
def path_from_id(self) -> str:
|
|
375
|
+
"""Returns the data path from the ID to this object (string).
|
|
376
|
+
|
|
377
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
378
|
+
to this struct and property (when given).
|
|
379
|
+
:rtype: str
|
|
380
|
+
"""
|
|
241
381
|
...
|
|
242
382
|
|
|
243
383
|
def path_resolve(self):
|
|
244
|
-
""" """
|
|
384
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
245
385
|
...
|
|
246
386
|
|
|
247
387
|
def poll(self, context):
|
|
@@ -252,69 +392,97 @@ class ConsoleBanner(bpy_types.Operator):
|
|
|
252
392
|
...
|
|
253
393
|
|
|
254
394
|
def poll_message_set(self):
|
|
255
|
-
""" """
|
|
395
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
256
396
|
...
|
|
257
397
|
|
|
258
398
|
def pop(self):
|
|
259
|
-
"""
|
|
399
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
400
|
+
when not found (matches Python's dictionary function of the same name).
|
|
401
|
+
|
|
402
|
+
"""
|
|
260
403
|
...
|
|
261
404
|
|
|
262
|
-
def property_overridable_library_set(self):
|
|
263
|
-
"""
|
|
405
|
+
def property_overridable_library_set(self) -> bool:
|
|
406
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
407
|
+
|
|
408
|
+
:return: True when the overridable status of the property was successfully set.
|
|
409
|
+
:rtype: bool
|
|
410
|
+
"""
|
|
264
411
|
...
|
|
265
412
|
|
|
266
413
|
def property_unset(self):
|
|
267
|
-
""" """
|
|
414
|
+
"""Unset a property, will use default value afterward."""
|
|
268
415
|
...
|
|
269
416
|
|
|
270
417
|
def type_recast(self):
|
|
271
|
-
"""
|
|
418
|
+
"""Return a new instance, this is needed because types
|
|
419
|
+
such as textures can be changed at runtime.
|
|
420
|
+
|
|
421
|
+
:return: a new instance of this object with the type initialized again.
|
|
422
|
+
"""
|
|
272
423
|
...
|
|
273
424
|
|
|
274
425
|
def values(self):
|
|
275
|
-
"""
|
|
426
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
427
|
+
dictionary function of the same name).
|
|
428
|
+
|
|
429
|
+
:return: custom property values.
|
|
430
|
+
"""
|
|
276
431
|
...
|
|
277
432
|
|
|
278
433
|
class ConsoleCopyAsScript(bpy_types.Operator):
|
|
279
|
-
""" """
|
|
434
|
+
"""Copy the console contents for use in a script"""
|
|
280
435
|
|
|
281
436
|
bl_idname: typing.Any
|
|
282
|
-
""" """
|
|
283
|
-
|
|
284
437
|
bl_label: typing.Any
|
|
285
|
-
""" """
|
|
286
|
-
|
|
287
438
|
bl_rna: typing.Any
|
|
288
|
-
""" """
|
|
289
|
-
|
|
290
439
|
id_data: typing.Any
|
|
291
|
-
""" """
|
|
292
440
|
|
|
293
|
-
def as_keywords(self, ignore):
|
|
294
|
-
"""
|
|
441
|
+
def as_keywords(self, ignore=()):
|
|
442
|
+
"""Return a copy of the properties as a dictionary
|
|
295
443
|
|
|
296
444
|
:param ignore:
|
|
297
445
|
"""
|
|
298
446
|
...
|
|
299
447
|
|
|
300
|
-
def as_pointer(self):
|
|
301
|
-
"""
|
|
448
|
+
def as_pointer(self) -> int:
|
|
449
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
450
|
+
|
|
451
|
+
:return: int (memory address).
|
|
452
|
+
:rtype: int
|
|
453
|
+
"""
|
|
302
454
|
...
|
|
303
455
|
|
|
304
|
-
def bl_rna_get_subclass(self):
|
|
305
|
-
"""
|
|
456
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
457
|
+
"""
|
|
458
|
+
|
|
459
|
+
:return: The RNA type or default when not found.
|
|
460
|
+
:rtype: bpy.types.Struct
|
|
461
|
+
"""
|
|
306
462
|
...
|
|
307
463
|
|
|
308
|
-
def bl_rna_get_subclass_py(self):
|
|
309
|
-
"""
|
|
464
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
465
|
+
"""
|
|
466
|
+
|
|
467
|
+
:return: The class or default when not found.
|
|
468
|
+
:rtype: typing.Any
|
|
469
|
+
"""
|
|
310
470
|
...
|
|
311
471
|
|
|
312
|
-
def driver_add(self):
|
|
313
|
-
"""
|
|
472
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
473
|
+
"""Adds driver(s) to the given property
|
|
474
|
+
|
|
475
|
+
:return: The driver(s) added.
|
|
476
|
+
:rtype: bpy.types.FCurve
|
|
477
|
+
"""
|
|
314
478
|
...
|
|
315
479
|
|
|
316
|
-
def driver_remove(self):
|
|
317
|
-
"""
|
|
480
|
+
def driver_remove(self) -> bool:
|
|
481
|
+
"""Remove driver(s) from the given property
|
|
482
|
+
|
|
483
|
+
:return: Success of driver removal.
|
|
484
|
+
:rtype: bool
|
|
485
|
+
"""
|
|
318
486
|
...
|
|
319
487
|
|
|
320
488
|
def execute(self, context):
|
|
@@ -325,59 +493,108 @@ class ConsoleCopyAsScript(bpy_types.Operator):
|
|
|
325
493
|
...
|
|
326
494
|
|
|
327
495
|
def get(self):
|
|
328
|
-
"""
|
|
496
|
+
"""Returns the value of the custom property assigned to key or default
|
|
497
|
+
when not found (matches Python's dictionary function of the same name).
|
|
498
|
+
|
|
499
|
+
"""
|
|
329
500
|
...
|
|
330
501
|
|
|
331
502
|
def id_properties_clear(self):
|
|
332
|
-
"""
|
|
503
|
+
"""
|
|
504
|
+
|
|
505
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
506
|
+
"""
|
|
333
507
|
...
|
|
334
508
|
|
|
335
509
|
def id_properties_ensure(self):
|
|
336
|
-
"""
|
|
510
|
+
"""
|
|
511
|
+
|
|
512
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
513
|
+
"""
|
|
337
514
|
...
|
|
338
515
|
|
|
339
516
|
def id_properties_ui(self):
|
|
340
|
-
"""
|
|
517
|
+
"""
|
|
518
|
+
|
|
519
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
520
|
+
"""
|
|
341
521
|
...
|
|
342
522
|
|
|
343
|
-
def is_property_hidden(self):
|
|
344
|
-
"""
|
|
523
|
+
def is_property_hidden(self) -> bool:
|
|
524
|
+
"""Check if a property is hidden.
|
|
525
|
+
|
|
526
|
+
:return: True when the property is hidden.
|
|
527
|
+
:rtype: bool
|
|
528
|
+
"""
|
|
345
529
|
...
|
|
346
530
|
|
|
347
|
-
def is_property_overridable_library(self):
|
|
348
|
-
"""
|
|
531
|
+
def is_property_overridable_library(self) -> bool:
|
|
532
|
+
"""Check if a property is overridable.
|
|
533
|
+
|
|
534
|
+
:return: True when the property is overridable.
|
|
535
|
+
:rtype: bool
|
|
536
|
+
"""
|
|
349
537
|
...
|
|
350
538
|
|
|
351
|
-
def is_property_readonly(self):
|
|
352
|
-
"""
|
|
539
|
+
def is_property_readonly(self) -> bool:
|
|
540
|
+
"""Check if a property is readonly.
|
|
541
|
+
|
|
542
|
+
:return: True when the property is readonly (not writable).
|
|
543
|
+
:rtype: bool
|
|
544
|
+
"""
|
|
353
545
|
...
|
|
354
546
|
|
|
355
|
-
def is_property_set(self):
|
|
356
|
-
"""
|
|
547
|
+
def is_property_set(self) -> bool:
|
|
548
|
+
"""Check if a property is set, use for testing operator properties.
|
|
549
|
+
|
|
550
|
+
:return: True when the property has been set.
|
|
551
|
+
:rtype: bool
|
|
552
|
+
"""
|
|
357
553
|
...
|
|
358
554
|
|
|
359
555
|
def items(self):
|
|
360
|
-
"""
|
|
556
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
557
|
+
dictionary function of the same name).
|
|
558
|
+
|
|
559
|
+
:return: custom property key, value pairs.
|
|
560
|
+
"""
|
|
361
561
|
...
|
|
362
562
|
|
|
363
|
-
def keyframe_delete(self):
|
|
364
|
-
"""
|
|
563
|
+
def keyframe_delete(self) -> bool:
|
|
564
|
+
"""Remove a keyframe from this properties fcurve.
|
|
565
|
+
|
|
566
|
+
:return: Success of keyframe deletion.
|
|
567
|
+
:rtype: bool
|
|
568
|
+
"""
|
|
365
569
|
...
|
|
366
570
|
|
|
367
|
-
def keyframe_insert(self):
|
|
368
|
-
"""
|
|
571
|
+
def keyframe_insert(self) -> bool:
|
|
572
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
573
|
+
|
|
574
|
+
:return: Success of keyframe insertion.
|
|
575
|
+
:rtype: bool
|
|
576
|
+
"""
|
|
369
577
|
...
|
|
370
578
|
|
|
371
579
|
def keys(self):
|
|
372
|
-
"""
|
|
580
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
581
|
+
dictionary function of the same name).
|
|
582
|
+
|
|
583
|
+
:return: custom property keys.
|
|
584
|
+
"""
|
|
373
585
|
...
|
|
374
586
|
|
|
375
|
-
def path_from_id(self):
|
|
376
|
-
"""
|
|
587
|
+
def path_from_id(self) -> str:
|
|
588
|
+
"""Returns the data path from the ID to this object (string).
|
|
589
|
+
|
|
590
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
591
|
+
to this struct and property (when given).
|
|
592
|
+
:rtype: str
|
|
593
|
+
"""
|
|
377
594
|
...
|
|
378
595
|
|
|
379
596
|
def path_resolve(self):
|
|
380
|
-
""" """
|
|
597
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
381
598
|
...
|
|
382
599
|
|
|
383
600
|
def poll(self, context):
|
|
@@ -388,72 +605,98 @@ class ConsoleCopyAsScript(bpy_types.Operator):
|
|
|
388
605
|
...
|
|
389
606
|
|
|
390
607
|
def poll_message_set(self):
|
|
391
|
-
""" """
|
|
608
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
392
609
|
...
|
|
393
610
|
|
|
394
611
|
def pop(self):
|
|
395
|
-
"""
|
|
612
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
613
|
+
when not found (matches Python's dictionary function of the same name).
|
|
614
|
+
|
|
615
|
+
"""
|
|
396
616
|
...
|
|
397
617
|
|
|
398
|
-
def property_overridable_library_set(self):
|
|
399
|
-
"""
|
|
618
|
+
def property_overridable_library_set(self) -> bool:
|
|
619
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
620
|
+
|
|
621
|
+
:return: True when the overridable status of the property was successfully set.
|
|
622
|
+
:rtype: bool
|
|
623
|
+
"""
|
|
400
624
|
...
|
|
401
625
|
|
|
402
626
|
def property_unset(self):
|
|
403
|
-
""" """
|
|
627
|
+
"""Unset a property, will use default value afterward."""
|
|
404
628
|
...
|
|
405
629
|
|
|
406
630
|
def type_recast(self):
|
|
407
|
-
"""
|
|
631
|
+
"""Return a new instance, this is needed because types
|
|
632
|
+
such as textures can be changed at runtime.
|
|
633
|
+
|
|
634
|
+
:return: a new instance of this object with the type initialized again.
|
|
635
|
+
"""
|
|
408
636
|
...
|
|
409
637
|
|
|
410
638
|
def values(self):
|
|
411
|
-
"""
|
|
639
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
640
|
+
dictionary function of the same name).
|
|
641
|
+
|
|
642
|
+
:return: custom property values.
|
|
643
|
+
"""
|
|
412
644
|
...
|
|
413
645
|
|
|
414
646
|
class ConsoleExec(bpy_types.Operator):
|
|
415
|
-
""" """
|
|
647
|
+
"""Execute the current console line as a Python expression"""
|
|
416
648
|
|
|
417
649
|
bl_idname: typing.Any
|
|
418
|
-
""" """
|
|
419
|
-
|
|
420
650
|
bl_label: typing.Any
|
|
421
|
-
""" """
|
|
422
|
-
|
|
423
651
|
bl_options: typing.Any
|
|
424
|
-
""" """
|
|
425
|
-
|
|
426
652
|
bl_rna: typing.Any
|
|
427
|
-
""" """
|
|
428
|
-
|
|
429
653
|
id_data: typing.Any
|
|
430
|
-
""" """
|
|
431
654
|
|
|
432
|
-
def as_keywords(self, ignore):
|
|
433
|
-
"""
|
|
655
|
+
def as_keywords(self, ignore=()):
|
|
656
|
+
"""Return a copy of the properties as a dictionary
|
|
434
657
|
|
|
435
658
|
:param ignore:
|
|
436
659
|
"""
|
|
437
660
|
...
|
|
438
661
|
|
|
439
|
-
def as_pointer(self):
|
|
440
|
-
"""
|
|
662
|
+
def as_pointer(self) -> int:
|
|
663
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
664
|
+
|
|
665
|
+
:return: int (memory address).
|
|
666
|
+
:rtype: int
|
|
667
|
+
"""
|
|
441
668
|
...
|
|
442
669
|
|
|
443
|
-
def bl_rna_get_subclass(self):
|
|
444
|
-
"""
|
|
670
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
671
|
+
"""
|
|
672
|
+
|
|
673
|
+
:return: The RNA type or default when not found.
|
|
674
|
+
:rtype: bpy.types.Struct
|
|
675
|
+
"""
|
|
445
676
|
...
|
|
446
677
|
|
|
447
|
-
def bl_rna_get_subclass_py(self):
|
|
448
|
-
"""
|
|
678
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
679
|
+
"""
|
|
680
|
+
|
|
681
|
+
:return: The class or default when not found.
|
|
682
|
+
:rtype: typing.Any
|
|
683
|
+
"""
|
|
449
684
|
...
|
|
450
685
|
|
|
451
|
-
def driver_add(self):
|
|
452
|
-
"""
|
|
686
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
687
|
+
"""Adds driver(s) to the given property
|
|
688
|
+
|
|
689
|
+
:return: The driver(s) added.
|
|
690
|
+
:rtype: bpy.types.FCurve
|
|
691
|
+
"""
|
|
453
692
|
...
|
|
454
693
|
|
|
455
|
-
def driver_remove(self):
|
|
456
|
-
"""
|
|
694
|
+
def driver_remove(self) -> bool:
|
|
695
|
+
"""Remove driver(s) from the given property
|
|
696
|
+
|
|
697
|
+
:return: Success of driver removal.
|
|
698
|
+
:rtype: bool
|
|
699
|
+
"""
|
|
457
700
|
...
|
|
458
701
|
|
|
459
702
|
def execute(self, context):
|
|
@@ -464,59 +707,108 @@ class ConsoleExec(bpy_types.Operator):
|
|
|
464
707
|
...
|
|
465
708
|
|
|
466
709
|
def get(self):
|
|
467
|
-
"""
|
|
710
|
+
"""Returns the value of the custom property assigned to key or default
|
|
711
|
+
when not found (matches Python's dictionary function of the same name).
|
|
712
|
+
|
|
713
|
+
"""
|
|
468
714
|
...
|
|
469
715
|
|
|
470
716
|
def id_properties_clear(self):
|
|
471
|
-
"""
|
|
717
|
+
"""
|
|
718
|
+
|
|
719
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
720
|
+
"""
|
|
472
721
|
...
|
|
473
722
|
|
|
474
723
|
def id_properties_ensure(self):
|
|
475
|
-
"""
|
|
724
|
+
"""
|
|
725
|
+
|
|
726
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
727
|
+
"""
|
|
476
728
|
...
|
|
477
729
|
|
|
478
730
|
def id_properties_ui(self):
|
|
479
|
-
"""
|
|
731
|
+
"""
|
|
732
|
+
|
|
733
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
734
|
+
"""
|
|
480
735
|
...
|
|
481
736
|
|
|
482
|
-
def is_property_hidden(self):
|
|
483
|
-
"""
|
|
737
|
+
def is_property_hidden(self) -> bool:
|
|
738
|
+
"""Check if a property is hidden.
|
|
739
|
+
|
|
740
|
+
:return: True when the property is hidden.
|
|
741
|
+
:rtype: bool
|
|
742
|
+
"""
|
|
484
743
|
...
|
|
485
744
|
|
|
486
|
-
def is_property_overridable_library(self):
|
|
487
|
-
"""
|
|
745
|
+
def is_property_overridable_library(self) -> bool:
|
|
746
|
+
"""Check if a property is overridable.
|
|
747
|
+
|
|
748
|
+
:return: True when the property is overridable.
|
|
749
|
+
:rtype: bool
|
|
750
|
+
"""
|
|
488
751
|
...
|
|
489
752
|
|
|
490
|
-
def is_property_readonly(self):
|
|
491
|
-
"""
|
|
753
|
+
def is_property_readonly(self) -> bool:
|
|
754
|
+
"""Check if a property is readonly.
|
|
755
|
+
|
|
756
|
+
:return: True when the property is readonly (not writable).
|
|
757
|
+
:rtype: bool
|
|
758
|
+
"""
|
|
492
759
|
...
|
|
493
760
|
|
|
494
|
-
def is_property_set(self):
|
|
495
|
-
"""
|
|
761
|
+
def is_property_set(self) -> bool:
|
|
762
|
+
"""Check if a property is set, use for testing operator properties.
|
|
763
|
+
|
|
764
|
+
:return: True when the property has been set.
|
|
765
|
+
:rtype: bool
|
|
766
|
+
"""
|
|
496
767
|
...
|
|
497
768
|
|
|
498
769
|
def items(self):
|
|
499
|
-
"""
|
|
770
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
771
|
+
dictionary function of the same name).
|
|
772
|
+
|
|
773
|
+
:return: custom property key, value pairs.
|
|
774
|
+
"""
|
|
500
775
|
...
|
|
501
776
|
|
|
502
|
-
def keyframe_delete(self):
|
|
503
|
-
"""
|
|
777
|
+
def keyframe_delete(self) -> bool:
|
|
778
|
+
"""Remove a keyframe from this properties fcurve.
|
|
779
|
+
|
|
780
|
+
:return: Success of keyframe deletion.
|
|
781
|
+
:rtype: bool
|
|
782
|
+
"""
|
|
504
783
|
...
|
|
505
784
|
|
|
506
|
-
def keyframe_insert(self):
|
|
507
|
-
"""
|
|
785
|
+
def keyframe_insert(self) -> bool:
|
|
786
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
787
|
+
|
|
788
|
+
:return: Success of keyframe insertion.
|
|
789
|
+
:rtype: bool
|
|
790
|
+
"""
|
|
508
791
|
...
|
|
509
792
|
|
|
510
793
|
def keys(self):
|
|
511
|
-
"""
|
|
794
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
795
|
+
dictionary function of the same name).
|
|
796
|
+
|
|
797
|
+
:return: custom property keys.
|
|
798
|
+
"""
|
|
512
799
|
...
|
|
513
800
|
|
|
514
|
-
def path_from_id(self):
|
|
515
|
-
"""
|
|
801
|
+
def path_from_id(self) -> str:
|
|
802
|
+
"""Returns the data path from the ID to this object (string).
|
|
803
|
+
|
|
804
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
805
|
+
to this struct and property (when given).
|
|
806
|
+
:rtype: str
|
|
807
|
+
"""
|
|
516
808
|
...
|
|
517
809
|
|
|
518
810
|
def path_resolve(self):
|
|
519
|
-
""" """
|
|
811
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
520
812
|
...
|
|
521
813
|
|
|
522
814
|
def poll(self, context):
|
|
@@ -527,69 +819,97 @@ class ConsoleExec(bpy_types.Operator):
|
|
|
527
819
|
...
|
|
528
820
|
|
|
529
821
|
def poll_message_set(self):
|
|
530
|
-
""" """
|
|
822
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
531
823
|
...
|
|
532
824
|
|
|
533
825
|
def pop(self):
|
|
534
|
-
"""
|
|
826
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
827
|
+
when not found (matches Python's dictionary function of the same name).
|
|
828
|
+
|
|
829
|
+
"""
|
|
535
830
|
...
|
|
536
831
|
|
|
537
|
-
def property_overridable_library_set(self):
|
|
538
|
-
"""
|
|
832
|
+
def property_overridable_library_set(self) -> bool:
|
|
833
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
834
|
+
|
|
835
|
+
:return: True when the overridable status of the property was successfully set.
|
|
836
|
+
:rtype: bool
|
|
837
|
+
"""
|
|
539
838
|
...
|
|
540
839
|
|
|
541
840
|
def property_unset(self):
|
|
542
|
-
""" """
|
|
841
|
+
"""Unset a property, will use default value afterward."""
|
|
543
842
|
...
|
|
544
843
|
|
|
545
844
|
def type_recast(self):
|
|
546
|
-
"""
|
|
845
|
+
"""Return a new instance, this is needed because types
|
|
846
|
+
such as textures can be changed at runtime.
|
|
847
|
+
|
|
848
|
+
:return: a new instance of this object with the type initialized again.
|
|
849
|
+
"""
|
|
547
850
|
...
|
|
548
851
|
|
|
549
852
|
def values(self):
|
|
550
|
-
"""
|
|
853
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
854
|
+
dictionary function of the same name).
|
|
855
|
+
|
|
856
|
+
:return: custom property values.
|
|
857
|
+
"""
|
|
551
858
|
...
|
|
552
859
|
|
|
553
860
|
class ConsoleLanguage(bpy_types.Operator):
|
|
554
|
-
""" """
|
|
861
|
+
"""Set the current language for this console"""
|
|
555
862
|
|
|
556
863
|
bl_idname: typing.Any
|
|
557
|
-
""" """
|
|
558
|
-
|
|
559
864
|
bl_label: typing.Any
|
|
560
|
-
""" """
|
|
561
|
-
|
|
562
865
|
bl_rna: typing.Any
|
|
563
|
-
""" """
|
|
564
|
-
|
|
565
866
|
id_data: typing.Any
|
|
566
|
-
""" """
|
|
567
867
|
|
|
568
|
-
def as_keywords(self, ignore):
|
|
569
|
-
"""
|
|
868
|
+
def as_keywords(self, ignore=()):
|
|
869
|
+
"""Return a copy of the properties as a dictionary
|
|
570
870
|
|
|
571
871
|
:param ignore:
|
|
572
872
|
"""
|
|
573
873
|
...
|
|
574
874
|
|
|
575
|
-
def as_pointer(self):
|
|
576
|
-
"""
|
|
875
|
+
def as_pointer(self) -> int:
|
|
876
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
877
|
+
|
|
878
|
+
:return: int (memory address).
|
|
879
|
+
:rtype: int
|
|
880
|
+
"""
|
|
577
881
|
...
|
|
578
882
|
|
|
579
|
-
def bl_rna_get_subclass(self):
|
|
580
|
-
"""
|
|
883
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
884
|
+
"""
|
|
885
|
+
|
|
886
|
+
:return: The RNA type or default when not found.
|
|
887
|
+
:rtype: bpy.types.Struct
|
|
888
|
+
"""
|
|
581
889
|
...
|
|
582
890
|
|
|
583
|
-
def bl_rna_get_subclass_py(self):
|
|
584
|
-
"""
|
|
891
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
892
|
+
"""
|
|
893
|
+
|
|
894
|
+
:return: The class or default when not found.
|
|
895
|
+
:rtype: typing.Any
|
|
896
|
+
"""
|
|
585
897
|
...
|
|
586
898
|
|
|
587
|
-
def driver_add(self):
|
|
588
|
-
"""
|
|
899
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
900
|
+
"""Adds driver(s) to the given property
|
|
901
|
+
|
|
902
|
+
:return: The driver(s) added.
|
|
903
|
+
:rtype: bpy.types.FCurve
|
|
904
|
+
"""
|
|
589
905
|
...
|
|
590
906
|
|
|
591
|
-
def driver_remove(self):
|
|
592
|
-
"""
|
|
907
|
+
def driver_remove(self) -> bool:
|
|
908
|
+
"""Remove driver(s) from the given property
|
|
909
|
+
|
|
910
|
+
:return: Success of driver removal.
|
|
911
|
+
:rtype: bool
|
|
912
|
+
"""
|
|
593
913
|
...
|
|
594
914
|
|
|
595
915
|
def execute(self, context):
|
|
@@ -600,59 +920,108 @@ class ConsoleLanguage(bpy_types.Operator):
|
|
|
600
920
|
...
|
|
601
921
|
|
|
602
922
|
def get(self):
|
|
603
|
-
"""
|
|
923
|
+
"""Returns the value of the custom property assigned to key or default
|
|
924
|
+
when not found (matches Python's dictionary function of the same name).
|
|
925
|
+
|
|
926
|
+
"""
|
|
604
927
|
...
|
|
605
928
|
|
|
606
929
|
def id_properties_clear(self):
|
|
607
|
-
"""
|
|
930
|
+
"""
|
|
931
|
+
|
|
932
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
933
|
+
"""
|
|
608
934
|
...
|
|
609
935
|
|
|
610
936
|
def id_properties_ensure(self):
|
|
611
|
-
"""
|
|
937
|
+
"""
|
|
938
|
+
|
|
939
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
940
|
+
"""
|
|
612
941
|
...
|
|
613
942
|
|
|
614
943
|
def id_properties_ui(self):
|
|
615
|
-
"""
|
|
944
|
+
"""
|
|
945
|
+
|
|
946
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
947
|
+
"""
|
|
616
948
|
...
|
|
617
949
|
|
|
618
|
-
def is_property_hidden(self):
|
|
619
|
-
"""
|
|
950
|
+
def is_property_hidden(self) -> bool:
|
|
951
|
+
"""Check if a property is hidden.
|
|
952
|
+
|
|
953
|
+
:return: True when the property is hidden.
|
|
954
|
+
:rtype: bool
|
|
955
|
+
"""
|
|
620
956
|
...
|
|
621
957
|
|
|
622
|
-
def is_property_overridable_library(self):
|
|
623
|
-
"""
|
|
958
|
+
def is_property_overridable_library(self) -> bool:
|
|
959
|
+
"""Check if a property is overridable.
|
|
960
|
+
|
|
961
|
+
:return: True when the property is overridable.
|
|
962
|
+
:rtype: bool
|
|
963
|
+
"""
|
|
624
964
|
...
|
|
625
965
|
|
|
626
|
-
def is_property_readonly(self):
|
|
627
|
-
"""
|
|
966
|
+
def is_property_readonly(self) -> bool:
|
|
967
|
+
"""Check if a property is readonly.
|
|
968
|
+
|
|
969
|
+
:return: True when the property is readonly (not writable).
|
|
970
|
+
:rtype: bool
|
|
971
|
+
"""
|
|
628
972
|
...
|
|
629
973
|
|
|
630
|
-
def is_property_set(self):
|
|
631
|
-
"""
|
|
974
|
+
def is_property_set(self) -> bool:
|
|
975
|
+
"""Check if a property is set, use for testing operator properties.
|
|
976
|
+
|
|
977
|
+
:return: True when the property has been set.
|
|
978
|
+
:rtype: bool
|
|
979
|
+
"""
|
|
632
980
|
...
|
|
633
981
|
|
|
634
982
|
def items(self):
|
|
635
|
-
"""
|
|
983
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
984
|
+
dictionary function of the same name).
|
|
985
|
+
|
|
986
|
+
:return: custom property key, value pairs.
|
|
987
|
+
"""
|
|
636
988
|
...
|
|
637
989
|
|
|
638
|
-
def keyframe_delete(self):
|
|
639
|
-
"""
|
|
990
|
+
def keyframe_delete(self) -> bool:
|
|
991
|
+
"""Remove a keyframe from this properties fcurve.
|
|
992
|
+
|
|
993
|
+
:return: Success of keyframe deletion.
|
|
994
|
+
:rtype: bool
|
|
995
|
+
"""
|
|
640
996
|
...
|
|
641
997
|
|
|
642
|
-
def keyframe_insert(self):
|
|
643
|
-
"""
|
|
998
|
+
def keyframe_insert(self) -> bool:
|
|
999
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1000
|
+
|
|
1001
|
+
:return: Success of keyframe insertion.
|
|
1002
|
+
:rtype: bool
|
|
1003
|
+
"""
|
|
644
1004
|
...
|
|
645
1005
|
|
|
646
1006
|
def keys(self):
|
|
647
|
-
"""
|
|
1007
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1008
|
+
dictionary function of the same name).
|
|
1009
|
+
|
|
1010
|
+
:return: custom property keys.
|
|
1011
|
+
"""
|
|
648
1012
|
...
|
|
649
1013
|
|
|
650
|
-
def path_from_id(self):
|
|
651
|
-
"""
|
|
1014
|
+
def path_from_id(self) -> str:
|
|
1015
|
+
"""Returns the data path from the ID to this object (string).
|
|
1016
|
+
|
|
1017
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1018
|
+
to this struct and property (when given).
|
|
1019
|
+
:rtype: str
|
|
1020
|
+
"""
|
|
652
1021
|
...
|
|
653
1022
|
|
|
654
1023
|
def path_resolve(self):
|
|
655
|
-
""" """
|
|
1024
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
656
1025
|
...
|
|
657
1026
|
|
|
658
1027
|
def poll(self, context):
|
|
@@ -663,25 +1032,40 @@ class ConsoleLanguage(bpy_types.Operator):
|
|
|
663
1032
|
...
|
|
664
1033
|
|
|
665
1034
|
def poll_message_set(self):
|
|
666
|
-
""" """
|
|
1035
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
667
1036
|
...
|
|
668
1037
|
|
|
669
1038
|
def pop(self):
|
|
670
|
-
"""
|
|
1039
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1040
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1041
|
+
|
|
1042
|
+
"""
|
|
671
1043
|
...
|
|
672
1044
|
|
|
673
|
-
def property_overridable_library_set(self):
|
|
674
|
-
"""
|
|
1045
|
+
def property_overridable_library_set(self) -> bool:
|
|
1046
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1047
|
+
|
|
1048
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1049
|
+
:rtype: bool
|
|
1050
|
+
"""
|
|
675
1051
|
...
|
|
676
1052
|
|
|
677
1053
|
def property_unset(self):
|
|
678
|
-
""" """
|
|
1054
|
+
"""Unset a property, will use default value afterward."""
|
|
679
1055
|
...
|
|
680
1056
|
|
|
681
1057
|
def type_recast(self):
|
|
682
|
-
"""
|
|
1058
|
+
"""Return a new instance, this is needed because types
|
|
1059
|
+
such as textures can be changed at runtime.
|
|
1060
|
+
|
|
1061
|
+
:return: a new instance of this object with the type initialized again.
|
|
1062
|
+
"""
|
|
683
1063
|
...
|
|
684
1064
|
|
|
685
1065
|
def values(self):
|
|
686
|
-
"""
|
|
1066
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1067
|
+
dictionary function of the same name).
|
|
1068
|
+
|
|
1069
|
+
:return: custom property values.
|
|
1070
|
+
"""
|
|
687
1071
|
...
|