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