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