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