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