fake-bpy-module 20240516__py3-none-any.whl → 20240518__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/freedesktop/__init__.pyi +17 -84
- addon_utils/__init__.pyi +44 -38
- animsys_refactor/__init__.pyi +7 -27
- aud/__init__.pyi +8 -11
- bgl/__init__.pyi +121 -1812
- bl_app_override/__init__.pyi +8 -19
- bl_app_override/helpers/__init__.pyi +5 -23
- bl_app_template_utils/__init__.pyi +5 -17
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +16 -67
- bl_i18n_utils/merge_po/__init__.pyi +1 -4
- bl_i18n_utils/settings/__init__.pyi +6 -24
- bl_i18n_utils/utils/__init__.pyi +93 -122
- bl_i18n_utils/utils_cli/__init__.pyi +6 -29
- bl_i18n_utils/utils_languages_menu/__init__.pyi +1 -4
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +9 -40
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +1 -4
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -6
- bl_keymap_utils/versioning/__init__.pyi +1 -4
- bl_operators/__init__.pyi +2 -9
- bl_operators/add_mesh_torus/__init__.pyi +128 -59
- bl_operators/anim/__init__.pyi +1001 -398
- bl_operators/assets/__init__.pyi +376 -152
- bl_operators/bmesh/find_adjacent/__init__.pyi +10 -37
- bl_operators/clip/__init__.pyi +1264 -532
- bl_operators/console/__init__.pyi +626 -242
- bl_operators/constraint/__init__.pyi +502 -201
- bl_operators/file/__init__.pyi +376 -150
- bl_operators/freestyle/__init__.pyi +501 -200
- bl_operators/geometry_nodes/__init__.pyi +514 -266
- bl_operators/image/__init__.pyi +621 -251
- bl_operators/mesh/__init__.pyi +376 -150
- bl_operators/node/__init__.pyi +1253 -516
- bl_operators/object/__init__.pyi +1879 -755
- bl_operators/object_align/__init__.pyi +129 -64
- bl_operators/object_quick_effects/__init__.pyi +504 -213
- bl_operators/object_randomize_transform/__init__.pyi +129 -54
- bl_operators/presets/__init__.pyi +3072 -1403
- bl_operators/rigidbody/__init__.pyi +376 -150
- bl_operators/screen_play_rendered_anim/__init__.pyi +127 -54
- bl_operators/sequencer/__init__.pyi +1010 -434
- bl_operators/spreadsheet/__init__.pyi +126 -50
- bl_operators/userpref/__init__.pyi +3253 -1267
- bl_operators/uvcalc_follow_active/__init__.pyi +128 -59
- bl_operators/uvcalc_lightmap/__init__.pyi +139 -80
- bl_operators/uvcalc_transform/__init__.pyi +297 -159
- bl_operators/vertexpaint_dirt/__init__.pyi +128 -59
- bl_operators/view3d/__init__.pyi +868 -342
- bl_operators/wm/__init__.pyi +5795 -2388
- bl_operators/world/__init__.pyi +126 -50
- bl_previews_utils/bl_previews_render/__init__.pyi +7 -34
- bl_rna_utils/data_path/__init__.pyi +8 -4
- bl_text_utils/external_editor/__init__.pyi +1 -4
- bl_ui/__init__.pyi +366 -269
- bl_ui/anim/__init__.pyi +164 -74
- bl_ui/asset_shelf/__init__.pyi +129 -56
- bl_ui/generic_ui_list/__init__.pyi +412 -163
- bl_ui/node_add_menu/__init__.pyi +171 -94
- bl_ui/node_add_menu_compositor/__init__.pyi +2918 -1353
- bl_ui/node_add_menu_geometry/__init__.pyi +7789 -3616
- bl_ui/node_add_menu_shader/__init__.pyi +1630 -790
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -675
- bl_ui/properties_animviz/__init__.pyi +2 -16
- bl_ui/properties_collection/__init__.pyi +807 -379
- bl_ui/properties_constraint/__init__.pyi +10292 -4941
- bl_ui/properties_data_armature/__init__.pyi +1615 -753
- bl_ui/properties_data_bone/__init__.pyi +1284 -608
- bl_ui/properties_data_camera/__init__.pyi +1854 -927
- bl_ui/properties_data_curve/__init__.pyi +1927 -937
- bl_ui/properties_data_curves/__init__.pyi +806 -375
- bl_ui/properties_data_empty/__init__.pyi +257 -125
- bl_ui/properties_data_gpencil/__init__.pyi +2376 -1130
- bl_ui/properties_data_grease_pencil/__init__.pyi +1898 -894
- bl_ui/properties_data_lattice/__init__.pyi +388 -188
- bl_ui/properties_data_light/__init__.pyi +1540 -756
- bl_ui/properties_data_lightprobe/__init__.pyi +1666 -810
- bl_ui/properties_data_mesh/__init__.pyi +2707 -1235
- bl_ui/properties_data_metaball/__init__.pyi +644 -308
- bl_ui/properties_data_modifier/__init__.pyi +1353 -671
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -316
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -67
- bl_ui/properties_data_speaker/__init__.pyi +644 -316
- bl_ui/properties_data_volume/__init__.pyi +1028 -484
- bl_ui/properties_freestyle/__init__.pyi +3112 -1619
- bl_ui/properties_grease_pencil_common/__init__.pyi +2454 -1123
- bl_ui/properties_mask_common/__init__.pyi +1102 -523
- bl_ui/properties_material/__init__.pyi +2089 -1009
- bl_ui/properties_material_gpencil/__init__.pyi +1348 -635
- bl_ui/properties_object/__init__.pyi +1832 -873
- bl_ui/properties_output/__init__.pyi +2405 -1173
- bl_ui/properties_paint_common/__init__.pyi +416 -386
- bl_ui/properties_particle/__init__.pyi +6740 -3346
- bl_ui/properties_physics_cloth/__init__.pyi +1822 -907
- bl_ui/properties_physics_common/__init__.pyi +135 -98
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2817 -1391
- bl_ui/properties_physics_field/__init__.pyi +1282 -627
- bl_ui/properties_physics_fluid/__init__.pyi +3614 -1794
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -60
- bl_ui/properties_physics_rigidbody/__init__.pyi +1026 -515
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1665 -811
- bl_ui/properties_physics_softbody/__init__.pyi +1922 -967
- bl_ui/properties_render/__init__.pyi +6843 -3367
- bl_ui/properties_scene/__init__.pyi +1924 -913
- bl_ui/properties_texture/__init__.pyi +3371 -1667
- bl_ui/properties_view_layer/__init__.pyi +2344 -1107
- bl_ui/properties_workspace/__init__.pyi +516 -244
- bl_ui/properties_world/__init__.pyi +1284 -630
- bl_ui/space_clip/__init__.pyi +10172 -4695
- bl_ui/space_console/__init__.pyi +940 -423
- bl_ui/space_dopesheet/__init__.pyi +4325 -2013
- bl_ui/space_filebrowser/__init__.pyi +4172 -1903
- bl_ui/space_graph/__init__.pyi +3107 -1394
- bl_ui/space_image/__init__.pyi +9764 -4614
- bl_ui/space_info/__init__.pyi +939 -421
- bl_ui/space_nla/__init__.pyi +2623 -1183
- bl_ui/space_node/__init__.pyi +3995 -1840
- bl_ui/space_outliner/__init__.pyi +2203 -991
- bl_ui/space_properties/__init__.pyi +386 -165
- bl_ui/space_sequencer/__init__.pyi +10809 -4978
- bl_ui/space_spreadsheet/__init__.pyi +130 -53
- bl_ui/space_statusbar/__init__.pyi +129 -52
- bl_ui/space_text/__init__.pyi +2457 -1100
- bl_ui/space_time/__init__.pyi +1034 -481
- bl_ui/space_toolsystem_common/__init__.pyi +56 -211
- bl_ui/space_toolsystem_toolbar/__init__.pyi +153 -882
- bl_ui/space_topbar/__init__.pyi +3982 -1805
- bl_ui/space_userpref/__init__.pyi +11383 -5290
- bl_ui/space_view3d/__init__.pyi +40873 -18532
- bl_ui/space_view3d_toolbar/__init__.pyi +12570 -6502
- bl_ui/temp_anim_layers/__init__.pyi +130 -62
- bl_ui/utils/__init__.pyi +28 -27
- bl_ui_utils/bug_report_url/__init__.pyi +1 -4
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +3 -10
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +39 -56
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2683 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17058 -26311
- bpy/utils/__init__.pyi +247 -179
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -29
- bpy_extras/asset_utils/__init__.pyi +0 -10
- bpy_extras/bmesh_utils/__init__.pyi +9 -6
- bpy_extras/extensions/junction_module/__init__.pyi +6 -8
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +116 -41
- bpy_extras/keyconfig_utils/__init__.pyi +4 -11
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +52 -288
- bpy_extras/node_utils/__init__.pyi +10 -10
- bpy_extras/object_utils/__init__.pyi +71 -14
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +15 -38
- bpy_restrict_state/__init__.pyi +1 -14
- bpy_types/__init__.pyi +4203 -1605
- console_python/__init__.pyi +12 -37
- console_shell/__init__.pyi +5 -24
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/METADATA +1 -1
- fake_bpy_module-20240518.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +14 -44
- freestyle/functions/__init__.pyi +7 -33
- freestyle/predicates/__init__.pyi +44 -217
- freestyle/shaders/__init__.pyi +2 -12
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +6 -18
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -9
- idprop/types/__init__.pyi +8 -35
- imbuf/__init__.pyi +4 -4
- imbuf/types/__init__.pyi +0 -2
- keyingsets_builtins/__init__.pyi +2692 -997
- keyingsets_utils/__init__.pyi +14 -69
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -6
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_builtins/__init__.pyi +5 -30
- nodeitems_utils/__init__.pyi +8 -45
- rna_info/__init__.pyi +39 -215
- rna_keymap_ui/__init__.pyi +6 -29
- rna_prop_ui/__init__.pyi +24 -62
- rna_xml/__init__.pyi +16 -39
- sys_info/__init__.pyi +1 -4
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240518.dist-info}/top_level.txt +0 -0
bl_operators/view3d/__init__.pyi
CHANGED
|
@@ -1,103 +1,160 @@
|
|
|
1
1
|
import typing
|
|
2
|
+
import bpy.types
|
|
2
3
|
import bpy_types
|
|
3
4
|
|
|
4
5
|
GenericType = typing.TypeVar("GenericType")
|
|
5
6
|
|
|
6
7
|
class VIEW3D_FH_camera_background_image(bpy_types.FileHandler):
|
|
7
|
-
""" """
|
|
8
|
-
|
|
9
8
|
bl_file_extensions: typing.Any
|
|
10
|
-
""" """
|
|
11
|
-
|
|
12
9
|
bl_idname: typing.Any
|
|
13
|
-
""" """
|
|
14
|
-
|
|
15
10
|
bl_import_operator: typing.Any
|
|
16
|
-
""" """
|
|
17
|
-
|
|
18
11
|
bl_label: typing.Any
|
|
19
|
-
""" """
|
|
20
|
-
|
|
21
12
|
bl_rna: typing.Any
|
|
22
|
-
""" """
|
|
23
|
-
|
|
24
13
|
id_data: typing.Any
|
|
25
|
-
""" """
|
|
26
14
|
|
|
27
|
-
def as_pointer(self):
|
|
28
|
-
"""
|
|
15
|
+
def as_pointer(self) -> int:
|
|
16
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
17
|
+
|
|
18
|
+
:return: int (memory address).
|
|
19
|
+
:rtype: int
|
|
20
|
+
"""
|
|
29
21
|
...
|
|
30
22
|
|
|
31
|
-
def bl_rna_get_subclass(self):
|
|
32
|
-
"""
|
|
23
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
:return: The RNA type or default when not found.
|
|
27
|
+
:rtype: bpy.types.Struct
|
|
28
|
+
"""
|
|
33
29
|
...
|
|
34
30
|
|
|
35
|
-
def bl_rna_get_subclass_py(self):
|
|
36
|
-
"""
|
|
31
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
:return: The class or default when not found.
|
|
35
|
+
:rtype: typing.Any
|
|
36
|
+
"""
|
|
37
37
|
...
|
|
38
38
|
|
|
39
|
-
def driver_add(self):
|
|
40
|
-
"""
|
|
39
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
40
|
+
"""Adds driver(s) to the given property
|
|
41
|
+
|
|
42
|
+
:return: The driver(s) added.
|
|
43
|
+
:rtype: bpy.types.FCurve
|
|
44
|
+
"""
|
|
41
45
|
...
|
|
42
46
|
|
|
43
|
-
def driver_remove(self):
|
|
44
|
-
"""
|
|
47
|
+
def driver_remove(self) -> bool:
|
|
48
|
+
"""Remove driver(s) from the given property
|
|
49
|
+
|
|
50
|
+
:return: Success of driver removal.
|
|
51
|
+
:rtype: bool
|
|
52
|
+
"""
|
|
45
53
|
...
|
|
46
54
|
|
|
47
55
|
def get(self):
|
|
48
|
-
"""
|
|
56
|
+
"""Returns the value of the custom property assigned to key or default
|
|
57
|
+
when not found (matches Python's dictionary function of the same name).
|
|
58
|
+
|
|
59
|
+
"""
|
|
49
60
|
...
|
|
50
61
|
|
|
51
62
|
def id_properties_clear(self):
|
|
52
|
-
"""
|
|
63
|
+
"""
|
|
64
|
+
|
|
65
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
66
|
+
"""
|
|
53
67
|
...
|
|
54
68
|
|
|
55
69
|
def id_properties_ensure(self):
|
|
56
|
-
"""
|
|
70
|
+
"""
|
|
71
|
+
|
|
72
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
73
|
+
"""
|
|
57
74
|
...
|
|
58
75
|
|
|
59
76
|
def id_properties_ui(self):
|
|
60
|
-
"""
|
|
77
|
+
"""
|
|
78
|
+
|
|
79
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
80
|
+
"""
|
|
61
81
|
...
|
|
62
82
|
|
|
63
|
-
def is_property_hidden(self):
|
|
64
|
-
"""
|
|
83
|
+
def is_property_hidden(self) -> bool:
|
|
84
|
+
"""Check if a property is hidden.
|
|
85
|
+
|
|
86
|
+
:return: True when the property is hidden.
|
|
87
|
+
:rtype: bool
|
|
88
|
+
"""
|
|
65
89
|
...
|
|
66
90
|
|
|
67
|
-
def is_property_overridable_library(self):
|
|
68
|
-
"""
|
|
91
|
+
def is_property_overridable_library(self) -> bool:
|
|
92
|
+
"""Check if a property is overridable.
|
|
93
|
+
|
|
94
|
+
:return: True when the property is overridable.
|
|
95
|
+
:rtype: bool
|
|
96
|
+
"""
|
|
69
97
|
...
|
|
70
98
|
|
|
71
|
-
def is_property_readonly(self):
|
|
72
|
-
"""
|
|
99
|
+
def is_property_readonly(self) -> bool:
|
|
100
|
+
"""Check if a property is readonly.
|
|
101
|
+
|
|
102
|
+
:return: True when the property is readonly (not writable).
|
|
103
|
+
:rtype: bool
|
|
104
|
+
"""
|
|
73
105
|
...
|
|
74
106
|
|
|
75
|
-
def is_property_set(self):
|
|
76
|
-
"""
|
|
107
|
+
def is_property_set(self) -> bool:
|
|
108
|
+
"""Check if a property is set, use for testing operator properties.
|
|
109
|
+
|
|
110
|
+
:return: True when the property has been set.
|
|
111
|
+
:rtype: bool
|
|
112
|
+
"""
|
|
77
113
|
...
|
|
78
114
|
|
|
79
115
|
def items(self):
|
|
80
|
-
"""
|
|
116
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
117
|
+
dictionary function of the same name).
|
|
118
|
+
|
|
119
|
+
:return: custom property key, value pairs.
|
|
120
|
+
"""
|
|
81
121
|
...
|
|
82
122
|
|
|
83
|
-
def keyframe_delete(self):
|
|
84
|
-
"""
|
|
123
|
+
def keyframe_delete(self) -> bool:
|
|
124
|
+
"""Remove a keyframe from this properties fcurve.
|
|
125
|
+
|
|
126
|
+
:return: Success of keyframe deletion.
|
|
127
|
+
:rtype: bool
|
|
128
|
+
"""
|
|
85
129
|
...
|
|
86
130
|
|
|
87
|
-
def keyframe_insert(self):
|
|
88
|
-
"""
|
|
131
|
+
def keyframe_insert(self) -> bool:
|
|
132
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
133
|
+
|
|
134
|
+
:return: Success of keyframe insertion.
|
|
135
|
+
:rtype: bool
|
|
136
|
+
"""
|
|
89
137
|
...
|
|
90
138
|
|
|
91
139
|
def keys(self):
|
|
92
|
-
"""
|
|
140
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
141
|
+
dictionary function of the same name).
|
|
142
|
+
|
|
143
|
+
:return: custom property keys.
|
|
144
|
+
"""
|
|
93
145
|
...
|
|
94
146
|
|
|
95
|
-
def path_from_id(self):
|
|
96
|
-
"""
|
|
147
|
+
def path_from_id(self) -> str:
|
|
148
|
+
"""Returns the data path from the ID to this object (string).
|
|
149
|
+
|
|
150
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
151
|
+
to this struct and property (when given).
|
|
152
|
+
:rtype: str
|
|
153
|
+
"""
|
|
97
154
|
...
|
|
98
155
|
|
|
99
156
|
def path_resolve(self):
|
|
100
|
-
""" """
|
|
157
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
101
158
|
...
|
|
102
159
|
|
|
103
160
|
def poll_drop(self, context):
|
|
@@ -108,120 +165,191 @@ class VIEW3D_FH_camera_background_image(bpy_types.FileHandler):
|
|
|
108
165
|
...
|
|
109
166
|
|
|
110
167
|
def pop(self):
|
|
111
|
-
"""
|
|
168
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
169
|
+
when not found (matches Python's dictionary function of the same name).
|
|
170
|
+
|
|
171
|
+
"""
|
|
112
172
|
...
|
|
113
173
|
|
|
114
|
-
def property_overridable_library_set(self):
|
|
115
|
-
"""
|
|
174
|
+
def property_overridable_library_set(self) -> bool:
|
|
175
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
176
|
+
|
|
177
|
+
:return: True when the overridable status of the property was successfully set.
|
|
178
|
+
:rtype: bool
|
|
179
|
+
"""
|
|
116
180
|
...
|
|
117
181
|
|
|
118
182
|
def property_unset(self):
|
|
119
|
-
""" """
|
|
183
|
+
"""Unset a property, will use default value afterward."""
|
|
120
184
|
...
|
|
121
185
|
|
|
122
186
|
def type_recast(self):
|
|
123
|
-
"""
|
|
187
|
+
"""Return a new instance, this is needed because types
|
|
188
|
+
such as textures can be changed at runtime.
|
|
189
|
+
|
|
190
|
+
:return: a new instance of this object with the type initialized again.
|
|
191
|
+
"""
|
|
124
192
|
...
|
|
125
193
|
|
|
126
194
|
def values(self):
|
|
127
|
-
"""
|
|
195
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
196
|
+
dictionary function of the same name).
|
|
197
|
+
|
|
198
|
+
:return: custom property values.
|
|
199
|
+
"""
|
|
128
200
|
...
|
|
129
201
|
|
|
130
202
|
class VIEW3D_FH_empty_image(bpy_types.FileHandler):
|
|
131
|
-
""" """
|
|
132
|
-
|
|
133
203
|
bl_file_extensions: typing.Any
|
|
134
|
-
""" """
|
|
135
|
-
|
|
136
204
|
bl_idname: typing.Any
|
|
137
|
-
""" """
|
|
138
|
-
|
|
139
205
|
bl_import_operator: typing.Any
|
|
140
|
-
""" """
|
|
141
|
-
|
|
142
206
|
bl_label: typing.Any
|
|
143
|
-
""" """
|
|
144
|
-
|
|
145
207
|
bl_rna: typing.Any
|
|
146
|
-
""" """
|
|
147
|
-
|
|
148
208
|
id_data: typing.Any
|
|
149
|
-
""" """
|
|
150
209
|
|
|
151
|
-
def as_pointer(self):
|
|
152
|
-
"""
|
|
210
|
+
def as_pointer(self) -> int:
|
|
211
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
212
|
+
|
|
213
|
+
:return: int (memory address).
|
|
214
|
+
:rtype: int
|
|
215
|
+
"""
|
|
153
216
|
...
|
|
154
217
|
|
|
155
|
-
def bl_rna_get_subclass(self):
|
|
156
|
-
"""
|
|
218
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
219
|
+
"""
|
|
220
|
+
|
|
221
|
+
:return: The RNA type or default when not found.
|
|
222
|
+
:rtype: bpy.types.Struct
|
|
223
|
+
"""
|
|
157
224
|
...
|
|
158
225
|
|
|
159
|
-
def bl_rna_get_subclass_py(self):
|
|
160
|
-
"""
|
|
226
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
227
|
+
"""
|
|
228
|
+
|
|
229
|
+
:return: The class or default when not found.
|
|
230
|
+
:rtype: typing.Any
|
|
231
|
+
"""
|
|
161
232
|
...
|
|
162
233
|
|
|
163
|
-
def driver_add(self):
|
|
164
|
-
"""
|
|
234
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
235
|
+
"""Adds driver(s) to the given property
|
|
236
|
+
|
|
237
|
+
:return: The driver(s) added.
|
|
238
|
+
:rtype: bpy.types.FCurve
|
|
239
|
+
"""
|
|
165
240
|
...
|
|
166
241
|
|
|
167
|
-
def driver_remove(self):
|
|
168
|
-
"""
|
|
242
|
+
def driver_remove(self) -> bool:
|
|
243
|
+
"""Remove driver(s) from the given property
|
|
244
|
+
|
|
245
|
+
:return: Success of driver removal.
|
|
246
|
+
:rtype: bool
|
|
247
|
+
"""
|
|
169
248
|
...
|
|
170
249
|
|
|
171
250
|
def get(self):
|
|
172
|
-
"""
|
|
251
|
+
"""Returns the value of the custom property assigned to key or default
|
|
252
|
+
when not found (matches Python's dictionary function of the same name).
|
|
253
|
+
|
|
254
|
+
"""
|
|
173
255
|
...
|
|
174
256
|
|
|
175
257
|
def id_properties_clear(self):
|
|
176
|
-
"""
|
|
258
|
+
"""
|
|
259
|
+
|
|
260
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
261
|
+
"""
|
|
177
262
|
...
|
|
178
263
|
|
|
179
264
|
def id_properties_ensure(self):
|
|
180
|
-
"""
|
|
265
|
+
"""
|
|
266
|
+
|
|
267
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
268
|
+
"""
|
|
181
269
|
...
|
|
182
270
|
|
|
183
271
|
def id_properties_ui(self):
|
|
184
|
-
"""
|
|
272
|
+
"""
|
|
273
|
+
|
|
274
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
275
|
+
"""
|
|
185
276
|
...
|
|
186
277
|
|
|
187
|
-
def is_property_hidden(self):
|
|
188
|
-
"""
|
|
278
|
+
def is_property_hidden(self) -> bool:
|
|
279
|
+
"""Check if a property is hidden.
|
|
280
|
+
|
|
281
|
+
:return: True when the property is hidden.
|
|
282
|
+
:rtype: bool
|
|
283
|
+
"""
|
|
189
284
|
...
|
|
190
285
|
|
|
191
|
-
def is_property_overridable_library(self):
|
|
192
|
-
"""
|
|
286
|
+
def is_property_overridable_library(self) -> bool:
|
|
287
|
+
"""Check if a property is overridable.
|
|
288
|
+
|
|
289
|
+
:return: True when the property is overridable.
|
|
290
|
+
:rtype: bool
|
|
291
|
+
"""
|
|
193
292
|
...
|
|
194
293
|
|
|
195
|
-
def is_property_readonly(self):
|
|
196
|
-
"""
|
|
294
|
+
def is_property_readonly(self) -> bool:
|
|
295
|
+
"""Check if a property is readonly.
|
|
296
|
+
|
|
297
|
+
:return: True when the property is readonly (not writable).
|
|
298
|
+
:rtype: bool
|
|
299
|
+
"""
|
|
197
300
|
...
|
|
198
301
|
|
|
199
|
-
def is_property_set(self):
|
|
200
|
-
"""
|
|
302
|
+
def is_property_set(self) -> bool:
|
|
303
|
+
"""Check if a property is set, use for testing operator properties.
|
|
304
|
+
|
|
305
|
+
:return: True when the property has been set.
|
|
306
|
+
:rtype: bool
|
|
307
|
+
"""
|
|
201
308
|
...
|
|
202
309
|
|
|
203
310
|
def items(self):
|
|
204
|
-
"""
|
|
311
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
312
|
+
dictionary function of the same name).
|
|
313
|
+
|
|
314
|
+
:return: custom property key, value pairs.
|
|
315
|
+
"""
|
|
205
316
|
...
|
|
206
317
|
|
|
207
|
-
def keyframe_delete(self):
|
|
208
|
-
"""
|
|
318
|
+
def keyframe_delete(self) -> bool:
|
|
319
|
+
"""Remove a keyframe from this properties fcurve.
|
|
320
|
+
|
|
321
|
+
:return: Success of keyframe deletion.
|
|
322
|
+
:rtype: bool
|
|
323
|
+
"""
|
|
209
324
|
...
|
|
210
325
|
|
|
211
|
-
def keyframe_insert(self):
|
|
212
|
-
"""
|
|
326
|
+
def keyframe_insert(self) -> bool:
|
|
327
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
328
|
+
|
|
329
|
+
:return: Success of keyframe insertion.
|
|
330
|
+
:rtype: bool
|
|
331
|
+
"""
|
|
213
332
|
...
|
|
214
333
|
|
|
215
334
|
def keys(self):
|
|
216
|
-
"""
|
|
335
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
336
|
+
dictionary function of the same name).
|
|
337
|
+
|
|
338
|
+
:return: custom property keys.
|
|
339
|
+
"""
|
|
217
340
|
...
|
|
218
341
|
|
|
219
|
-
def path_from_id(self):
|
|
220
|
-
"""
|
|
342
|
+
def path_from_id(self) -> str:
|
|
343
|
+
"""Returns the data path from the ID to this object (string).
|
|
344
|
+
|
|
345
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
346
|
+
to this struct and property (when given).
|
|
347
|
+
:rtype: str
|
|
348
|
+
"""
|
|
221
349
|
...
|
|
222
350
|
|
|
223
351
|
def path_resolve(self):
|
|
224
|
-
""" """
|
|
352
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
225
353
|
...
|
|
226
354
|
|
|
227
355
|
def poll_drop(self, context):
|
|
@@ -232,65 +360,93 @@ class VIEW3D_FH_empty_image(bpy_types.FileHandler):
|
|
|
232
360
|
...
|
|
233
361
|
|
|
234
362
|
def pop(self):
|
|
235
|
-
"""
|
|
363
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
364
|
+
when not found (matches Python's dictionary function of the same name).
|
|
365
|
+
|
|
366
|
+
"""
|
|
236
367
|
...
|
|
237
368
|
|
|
238
|
-
def property_overridable_library_set(self):
|
|
239
|
-
"""
|
|
369
|
+
def property_overridable_library_set(self) -> bool:
|
|
370
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
371
|
+
|
|
372
|
+
:return: True when the overridable status of the property was successfully set.
|
|
373
|
+
:rtype: bool
|
|
374
|
+
"""
|
|
240
375
|
...
|
|
241
376
|
|
|
242
377
|
def property_unset(self):
|
|
243
|
-
""" """
|
|
378
|
+
"""Unset a property, will use default value afterward."""
|
|
244
379
|
...
|
|
245
380
|
|
|
246
381
|
def type_recast(self):
|
|
247
|
-
"""
|
|
382
|
+
"""Return a new instance, this is needed because types
|
|
383
|
+
such as textures can be changed at runtime.
|
|
384
|
+
|
|
385
|
+
:return: a new instance of this object with the type initialized again.
|
|
386
|
+
"""
|
|
248
387
|
...
|
|
249
388
|
|
|
250
389
|
def values(self):
|
|
251
|
-
"""
|
|
390
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
391
|
+
dictionary function of the same name).
|
|
392
|
+
|
|
393
|
+
:return: custom property values.
|
|
394
|
+
"""
|
|
252
395
|
...
|
|
253
396
|
|
|
254
397
|
class VIEW3D_OT_edit_mesh_extrude_individual_move(bpy_types.Operator):
|
|
255
|
-
""" """
|
|
398
|
+
"""Extrude each individual face separately along local normals"""
|
|
256
399
|
|
|
257
400
|
bl_idname: typing.Any
|
|
258
|
-
""" """
|
|
259
|
-
|
|
260
401
|
bl_label: typing.Any
|
|
261
|
-
""" """
|
|
262
|
-
|
|
263
402
|
bl_rna: typing.Any
|
|
264
|
-
""" """
|
|
265
|
-
|
|
266
403
|
id_data: typing.Any
|
|
267
|
-
""" """
|
|
268
404
|
|
|
269
|
-
def as_keywords(self, ignore):
|
|
270
|
-
"""
|
|
405
|
+
def as_keywords(self, ignore=()):
|
|
406
|
+
"""Return a copy of the properties as a dictionary
|
|
271
407
|
|
|
272
408
|
:param ignore:
|
|
273
409
|
"""
|
|
274
410
|
...
|
|
275
411
|
|
|
276
|
-
def as_pointer(self):
|
|
277
|
-
"""
|
|
412
|
+
def as_pointer(self) -> int:
|
|
413
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
414
|
+
|
|
415
|
+
:return: int (memory address).
|
|
416
|
+
:rtype: int
|
|
417
|
+
"""
|
|
278
418
|
...
|
|
279
419
|
|
|
280
|
-
def bl_rna_get_subclass(self):
|
|
281
|
-
"""
|
|
420
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
421
|
+
"""
|
|
422
|
+
|
|
423
|
+
:return: The RNA type or default when not found.
|
|
424
|
+
:rtype: bpy.types.Struct
|
|
425
|
+
"""
|
|
282
426
|
...
|
|
283
427
|
|
|
284
|
-
def bl_rna_get_subclass_py(self):
|
|
285
|
-
"""
|
|
428
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
429
|
+
"""
|
|
430
|
+
|
|
431
|
+
:return: The class or default when not found.
|
|
432
|
+
:rtype: typing.Any
|
|
433
|
+
"""
|
|
286
434
|
...
|
|
287
435
|
|
|
288
|
-
def driver_add(self):
|
|
289
|
-
"""
|
|
436
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
437
|
+
"""Adds driver(s) to the given property
|
|
438
|
+
|
|
439
|
+
:return: The driver(s) added.
|
|
440
|
+
:rtype: bpy.types.FCurve
|
|
441
|
+
"""
|
|
290
442
|
...
|
|
291
443
|
|
|
292
|
-
def driver_remove(self):
|
|
293
|
-
"""
|
|
444
|
+
def driver_remove(self) -> bool:
|
|
445
|
+
"""Remove driver(s) from the given property
|
|
446
|
+
|
|
447
|
+
:return: Success of driver removal.
|
|
448
|
+
:rtype: bool
|
|
449
|
+
"""
|
|
294
450
|
...
|
|
295
451
|
|
|
296
452
|
def execute(self, context):
|
|
@@ -301,19 +457,31 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(bpy_types.Operator):
|
|
|
301
457
|
...
|
|
302
458
|
|
|
303
459
|
def get(self):
|
|
304
|
-
"""
|
|
460
|
+
"""Returns the value of the custom property assigned to key or default
|
|
461
|
+
when not found (matches Python's dictionary function of the same name).
|
|
462
|
+
|
|
463
|
+
"""
|
|
305
464
|
...
|
|
306
465
|
|
|
307
466
|
def id_properties_clear(self):
|
|
308
|
-
"""
|
|
467
|
+
"""
|
|
468
|
+
|
|
469
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
470
|
+
"""
|
|
309
471
|
...
|
|
310
472
|
|
|
311
473
|
def id_properties_ensure(self):
|
|
312
|
-
"""
|
|
474
|
+
"""
|
|
475
|
+
|
|
476
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
477
|
+
"""
|
|
313
478
|
...
|
|
314
479
|
|
|
315
480
|
def id_properties_ui(self):
|
|
316
|
-
"""
|
|
481
|
+
"""
|
|
482
|
+
|
|
483
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
484
|
+
"""
|
|
317
485
|
...
|
|
318
486
|
|
|
319
487
|
def invoke(self, context, _event):
|
|
@@ -324,44 +492,81 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(bpy_types.Operator):
|
|
|
324
492
|
"""
|
|
325
493
|
...
|
|
326
494
|
|
|
327
|
-
def is_property_hidden(self):
|
|
328
|
-
"""
|
|
495
|
+
def is_property_hidden(self) -> bool:
|
|
496
|
+
"""Check if a property is hidden.
|
|
497
|
+
|
|
498
|
+
:return: True when the property is hidden.
|
|
499
|
+
:rtype: bool
|
|
500
|
+
"""
|
|
329
501
|
...
|
|
330
502
|
|
|
331
|
-
def is_property_overridable_library(self):
|
|
332
|
-
"""
|
|
503
|
+
def is_property_overridable_library(self) -> bool:
|
|
504
|
+
"""Check if a property is overridable.
|
|
505
|
+
|
|
506
|
+
:return: True when the property is overridable.
|
|
507
|
+
:rtype: bool
|
|
508
|
+
"""
|
|
333
509
|
...
|
|
334
510
|
|
|
335
|
-
def is_property_readonly(self):
|
|
336
|
-
"""
|
|
511
|
+
def is_property_readonly(self) -> bool:
|
|
512
|
+
"""Check if a property is readonly.
|
|
513
|
+
|
|
514
|
+
:return: True when the property is readonly (not writable).
|
|
515
|
+
:rtype: bool
|
|
516
|
+
"""
|
|
337
517
|
...
|
|
338
518
|
|
|
339
|
-
def is_property_set(self):
|
|
340
|
-
"""
|
|
519
|
+
def is_property_set(self) -> bool:
|
|
520
|
+
"""Check if a property is set, use for testing operator properties.
|
|
521
|
+
|
|
522
|
+
:return: True when the property has been set.
|
|
523
|
+
:rtype: bool
|
|
524
|
+
"""
|
|
341
525
|
...
|
|
342
526
|
|
|
343
527
|
def items(self):
|
|
344
|
-
"""
|
|
528
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
529
|
+
dictionary function of the same name).
|
|
530
|
+
|
|
531
|
+
:return: custom property key, value pairs.
|
|
532
|
+
"""
|
|
345
533
|
...
|
|
346
534
|
|
|
347
|
-
def keyframe_delete(self):
|
|
348
|
-
"""
|
|
535
|
+
def keyframe_delete(self) -> bool:
|
|
536
|
+
"""Remove a keyframe from this properties fcurve.
|
|
537
|
+
|
|
538
|
+
:return: Success of keyframe deletion.
|
|
539
|
+
:rtype: bool
|
|
540
|
+
"""
|
|
349
541
|
...
|
|
350
542
|
|
|
351
|
-
def keyframe_insert(self):
|
|
352
|
-
"""
|
|
543
|
+
def keyframe_insert(self) -> bool:
|
|
544
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
545
|
+
|
|
546
|
+
:return: Success of keyframe insertion.
|
|
547
|
+
:rtype: bool
|
|
548
|
+
"""
|
|
353
549
|
...
|
|
354
550
|
|
|
355
551
|
def keys(self):
|
|
356
|
-
"""
|
|
552
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
553
|
+
dictionary function of the same name).
|
|
554
|
+
|
|
555
|
+
:return: custom property keys.
|
|
556
|
+
"""
|
|
357
557
|
...
|
|
358
558
|
|
|
359
|
-
def path_from_id(self):
|
|
360
|
-
"""
|
|
559
|
+
def path_from_id(self) -> str:
|
|
560
|
+
"""Returns the data path from the ID to this object (string).
|
|
561
|
+
|
|
562
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
563
|
+
to this struct and property (when given).
|
|
564
|
+
:rtype: str
|
|
565
|
+
"""
|
|
361
566
|
...
|
|
362
567
|
|
|
363
568
|
def path_resolve(self):
|
|
364
|
-
""" """
|
|
569
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
365
570
|
...
|
|
366
571
|
|
|
367
572
|
def poll(self, context):
|
|
@@ -372,69 +577,97 @@ class VIEW3D_OT_edit_mesh_extrude_individual_move(bpy_types.Operator):
|
|
|
372
577
|
...
|
|
373
578
|
|
|
374
579
|
def poll_message_set(self):
|
|
375
|
-
""" """
|
|
580
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
376
581
|
...
|
|
377
582
|
|
|
378
583
|
def pop(self):
|
|
379
|
-
"""
|
|
584
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
585
|
+
when not found (matches Python's dictionary function of the same name).
|
|
586
|
+
|
|
587
|
+
"""
|
|
380
588
|
...
|
|
381
589
|
|
|
382
|
-
def property_overridable_library_set(self):
|
|
383
|
-
"""
|
|
590
|
+
def property_overridable_library_set(self) -> bool:
|
|
591
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
592
|
+
|
|
593
|
+
:return: True when the overridable status of the property was successfully set.
|
|
594
|
+
:rtype: bool
|
|
595
|
+
"""
|
|
384
596
|
...
|
|
385
597
|
|
|
386
598
|
def property_unset(self):
|
|
387
|
-
""" """
|
|
599
|
+
"""Unset a property, will use default value afterward."""
|
|
388
600
|
...
|
|
389
601
|
|
|
390
602
|
def type_recast(self):
|
|
391
|
-
"""
|
|
603
|
+
"""Return a new instance, this is needed because types
|
|
604
|
+
such as textures can be changed at runtime.
|
|
605
|
+
|
|
606
|
+
:return: a new instance of this object with the type initialized again.
|
|
607
|
+
"""
|
|
392
608
|
...
|
|
393
609
|
|
|
394
610
|
def values(self):
|
|
395
|
-
"""
|
|
611
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
612
|
+
dictionary function of the same name).
|
|
613
|
+
|
|
614
|
+
:return: custom property values.
|
|
615
|
+
"""
|
|
396
616
|
...
|
|
397
617
|
|
|
398
618
|
class VIEW3D_OT_edit_mesh_extrude_manifold_normal(bpy_types.Operator):
|
|
399
|
-
""" """
|
|
619
|
+
"""Extrude manifold region along normals"""
|
|
400
620
|
|
|
401
621
|
bl_idname: typing.Any
|
|
402
|
-
""" """
|
|
403
|
-
|
|
404
622
|
bl_label: typing.Any
|
|
405
|
-
""" """
|
|
406
|
-
|
|
407
623
|
bl_rna: typing.Any
|
|
408
|
-
""" """
|
|
409
|
-
|
|
410
624
|
id_data: typing.Any
|
|
411
|
-
""" """
|
|
412
625
|
|
|
413
|
-
def as_keywords(self, ignore):
|
|
414
|
-
"""
|
|
626
|
+
def as_keywords(self, ignore=()):
|
|
627
|
+
"""Return a copy of the properties as a dictionary
|
|
415
628
|
|
|
416
629
|
:param ignore:
|
|
417
630
|
"""
|
|
418
631
|
...
|
|
419
632
|
|
|
420
|
-
def as_pointer(self):
|
|
421
|
-
"""
|
|
633
|
+
def as_pointer(self) -> int:
|
|
634
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
635
|
+
|
|
636
|
+
:return: int (memory address).
|
|
637
|
+
:rtype: int
|
|
638
|
+
"""
|
|
422
639
|
...
|
|
423
640
|
|
|
424
|
-
def bl_rna_get_subclass(self):
|
|
425
|
-
"""
|
|
641
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
642
|
+
"""
|
|
643
|
+
|
|
644
|
+
:return: The RNA type or default when not found.
|
|
645
|
+
:rtype: bpy.types.Struct
|
|
646
|
+
"""
|
|
426
647
|
...
|
|
427
648
|
|
|
428
|
-
def bl_rna_get_subclass_py(self):
|
|
429
|
-
"""
|
|
649
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
650
|
+
"""
|
|
651
|
+
|
|
652
|
+
:return: The class or default when not found.
|
|
653
|
+
:rtype: typing.Any
|
|
654
|
+
"""
|
|
430
655
|
...
|
|
431
656
|
|
|
432
|
-
def driver_add(self):
|
|
433
|
-
"""
|
|
657
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
658
|
+
"""Adds driver(s) to the given property
|
|
659
|
+
|
|
660
|
+
:return: The driver(s) added.
|
|
661
|
+
:rtype: bpy.types.FCurve
|
|
662
|
+
"""
|
|
434
663
|
...
|
|
435
664
|
|
|
436
|
-
def driver_remove(self):
|
|
437
|
-
"""
|
|
665
|
+
def driver_remove(self) -> bool:
|
|
666
|
+
"""Remove driver(s) from the given property
|
|
667
|
+
|
|
668
|
+
:return: Success of driver removal.
|
|
669
|
+
:rtype: bool
|
|
670
|
+
"""
|
|
438
671
|
...
|
|
439
672
|
|
|
440
673
|
def execute(self, context):
|
|
@@ -445,19 +678,31 @@ class VIEW3D_OT_edit_mesh_extrude_manifold_normal(bpy_types.Operator):
|
|
|
445
678
|
...
|
|
446
679
|
|
|
447
680
|
def get(self):
|
|
448
|
-
"""
|
|
681
|
+
"""Returns the value of the custom property assigned to key or default
|
|
682
|
+
when not found (matches Python's dictionary function of the same name).
|
|
683
|
+
|
|
684
|
+
"""
|
|
449
685
|
...
|
|
450
686
|
|
|
451
687
|
def id_properties_clear(self):
|
|
452
|
-
"""
|
|
688
|
+
"""
|
|
689
|
+
|
|
690
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
691
|
+
"""
|
|
453
692
|
...
|
|
454
693
|
|
|
455
694
|
def id_properties_ensure(self):
|
|
456
|
-
"""
|
|
695
|
+
"""
|
|
696
|
+
|
|
697
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
698
|
+
"""
|
|
457
699
|
...
|
|
458
700
|
|
|
459
701
|
def id_properties_ui(self):
|
|
460
|
-
"""
|
|
702
|
+
"""
|
|
703
|
+
|
|
704
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
705
|
+
"""
|
|
461
706
|
...
|
|
462
707
|
|
|
463
708
|
def invoke(self, context, _event):
|
|
@@ -468,44 +713,81 @@ class VIEW3D_OT_edit_mesh_extrude_manifold_normal(bpy_types.Operator):
|
|
|
468
713
|
"""
|
|
469
714
|
...
|
|
470
715
|
|
|
471
|
-
def is_property_hidden(self):
|
|
472
|
-
"""
|
|
716
|
+
def is_property_hidden(self) -> bool:
|
|
717
|
+
"""Check if a property is hidden.
|
|
718
|
+
|
|
719
|
+
:return: True when the property is hidden.
|
|
720
|
+
:rtype: bool
|
|
721
|
+
"""
|
|
473
722
|
...
|
|
474
723
|
|
|
475
|
-
def is_property_overridable_library(self):
|
|
476
|
-
"""
|
|
724
|
+
def is_property_overridable_library(self) -> bool:
|
|
725
|
+
"""Check if a property is overridable.
|
|
726
|
+
|
|
727
|
+
:return: True when the property is overridable.
|
|
728
|
+
:rtype: bool
|
|
729
|
+
"""
|
|
477
730
|
...
|
|
478
731
|
|
|
479
|
-
def is_property_readonly(self):
|
|
480
|
-
"""
|
|
732
|
+
def is_property_readonly(self) -> bool:
|
|
733
|
+
"""Check if a property is readonly.
|
|
734
|
+
|
|
735
|
+
:return: True when the property is readonly (not writable).
|
|
736
|
+
:rtype: bool
|
|
737
|
+
"""
|
|
481
738
|
...
|
|
482
739
|
|
|
483
|
-
def is_property_set(self):
|
|
484
|
-
"""
|
|
740
|
+
def is_property_set(self) -> bool:
|
|
741
|
+
"""Check if a property is set, use for testing operator properties.
|
|
742
|
+
|
|
743
|
+
:return: True when the property has been set.
|
|
744
|
+
:rtype: bool
|
|
745
|
+
"""
|
|
485
746
|
...
|
|
486
747
|
|
|
487
748
|
def items(self):
|
|
488
|
-
"""
|
|
749
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
750
|
+
dictionary function of the same name).
|
|
751
|
+
|
|
752
|
+
:return: custom property key, value pairs.
|
|
753
|
+
"""
|
|
489
754
|
...
|
|
490
755
|
|
|
491
|
-
def keyframe_delete(self):
|
|
492
|
-
"""
|
|
756
|
+
def keyframe_delete(self) -> bool:
|
|
757
|
+
"""Remove a keyframe from this properties fcurve.
|
|
758
|
+
|
|
759
|
+
:return: Success of keyframe deletion.
|
|
760
|
+
:rtype: bool
|
|
761
|
+
"""
|
|
493
762
|
...
|
|
494
763
|
|
|
495
|
-
def keyframe_insert(self):
|
|
496
|
-
"""
|
|
764
|
+
def keyframe_insert(self) -> bool:
|
|
765
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
766
|
+
|
|
767
|
+
:return: Success of keyframe insertion.
|
|
768
|
+
:rtype: bool
|
|
769
|
+
"""
|
|
497
770
|
...
|
|
498
771
|
|
|
499
772
|
def keys(self):
|
|
500
|
-
"""
|
|
773
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
774
|
+
dictionary function of the same name).
|
|
775
|
+
|
|
776
|
+
:return: custom property keys.
|
|
777
|
+
"""
|
|
501
778
|
...
|
|
502
779
|
|
|
503
|
-
def path_from_id(self):
|
|
504
|
-
"""
|
|
780
|
+
def path_from_id(self) -> str:
|
|
781
|
+
"""Returns the data path from the ID to this object (string).
|
|
782
|
+
|
|
783
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
784
|
+
to this struct and property (when given).
|
|
785
|
+
:rtype: str
|
|
786
|
+
"""
|
|
505
787
|
...
|
|
506
788
|
|
|
507
789
|
def path_resolve(self):
|
|
508
|
-
""" """
|
|
790
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
509
791
|
...
|
|
510
792
|
|
|
511
793
|
def poll(self, context):
|
|
@@ -516,69 +798,97 @@ class VIEW3D_OT_edit_mesh_extrude_manifold_normal(bpy_types.Operator):
|
|
|
516
798
|
...
|
|
517
799
|
|
|
518
800
|
def poll_message_set(self):
|
|
519
|
-
""" """
|
|
801
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
520
802
|
...
|
|
521
803
|
|
|
522
804
|
def pop(self):
|
|
523
|
-
"""
|
|
805
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
806
|
+
when not found (matches Python's dictionary function of the same name).
|
|
807
|
+
|
|
808
|
+
"""
|
|
524
809
|
...
|
|
525
810
|
|
|
526
|
-
def property_overridable_library_set(self):
|
|
527
|
-
"""
|
|
811
|
+
def property_overridable_library_set(self) -> bool:
|
|
812
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
813
|
+
|
|
814
|
+
:return: True when the overridable status of the property was successfully set.
|
|
815
|
+
:rtype: bool
|
|
816
|
+
"""
|
|
528
817
|
...
|
|
529
818
|
|
|
530
819
|
def property_unset(self):
|
|
531
|
-
""" """
|
|
820
|
+
"""Unset a property, will use default value afterward."""
|
|
532
821
|
...
|
|
533
822
|
|
|
534
823
|
def type_recast(self):
|
|
535
|
-
"""
|
|
824
|
+
"""Return a new instance, this is needed because types
|
|
825
|
+
such as textures can be changed at runtime.
|
|
826
|
+
|
|
827
|
+
:return: a new instance of this object with the type initialized again.
|
|
828
|
+
"""
|
|
536
829
|
...
|
|
537
830
|
|
|
538
831
|
def values(self):
|
|
539
|
-
"""
|
|
832
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
833
|
+
dictionary function of the same name).
|
|
834
|
+
|
|
835
|
+
:return: custom property values.
|
|
836
|
+
"""
|
|
540
837
|
...
|
|
541
838
|
|
|
542
839
|
class VIEW3D_OT_edit_mesh_extrude_move(bpy_types.Operator):
|
|
543
|
-
""" """
|
|
840
|
+
"""Extrude region together along the average normal"""
|
|
544
841
|
|
|
545
842
|
bl_idname: typing.Any
|
|
546
|
-
""" """
|
|
547
|
-
|
|
548
843
|
bl_label: typing.Any
|
|
549
|
-
""" """
|
|
550
|
-
|
|
551
844
|
bl_rna: typing.Any
|
|
552
|
-
""" """
|
|
553
|
-
|
|
554
845
|
id_data: typing.Any
|
|
555
|
-
""" """
|
|
556
846
|
|
|
557
|
-
def as_keywords(self, ignore):
|
|
558
|
-
"""
|
|
847
|
+
def as_keywords(self, ignore=()):
|
|
848
|
+
"""Return a copy of the properties as a dictionary
|
|
559
849
|
|
|
560
850
|
:param ignore:
|
|
561
851
|
"""
|
|
562
852
|
...
|
|
563
853
|
|
|
564
|
-
def as_pointer(self):
|
|
565
|
-
"""
|
|
854
|
+
def as_pointer(self) -> int:
|
|
855
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
856
|
+
|
|
857
|
+
:return: int (memory address).
|
|
858
|
+
:rtype: int
|
|
859
|
+
"""
|
|
566
860
|
...
|
|
567
861
|
|
|
568
|
-
def bl_rna_get_subclass(self):
|
|
569
|
-
"""
|
|
862
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
863
|
+
"""
|
|
864
|
+
|
|
865
|
+
:return: The RNA type or default when not found.
|
|
866
|
+
:rtype: bpy.types.Struct
|
|
867
|
+
"""
|
|
570
868
|
...
|
|
571
869
|
|
|
572
|
-
def bl_rna_get_subclass_py(self):
|
|
573
|
-
"""
|
|
870
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
871
|
+
"""
|
|
872
|
+
|
|
873
|
+
:return: The class or default when not found.
|
|
874
|
+
:rtype: typing.Any
|
|
875
|
+
"""
|
|
574
876
|
...
|
|
575
877
|
|
|
576
|
-
def driver_add(self):
|
|
577
|
-
"""
|
|
878
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
879
|
+
"""Adds driver(s) to the given property
|
|
880
|
+
|
|
881
|
+
:return: The driver(s) added.
|
|
882
|
+
:rtype: bpy.types.FCurve
|
|
883
|
+
"""
|
|
578
884
|
...
|
|
579
885
|
|
|
580
|
-
def driver_remove(self):
|
|
581
|
-
"""
|
|
886
|
+
def driver_remove(self) -> bool:
|
|
887
|
+
"""Remove driver(s) from the given property
|
|
888
|
+
|
|
889
|
+
:return: Success of driver removal.
|
|
890
|
+
:rtype: bool
|
|
891
|
+
"""
|
|
582
892
|
...
|
|
583
893
|
|
|
584
894
|
def execute(self, context):
|
|
@@ -601,19 +911,31 @@ class VIEW3D_OT_edit_mesh_extrude_move(bpy_types.Operator):
|
|
|
601
911
|
...
|
|
602
912
|
|
|
603
913
|
def get(self):
|
|
604
|
-
"""
|
|
914
|
+
"""Returns the value of the custom property assigned to key or default
|
|
915
|
+
when not found (matches Python's dictionary function of the same name).
|
|
916
|
+
|
|
917
|
+
"""
|
|
605
918
|
...
|
|
606
919
|
|
|
607
920
|
def id_properties_clear(self):
|
|
608
|
-
"""
|
|
921
|
+
"""
|
|
922
|
+
|
|
923
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
924
|
+
"""
|
|
609
925
|
...
|
|
610
926
|
|
|
611
927
|
def id_properties_ensure(self):
|
|
612
|
-
"""
|
|
928
|
+
"""
|
|
929
|
+
|
|
930
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
931
|
+
"""
|
|
613
932
|
...
|
|
614
933
|
|
|
615
934
|
def id_properties_ui(self):
|
|
616
|
-
"""
|
|
935
|
+
"""
|
|
936
|
+
|
|
937
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
938
|
+
"""
|
|
617
939
|
...
|
|
618
940
|
|
|
619
941
|
def invoke(self, context, _event):
|
|
@@ -624,44 +946,81 @@ class VIEW3D_OT_edit_mesh_extrude_move(bpy_types.Operator):
|
|
|
624
946
|
"""
|
|
625
947
|
...
|
|
626
948
|
|
|
627
|
-
def is_property_hidden(self):
|
|
628
|
-
"""
|
|
949
|
+
def is_property_hidden(self) -> bool:
|
|
950
|
+
"""Check if a property is hidden.
|
|
951
|
+
|
|
952
|
+
:return: True when the property is hidden.
|
|
953
|
+
:rtype: bool
|
|
954
|
+
"""
|
|
629
955
|
...
|
|
630
956
|
|
|
631
|
-
def is_property_overridable_library(self):
|
|
632
|
-
"""
|
|
957
|
+
def is_property_overridable_library(self) -> bool:
|
|
958
|
+
"""Check if a property is overridable.
|
|
959
|
+
|
|
960
|
+
:return: True when the property is overridable.
|
|
961
|
+
:rtype: bool
|
|
962
|
+
"""
|
|
633
963
|
...
|
|
634
964
|
|
|
635
|
-
def is_property_readonly(self):
|
|
636
|
-
"""
|
|
965
|
+
def is_property_readonly(self) -> bool:
|
|
966
|
+
"""Check if a property is readonly.
|
|
967
|
+
|
|
968
|
+
:return: True when the property is readonly (not writable).
|
|
969
|
+
:rtype: bool
|
|
970
|
+
"""
|
|
637
971
|
...
|
|
638
972
|
|
|
639
|
-
def is_property_set(self):
|
|
640
|
-
"""
|
|
973
|
+
def is_property_set(self) -> bool:
|
|
974
|
+
"""Check if a property is set, use for testing operator properties.
|
|
975
|
+
|
|
976
|
+
:return: True when the property has been set.
|
|
977
|
+
:rtype: bool
|
|
978
|
+
"""
|
|
641
979
|
...
|
|
642
980
|
|
|
643
981
|
def items(self):
|
|
644
|
-
"""
|
|
982
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
983
|
+
dictionary function of the same name).
|
|
984
|
+
|
|
985
|
+
:return: custom property key, value pairs.
|
|
986
|
+
"""
|
|
645
987
|
...
|
|
646
988
|
|
|
647
|
-
def keyframe_delete(self):
|
|
648
|
-
"""
|
|
989
|
+
def keyframe_delete(self) -> bool:
|
|
990
|
+
"""Remove a keyframe from this properties fcurve.
|
|
991
|
+
|
|
992
|
+
:return: Success of keyframe deletion.
|
|
993
|
+
:rtype: bool
|
|
994
|
+
"""
|
|
649
995
|
...
|
|
650
996
|
|
|
651
|
-
def keyframe_insert(self):
|
|
652
|
-
"""
|
|
997
|
+
def keyframe_insert(self) -> bool:
|
|
998
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
999
|
+
|
|
1000
|
+
:return: Success of keyframe insertion.
|
|
1001
|
+
:rtype: bool
|
|
1002
|
+
"""
|
|
653
1003
|
...
|
|
654
1004
|
|
|
655
1005
|
def keys(self):
|
|
656
|
-
"""
|
|
1006
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1007
|
+
dictionary function of the same name).
|
|
1008
|
+
|
|
1009
|
+
:return: custom property keys.
|
|
1010
|
+
"""
|
|
657
1011
|
...
|
|
658
1012
|
|
|
659
|
-
def path_from_id(self):
|
|
660
|
-
"""
|
|
1013
|
+
def path_from_id(self) -> str:
|
|
1014
|
+
"""Returns the data path from the ID to this object (string).
|
|
1015
|
+
|
|
1016
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1017
|
+
to this struct and property (when given).
|
|
1018
|
+
:rtype: str
|
|
1019
|
+
"""
|
|
661
1020
|
...
|
|
662
1021
|
|
|
663
1022
|
def path_resolve(self):
|
|
664
|
-
""" """
|
|
1023
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
665
1024
|
...
|
|
666
1025
|
|
|
667
1026
|
def poll(self, context):
|
|
@@ -672,69 +1031,97 @@ class VIEW3D_OT_edit_mesh_extrude_move(bpy_types.Operator):
|
|
|
672
1031
|
...
|
|
673
1032
|
|
|
674
1033
|
def poll_message_set(self):
|
|
675
|
-
""" """
|
|
1034
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
676
1035
|
...
|
|
677
1036
|
|
|
678
1037
|
def pop(self):
|
|
679
|
-
"""
|
|
1038
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1039
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1040
|
+
|
|
1041
|
+
"""
|
|
680
1042
|
...
|
|
681
1043
|
|
|
682
|
-
def property_overridable_library_set(self):
|
|
683
|
-
"""
|
|
1044
|
+
def property_overridable_library_set(self) -> bool:
|
|
1045
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1046
|
+
|
|
1047
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1048
|
+
:rtype: bool
|
|
1049
|
+
"""
|
|
684
1050
|
...
|
|
685
1051
|
|
|
686
1052
|
def property_unset(self):
|
|
687
|
-
""" """
|
|
1053
|
+
"""Unset a property, will use default value afterward."""
|
|
688
1054
|
...
|
|
689
1055
|
|
|
690
1056
|
def type_recast(self):
|
|
691
|
-
"""
|
|
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
|
+
"""
|
|
692
1062
|
...
|
|
693
1063
|
|
|
694
1064
|
def values(self):
|
|
695
|
-
"""
|
|
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
|
+
"""
|
|
696
1070
|
...
|
|
697
1071
|
|
|
698
1072
|
class VIEW3D_OT_edit_mesh_extrude_shrink_fatten(bpy_types.Operator):
|
|
699
|
-
""" """
|
|
1073
|
+
"""Extrude region together along local normals"""
|
|
700
1074
|
|
|
701
1075
|
bl_idname: typing.Any
|
|
702
|
-
""" """
|
|
703
|
-
|
|
704
1076
|
bl_label: typing.Any
|
|
705
|
-
""" """
|
|
706
|
-
|
|
707
1077
|
bl_rna: typing.Any
|
|
708
|
-
""" """
|
|
709
|
-
|
|
710
1078
|
id_data: typing.Any
|
|
711
|
-
""" """
|
|
712
1079
|
|
|
713
|
-
def as_keywords(self, ignore):
|
|
714
|
-
"""
|
|
1080
|
+
def as_keywords(self, ignore=()):
|
|
1081
|
+
"""Return a copy of the properties as a dictionary
|
|
715
1082
|
|
|
716
1083
|
:param ignore:
|
|
717
1084
|
"""
|
|
718
1085
|
...
|
|
719
1086
|
|
|
720
|
-
def as_pointer(self):
|
|
721
|
-
"""
|
|
1087
|
+
def as_pointer(self) -> int:
|
|
1088
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1089
|
+
|
|
1090
|
+
:return: int (memory address).
|
|
1091
|
+
:rtype: int
|
|
1092
|
+
"""
|
|
722
1093
|
...
|
|
723
1094
|
|
|
724
|
-
def bl_rna_get_subclass(self):
|
|
725
|
-
"""
|
|
1095
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1096
|
+
"""
|
|
1097
|
+
|
|
1098
|
+
:return: The RNA type or default when not found.
|
|
1099
|
+
:rtype: bpy.types.Struct
|
|
1100
|
+
"""
|
|
726
1101
|
...
|
|
727
1102
|
|
|
728
|
-
def bl_rna_get_subclass_py(self):
|
|
729
|
-
"""
|
|
1103
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1104
|
+
"""
|
|
1105
|
+
|
|
1106
|
+
:return: The class or default when not found.
|
|
1107
|
+
:rtype: typing.Any
|
|
1108
|
+
"""
|
|
730
1109
|
...
|
|
731
1110
|
|
|
732
|
-
def driver_add(self):
|
|
733
|
-
"""
|
|
1111
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1112
|
+
"""Adds driver(s) to the given property
|
|
1113
|
+
|
|
1114
|
+
:return: The driver(s) added.
|
|
1115
|
+
:rtype: bpy.types.FCurve
|
|
1116
|
+
"""
|
|
734
1117
|
...
|
|
735
1118
|
|
|
736
|
-
def driver_remove(self):
|
|
737
|
-
"""
|
|
1119
|
+
def driver_remove(self) -> bool:
|
|
1120
|
+
"""Remove driver(s) from the given property
|
|
1121
|
+
|
|
1122
|
+
:return: Success of driver removal.
|
|
1123
|
+
:rtype: bool
|
|
1124
|
+
"""
|
|
738
1125
|
...
|
|
739
1126
|
|
|
740
1127
|
def execute(self, context):
|
|
@@ -745,19 +1132,31 @@ class VIEW3D_OT_edit_mesh_extrude_shrink_fatten(bpy_types.Operator):
|
|
|
745
1132
|
...
|
|
746
1133
|
|
|
747
1134
|
def get(self):
|
|
748
|
-
"""
|
|
1135
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1136
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1137
|
+
|
|
1138
|
+
"""
|
|
749
1139
|
...
|
|
750
1140
|
|
|
751
1141
|
def id_properties_clear(self):
|
|
752
|
-
"""
|
|
1142
|
+
"""
|
|
1143
|
+
|
|
1144
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1145
|
+
"""
|
|
753
1146
|
...
|
|
754
1147
|
|
|
755
1148
|
def id_properties_ensure(self):
|
|
756
|
-
"""
|
|
1149
|
+
"""
|
|
1150
|
+
|
|
1151
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1152
|
+
"""
|
|
757
1153
|
...
|
|
758
1154
|
|
|
759
1155
|
def id_properties_ui(self):
|
|
760
|
-
"""
|
|
1156
|
+
"""
|
|
1157
|
+
|
|
1158
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1159
|
+
"""
|
|
761
1160
|
...
|
|
762
1161
|
|
|
763
1162
|
def invoke(self, context, _event):
|
|
@@ -768,44 +1167,81 @@ class VIEW3D_OT_edit_mesh_extrude_shrink_fatten(bpy_types.Operator):
|
|
|
768
1167
|
"""
|
|
769
1168
|
...
|
|
770
1169
|
|
|
771
|
-
def is_property_hidden(self):
|
|
772
|
-
"""
|
|
1170
|
+
def is_property_hidden(self) -> bool:
|
|
1171
|
+
"""Check if a property is hidden.
|
|
1172
|
+
|
|
1173
|
+
:return: True when the property is hidden.
|
|
1174
|
+
:rtype: bool
|
|
1175
|
+
"""
|
|
773
1176
|
...
|
|
774
1177
|
|
|
775
|
-
def is_property_overridable_library(self):
|
|
776
|
-
"""
|
|
1178
|
+
def is_property_overridable_library(self) -> bool:
|
|
1179
|
+
"""Check if a property is overridable.
|
|
1180
|
+
|
|
1181
|
+
:return: True when the property is overridable.
|
|
1182
|
+
:rtype: bool
|
|
1183
|
+
"""
|
|
777
1184
|
...
|
|
778
1185
|
|
|
779
|
-
def is_property_readonly(self):
|
|
780
|
-
"""
|
|
1186
|
+
def is_property_readonly(self) -> bool:
|
|
1187
|
+
"""Check if a property is readonly.
|
|
1188
|
+
|
|
1189
|
+
:return: True when the property is readonly (not writable).
|
|
1190
|
+
:rtype: bool
|
|
1191
|
+
"""
|
|
781
1192
|
...
|
|
782
1193
|
|
|
783
|
-
def is_property_set(self):
|
|
784
|
-
"""
|
|
1194
|
+
def is_property_set(self) -> bool:
|
|
1195
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1196
|
+
|
|
1197
|
+
:return: True when the property has been set.
|
|
1198
|
+
:rtype: bool
|
|
1199
|
+
"""
|
|
785
1200
|
...
|
|
786
1201
|
|
|
787
1202
|
def items(self):
|
|
788
|
-
"""
|
|
1203
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1204
|
+
dictionary function of the same name).
|
|
1205
|
+
|
|
1206
|
+
:return: custom property key, value pairs.
|
|
1207
|
+
"""
|
|
789
1208
|
...
|
|
790
1209
|
|
|
791
|
-
def keyframe_delete(self):
|
|
792
|
-
"""
|
|
1210
|
+
def keyframe_delete(self) -> bool:
|
|
1211
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1212
|
+
|
|
1213
|
+
:return: Success of keyframe deletion.
|
|
1214
|
+
:rtype: bool
|
|
1215
|
+
"""
|
|
793
1216
|
...
|
|
794
1217
|
|
|
795
|
-
def keyframe_insert(self):
|
|
796
|
-
"""
|
|
1218
|
+
def keyframe_insert(self) -> bool:
|
|
1219
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1220
|
+
|
|
1221
|
+
:return: Success of keyframe insertion.
|
|
1222
|
+
:rtype: bool
|
|
1223
|
+
"""
|
|
797
1224
|
...
|
|
798
1225
|
|
|
799
1226
|
def keys(self):
|
|
800
|
-
"""
|
|
1227
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1228
|
+
dictionary function of the same name).
|
|
1229
|
+
|
|
1230
|
+
:return: custom property keys.
|
|
1231
|
+
"""
|
|
801
1232
|
...
|
|
802
1233
|
|
|
803
|
-
def path_from_id(self):
|
|
804
|
-
"""
|
|
1234
|
+
def path_from_id(self) -> str:
|
|
1235
|
+
"""Returns the data path from the ID to this object (string).
|
|
1236
|
+
|
|
1237
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1238
|
+
to this struct and property (when given).
|
|
1239
|
+
:rtype: str
|
|
1240
|
+
"""
|
|
805
1241
|
...
|
|
806
1242
|
|
|
807
1243
|
def path_resolve(self):
|
|
808
|
-
""" """
|
|
1244
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
809
1245
|
...
|
|
810
1246
|
|
|
811
1247
|
def poll(self, context):
|
|
@@ -816,72 +1252,98 @@ class VIEW3D_OT_edit_mesh_extrude_shrink_fatten(bpy_types.Operator):
|
|
|
816
1252
|
...
|
|
817
1253
|
|
|
818
1254
|
def poll_message_set(self):
|
|
819
|
-
""" """
|
|
1255
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
820
1256
|
...
|
|
821
1257
|
|
|
822
1258
|
def pop(self):
|
|
823
|
-
"""
|
|
1259
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1260
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1261
|
+
|
|
1262
|
+
"""
|
|
824
1263
|
...
|
|
825
1264
|
|
|
826
|
-
def property_overridable_library_set(self):
|
|
827
|
-
"""
|
|
1265
|
+
def property_overridable_library_set(self) -> bool:
|
|
1266
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1267
|
+
|
|
1268
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1269
|
+
:rtype: bool
|
|
1270
|
+
"""
|
|
828
1271
|
...
|
|
829
1272
|
|
|
830
1273
|
def property_unset(self):
|
|
831
|
-
""" """
|
|
1274
|
+
"""Unset a property, will use default value afterward."""
|
|
832
1275
|
...
|
|
833
1276
|
|
|
834
1277
|
def type_recast(self):
|
|
835
|
-
"""
|
|
1278
|
+
"""Return a new instance, this is needed because types
|
|
1279
|
+
such as textures can be changed at runtime.
|
|
1280
|
+
|
|
1281
|
+
:return: a new instance of this object with the type initialized again.
|
|
1282
|
+
"""
|
|
836
1283
|
...
|
|
837
1284
|
|
|
838
1285
|
def values(self):
|
|
839
|
-
"""
|
|
1286
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1287
|
+
dictionary function of the same name).
|
|
1288
|
+
|
|
1289
|
+
:return: custom property values.
|
|
1290
|
+
"""
|
|
840
1291
|
...
|
|
841
1292
|
|
|
842
1293
|
class VIEW3D_OT_transform_gizmo_set(bpy_types.Operator):
|
|
843
|
-
""" """
|
|
1294
|
+
"""Set the current transform gizmo"""
|
|
844
1295
|
|
|
845
1296
|
bl_idname: typing.Any
|
|
846
|
-
""" """
|
|
847
|
-
|
|
848
1297
|
bl_label: typing.Any
|
|
849
|
-
""" """
|
|
850
|
-
|
|
851
1298
|
bl_options: typing.Any
|
|
852
|
-
""" """
|
|
853
|
-
|
|
854
1299
|
bl_rna: typing.Any
|
|
855
|
-
""" """
|
|
856
|
-
|
|
857
1300
|
id_data: typing.Any
|
|
858
|
-
""" """
|
|
859
1301
|
|
|
860
|
-
def as_keywords(self, ignore):
|
|
861
|
-
"""
|
|
1302
|
+
def as_keywords(self, ignore=()):
|
|
1303
|
+
"""Return a copy of the properties as a dictionary
|
|
862
1304
|
|
|
863
1305
|
:param ignore:
|
|
864
1306
|
"""
|
|
865
1307
|
...
|
|
866
1308
|
|
|
867
|
-
def as_pointer(self):
|
|
868
|
-
"""
|
|
1309
|
+
def as_pointer(self) -> int:
|
|
1310
|
+
"""Returns the memory address which holds a pointer to Blender's internal data
|
|
1311
|
+
|
|
1312
|
+
:return: int (memory address).
|
|
1313
|
+
:rtype: int
|
|
1314
|
+
"""
|
|
869
1315
|
...
|
|
870
1316
|
|
|
871
|
-
def bl_rna_get_subclass(self):
|
|
872
|
-
"""
|
|
1317
|
+
def bl_rna_get_subclass(self) -> bpy.types.Struct:
|
|
1318
|
+
"""
|
|
1319
|
+
|
|
1320
|
+
:return: The RNA type or default when not found.
|
|
1321
|
+
:rtype: bpy.types.Struct
|
|
1322
|
+
"""
|
|
873
1323
|
...
|
|
874
1324
|
|
|
875
|
-
def bl_rna_get_subclass_py(self):
|
|
876
|
-
"""
|
|
1325
|
+
def bl_rna_get_subclass_py(self) -> typing.Any:
|
|
1326
|
+
"""
|
|
1327
|
+
|
|
1328
|
+
:return: The class or default when not found.
|
|
1329
|
+
:rtype: typing.Any
|
|
1330
|
+
"""
|
|
877
1331
|
...
|
|
878
1332
|
|
|
879
|
-
def driver_add(self):
|
|
880
|
-
"""
|
|
1333
|
+
def driver_add(self) -> bpy.types.FCurve:
|
|
1334
|
+
"""Adds driver(s) to the given property
|
|
1335
|
+
|
|
1336
|
+
:return: The driver(s) added.
|
|
1337
|
+
:rtype: bpy.types.FCurve
|
|
1338
|
+
"""
|
|
881
1339
|
...
|
|
882
1340
|
|
|
883
|
-
def driver_remove(self):
|
|
884
|
-
"""
|
|
1341
|
+
def driver_remove(self) -> bool:
|
|
1342
|
+
"""Remove driver(s) from the given property
|
|
1343
|
+
|
|
1344
|
+
:return: Success of driver removal.
|
|
1345
|
+
:rtype: bool
|
|
1346
|
+
"""
|
|
885
1347
|
...
|
|
886
1348
|
|
|
887
1349
|
def execute(self, context):
|
|
@@ -892,19 +1354,31 @@ class VIEW3D_OT_transform_gizmo_set(bpy_types.Operator):
|
|
|
892
1354
|
...
|
|
893
1355
|
|
|
894
1356
|
def get(self):
|
|
895
|
-
"""
|
|
1357
|
+
"""Returns the value of the custom property assigned to key or default
|
|
1358
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1359
|
+
|
|
1360
|
+
"""
|
|
896
1361
|
...
|
|
897
1362
|
|
|
898
1363
|
def id_properties_clear(self):
|
|
899
|
-
"""
|
|
1364
|
+
"""
|
|
1365
|
+
|
|
1366
|
+
:return: Remove the parent group for an RNA struct's custom IDProperties.
|
|
1367
|
+
"""
|
|
900
1368
|
...
|
|
901
1369
|
|
|
902
1370
|
def id_properties_ensure(self):
|
|
903
|
-
"""
|
|
1371
|
+
"""
|
|
1372
|
+
|
|
1373
|
+
:return: the parent group for an RNA struct's custom IDProperties.
|
|
1374
|
+
"""
|
|
904
1375
|
...
|
|
905
1376
|
|
|
906
1377
|
def id_properties_ui(self):
|
|
907
|
-
"""
|
|
1378
|
+
"""
|
|
1379
|
+
|
|
1380
|
+
:return: Return an object used to manage an IDProperty's UI data.
|
|
1381
|
+
"""
|
|
908
1382
|
...
|
|
909
1383
|
|
|
910
1384
|
def invoke(self, context, event):
|
|
@@ -915,44 +1389,81 @@ class VIEW3D_OT_transform_gizmo_set(bpy_types.Operator):
|
|
|
915
1389
|
"""
|
|
916
1390
|
...
|
|
917
1391
|
|
|
918
|
-
def is_property_hidden(self):
|
|
919
|
-
"""
|
|
1392
|
+
def is_property_hidden(self) -> bool:
|
|
1393
|
+
"""Check if a property is hidden.
|
|
1394
|
+
|
|
1395
|
+
:return: True when the property is hidden.
|
|
1396
|
+
:rtype: bool
|
|
1397
|
+
"""
|
|
920
1398
|
...
|
|
921
1399
|
|
|
922
|
-
def is_property_overridable_library(self):
|
|
923
|
-
"""
|
|
1400
|
+
def is_property_overridable_library(self) -> bool:
|
|
1401
|
+
"""Check if a property is overridable.
|
|
1402
|
+
|
|
1403
|
+
:return: True when the property is overridable.
|
|
1404
|
+
:rtype: bool
|
|
1405
|
+
"""
|
|
924
1406
|
...
|
|
925
1407
|
|
|
926
|
-
def is_property_readonly(self):
|
|
927
|
-
"""
|
|
1408
|
+
def is_property_readonly(self) -> bool:
|
|
1409
|
+
"""Check if a property is readonly.
|
|
1410
|
+
|
|
1411
|
+
:return: True when the property is readonly (not writable).
|
|
1412
|
+
:rtype: bool
|
|
1413
|
+
"""
|
|
928
1414
|
...
|
|
929
1415
|
|
|
930
|
-
def is_property_set(self):
|
|
931
|
-
"""
|
|
1416
|
+
def is_property_set(self) -> bool:
|
|
1417
|
+
"""Check if a property is set, use for testing operator properties.
|
|
1418
|
+
|
|
1419
|
+
:return: True when the property has been set.
|
|
1420
|
+
:rtype: bool
|
|
1421
|
+
"""
|
|
932
1422
|
...
|
|
933
1423
|
|
|
934
1424
|
def items(self):
|
|
935
|
-
"""
|
|
1425
|
+
"""Returns the items of this objects custom properties (matches Python's
|
|
1426
|
+
dictionary function of the same name).
|
|
1427
|
+
|
|
1428
|
+
:return: custom property key, value pairs.
|
|
1429
|
+
"""
|
|
936
1430
|
...
|
|
937
1431
|
|
|
938
|
-
def keyframe_delete(self):
|
|
939
|
-
"""
|
|
1432
|
+
def keyframe_delete(self) -> bool:
|
|
1433
|
+
"""Remove a keyframe from this properties fcurve.
|
|
1434
|
+
|
|
1435
|
+
:return: Success of keyframe deletion.
|
|
1436
|
+
:rtype: bool
|
|
1437
|
+
"""
|
|
940
1438
|
...
|
|
941
1439
|
|
|
942
|
-
def keyframe_insert(self):
|
|
943
|
-
"""
|
|
1440
|
+
def keyframe_insert(self) -> bool:
|
|
1441
|
+
"""Insert a keyframe on the property given, adding fcurves and animation data when necessary.
|
|
1442
|
+
|
|
1443
|
+
:return: Success of keyframe insertion.
|
|
1444
|
+
:rtype: bool
|
|
1445
|
+
"""
|
|
944
1446
|
...
|
|
945
1447
|
|
|
946
1448
|
def keys(self):
|
|
947
|
-
"""
|
|
1449
|
+
"""Returns the keys of this objects custom properties (matches Python's
|
|
1450
|
+
dictionary function of the same name).
|
|
1451
|
+
|
|
1452
|
+
:return: custom property keys.
|
|
1453
|
+
"""
|
|
948
1454
|
...
|
|
949
1455
|
|
|
950
|
-
def path_from_id(self):
|
|
951
|
-
"""
|
|
1456
|
+
def path_from_id(self) -> str:
|
|
1457
|
+
"""Returns the data path from the ID to this object (string).
|
|
1458
|
+
|
|
1459
|
+
:return: The path from `bpy.types.bpy_struct.id_data`
|
|
1460
|
+
to this struct and property (when given).
|
|
1461
|
+
:rtype: str
|
|
1462
|
+
"""
|
|
952
1463
|
...
|
|
953
1464
|
|
|
954
1465
|
def path_resolve(self):
|
|
955
|
-
""" """
|
|
1466
|
+
"""Returns the property from the path, raise an exception when not found."""
|
|
956
1467
|
...
|
|
957
1468
|
|
|
958
1469
|
def poll(self, context):
|
|
@@ -963,25 +1474,40 @@ class VIEW3D_OT_transform_gizmo_set(bpy_types.Operator):
|
|
|
963
1474
|
...
|
|
964
1475
|
|
|
965
1476
|
def poll_message_set(self):
|
|
966
|
-
""" """
|
|
1477
|
+
"""Set the message to show in the tool-tip when poll fails.When message is callable, additional user defined positional arguments are passed to the message function."""
|
|
967
1478
|
...
|
|
968
1479
|
|
|
969
1480
|
def pop(self):
|
|
970
|
-
"""
|
|
1481
|
+
"""Remove and return the value of the custom property assigned to key or default
|
|
1482
|
+
when not found (matches Python's dictionary function of the same name).
|
|
1483
|
+
|
|
1484
|
+
"""
|
|
971
1485
|
...
|
|
972
1486
|
|
|
973
|
-
def property_overridable_library_set(self):
|
|
974
|
-
"""
|
|
1487
|
+
def property_overridable_library_set(self) -> bool:
|
|
1488
|
+
"""Define a property as overridable or not (only for custom properties!).
|
|
1489
|
+
|
|
1490
|
+
:return: True when the overridable status of the property was successfully set.
|
|
1491
|
+
:rtype: bool
|
|
1492
|
+
"""
|
|
975
1493
|
...
|
|
976
1494
|
|
|
977
1495
|
def property_unset(self):
|
|
978
|
-
""" """
|
|
1496
|
+
"""Unset a property, will use default value afterward."""
|
|
979
1497
|
...
|
|
980
1498
|
|
|
981
1499
|
def type_recast(self):
|
|
982
|
-
"""
|
|
1500
|
+
"""Return a new instance, this is needed because types
|
|
1501
|
+
such as textures can be changed at runtime.
|
|
1502
|
+
|
|
1503
|
+
:return: a new instance of this object with the type initialized again.
|
|
1504
|
+
"""
|
|
983
1505
|
...
|
|
984
1506
|
|
|
985
1507
|
def values(self):
|
|
986
|
-
"""
|
|
1508
|
+
"""Returns the values of this objects custom properties (matches Python's
|
|
1509
|
+
dictionary function of the same name).
|
|
1510
|
+
|
|
1511
|
+
:return: custom property values.
|
|
1512
|
+
"""
|
|
987
1513
|
...
|