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
|
|
|
4
5
|
GenericType = typing.TypeVar("GenericType")
|
|
@@ -42,22 +43,35 @@ class PHYSICS_PT_rigid_body(
|
|
|
42
43
|
""" """
|
|
43
44
|
|
|
44
45
|
def append(self, draw_func):
|
|
45
|
-
"""
|
|
46
|
+
"""Append a draw function to this menu,
|
|
47
|
+
takes the same arguments as the menus draw function
|
|
46
48
|
|
|
47
|
-
|
|
49
|
+
:param draw_func:
|
|
48
50
|
"""
|
|
49
51
|
...
|
|
50
52
|
|
|
51
|
-
def as_pointer(self):
|
|
52
|
-
"""
|
|
53
|
+
def as_pointer(self) -> int:
|
|
54
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
55
|
+
|
|
56
|
+
:return: int (memory address).
|
|
57
|
+
:rtype: int
|
|
58
|
+
"""
|
|
53
59
|
...
|
|
54
60
|
|
|
55
|
-
def bl_rna_get_subclass(self):
|
|
56
|
-
"""
|
|
61
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
62
|
+
"""
|
|
63
|
+
|
|
64
|
+
:return: The RNA type or default when not found.
|
|
65
|
+
:rtype: bpy.types.Struct
|
|
66
|
+
"""
|
|
57
67
|
...
|
|
58
68
|
|
|
59
|
-
def bl_rna_get_subclass_py(self):
|
|
60
|
-
"""
|
|
69
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
:return: The class or default when not found.
|
|
73
|
+
:rtype: typing.Any
|
|
74
|
+
"""
|
|
61
75
|
...
|
|
62
76
|
|
|
63
77
|
def draw(self, context):
|
|
@@ -67,72 +81,129 @@ class PHYSICS_PT_rigid_body(
|
|
|
67
81
|
"""
|
|
68
82
|
...
|
|
69
83
|
|
|
70
|
-
def driver_add(self):
|
|
71
|
-
"""
|
|
84
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
85
|
+
"""Adds driver(s) to the given property
|
|
86
|
+
|
|
87
|
+
:return: The driver(s) added.
|
|
88
|
+
:rtype: bpy.types.FCurve
|
|
89
|
+
"""
|
|
72
90
|
...
|
|
73
91
|
|
|
74
|
-
def driver_remove(self):
|
|
75
|
-
"""
|
|
92
|
+
def driver_remove(self) -> bool:
|
|
93
|
+
"""Remove driver(s) from the given property
|
|
94
|
+
|
|
95
|
+
:return: Success of driver removal.
|
|
96
|
+
:rtype: bool
|
|
97
|
+
"""
|
|
76
98
|
...
|
|
77
99
|
|
|
78
100
|
def get(self):
|
|
79
|
-
"""
|
|
101
|
+
"""Returns the value of the custom property assigned to key or default
|
|
102
|
+
when not found (matches Python's dictionary function of the same name).
|
|
103
|
+
|
|
104
|
+
"""
|
|
80
105
|
...
|
|
81
106
|
|
|
82
107
|
def id_properties_clear(self):
|
|
83
|
-
"""
|
|
108
|
+
"""
|
|
109
|
+
|
|
110
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
111
|
+
"""
|
|
84
112
|
...
|
|
85
113
|
|
|
86
114
|
def id_properties_ensure(self):
|
|
87
|
-
"""
|
|
115
|
+
"""
|
|
116
|
+
|
|
117
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
118
|
+
"""
|
|
88
119
|
...
|
|
89
120
|
|
|
90
121
|
def id_properties_ui(self):
|
|
91
|
-
"""
|
|
122
|
+
"""
|
|
123
|
+
|
|
124
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
125
|
+
"""
|
|
92
126
|
...
|
|
93
127
|
|
|
94
128
|
def is_extended(self):
|
|
95
129
|
""" """
|
|
96
130
|
...
|
|
97
131
|
|
|
98
|
-
def is_property_hidden(self):
|
|
99
|
-
"""
|
|
132
|
+
def is_property_hidden(self) -> bool:
|
|
133
|
+
"""Check if a property is hidden.
|
|
134
|
+
|
|
135
|
+
:return: True when the property is hidden.
|
|
136
|
+
:rtype: bool
|
|
137
|
+
"""
|
|
100
138
|
...
|
|
101
139
|
|
|
102
|
-
def is_property_overridable_library(self):
|
|
103
|
-
"""
|
|
140
|
+
def is_property_overridable_library(self) -> bool:
|
|
141
|
+
"""Check if a property is overridable.
|
|
142
|
+
|
|
143
|
+
:return: True when the property is overridable.
|
|
144
|
+
:rtype: bool
|
|
145
|
+
"""
|
|
104
146
|
...
|
|
105
147
|
|
|
106
|
-
def is_property_readonly(self):
|
|
107
|
-
"""
|
|
148
|
+
def is_property_readonly(self) -> bool:
|
|
149
|
+
"""Check if a property is readonly.
|
|
150
|
+
|
|
151
|
+
:return: True when the property is readonly (not writable).
|
|
152
|
+
:rtype: bool
|
|
153
|
+
"""
|
|
108
154
|
...
|
|
109
155
|
|
|
110
|
-
def is_property_set(self):
|
|
111
|
-
"""
|
|
156
|
+
def is_property_set(self) -> bool:
|
|
157
|
+
"""Check if a property is set, use for testing operator properties.
|
|
158
|
+
|
|
159
|
+
:return: True when the property has been set.
|
|
160
|
+
:rtype: bool
|
|
161
|
+
"""
|
|
112
162
|
...
|
|
113
163
|
|
|
114
164
|
def items(self):
|
|
115
|
-
"""
|
|
165
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
166
|
+
dictionary function of the same name).
|
|
167
|
+
|
|
168
|
+
:return: custom property key, value pairs.
|
|
169
|
+
"""
|
|
116
170
|
...
|
|
117
171
|
|
|
118
|
-
def keyframe_delete(self):
|
|
119
|
-
"""
|
|
172
|
+
def keyframe_delete(self) -> bool:
|
|
173
|
+
"""Remove a keyframe from this properties fcurve.
|
|
174
|
+
|
|
175
|
+
:return: Success of keyframe deletion.
|
|
176
|
+
:rtype: bool
|
|
177
|
+
"""
|
|
120
178
|
...
|
|
121
179
|
|
|
122
|
-
def keyframe_insert(self):
|
|
123
|
-
"""
|
|
180
|
+
def keyframe_insert(self) -> bool:
|
|
181
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
182
|
+
|
|
183
|
+
:return: Success of keyframe insertion.
|
|
184
|
+
:rtype: bool
|
|
185
|
+
"""
|
|
124
186
|
...
|
|
125
187
|
|
|
126
188
|
def keys(self):
|
|
127
|
-
"""
|
|
189
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
190
|
+
dictionary function of the same name).
|
|
191
|
+
|
|
192
|
+
:return: custom property keys.
|
|
193
|
+
"""
|
|
128
194
|
...
|
|
129
195
|
|
|
130
|
-
def path_from_id(self):
|
|
131
|
-
"""
|
|
196
|
+
def path_from_id(self) -> str:
|
|
197
|
+
"""Returns the data path from the ID to this object (string).
|
|
198
|
+
|
|
199
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
200
|
+
to this struct and property (when given).
|
|
201
|
+
:rtype: str
|
|
202
|
+
"""
|
|
132
203
|
...
|
|
133
204
|
|
|
134
205
|
def path_resolve(self):
|
|
135
|
-
""" """
|
|
206
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
136
207
|
...
|
|
137
208
|
|
|
138
209
|
def poll(self, context):
|
|
@@ -143,37 +214,53 @@ class PHYSICS_PT_rigid_body(
|
|
|
143
214
|
...
|
|
144
215
|
|
|
145
216
|
def pop(self):
|
|
146
|
-
"""
|
|
217
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
218
|
+
when not found (matches Python's dictionary function of the same name).
|
|
219
|
+
|
|
220
|
+
"""
|
|
147
221
|
...
|
|
148
222
|
|
|
149
223
|
def prepend(self, draw_func):
|
|
150
|
-
"""
|
|
224
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
225
|
+
the menus draw function
|
|
151
226
|
|
|
152
|
-
|
|
227
|
+
:param draw_func:
|
|
153
228
|
"""
|
|
154
229
|
...
|
|
155
230
|
|
|
156
|
-
def property_overridable_library_set(self):
|
|
157
|
-
"""
|
|
231
|
+
def property_overridable_library_set(self) -> bool:
|
|
232
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
233
|
+
|
|
234
|
+
:return: True when the overridable status of the property was successfully set.
|
|
235
|
+
:rtype: bool
|
|
236
|
+
"""
|
|
158
237
|
...
|
|
159
238
|
|
|
160
239
|
def property_unset(self):
|
|
161
|
-
""" """
|
|
240
|
+
"""Unset a property, will use default value afterward."""
|
|
162
241
|
...
|
|
163
242
|
|
|
164
243
|
def remove(self, draw_func):
|
|
165
|
-
"""
|
|
244
|
+
"""Remove a draw function that has been added to this menu
|
|
166
245
|
|
|
167
246
|
:param draw_func:
|
|
168
247
|
"""
|
|
169
248
|
...
|
|
170
249
|
|
|
171
250
|
def type_recast(self):
|
|
172
|
-
"""
|
|
251
|
+
"""Return a new instance, this is needed because types
|
|
252
|
+
such as textures can be changed at runtime.
|
|
253
|
+
|
|
254
|
+
:return: a new instance of this object with the type initialized again.
|
|
255
|
+
"""
|
|
173
256
|
...
|
|
174
257
|
|
|
175
258
|
def values(self):
|
|
176
|
-
"""
|
|
259
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
260
|
+
dictionary function of the same name).
|
|
261
|
+
|
|
262
|
+
:return: custom property values.
|
|
263
|
+
"""
|
|
177
264
|
...
|
|
178
265
|
|
|
179
266
|
class PHYSICS_PT_rigid_body_collisions(
|
|
@@ -206,22 +293,35 @@ class PHYSICS_PT_rigid_body_collisions(
|
|
|
206
293
|
""" """
|
|
207
294
|
|
|
208
295
|
def append(self, draw_func):
|
|
209
|
-
"""
|
|
296
|
+
"""Append a draw function to this menu,
|
|
297
|
+
takes the same arguments as the menus draw function
|
|
210
298
|
|
|
211
|
-
|
|
299
|
+
:param draw_func:
|
|
212
300
|
"""
|
|
213
301
|
...
|
|
214
302
|
|
|
215
|
-
def as_pointer(self):
|
|
216
|
-
"""
|
|
303
|
+
def as_pointer(self) -> int:
|
|
304
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
305
|
+
|
|
306
|
+
:return: int (memory address).
|
|
307
|
+
:rtype: int
|
|
308
|
+
"""
|
|
217
309
|
...
|
|
218
310
|
|
|
219
|
-
def bl_rna_get_subclass(self):
|
|
220
|
-
"""
|
|
311
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
312
|
+
"""
|
|
313
|
+
|
|
314
|
+
:return: The RNA type or default when not found.
|
|
315
|
+
:rtype: bpy.types.Struct
|
|
316
|
+
"""
|
|
221
317
|
...
|
|
222
318
|
|
|
223
|
-
def bl_rna_get_subclass_py(self):
|
|
224
|
-
"""
|
|
319
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
320
|
+
"""
|
|
321
|
+
|
|
322
|
+
:return: The class or default when not found.
|
|
323
|
+
:rtype: typing.Any
|
|
324
|
+
"""
|
|
225
325
|
...
|
|
226
326
|
|
|
227
327
|
def draw(self, context):
|
|
@@ -231,72 +331,129 @@ class PHYSICS_PT_rigid_body_collisions(
|
|
|
231
331
|
"""
|
|
232
332
|
...
|
|
233
333
|
|
|
234
|
-
def driver_add(self):
|
|
235
|
-
"""
|
|
334
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
335
|
+
"""Adds driver(s) to the given property
|
|
336
|
+
|
|
337
|
+
:return: The driver(s) added.
|
|
338
|
+
:rtype: bpy.types.FCurve
|
|
339
|
+
"""
|
|
236
340
|
...
|
|
237
341
|
|
|
238
|
-
def driver_remove(self):
|
|
239
|
-
"""
|
|
342
|
+
def driver_remove(self) -> bool:
|
|
343
|
+
"""Remove driver(s) from the given property
|
|
344
|
+
|
|
345
|
+
:return: Success of driver removal.
|
|
346
|
+
:rtype: bool
|
|
347
|
+
"""
|
|
240
348
|
...
|
|
241
349
|
|
|
242
350
|
def get(self):
|
|
243
|
-
"""
|
|
351
|
+
"""Returns the value of the custom property assigned to key or default
|
|
352
|
+
when not found (matches Python's dictionary function of the same name).
|
|
353
|
+
|
|
354
|
+
"""
|
|
244
355
|
...
|
|
245
356
|
|
|
246
357
|
def id_properties_clear(self):
|
|
247
|
-
"""
|
|
358
|
+
"""
|
|
359
|
+
|
|
360
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
361
|
+
"""
|
|
248
362
|
...
|
|
249
363
|
|
|
250
364
|
def id_properties_ensure(self):
|
|
251
|
-
"""
|
|
365
|
+
"""
|
|
366
|
+
|
|
367
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
368
|
+
"""
|
|
252
369
|
...
|
|
253
370
|
|
|
254
371
|
def id_properties_ui(self):
|
|
255
|
-
"""
|
|
372
|
+
"""
|
|
373
|
+
|
|
374
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
375
|
+
"""
|
|
256
376
|
...
|
|
257
377
|
|
|
258
378
|
def is_extended(self):
|
|
259
379
|
""" """
|
|
260
380
|
...
|
|
261
381
|
|
|
262
|
-
def is_property_hidden(self):
|
|
263
|
-
"""
|
|
382
|
+
def is_property_hidden(self) -> bool:
|
|
383
|
+
"""Check if a property is hidden.
|
|
384
|
+
|
|
385
|
+
:return: True when the property is hidden.
|
|
386
|
+
:rtype: bool
|
|
387
|
+
"""
|
|
264
388
|
...
|
|
265
389
|
|
|
266
|
-
def is_property_overridable_library(self):
|
|
267
|
-
"""
|
|
390
|
+
def is_property_overridable_library(self) -> bool:
|
|
391
|
+
"""Check if a property is overridable.
|
|
392
|
+
|
|
393
|
+
:return: True when the property is overridable.
|
|
394
|
+
:rtype: bool
|
|
395
|
+
"""
|
|
268
396
|
...
|
|
269
397
|
|
|
270
|
-
def is_property_readonly(self):
|
|
271
|
-
"""
|
|
398
|
+
def is_property_readonly(self) -> bool:
|
|
399
|
+
"""Check if a property is readonly.
|
|
400
|
+
|
|
401
|
+
:return: True when the property is readonly (not writable).
|
|
402
|
+
:rtype: bool
|
|
403
|
+
"""
|
|
272
404
|
...
|
|
273
405
|
|
|
274
|
-
def is_property_set(self):
|
|
275
|
-
"""
|
|
406
|
+
def is_property_set(self) -> bool:
|
|
407
|
+
"""Check if a property is set, use for testing operator properties.
|
|
408
|
+
|
|
409
|
+
:return: True when the property has been set.
|
|
410
|
+
:rtype: bool
|
|
411
|
+
"""
|
|
276
412
|
...
|
|
277
413
|
|
|
278
414
|
def items(self):
|
|
279
|
-
"""
|
|
415
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
416
|
+
dictionary function of the same name).
|
|
417
|
+
|
|
418
|
+
:return: custom property key, value pairs.
|
|
419
|
+
"""
|
|
280
420
|
...
|
|
281
421
|
|
|
282
|
-
def keyframe_delete(self):
|
|
283
|
-
"""
|
|
422
|
+
def keyframe_delete(self) -> bool:
|
|
423
|
+
"""Remove a keyframe from this properties fcurve.
|
|
424
|
+
|
|
425
|
+
:return: Success of keyframe deletion.
|
|
426
|
+
:rtype: bool
|
|
427
|
+
"""
|
|
284
428
|
...
|
|
285
429
|
|
|
286
|
-
def keyframe_insert(self):
|
|
287
|
-
"""
|
|
430
|
+
def keyframe_insert(self) -> bool:
|
|
431
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
432
|
+
|
|
433
|
+
:return: Success of keyframe insertion.
|
|
434
|
+
:rtype: bool
|
|
435
|
+
"""
|
|
288
436
|
...
|
|
289
437
|
|
|
290
438
|
def keys(self):
|
|
291
|
-
"""
|
|
439
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
440
|
+
dictionary function of the same name).
|
|
441
|
+
|
|
442
|
+
:return: custom property keys.
|
|
443
|
+
"""
|
|
292
444
|
...
|
|
293
445
|
|
|
294
|
-
def path_from_id(self):
|
|
295
|
-
"""
|
|
446
|
+
def path_from_id(self) -> str:
|
|
447
|
+
"""Returns the data path from the ID to this object (string).
|
|
448
|
+
|
|
449
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
450
|
+
to this struct and property (when given).
|
|
451
|
+
:rtype: str
|
|
452
|
+
"""
|
|
296
453
|
...
|
|
297
454
|
|
|
298
455
|
def path_resolve(self):
|
|
299
|
-
""" """
|
|
456
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
300
457
|
...
|
|
301
458
|
|
|
302
459
|
def poll(self, context):
|
|
@@ -307,37 +464,53 @@ class PHYSICS_PT_rigid_body_collisions(
|
|
|
307
464
|
...
|
|
308
465
|
|
|
309
466
|
def pop(self):
|
|
310
|
-
"""
|
|
467
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
468
|
+
when not found (matches Python's dictionary function of the same name).
|
|
469
|
+
|
|
470
|
+
"""
|
|
311
471
|
...
|
|
312
472
|
|
|
313
473
|
def prepend(self, draw_func):
|
|
314
|
-
"""
|
|
474
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
475
|
+
the menus draw function
|
|
315
476
|
|
|
316
|
-
|
|
477
|
+
:param draw_func:
|
|
317
478
|
"""
|
|
318
479
|
...
|
|
319
480
|
|
|
320
|
-
def property_overridable_library_set(self):
|
|
321
|
-
"""
|
|
481
|
+
def property_overridable_library_set(self) -> bool:
|
|
482
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
483
|
+
|
|
484
|
+
:return: True when the overridable status of the property was successfully set.
|
|
485
|
+
:rtype: bool
|
|
486
|
+
"""
|
|
322
487
|
...
|
|
323
488
|
|
|
324
489
|
def property_unset(self):
|
|
325
|
-
""" """
|
|
490
|
+
"""Unset a property, will use default value afterward."""
|
|
326
491
|
...
|
|
327
492
|
|
|
328
493
|
def remove(self, draw_func):
|
|
329
|
-
"""
|
|
494
|
+
"""Remove a draw function that has been added to this menu
|
|
330
495
|
|
|
331
496
|
:param draw_func:
|
|
332
497
|
"""
|
|
333
498
|
...
|
|
334
499
|
|
|
335
500
|
def type_recast(self):
|
|
336
|
-
"""
|
|
501
|
+
"""Return a new instance, this is needed because types
|
|
502
|
+
such as textures can be changed at runtime.
|
|
503
|
+
|
|
504
|
+
:return: a new instance of this object with the type initialized again.
|
|
505
|
+
"""
|
|
337
506
|
...
|
|
338
507
|
|
|
339
508
|
def values(self):
|
|
340
|
-
"""
|
|
509
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
510
|
+
dictionary function of the same name).
|
|
511
|
+
|
|
512
|
+
:return: custom property values.
|
|
513
|
+
"""
|
|
341
514
|
...
|
|
342
515
|
|
|
343
516
|
class PHYSICS_PT_rigid_body_collisions_collections(
|
|
@@ -373,22 +546,35 @@ class PHYSICS_PT_rigid_body_collisions_collections(
|
|
|
373
546
|
""" """
|
|
374
547
|
|
|
375
548
|
def append(self, draw_func):
|
|
376
|
-
"""
|
|
549
|
+
"""Append a draw function to this menu,
|
|
550
|
+
takes the same arguments as the menus draw function
|
|
377
551
|
|
|
378
|
-
|
|
552
|
+
:param draw_func:
|
|
379
553
|
"""
|
|
380
554
|
...
|
|
381
555
|
|
|
382
|
-
def as_pointer(self):
|
|
383
|
-
"""
|
|
556
|
+
def as_pointer(self) -> int:
|
|
557
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
558
|
+
|
|
559
|
+
:return: int (memory address).
|
|
560
|
+
:rtype: int
|
|
561
|
+
"""
|
|
384
562
|
...
|
|
385
563
|
|
|
386
|
-
def bl_rna_get_subclass(self):
|
|
387
|
-
"""
|
|
564
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
565
|
+
"""
|
|
566
|
+
|
|
567
|
+
:return: The RNA type or default when not found.
|
|
568
|
+
:rtype: bpy.types.Struct
|
|
569
|
+
"""
|
|
388
570
|
...
|
|
389
571
|
|
|
390
|
-
def bl_rna_get_subclass_py(self):
|
|
391
|
-
"""
|
|
572
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
573
|
+
"""
|
|
574
|
+
|
|
575
|
+
:return: The class or default when not found.
|
|
576
|
+
:rtype: typing.Any
|
|
577
|
+
"""
|
|
392
578
|
...
|
|
393
579
|
|
|
394
580
|
def draw(self, context):
|
|
@@ -398,72 +584,129 @@ class PHYSICS_PT_rigid_body_collisions_collections(
|
|
|
398
584
|
"""
|
|
399
585
|
...
|
|
400
586
|
|
|
401
|
-
def driver_add(self):
|
|
402
|
-
"""
|
|
587
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
588
|
+
"""Adds driver(s) to the given property
|
|
589
|
+
|
|
590
|
+
:return: The driver(s) added.
|
|
591
|
+
:rtype: bpy.types.FCurve
|
|
592
|
+
"""
|
|
403
593
|
...
|
|
404
594
|
|
|
405
|
-
def driver_remove(self):
|
|
406
|
-
"""
|
|
595
|
+
def driver_remove(self) -> bool:
|
|
596
|
+
"""Remove driver(s) from the given property
|
|
597
|
+
|
|
598
|
+
:return: Success of driver removal.
|
|
599
|
+
:rtype: bool
|
|
600
|
+
"""
|
|
407
601
|
...
|
|
408
602
|
|
|
409
603
|
def get(self):
|
|
410
|
-
"""
|
|
604
|
+
"""Returns the value of the custom property assigned to key or default
|
|
605
|
+
when not found (matches Python's dictionary function of the same name).
|
|
606
|
+
|
|
607
|
+
"""
|
|
411
608
|
...
|
|
412
609
|
|
|
413
610
|
def id_properties_clear(self):
|
|
414
|
-
"""
|
|
611
|
+
"""
|
|
612
|
+
|
|
613
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
614
|
+
"""
|
|
415
615
|
...
|
|
416
616
|
|
|
417
617
|
def id_properties_ensure(self):
|
|
418
|
-
"""
|
|
618
|
+
"""
|
|
619
|
+
|
|
620
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
621
|
+
"""
|
|
419
622
|
...
|
|
420
623
|
|
|
421
624
|
def id_properties_ui(self):
|
|
422
|
-
"""
|
|
625
|
+
"""
|
|
626
|
+
|
|
627
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
628
|
+
"""
|
|
423
629
|
...
|
|
424
630
|
|
|
425
631
|
def is_extended(self):
|
|
426
632
|
""" """
|
|
427
633
|
...
|
|
428
634
|
|
|
429
|
-
def is_property_hidden(self):
|
|
430
|
-
"""
|
|
635
|
+
def is_property_hidden(self) -> bool:
|
|
636
|
+
"""Check if a property is hidden.
|
|
637
|
+
|
|
638
|
+
:return: True when the property is hidden.
|
|
639
|
+
:rtype: bool
|
|
640
|
+
"""
|
|
431
641
|
...
|
|
432
642
|
|
|
433
|
-
def is_property_overridable_library(self):
|
|
434
|
-
"""
|
|
643
|
+
def is_property_overridable_library(self) -> bool:
|
|
644
|
+
"""Check if a property is overridable.
|
|
645
|
+
|
|
646
|
+
:return: True when the property is overridable.
|
|
647
|
+
:rtype: bool
|
|
648
|
+
"""
|
|
435
649
|
...
|
|
436
650
|
|
|
437
|
-
def is_property_readonly(self):
|
|
438
|
-
"""
|
|
651
|
+
def is_property_readonly(self) -> bool:
|
|
652
|
+
"""Check if a property is readonly.
|
|
653
|
+
|
|
654
|
+
:return: True when the property is readonly (not writable).
|
|
655
|
+
:rtype: bool
|
|
656
|
+
"""
|
|
439
657
|
...
|
|
440
658
|
|
|
441
|
-
def is_property_set(self):
|
|
442
|
-
"""
|
|
659
|
+
def is_property_set(self) -> bool:
|
|
660
|
+
"""Check if a property is set, use for testing operator properties.
|
|
661
|
+
|
|
662
|
+
:return: True when the property has been set.
|
|
663
|
+
:rtype: bool
|
|
664
|
+
"""
|
|
443
665
|
...
|
|
444
666
|
|
|
445
667
|
def items(self):
|
|
446
|
-
"""
|
|
668
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
669
|
+
dictionary function of the same name).
|
|
670
|
+
|
|
671
|
+
:return: custom property key, value pairs.
|
|
672
|
+
"""
|
|
447
673
|
...
|
|
448
674
|
|
|
449
|
-
def keyframe_delete(self):
|
|
450
|
-
"""
|
|
675
|
+
def keyframe_delete(self) -> bool:
|
|
676
|
+
"""Remove a keyframe from this properties fcurve.
|
|
677
|
+
|
|
678
|
+
:return: Success of keyframe deletion.
|
|
679
|
+
:rtype: bool
|
|
680
|
+
"""
|
|
451
681
|
...
|
|
452
682
|
|
|
453
|
-
def keyframe_insert(self):
|
|
454
|
-
"""
|
|
683
|
+
def keyframe_insert(self) -> bool:
|
|
684
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
685
|
+
|
|
686
|
+
:return: Success of keyframe insertion.
|
|
687
|
+
:rtype: bool
|
|
688
|
+
"""
|
|
455
689
|
...
|
|
456
690
|
|
|
457
691
|
def keys(self):
|
|
458
|
-
"""
|
|
692
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
693
|
+
dictionary function of the same name).
|
|
694
|
+
|
|
695
|
+
:return: custom property keys.
|
|
696
|
+
"""
|
|
459
697
|
...
|
|
460
698
|
|
|
461
|
-
def path_from_id(self):
|
|
462
|
-
"""
|
|
699
|
+
def path_from_id(self) -> str:
|
|
700
|
+
"""Returns the data path from the ID to this object (string).
|
|
701
|
+
|
|
702
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
703
|
+
to this struct and property (when given).
|
|
704
|
+
:rtype: str
|
|
705
|
+
"""
|
|
463
706
|
...
|
|
464
707
|
|
|
465
708
|
def path_resolve(self):
|
|
466
|
-
""" """
|
|
709
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
467
710
|
...
|
|
468
711
|
|
|
469
712
|
def poll(self, context):
|
|
@@ -474,37 +717,53 @@ class PHYSICS_PT_rigid_body_collisions_collections(
|
|
|
474
717
|
...
|
|
475
718
|
|
|
476
719
|
def pop(self):
|
|
477
|
-
"""
|
|
720
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
721
|
+
when not found (matches Python's dictionary function of the same name).
|
|
722
|
+
|
|
723
|
+
"""
|
|
478
724
|
...
|
|
479
725
|
|
|
480
726
|
def prepend(self, draw_func):
|
|
481
|
-
"""
|
|
727
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
728
|
+
the menus draw function
|
|
482
729
|
|
|
483
|
-
|
|
730
|
+
:param draw_func:
|
|
484
731
|
"""
|
|
485
732
|
...
|
|
486
733
|
|
|
487
|
-
def property_overridable_library_set(self):
|
|
488
|
-
"""
|
|
734
|
+
def property_overridable_library_set(self) -> bool:
|
|
735
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
736
|
+
|
|
737
|
+
:return: True when the overridable status of the property was successfully set.
|
|
738
|
+
:rtype: bool
|
|
739
|
+
"""
|
|
489
740
|
...
|
|
490
741
|
|
|
491
742
|
def property_unset(self):
|
|
492
|
-
""" """
|
|
743
|
+
"""Unset a property, will use default value afterward."""
|
|
493
744
|
...
|
|
494
745
|
|
|
495
746
|
def remove(self, draw_func):
|
|
496
|
-
"""
|
|
747
|
+
"""Remove a draw function that has been added to this menu
|
|
497
748
|
|
|
498
749
|
:param draw_func:
|
|
499
750
|
"""
|
|
500
751
|
...
|
|
501
752
|
|
|
502
753
|
def type_recast(self):
|
|
503
|
-
"""
|
|
754
|
+
"""Return a new instance, this is needed because types
|
|
755
|
+
such as textures can be changed at runtime.
|
|
756
|
+
|
|
757
|
+
:return: a new instance of this object with the type initialized again.
|
|
758
|
+
"""
|
|
504
759
|
...
|
|
505
760
|
|
|
506
761
|
def values(self):
|
|
507
|
-
"""
|
|
762
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
763
|
+
dictionary function of the same name).
|
|
764
|
+
|
|
765
|
+
:return: custom property values.
|
|
766
|
+
"""
|
|
508
767
|
...
|
|
509
768
|
|
|
510
769
|
class PHYSICS_PT_rigid_body_collisions_sensitivity(
|
|
@@ -540,22 +799,35 @@ class PHYSICS_PT_rigid_body_collisions_sensitivity(
|
|
|
540
799
|
""" """
|
|
541
800
|
|
|
542
801
|
def append(self, draw_func):
|
|
543
|
-
"""
|
|
802
|
+
"""Append a draw function to this menu,
|
|
803
|
+
takes the same arguments as the menus draw function
|
|
544
804
|
|
|
545
|
-
|
|
805
|
+
:param draw_func:
|
|
546
806
|
"""
|
|
547
807
|
...
|
|
548
808
|
|
|
549
|
-
def as_pointer(self):
|
|
550
|
-
"""
|
|
809
|
+
def as_pointer(self) -> int:
|
|
810
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
811
|
+
|
|
812
|
+
:return: int (memory address).
|
|
813
|
+
:rtype: int
|
|
814
|
+
"""
|
|
551
815
|
...
|
|
552
816
|
|
|
553
|
-
def bl_rna_get_subclass(self):
|
|
554
|
-
"""
|
|
817
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
818
|
+
"""
|
|
819
|
+
|
|
820
|
+
:return: The RNA type or default when not found.
|
|
821
|
+
:rtype: bpy.types.Struct
|
|
822
|
+
"""
|
|
555
823
|
...
|
|
556
824
|
|
|
557
|
-
def bl_rna_get_subclass_py(self):
|
|
558
|
-
"""
|
|
825
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
826
|
+
"""
|
|
827
|
+
|
|
828
|
+
:return: The class or default when not found.
|
|
829
|
+
:rtype: typing.Any
|
|
830
|
+
"""
|
|
559
831
|
...
|
|
560
832
|
|
|
561
833
|
def draw(self, context):
|
|
@@ -565,72 +837,129 @@ class PHYSICS_PT_rigid_body_collisions_sensitivity(
|
|
|
565
837
|
"""
|
|
566
838
|
...
|
|
567
839
|
|
|
568
|
-
def driver_add(self):
|
|
569
|
-
"""
|
|
840
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
841
|
+
"""Adds driver(s) to the given property
|
|
842
|
+
|
|
843
|
+
:return: The driver(s) added.
|
|
844
|
+
:rtype: bpy.types.FCurve
|
|
845
|
+
"""
|
|
570
846
|
...
|
|
571
847
|
|
|
572
|
-
def driver_remove(self):
|
|
573
|
-
"""
|
|
848
|
+
def driver_remove(self) -> bool:
|
|
849
|
+
"""Remove driver(s) from the given property
|
|
850
|
+
|
|
851
|
+
:return: Success of driver removal.
|
|
852
|
+
:rtype: bool
|
|
853
|
+
"""
|
|
574
854
|
...
|
|
575
855
|
|
|
576
856
|
def get(self):
|
|
577
|
-
"""
|
|
857
|
+
"""Returns the value of the custom property assigned to key or default
|
|
858
|
+
when not found (matches Python's dictionary function of the same name).
|
|
859
|
+
|
|
860
|
+
"""
|
|
578
861
|
...
|
|
579
862
|
|
|
580
863
|
def id_properties_clear(self):
|
|
581
|
-
"""
|
|
864
|
+
"""
|
|
865
|
+
|
|
866
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
867
|
+
"""
|
|
582
868
|
...
|
|
583
869
|
|
|
584
870
|
def id_properties_ensure(self):
|
|
585
|
-
"""
|
|
871
|
+
"""
|
|
872
|
+
|
|
873
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
874
|
+
"""
|
|
586
875
|
...
|
|
587
876
|
|
|
588
877
|
def id_properties_ui(self):
|
|
589
|
-
"""
|
|
878
|
+
"""
|
|
879
|
+
|
|
880
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
881
|
+
"""
|
|
590
882
|
...
|
|
591
883
|
|
|
592
884
|
def is_extended(self):
|
|
593
885
|
""" """
|
|
594
886
|
...
|
|
595
887
|
|
|
596
|
-
def is_property_hidden(self):
|
|
597
|
-
"""
|
|
888
|
+
def is_property_hidden(self) -> bool:
|
|
889
|
+
"""Check if a property is hidden.
|
|
890
|
+
|
|
891
|
+
:return: True when the property is hidden.
|
|
892
|
+
:rtype: bool
|
|
893
|
+
"""
|
|
598
894
|
...
|
|
599
895
|
|
|
600
|
-
def is_property_overridable_library(self):
|
|
601
|
-
"""
|
|
896
|
+
def is_property_overridable_library(self) -> bool:
|
|
897
|
+
"""Check if a property is overridable.
|
|
898
|
+
|
|
899
|
+
:return: True when the property is overridable.
|
|
900
|
+
:rtype: bool
|
|
901
|
+
"""
|
|
602
902
|
...
|
|
603
903
|
|
|
604
|
-
def is_property_readonly(self):
|
|
605
|
-
"""
|
|
904
|
+
def is_property_readonly(self) -> bool:
|
|
905
|
+
"""Check if a property is readonly.
|
|
906
|
+
|
|
907
|
+
:return: True when the property is readonly (not writable).
|
|
908
|
+
:rtype: bool
|
|
909
|
+
"""
|
|
606
910
|
...
|
|
607
911
|
|
|
608
|
-
def is_property_set(self):
|
|
609
|
-
"""
|
|
912
|
+
def is_property_set(self) -> bool:
|
|
913
|
+
"""Check if a property is set, use for testing operator properties.
|
|
914
|
+
|
|
915
|
+
:return: True when the property has been set.
|
|
916
|
+
:rtype: bool
|
|
917
|
+
"""
|
|
610
918
|
...
|
|
611
919
|
|
|
612
920
|
def items(self):
|
|
613
|
-
"""
|
|
921
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
922
|
+
dictionary function of the same name).
|
|
923
|
+
|
|
924
|
+
:return: custom property key, value pairs.
|
|
925
|
+
"""
|
|
614
926
|
...
|
|
615
927
|
|
|
616
|
-
def keyframe_delete(self):
|
|
617
|
-
"""
|
|
928
|
+
def keyframe_delete(self) -> bool:
|
|
929
|
+
"""Remove a keyframe from this properties fcurve.
|
|
930
|
+
|
|
931
|
+
:return: Success of keyframe deletion.
|
|
932
|
+
:rtype: bool
|
|
933
|
+
"""
|
|
618
934
|
...
|
|
619
935
|
|
|
620
|
-
def keyframe_insert(self):
|
|
621
|
-
"""
|
|
936
|
+
def keyframe_insert(self) -> bool:
|
|
937
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
938
|
+
|
|
939
|
+
:return: Success of keyframe insertion.
|
|
940
|
+
:rtype: bool
|
|
941
|
+
"""
|
|
622
942
|
...
|
|
623
943
|
|
|
624
944
|
def keys(self):
|
|
625
|
-
"""
|
|
945
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
946
|
+
dictionary function of the same name).
|
|
947
|
+
|
|
948
|
+
:return: custom property keys.
|
|
949
|
+
"""
|
|
626
950
|
...
|
|
627
951
|
|
|
628
|
-
def path_from_id(self):
|
|
629
|
-
"""
|
|
952
|
+
def path_from_id(self) -> str:
|
|
953
|
+
"""Returns the data path from the ID to this object (string).
|
|
954
|
+
|
|
955
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
956
|
+
to this struct and property (when given).
|
|
957
|
+
:rtype: str
|
|
958
|
+
"""
|
|
630
959
|
...
|
|
631
960
|
|
|
632
961
|
def path_resolve(self):
|
|
633
|
-
""" """
|
|
962
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
634
963
|
...
|
|
635
964
|
|
|
636
965
|
def poll(self, context):
|
|
@@ -641,37 +970,53 @@ class PHYSICS_PT_rigid_body_collisions_sensitivity(
|
|
|
641
970
|
...
|
|
642
971
|
|
|
643
972
|
def pop(self):
|
|
644
|
-
"""
|
|
973
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
974
|
+
when not found (matches Python's dictionary function of the same name).
|
|
975
|
+
|
|
976
|
+
"""
|
|
645
977
|
...
|
|
646
978
|
|
|
647
979
|
def prepend(self, draw_func):
|
|
648
|
-
"""
|
|
980
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
981
|
+
the menus draw function
|
|
649
982
|
|
|
650
|
-
|
|
983
|
+
:param draw_func:
|
|
651
984
|
"""
|
|
652
985
|
...
|
|
653
986
|
|
|
654
|
-
def property_overridable_library_set(self):
|
|
655
|
-
"""
|
|
987
|
+
def property_overridable_library_set(self) -> bool:
|
|
988
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
989
|
+
|
|
990
|
+
:return: True when the overridable status of the property was successfully set.
|
|
991
|
+
:rtype: bool
|
|
992
|
+
"""
|
|
656
993
|
...
|
|
657
994
|
|
|
658
995
|
def property_unset(self):
|
|
659
|
-
""" """
|
|
996
|
+
"""Unset a property, will use default value afterward."""
|
|
660
997
|
...
|
|
661
998
|
|
|
662
999
|
def remove(self, draw_func):
|
|
663
|
-
"""
|
|
1000
|
+
"""Remove a draw function that has been added to this menu
|
|
664
1001
|
|
|
665
1002
|
:param draw_func:
|
|
666
1003
|
"""
|
|
667
1004
|
...
|
|
668
1005
|
|
|
669
1006
|
def type_recast(self):
|
|
670
|
-
"""
|
|
1007
|
+
"""Return a new instance, this is needed because types
|
|
1008
|
+
such as textures can be changed at runtime.
|
|
1009
|
+
|
|
1010
|
+
:return: a new instance of this object with the type initialized again.
|
|
1011
|
+
"""
|
|
671
1012
|
...
|
|
672
1013
|
|
|
673
1014
|
def values(self):
|
|
674
|
-
"""
|
|
1015
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1016
|
+
dictionary function of the same name).
|
|
1017
|
+
|
|
1018
|
+
:return: custom property values.
|
|
1019
|
+
"""
|
|
675
1020
|
...
|
|
676
1021
|
|
|
677
1022
|
class PHYSICS_PT_rigid_body_collisions_surface(
|
|
@@ -707,22 +1052,35 @@ class PHYSICS_PT_rigid_body_collisions_surface(
|
|
|
707
1052
|
""" """
|
|
708
1053
|
|
|
709
1054
|
def append(self, draw_func):
|
|
710
|
-
"""
|
|
1055
|
+
"""Append a draw function to this menu,
|
|
1056
|
+
takes the same arguments as the menus draw function
|
|
711
1057
|
|
|
712
|
-
|
|
1058
|
+
:param draw_func:
|
|
713
1059
|
"""
|
|
714
1060
|
...
|
|
715
1061
|
|
|
716
|
-
def as_pointer(self):
|
|
717
|
-
"""
|
|
1062
|
+
def as_pointer(self) -> int:
|
|
1063
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1064
|
+
|
|
1065
|
+
:return: int (memory address).
|
|
1066
|
+
:rtype: int
|
|
1067
|
+
"""
|
|
718
1068
|
...
|
|
719
1069
|
|
|
720
|
-
def bl_rna_get_subclass(self):
|
|
721
|
-
"""
|
|
1070
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1071
|
+
"""
|
|
1072
|
+
|
|
1073
|
+
:return: The RNA type or default when not found.
|
|
1074
|
+
:rtype: bpy.types.Struct
|
|
1075
|
+
"""
|
|
722
1076
|
...
|
|
723
1077
|
|
|
724
|
-
def bl_rna_get_subclass_py(self):
|
|
725
|
-
"""
|
|
1078
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1079
|
+
"""
|
|
1080
|
+
|
|
1081
|
+
:return: The class or default when not found.
|
|
1082
|
+
:rtype: typing.Any
|
|
1083
|
+
"""
|
|
726
1084
|
...
|
|
727
1085
|
|
|
728
1086
|
def draw(self, context):
|
|
@@ -732,72 +1090,129 @@ class PHYSICS_PT_rigid_body_collisions_surface(
|
|
|
732
1090
|
"""
|
|
733
1091
|
...
|
|
734
1092
|
|
|
735
|
-
def driver_add(self):
|
|
736
|
-
"""
|
|
1093
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1094
|
+
"""Adds driver(s) to the given property
|
|
1095
|
+
|
|
1096
|
+
:return: The driver(s) added.
|
|
1097
|
+
:rtype: bpy.types.FCurve
|
|
1098
|
+
"""
|
|
737
1099
|
...
|
|
738
1100
|
|
|
739
|
-
def driver_remove(self):
|
|
740
|
-
"""
|
|
1101
|
+
def driver_remove(self) -> bool:
|
|
1102
|
+
"""Remove driver(s) from the given property
|
|
1103
|
+
|
|
1104
|
+
:return: Success of driver removal.
|
|
1105
|
+
:rtype: bool
|
|
1106
|
+
"""
|
|
741
1107
|
...
|
|
742
1108
|
|
|
743
1109
|
def get(self):
|
|
744
|
-
"""
|
|
1110
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1111
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1112
|
+
|
|
1113
|
+
"""
|
|
745
1114
|
...
|
|
746
1115
|
|
|
747
1116
|
def id_properties_clear(self):
|
|
748
|
-
"""
|
|
1117
|
+
"""
|
|
1118
|
+
|
|
1119
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1120
|
+
"""
|
|
749
1121
|
...
|
|
750
1122
|
|
|
751
1123
|
def id_properties_ensure(self):
|
|
752
|
-
"""
|
|
1124
|
+
"""
|
|
1125
|
+
|
|
1126
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1127
|
+
"""
|
|
753
1128
|
...
|
|
754
1129
|
|
|
755
1130
|
def id_properties_ui(self):
|
|
756
|
-
"""
|
|
1131
|
+
"""
|
|
1132
|
+
|
|
1133
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1134
|
+
"""
|
|
757
1135
|
...
|
|
758
1136
|
|
|
759
1137
|
def is_extended(self):
|
|
760
1138
|
""" """
|
|
761
1139
|
...
|
|
762
1140
|
|
|
763
|
-
def is_property_hidden(self):
|
|
764
|
-
"""
|
|
1141
|
+
def is_property_hidden(self) -> bool:
|
|
1142
|
+
"""Check if a property is hidden.
|
|
1143
|
+
|
|
1144
|
+
:return: True when the property is hidden.
|
|
1145
|
+
:rtype: bool
|
|
1146
|
+
"""
|
|
765
1147
|
...
|
|
766
1148
|
|
|
767
|
-
def is_property_overridable_library(self):
|
|
768
|
-
"""
|
|
1149
|
+
def is_property_overridable_library(self) -> bool:
|
|
1150
|
+
"""Check if a property is overridable.
|
|
1151
|
+
|
|
1152
|
+
:return: True when the property is overridable.
|
|
1153
|
+
:rtype: bool
|
|
1154
|
+
"""
|
|
769
1155
|
...
|
|
770
1156
|
|
|
771
|
-
def is_property_readonly(self):
|
|
772
|
-
"""
|
|
1157
|
+
def is_property_readonly(self) -> bool:
|
|
1158
|
+
"""Check if a property is readonly.
|
|
1159
|
+
|
|
1160
|
+
:return: True when the property is readonly (not writable).
|
|
1161
|
+
:rtype: bool
|
|
1162
|
+
"""
|
|
773
1163
|
...
|
|
774
1164
|
|
|
775
|
-
def is_property_set(self):
|
|
776
|
-
"""
|
|
1165
|
+
def is_property_set(self) -> bool:
|
|
1166
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1167
|
+
|
|
1168
|
+
:return: True when the property has been set.
|
|
1169
|
+
:rtype: bool
|
|
1170
|
+
"""
|
|
777
1171
|
...
|
|
778
1172
|
|
|
779
1173
|
def items(self):
|
|
780
|
-
"""
|
|
1174
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1175
|
+
dictionary function of the same name).
|
|
1176
|
+
|
|
1177
|
+
:return: custom property key, value pairs.
|
|
1178
|
+
"""
|
|
781
1179
|
...
|
|
782
1180
|
|
|
783
|
-
def keyframe_delete(self):
|
|
784
|
-
"""
|
|
1181
|
+
def keyframe_delete(self) -> bool:
|
|
1182
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1183
|
+
|
|
1184
|
+
:return: Success of keyframe deletion.
|
|
1185
|
+
:rtype: bool
|
|
1186
|
+
"""
|
|
785
1187
|
...
|
|
786
1188
|
|
|
787
|
-
def keyframe_insert(self):
|
|
788
|
-
"""
|
|
1189
|
+
def keyframe_insert(self) -> bool:
|
|
1190
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1191
|
+
|
|
1192
|
+
:return: Success of keyframe insertion.
|
|
1193
|
+
:rtype: bool
|
|
1194
|
+
"""
|
|
1195
|
+
...
|
|
1196
|
+
|
|
1197
|
+
def keys(self):
|
|
1198
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1199
|
+
dictionary function of the same name).
|
|
1200
|
+
|
|
1201
|
+
:return: custom property keys.
|
|
1202
|
+
"""
|
|
789
1203
|
...
|
|
790
1204
|
|
|
791
|
-
def
|
|
792
|
-
"""
|
|
793
|
-
...
|
|
1205
|
+
def path_from_id(self) -> str:
|
|
1206
|
+
"""Returns the data path from the ID to this object (string).
|
|
794
1207
|
|
|
795
|
-
|
|
796
|
-
|
|
1208
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1209
|
+
to this struct and property (when given).
|
|
1210
|
+
:rtype: str
|
|
1211
|
+
"""
|
|
797
1212
|
...
|
|
798
1213
|
|
|
799
1214
|
def path_resolve(self):
|
|
800
|
-
""" """
|
|
1215
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
801
1216
|
...
|
|
802
1217
|
|
|
803
1218
|
def poll(self, context):
|
|
@@ -808,37 +1223,53 @@ class PHYSICS_PT_rigid_body_collisions_surface(
|
|
|
808
1223
|
...
|
|
809
1224
|
|
|
810
1225
|
def pop(self):
|
|
811
|
-
"""
|
|
1226
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1227
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1228
|
+
|
|
1229
|
+
"""
|
|
812
1230
|
...
|
|
813
1231
|
|
|
814
1232
|
def prepend(self, draw_func):
|
|
815
|
-
"""
|
|
1233
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1234
|
+
the menus draw function
|
|
816
1235
|
|
|
817
|
-
|
|
1236
|
+
:param draw_func:
|
|
818
1237
|
"""
|
|
819
1238
|
...
|
|
820
1239
|
|
|
821
|
-
def property_overridable_library_set(self):
|
|
822
|
-
"""
|
|
1240
|
+
def property_overridable_library_set(self) -> bool:
|
|
1241
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1242
|
+
|
|
1243
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1244
|
+
:rtype: bool
|
|
1245
|
+
"""
|
|
823
1246
|
...
|
|
824
1247
|
|
|
825
1248
|
def property_unset(self):
|
|
826
|
-
""" """
|
|
1249
|
+
"""Unset a property, will use default value afterward."""
|
|
827
1250
|
...
|
|
828
1251
|
|
|
829
1252
|
def remove(self, draw_func):
|
|
830
|
-
"""
|
|
1253
|
+
"""Remove a draw function that has been added to this menu
|
|
831
1254
|
|
|
832
1255
|
:param draw_func:
|
|
833
1256
|
"""
|
|
834
1257
|
...
|
|
835
1258
|
|
|
836
1259
|
def type_recast(self):
|
|
837
|
-
"""
|
|
1260
|
+
"""Return a new instance, this is needed because types
|
|
1261
|
+
such as textures can be changed at runtime.
|
|
1262
|
+
|
|
1263
|
+
:return: a new instance of this object with the type initialized again.
|
|
1264
|
+
"""
|
|
838
1265
|
...
|
|
839
1266
|
|
|
840
1267
|
def values(self):
|
|
841
|
-
"""
|
|
1268
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1269
|
+
dictionary function of the same name).
|
|
1270
|
+
|
|
1271
|
+
:return: custom property values.
|
|
1272
|
+
"""
|
|
842
1273
|
...
|
|
843
1274
|
|
|
844
1275
|
class PHYSICS_PT_rigid_body_dynamics(
|
|
@@ -874,22 +1305,35 @@ class PHYSICS_PT_rigid_body_dynamics(
|
|
|
874
1305
|
""" """
|
|
875
1306
|
|
|
876
1307
|
def append(self, draw_func):
|
|
877
|
-
"""
|
|
1308
|
+
"""Append a draw function to this menu,
|
|
1309
|
+
takes the same arguments as the menus draw function
|
|
878
1310
|
|
|
879
|
-
|
|
1311
|
+
:param draw_func:
|
|
880
1312
|
"""
|
|
881
1313
|
...
|
|
882
1314
|
|
|
883
|
-
def as_pointer(self):
|
|
884
|
-
"""
|
|
1315
|
+
def as_pointer(self) -> int:
|
|
1316
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1317
|
+
|
|
1318
|
+
:return: int (memory address).
|
|
1319
|
+
:rtype: int
|
|
1320
|
+
"""
|
|
885
1321
|
...
|
|
886
1322
|
|
|
887
|
-
def bl_rna_get_subclass(self):
|
|
888
|
-
"""
|
|
1323
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1324
|
+
"""
|
|
1325
|
+
|
|
1326
|
+
:return: The RNA type or default when not found.
|
|
1327
|
+
:rtype: bpy.types.Struct
|
|
1328
|
+
"""
|
|
889
1329
|
...
|
|
890
1330
|
|
|
891
|
-
def bl_rna_get_subclass_py(self):
|
|
892
|
-
"""
|
|
1331
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1332
|
+
"""
|
|
1333
|
+
|
|
1334
|
+
:return: The class or default when not found.
|
|
1335
|
+
:rtype: typing.Any
|
|
1336
|
+
"""
|
|
893
1337
|
...
|
|
894
1338
|
|
|
895
1339
|
def draw(self, context):
|
|
@@ -899,72 +1343,129 @@ class PHYSICS_PT_rigid_body_dynamics(
|
|
|
899
1343
|
"""
|
|
900
1344
|
...
|
|
901
1345
|
|
|
902
|
-
def driver_add(self):
|
|
903
|
-
"""
|
|
1346
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1347
|
+
"""Adds driver(s) to the given property
|
|
1348
|
+
|
|
1349
|
+
:return: The driver(s) added.
|
|
1350
|
+
:rtype: bpy.types.FCurve
|
|
1351
|
+
"""
|
|
904
1352
|
...
|
|
905
1353
|
|
|
906
|
-
def driver_remove(self):
|
|
907
|
-
"""
|
|
1354
|
+
def driver_remove(self) -> bool:
|
|
1355
|
+
"""Remove driver(s) from the given property
|
|
1356
|
+
|
|
1357
|
+
:return: Success of driver removal.
|
|
1358
|
+
:rtype: bool
|
|
1359
|
+
"""
|
|
908
1360
|
...
|
|
909
1361
|
|
|
910
1362
|
def get(self):
|
|
911
|
-
"""
|
|
1363
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1364
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1365
|
+
|
|
1366
|
+
"""
|
|
912
1367
|
...
|
|
913
1368
|
|
|
914
1369
|
def id_properties_clear(self):
|
|
915
|
-
"""
|
|
1370
|
+
"""
|
|
1371
|
+
|
|
1372
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1373
|
+
"""
|
|
916
1374
|
...
|
|
917
1375
|
|
|
918
1376
|
def id_properties_ensure(self):
|
|
919
|
-
"""
|
|
1377
|
+
"""
|
|
1378
|
+
|
|
1379
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1380
|
+
"""
|
|
920
1381
|
...
|
|
921
1382
|
|
|
922
1383
|
def id_properties_ui(self):
|
|
923
|
-
"""
|
|
1384
|
+
"""
|
|
1385
|
+
|
|
1386
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1387
|
+
"""
|
|
924
1388
|
...
|
|
925
1389
|
|
|
926
1390
|
def is_extended(self):
|
|
927
1391
|
""" """
|
|
928
1392
|
...
|
|
929
1393
|
|
|
930
|
-
def is_property_hidden(self):
|
|
931
|
-
"""
|
|
1394
|
+
def is_property_hidden(self) -> bool:
|
|
1395
|
+
"""Check if a property is hidden.
|
|
1396
|
+
|
|
1397
|
+
:return: True when the property is hidden.
|
|
1398
|
+
:rtype: bool
|
|
1399
|
+
"""
|
|
932
1400
|
...
|
|
933
1401
|
|
|
934
|
-
def is_property_overridable_library(self):
|
|
935
|
-
"""
|
|
1402
|
+
def is_property_overridable_library(self) -> bool:
|
|
1403
|
+
"""Check if a property is overridable.
|
|
1404
|
+
|
|
1405
|
+
:return: True when the property is overridable.
|
|
1406
|
+
:rtype: bool
|
|
1407
|
+
"""
|
|
936
1408
|
...
|
|
937
1409
|
|
|
938
|
-
def is_property_readonly(self):
|
|
939
|
-
"""
|
|
1410
|
+
def is_property_readonly(self) -> bool:
|
|
1411
|
+
"""Check if a property is readonly.
|
|
1412
|
+
|
|
1413
|
+
:return: True when the property is readonly (not writable).
|
|
1414
|
+
:rtype: bool
|
|
1415
|
+
"""
|
|
940
1416
|
...
|
|
941
1417
|
|
|
942
|
-
def is_property_set(self):
|
|
943
|
-
"""
|
|
1418
|
+
def is_property_set(self) -> bool:
|
|
1419
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1420
|
+
|
|
1421
|
+
:return: True when the property has been set.
|
|
1422
|
+
:rtype: bool
|
|
1423
|
+
"""
|
|
944
1424
|
...
|
|
945
1425
|
|
|
946
1426
|
def items(self):
|
|
947
|
-
"""
|
|
1427
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1428
|
+
dictionary function of the same name).
|
|
1429
|
+
|
|
1430
|
+
:return: custom property key, value pairs.
|
|
1431
|
+
"""
|
|
948
1432
|
...
|
|
949
1433
|
|
|
950
|
-
def keyframe_delete(self):
|
|
951
|
-
"""
|
|
1434
|
+
def keyframe_delete(self) -> bool:
|
|
1435
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1436
|
+
|
|
1437
|
+
:return: Success of keyframe deletion.
|
|
1438
|
+
:rtype: bool
|
|
1439
|
+
"""
|
|
952
1440
|
...
|
|
953
1441
|
|
|
954
|
-
def keyframe_insert(self):
|
|
955
|
-
"""
|
|
1442
|
+
def keyframe_insert(self) -> bool:
|
|
1443
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1444
|
+
|
|
1445
|
+
:return: Success of keyframe insertion.
|
|
1446
|
+
:rtype: bool
|
|
1447
|
+
"""
|
|
956
1448
|
...
|
|
957
1449
|
|
|
958
1450
|
def keys(self):
|
|
959
|
-
"""
|
|
1451
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1452
|
+
dictionary function of the same name).
|
|
1453
|
+
|
|
1454
|
+
:return: custom property keys.
|
|
1455
|
+
"""
|
|
960
1456
|
...
|
|
961
1457
|
|
|
962
|
-
def path_from_id(self):
|
|
963
|
-
"""
|
|
1458
|
+
def path_from_id(self) -> str:
|
|
1459
|
+
"""Returns the data path from the ID to this object (string).
|
|
1460
|
+
|
|
1461
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1462
|
+
to this struct and property (when given).
|
|
1463
|
+
:rtype: str
|
|
1464
|
+
"""
|
|
964
1465
|
...
|
|
965
1466
|
|
|
966
1467
|
def path_resolve(self):
|
|
967
|
-
""" """
|
|
1468
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
968
1469
|
...
|
|
969
1470
|
|
|
970
1471
|
def poll(self, context):
|
|
@@ -975,37 +1476,53 @@ class PHYSICS_PT_rigid_body_dynamics(
|
|
|
975
1476
|
...
|
|
976
1477
|
|
|
977
1478
|
def pop(self):
|
|
978
|
-
"""
|
|
1479
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1480
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1481
|
+
|
|
1482
|
+
"""
|
|
979
1483
|
...
|
|
980
1484
|
|
|
981
1485
|
def prepend(self, draw_func):
|
|
982
|
-
"""
|
|
1486
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1487
|
+
the menus draw function
|
|
983
1488
|
|
|
984
|
-
|
|
1489
|
+
:param draw_func:
|
|
985
1490
|
"""
|
|
986
1491
|
...
|
|
987
1492
|
|
|
988
|
-
def property_overridable_library_set(self):
|
|
989
|
-
"""
|
|
1493
|
+
def property_overridable_library_set(self) -> bool:
|
|
1494
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1495
|
+
|
|
1496
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1497
|
+
:rtype: bool
|
|
1498
|
+
"""
|
|
990
1499
|
...
|
|
991
1500
|
|
|
992
1501
|
def property_unset(self):
|
|
993
|
-
""" """
|
|
1502
|
+
"""Unset a property, will use default value afterward."""
|
|
994
1503
|
...
|
|
995
1504
|
|
|
996
1505
|
def remove(self, draw_func):
|
|
997
|
-
"""
|
|
1506
|
+
"""Remove a draw function that has been added to this menu
|
|
998
1507
|
|
|
999
1508
|
:param draw_func:
|
|
1000
1509
|
"""
|
|
1001
1510
|
...
|
|
1002
1511
|
|
|
1003
1512
|
def type_recast(self):
|
|
1004
|
-
"""
|
|
1513
|
+
"""Return a new instance, this is needed because types
|
|
1514
|
+
such as textures can be changed at runtime.
|
|
1515
|
+
|
|
1516
|
+
:return: a new instance of this object with the type initialized again.
|
|
1517
|
+
"""
|
|
1005
1518
|
...
|
|
1006
1519
|
|
|
1007
1520
|
def values(self):
|
|
1008
|
-
"""
|
|
1521
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1522
|
+
dictionary function of the same name).
|
|
1523
|
+
|
|
1524
|
+
:return: custom property values.
|
|
1525
|
+
"""
|
|
1009
1526
|
...
|
|
1010
1527
|
|
|
1011
1528
|
class PHYSICS_PT_rigid_body_dynamics_deactivation(
|
|
@@ -1041,22 +1558,35 @@ class PHYSICS_PT_rigid_body_dynamics_deactivation(
|
|
|
1041
1558
|
""" """
|
|
1042
1559
|
|
|
1043
1560
|
def append(self, draw_func):
|
|
1044
|
-
"""
|
|
1561
|
+
"""Append a draw function to this menu,
|
|
1562
|
+
takes the same arguments as the menus draw function
|
|
1045
1563
|
|
|
1046
|
-
|
|
1564
|
+
:param draw_func:
|
|
1047
1565
|
"""
|
|
1048
1566
|
...
|
|
1049
1567
|
|
|
1050
|
-
def as_pointer(self):
|
|
1051
|
-
"""
|
|
1568
|
+
def as_pointer(self) -> int:
|
|
1569
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1570
|
+
|
|
1571
|
+
:return: int (memory address).
|
|
1572
|
+
:rtype: int
|
|
1573
|
+
"""
|
|
1052
1574
|
...
|
|
1053
1575
|
|
|
1054
|
-
def bl_rna_get_subclass(self):
|
|
1055
|
-
"""
|
|
1576
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1577
|
+
"""
|
|
1578
|
+
|
|
1579
|
+
:return: The RNA type or default when not found.
|
|
1580
|
+
:rtype: bpy.types.Struct
|
|
1581
|
+
"""
|
|
1056
1582
|
...
|
|
1057
1583
|
|
|
1058
|
-
def bl_rna_get_subclass_py(self):
|
|
1059
|
-
"""
|
|
1584
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1585
|
+
"""
|
|
1586
|
+
|
|
1587
|
+
:return: The class or default when not found.
|
|
1588
|
+
:rtype: typing.Any
|
|
1589
|
+
"""
|
|
1060
1590
|
...
|
|
1061
1591
|
|
|
1062
1592
|
def draw(self, context):
|
|
@@ -1073,72 +1603,129 @@ class PHYSICS_PT_rigid_body_dynamics_deactivation(
|
|
|
1073
1603
|
"""
|
|
1074
1604
|
...
|
|
1075
1605
|
|
|
1076
|
-
def driver_add(self):
|
|
1077
|
-
"""
|
|
1606
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1607
|
+
"""Adds driver(s) to the given property
|
|
1608
|
+
|
|
1609
|
+
:return: The driver(s) added.
|
|
1610
|
+
:rtype: bpy.types.FCurve
|
|
1611
|
+
"""
|
|
1078
1612
|
...
|
|
1079
1613
|
|
|
1080
|
-
def driver_remove(self):
|
|
1081
|
-
"""
|
|
1614
|
+
def driver_remove(self) -> bool:
|
|
1615
|
+
"""Remove driver(s) from the given property
|
|
1616
|
+
|
|
1617
|
+
:return: Success of driver removal.
|
|
1618
|
+
:rtype: bool
|
|
1619
|
+
"""
|
|
1082
1620
|
...
|
|
1083
1621
|
|
|
1084
1622
|
def get(self):
|
|
1085
|
-
"""
|
|
1623
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1624
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1625
|
+
|
|
1626
|
+
"""
|
|
1086
1627
|
...
|
|
1087
1628
|
|
|
1088
1629
|
def id_properties_clear(self):
|
|
1089
|
-
"""
|
|
1630
|
+
"""
|
|
1631
|
+
|
|
1632
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1633
|
+
"""
|
|
1090
1634
|
...
|
|
1091
1635
|
|
|
1092
1636
|
def id_properties_ensure(self):
|
|
1093
|
-
"""
|
|
1637
|
+
"""
|
|
1638
|
+
|
|
1639
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1640
|
+
"""
|
|
1094
1641
|
...
|
|
1095
1642
|
|
|
1096
1643
|
def id_properties_ui(self):
|
|
1097
|
-
"""
|
|
1644
|
+
"""
|
|
1645
|
+
|
|
1646
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1647
|
+
"""
|
|
1098
1648
|
...
|
|
1099
1649
|
|
|
1100
1650
|
def is_extended(self):
|
|
1101
1651
|
""" """
|
|
1102
1652
|
...
|
|
1103
1653
|
|
|
1104
|
-
def is_property_hidden(self):
|
|
1105
|
-
"""
|
|
1654
|
+
def is_property_hidden(self) -> bool:
|
|
1655
|
+
"""Check if a property is hidden.
|
|
1656
|
+
|
|
1657
|
+
:return: True when the property is hidden.
|
|
1658
|
+
:rtype: bool
|
|
1659
|
+
"""
|
|
1106
1660
|
...
|
|
1107
1661
|
|
|
1108
|
-
def is_property_overridable_library(self):
|
|
1109
|
-
"""
|
|
1662
|
+
def is_property_overridable_library(self) -> bool:
|
|
1663
|
+
"""Check if a property is overridable.
|
|
1664
|
+
|
|
1665
|
+
:return: True when the property is overridable.
|
|
1666
|
+
:rtype: bool
|
|
1667
|
+
"""
|
|
1110
1668
|
...
|
|
1111
1669
|
|
|
1112
|
-
def is_property_readonly(self):
|
|
1113
|
-
"""
|
|
1670
|
+
def is_property_readonly(self) -> bool:
|
|
1671
|
+
"""Check if a property is readonly.
|
|
1672
|
+
|
|
1673
|
+
:return: True when the property is readonly (not writable).
|
|
1674
|
+
:rtype: bool
|
|
1675
|
+
"""
|
|
1114
1676
|
...
|
|
1115
1677
|
|
|
1116
|
-
def is_property_set(self):
|
|
1117
|
-
"""
|
|
1678
|
+
def is_property_set(self) -> bool:
|
|
1679
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1680
|
+
|
|
1681
|
+
:return: True when the property has been set.
|
|
1682
|
+
:rtype: bool
|
|
1683
|
+
"""
|
|
1118
1684
|
...
|
|
1119
1685
|
|
|
1120
1686
|
def items(self):
|
|
1121
|
-
"""
|
|
1687
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1688
|
+
dictionary function of the same name).
|
|
1689
|
+
|
|
1690
|
+
:return: custom property key, value pairs.
|
|
1691
|
+
"""
|
|
1122
1692
|
...
|
|
1123
1693
|
|
|
1124
|
-
def keyframe_delete(self):
|
|
1125
|
-
"""
|
|
1694
|
+
def keyframe_delete(self) -> bool:
|
|
1695
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1696
|
+
|
|
1697
|
+
:return: Success of keyframe deletion.
|
|
1698
|
+
:rtype: bool
|
|
1699
|
+
"""
|
|
1126
1700
|
...
|
|
1127
1701
|
|
|
1128
|
-
def keyframe_insert(self):
|
|
1129
|
-
"""
|
|
1702
|
+
def keyframe_insert(self) -> bool:
|
|
1703
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1704
|
+
|
|
1705
|
+
:return: Success of keyframe insertion.
|
|
1706
|
+
:rtype: bool
|
|
1707
|
+
"""
|
|
1130
1708
|
...
|
|
1131
1709
|
|
|
1132
1710
|
def keys(self):
|
|
1133
|
-
"""
|
|
1711
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1712
|
+
dictionary function of the same name).
|
|
1713
|
+
|
|
1714
|
+
:return: custom property keys.
|
|
1715
|
+
"""
|
|
1134
1716
|
...
|
|
1135
1717
|
|
|
1136
|
-
def path_from_id(self):
|
|
1137
|
-
"""
|
|
1718
|
+
def path_from_id(self) -> str:
|
|
1719
|
+
"""Returns the data path from the ID to this object (string).
|
|
1720
|
+
|
|
1721
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1722
|
+
to this struct and property (when given).
|
|
1723
|
+
:rtype: str
|
|
1724
|
+
"""
|
|
1138
1725
|
...
|
|
1139
1726
|
|
|
1140
1727
|
def path_resolve(self):
|
|
1141
|
-
""" """
|
|
1728
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
1142
1729
|
...
|
|
1143
1730
|
|
|
1144
1731
|
def poll(self, context):
|
|
@@ -1149,37 +1736,53 @@ class PHYSICS_PT_rigid_body_dynamics_deactivation(
|
|
|
1149
1736
|
...
|
|
1150
1737
|
|
|
1151
1738
|
def pop(self):
|
|
1152
|
-
"""
|
|
1739
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1740
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1741
|
+
|
|
1742
|
+
"""
|
|
1153
1743
|
...
|
|
1154
1744
|
|
|
1155
1745
|
def prepend(self, draw_func):
|
|
1156
|
-
"""
|
|
1746
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1747
|
+
the menus draw function
|
|
1157
1748
|
|
|
1158
|
-
|
|
1749
|
+
:param draw_func:
|
|
1159
1750
|
"""
|
|
1160
1751
|
...
|
|
1161
1752
|
|
|
1162
|
-
def property_overridable_library_set(self):
|
|
1163
|
-
"""
|
|
1753
|
+
def property_overridable_library_set(self) -> bool:
|
|
1754
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1755
|
+
|
|
1756
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1757
|
+
:rtype: bool
|
|
1758
|
+
"""
|
|
1164
1759
|
...
|
|
1165
1760
|
|
|
1166
1761
|
def property_unset(self):
|
|
1167
|
-
""" """
|
|
1762
|
+
"""Unset a property, will use default value afterward."""
|
|
1168
1763
|
...
|
|
1169
1764
|
|
|
1170
1765
|
def remove(self, draw_func):
|
|
1171
|
-
"""
|
|
1766
|
+
"""Remove a draw function that has been added to this menu
|
|
1172
1767
|
|
|
1173
1768
|
:param draw_func:
|
|
1174
1769
|
"""
|
|
1175
1770
|
...
|
|
1176
1771
|
|
|
1177
1772
|
def type_recast(self):
|
|
1178
|
-
"""
|
|
1773
|
+
"""Return a new instance, this is needed because types
|
|
1774
|
+
such as textures can be changed at runtime.
|
|
1775
|
+
|
|
1776
|
+
:return: a new instance of this object with the type initialized again.
|
|
1777
|
+
"""
|
|
1179
1778
|
...
|
|
1180
1779
|
|
|
1181
1780
|
def values(self):
|
|
1182
|
-
"""
|
|
1781
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1782
|
+
dictionary function of the same name).
|
|
1783
|
+
|
|
1784
|
+
:return: custom property values.
|
|
1785
|
+
"""
|
|
1183
1786
|
...
|
|
1184
1787
|
|
|
1185
1788
|
class PHYSICS_PT_rigid_body_settings(
|
|
@@ -1212,22 +1815,35 @@ class PHYSICS_PT_rigid_body_settings(
|
|
|
1212
1815
|
""" """
|
|
1213
1816
|
|
|
1214
1817
|
def append(self, draw_func):
|
|
1215
|
-
"""
|
|
1818
|
+
"""Append a draw function to this menu,
|
|
1819
|
+
takes the same arguments as the menus draw function
|
|
1216
1820
|
|
|
1217
|
-
|
|
1821
|
+
:param draw_func:
|
|
1218
1822
|
"""
|
|
1219
1823
|
...
|
|
1220
1824
|
|
|
1221
|
-
def as_pointer(self):
|
|
1222
|
-
"""
|
|
1825
|
+
def as_pointer(self) -> int:
|
|
1826
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1827
|
+
|
|
1828
|
+
:return: int (memory address).
|
|
1829
|
+
:rtype: int
|
|
1830
|
+
"""
|
|
1223
1831
|
...
|
|
1224
1832
|
|
|
1225
|
-
def bl_rna_get_subclass(self):
|
|
1226
|
-
"""
|
|
1833
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1834
|
+
"""
|
|
1835
|
+
|
|
1836
|
+
:return: The RNA type or default when not found.
|
|
1837
|
+
:rtype: bpy.types.Struct
|
|
1838
|
+
"""
|
|
1227
1839
|
...
|
|
1228
1840
|
|
|
1229
|
-
def bl_rna_get_subclass_py(self):
|
|
1230
|
-
"""
|
|
1841
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1842
|
+
"""
|
|
1843
|
+
|
|
1844
|
+
:return: The class or default when not found.
|
|
1845
|
+
:rtype: typing.Any
|
|
1846
|
+
"""
|
|
1231
1847
|
...
|
|
1232
1848
|
|
|
1233
1849
|
def draw(self, context):
|
|
@@ -1237,72 +1853,129 @@ class PHYSICS_PT_rigid_body_settings(
|
|
|
1237
1853
|
"""
|
|
1238
1854
|
...
|
|
1239
1855
|
|
|
1240
|
-
def driver_add(self):
|
|
1241
|
-
"""
|
|
1856
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1857
|
+
"""Adds driver(s) to the given property
|
|
1858
|
+
|
|
1859
|
+
:return: The driver(s) added.
|
|
1860
|
+
:rtype: bpy.types.FCurve
|
|
1861
|
+
"""
|
|
1242
1862
|
...
|
|
1243
1863
|
|
|
1244
|
-
def driver_remove(self):
|
|
1245
|
-
"""
|
|
1864
|
+
def driver_remove(self) -> bool:
|
|
1865
|
+
"""Remove driver(s) from the given property
|
|
1866
|
+
|
|
1867
|
+
:return: Success of driver removal.
|
|
1868
|
+
:rtype: bool
|
|
1869
|
+
"""
|
|
1246
1870
|
...
|
|
1247
1871
|
|
|
1248
1872
|
def get(self):
|
|
1249
|
-
"""
|
|
1873
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1874
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1875
|
+
|
|
1876
|
+
"""
|
|
1250
1877
|
...
|
|
1251
1878
|
|
|
1252
1879
|
def id_properties_clear(self):
|
|
1253
|
-
"""
|
|
1880
|
+
"""
|
|
1881
|
+
|
|
1882
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1883
|
+
"""
|
|
1254
1884
|
...
|
|
1255
1885
|
|
|
1256
1886
|
def id_properties_ensure(self):
|
|
1257
|
-
"""
|
|
1887
|
+
"""
|
|
1888
|
+
|
|
1889
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1890
|
+
"""
|
|
1258
1891
|
...
|
|
1259
1892
|
|
|
1260
1893
|
def id_properties_ui(self):
|
|
1261
|
-
"""
|
|
1894
|
+
"""
|
|
1895
|
+
|
|
1896
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1897
|
+
"""
|
|
1262
1898
|
...
|
|
1263
1899
|
|
|
1264
1900
|
def is_extended(self):
|
|
1265
1901
|
""" """
|
|
1266
1902
|
...
|
|
1267
1903
|
|
|
1268
|
-
def is_property_hidden(self):
|
|
1269
|
-
"""
|
|
1904
|
+
def is_property_hidden(self) -> bool:
|
|
1905
|
+
"""Check if a property is hidden.
|
|
1906
|
+
|
|
1907
|
+
:return: True when the property is hidden.
|
|
1908
|
+
:rtype: bool
|
|
1909
|
+
"""
|
|
1270
1910
|
...
|
|
1271
1911
|
|
|
1272
|
-
def is_property_overridable_library(self):
|
|
1273
|
-
"""
|
|
1912
|
+
def is_property_overridable_library(self) -> bool:
|
|
1913
|
+
"""Check if a property is overridable.
|
|
1914
|
+
|
|
1915
|
+
:return: True when the property is overridable.
|
|
1916
|
+
:rtype: bool
|
|
1917
|
+
"""
|
|
1274
1918
|
...
|
|
1275
1919
|
|
|
1276
|
-
def is_property_readonly(self):
|
|
1277
|
-
"""
|
|
1920
|
+
def is_property_readonly(self) -> bool:
|
|
1921
|
+
"""Check if a property is readonly.
|
|
1922
|
+
|
|
1923
|
+
:return: True when the property is readonly (not writable).
|
|
1924
|
+
:rtype: bool
|
|
1925
|
+
"""
|
|
1278
1926
|
...
|
|
1279
1927
|
|
|
1280
|
-
def is_property_set(self):
|
|
1281
|
-
"""
|
|
1928
|
+
def is_property_set(self) -> bool:
|
|
1929
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1930
|
+
|
|
1931
|
+
:return: True when the property has been set.
|
|
1932
|
+
:rtype: bool
|
|
1933
|
+
"""
|
|
1282
1934
|
...
|
|
1283
1935
|
|
|
1284
1936
|
def items(self):
|
|
1285
|
-
"""
|
|
1937
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1938
|
+
dictionary function of the same name).
|
|
1939
|
+
|
|
1940
|
+
:return: custom property key, value pairs.
|
|
1941
|
+
"""
|
|
1286
1942
|
...
|
|
1287
1943
|
|
|
1288
|
-
def keyframe_delete(self):
|
|
1289
|
-
"""
|
|
1944
|
+
def keyframe_delete(self) -> bool:
|
|
1945
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1946
|
+
|
|
1947
|
+
:return: Success of keyframe deletion.
|
|
1948
|
+
:rtype: bool
|
|
1949
|
+
"""
|
|
1290
1950
|
...
|
|
1291
1951
|
|
|
1292
|
-
def keyframe_insert(self):
|
|
1293
|
-
"""
|
|
1952
|
+
def keyframe_insert(self) -> bool:
|
|
1953
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1954
|
+
|
|
1955
|
+
:return: Success of keyframe insertion.
|
|
1956
|
+
:rtype: bool
|
|
1957
|
+
"""
|
|
1294
1958
|
...
|
|
1295
1959
|
|
|
1296
1960
|
def keys(self):
|
|
1297
|
-
"""
|
|
1961
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1962
|
+
dictionary function of the same name).
|
|
1963
|
+
|
|
1964
|
+
:return: custom property keys.
|
|
1965
|
+
"""
|
|
1298
1966
|
...
|
|
1299
1967
|
|
|
1300
|
-
def path_from_id(self):
|
|
1301
|
-
"""
|
|
1968
|
+
def path_from_id(self) -> str:
|
|
1969
|
+
"""Returns the data path from the ID to this object (string).
|
|
1970
|
+
|
|
1971
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1972
|
+
to this struct and property (when given).
|
|
1973
|
+
:rtype: str
|
|
1974
|
+
"""
|
|
1302
1975
|
...
|
|
1303
1976
|
|
|
1304
1977
|
def path_resolve(self):
|
|
1305
|
-
""" """
|
|
1978
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
1306
1979
|
...
|
|
1307
1980
|
|
|
1308
1981
|
def poll(self, context):
|
|
@@ -1313,37 +1986,53 @@ class PHYSICS_PT_rigid_body_settings(
|
|
|
1313
1986
|
...
|
|
1314
1987
|
|
|
1315
1988
|
def pop(self):
|
|
1316
|
-
"""
|
|
1989
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1990
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1991
|
+
|
|
1992
|
+
"""
|
|
1317
1993
|
...
|
|
1318
1994
|
|
|
1319
1995
|
def prepend(self, draw_func):
|
|
1320
|
-
"""
|
|
1996
|
+
"""Prepend a draw function to this menu, takes the same arguments as
|
|
1997
|
+
the menus draw function
|
|
1321
1998
|
|
|
1322
|
-
|
|
1999
|
+
:param draw_func:
|
|
1323
2000
|
"""
|
|
1324
2001
|
...
|
|
1325
2002
|
|
|
1326
|
-
def property_overridable_library_set(self):
|
|
1327
|
-
"""
|
|
2003
|
+
def property_overridable_library_set(self) -> bool:
|
|
2004
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
2005
|
+
|
|
2006
|
+
:return: True when the overridable status of the property was successfully set.
|
|
2007
|
+
:rtype: bool
|
|
2008
|
+
"""
|
|
1328
2009
|
...
|
|
1329
2010
|
|
|
1330
2011
|
def property_unset(self):
|
|
1331
|
-
""" """
|
|
2012
|
+
"""Unset a property, will use default value afterward."""
|
|
1332
2013
|
...
|
|
1333
2014
|
|
|
1334
2015
|
def remove(self, draw_func):
|
|
1335
|
-
"""
|
|
2016
|
+
"""Remove a draw function that has been added to this menu
|
|
1336
2017
|
|
|
1337
2018
|
:param draw_func:
|
|
1338
2019
|
"""
|
|
1339
2020
|
...
|
|
1340
2021
|
|
|
1341
2022
|
def type_recast(self):
|
|
1342
|
-
"""
|
|
2023
|
+
"""Return a new instance, this is needed because types
|
|
2024
|
+
such as textures can be changed at runtime.
|
|
2025
|
+
|
|
2026
|
+
:return: a new instance of this object with the type initialized again.
|
|
2027
|
+
"""
|
|
1343
2028
|
...
|
|
1344
2029
|
|
|
1345
2030
|
def values(self):
|
|
1346
|
-
"""
|
|
2031
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
2032
|
+
dictionary function of the same name).
|
|
2033
|
+
|
|
2034
|
+
:return: custom property values.
|
|
2035
|
+
"""
|
|
1347
2036
|
...
|
|
1348
2037
|
|
|
1349
2038
|
def rigid_body_warning(layout, text):
|