fake-bpy-module 20231205__py3-none-any.whl → 20231207__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.
- addon_utils/__init__.pyi +84 -0
- animsys_refactor/__init__.pyi +55 -0
- aud/__init__.pyi +1190 -0
- bgl/__init__.pyi +5084 -0
- bl_app_override/__init__.pyi +31 -0
- bl_app_override/helpers/__init__.pyi +42 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_app_template_utils/__init__.pyi +36 -0
- bl_console_utils/autocomplete/__init__.pyi +8 -0
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +44 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/__init__.pyi +28 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +44 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/__init__.pyi +20 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_i18n_utils/__init__.pyi +11 -0
- bl_i18n_utils/bl_extract_messages/__init__.pyi +124 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/__init__.pyi +12 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/__init__.pyi +66 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/__init__.pyi +338 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/__init__.pyi +52 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/__init__.pyi +12 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/__init__.pyi +20 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/__init__.pyi +9 -0
- bl_keymap_utils/io/__init__.pyi +76 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +12 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/__init__.pyi +12 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/__init__.pyi +20 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/__init__.pyi +12 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_math/__init__.pyi +52 -0
- bl_operators/__init__.pyi +49 -0
- bl_operators/add_mesh_torus/__init__.pyi +231 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/__init__.pyi +1291 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/__init__.pyi +586 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/__init__.pyi +76 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/clip/__init__.pyi +1898 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/__init__.pyi +918 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/__init__.pyi +745 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/__init__.pyi +560 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/__init__.pyi +751 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/__init__.pyi +2553 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/__init__.pyi +548 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/__init__.pyi +566 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/__init__.pyi +1814 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/__init__.pyi +3212 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/__init__.pyi +215 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/__init__.pyi +777 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/__init__.pyi +199 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/__init__.pyi +3776 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/__init__.pyi +566 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/__init__.pyi +192 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/__init__.pyi +1001 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/__init__.pyi +202 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/__init__.pyi +4701 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/__init__.pyi +212 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/__init__.pyi +257 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/__init__.pyi +501 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/__init__.pyi +207 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/__init__.pyi +955 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/__init__.pyi +8409 -0
- bl_operators/wm/py.typed +0 -0
- bl_previews_utils/bl_previews_render/__init__.pyi +60 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/__init__.pyi +25 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/__init__.pyi +12 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/__init__.pyi +706 -0
- bl_ui/asset_shelf/__init__.pyi +202 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/__init__.pyi +629 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/__init__.pyi +260 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/__init__.pyi +3739 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/__init__.pyi +8520 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/__init__.pyi +2139 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/__init__.pyi +1868 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/__init__.pyi +38 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/__init__.pyi +1051 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/__init__.pyi +29694 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/__init__.pyi +2274 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/__init__.pyi +2087 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/__init__.pyi +3004 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/__init__.pyi +3164 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/__init__.pyi +1247 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/__init__.pyi +426 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/__init__.pyi +3758 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/__init__.pyi +632 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/__init__.pyi +637 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/__init__.pyi +2111 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/__init__.pyi +1264 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/__init__.pyi +4052 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/__init__.pyi +1047 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/__init__.pyi +1741 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/__init__.pyi +1045 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/__init__.pyi +214 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/__init__.pyi +1056 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/__init__.pyi +1652 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/__init__.pyi +5309 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/__init__.pyi +2780 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/__init__.pyi +1554 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/__init__.pyi +3117 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/__init__.pyi +2086 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/__init__.pyi +2875 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/__init__.pyi +3799 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/__init__.pyi +814 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/__init__.pyi +10938 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/__init__.pyi +2984 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/__init__.pyi +277 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +5431 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/__init__.pyi +2220 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/__init__.pyi +7296 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +214 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/__init__.pyi +1698 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +2734 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/__init__.pyi +3198 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/__init__.pyi +12664 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/__init__.pyi +2872 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/__init__.pyi +5470 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/__init__.pyi +3493 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/__init__.pyi +630 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/__init__.pyi +1478 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/__init__.pyi +14313 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/__init__.pyi +1221 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/__init__.pyi +5388 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/__init__.pyi +5996 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/__init__.pyi +4053 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/__init__.pyi +14801 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/__init__.pyi +1216 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/__init__.pyi +3460 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/__init__.pyi +6519 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/__init__.pyi +2864 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/__init__.pyi +575 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/__init__.pyi +15360 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/__init__.pyi +226 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/__init__.pyi +190 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/__init__.pyi +3223 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/__init__.pyi +1472 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/__init__.pyi +435 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/__init__.pyi +1671 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/__init__.pyi +5296 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/__init__.pyi +17826 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/__init__.pyi +51846 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/__init__.pyi +18993 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/utils/__init__.pyi +40 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/__init__.pyi +6 -0
- bl_ui_utils/bug_report_url/__init__.pyi +12 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/__init__.pyi +12 -0
- bl_ui_utils/layout/py.typed +0 -0
- blend_render_info/__init__.pyi +24 -0
- blf/__init__.pyi +231 -0
- bmesh/__init__.pyi +51 -0
- bmesh/geometry/__init__.pyi +23 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/__init__.pyi +1935 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/__init__.pyi +1399 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/__init__.pyi +207 -0
- bmesh/utils/py.typed +0 -0
- bpy/__init__.pyi +18 -0
- bpy/app/__init__.pyi +247 -0
- bpy/app/handlers/__init__.pyi +151 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/__init__.pyi +42 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/timers/__init__.pyi +42 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/__init__.pyi +107 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/__init__.pyi +40 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/__init__.pyi +81 -0
- bpy/ops/action/__init__.pyi +723 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/__init__.pyi +978 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/__init__.pyi +858 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/__init__.pyi +339 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/boid/__init__.pyi +127 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/__init__.pyi +171 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/__init__.pyi +255 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/__init__.pyi +241 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/__init__.pyi +60 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/__init__.pyi +1782 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/__init__.pyi +31 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/__init__.pyi +95 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/__init__.pyi +370 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/__init__.pyi +391 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/__init__.pyi +1052 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/__init__.pyi +259 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/__init__.pyi +67 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/__init__.pyi +87 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/__init__.pyi +276 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/__init__.pyi +45 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_mesh/__init__.pyi +62 -0
- bpy/ops/export_mesh/py.typed +0 -0
- bpy/ops/export_scene/__init__.pyi +577 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/__init__.pyi +787 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/__init__.pyi +224 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/__init__.pyi +537 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/__init__.pyi +219 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/__init__.pyi +52 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/__init__.pyi +3247 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/__init__.pyi +1392 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/__init__.pyi +724 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/__init__.pyi +1261 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/__init__.pyi +58 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/__init__.pyi +26 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_mesh/__init__.pyi +50 -0
- bpy/ops/import_mesh/py.typed +0 -0
- bpy/ops/import_scene/__init__.pyi +191 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/__init__.pyi +140 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/__init__.pyi +153 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/__init__.pyi +238 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/__init__.pyi +747 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/__init__.pyi +47 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/__init__.pyi +168 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/__init__.pyi +4168 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/__init__.pyi +756 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/__init__.pyi +1894 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/__init__.pyi +5343 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/__init__.pyi +1172 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/__init__.pyi +1067 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/__init__.pyi +148 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/__init__.pyi +123 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/__init__.pyi +635 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/__init__.pyi +763 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/__init__.pyi +173 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/__init__.pyi +849 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/__init__.pyi +114 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/render/__init__.pyi +262 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/__init__.pyi +244 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/__init__.pyi +675 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/__init__.pyi +846 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/__init__.pyi +60 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/__init__.pyi +862 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/__init__.pyi +94 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/__init__.pyi +2165 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/__init__.pyi +395 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/__init__.pyi +76 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/__init__.pyi +215 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/__init__.pyi +863 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/__init__.pyi +31 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/__init__.pyi +68 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/__init__.pyi +1545 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/__init__.pyi +536 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/__init__.pyi +74 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/__init__.pyi +1251 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/__init__.pyi +329 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/__init__.pyi +1392 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/__init__.pyi +4821 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/__init__.pyi +115 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/__init__.pyi +19 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/__init__.pyi +194 -0
- bpy/path/py.typed +0 -0
- bpy/props/__init__.pyi +509 -0
- bpy/props/py.typed +0 -0
- bpy/types/__init__.pyi +131533 -0
- bpy/types/py.typed +0 -0
- bpy/utils/__init__.pyi +429 -0
- bpy/utils/previews/__init__.pyi +73 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/units/__init__.pyi +61 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/__init__.pyi +18 -0
- bpy_extras/anim_utils/__init__.pyi +108 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/__init__.pyi +39 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/__init__.pyi +20 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/__init__.pyi +48 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/id_map_utils/__init__.pyi +28 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/__init__.pyi +42 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/__init__.pyi +165 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/__init__.pyi +28 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/__init__.pyi +91 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/__init__.pyi +562 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/__init__.pyi +28 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/__init__.pyi +87 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/__init__.pyi +90 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/__init__.pyi +98 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_restrict_state/__init__.pyi +24 -0
- bpy_types/__init__.pyi +5189 -0
- console_python/__init__.pyi +71 -0
- console_shell/__init__.pyi +44 -0
- fake_bpy_module-20231207.dist-info/METADATA +175 -0
- fake_bpy_module-20231207.dist-info/RECORD +610 -0
- freestyle/chainingiterators/__init__.pyi +306 -0
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/__init__.pyi +1270 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/__init__.pyi +535 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/__init__.pyi +872 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/__init__.pyi +2407 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/__init__.pyi +127 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/__init__.pyi +246 -0
- gpu/capabilities/__init__.pyi +186 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/__init__.pyi +162 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/__init__.pyi +54 -0
- gpu/platform/py.typed +0 -0
- gpu/select/__init__.pyi +15 -0
- gpu/select/py.typed +0 -0
- gpu/shader/__init__.pyi +38 -0
- gpu/shader/py.typed +0 -0
- gpu/state/__init__.pyi +214 -0
- gpu/state/py.typed +0 -0
- gpu/texture/__init__.pyi +18 -0
- gpu/texture/py.typed +0 -0
- gpu/types/__init__.pyi +698 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/__init__.pyi +25 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/__init__.pyi +43 -0
- gpu_extras/presets/py.typed +0 -0
- graphviz_export/__init__.pyi +21 -0
- idprop/types/__init__.pyi +98 -0
- idprop/types/py.typed +0 -0
- imbuf/__init__.pyi +44 -0
- imbuf/types/__init__.pyi +70 -0
- imbuf/types/py.typed +0 -0
- keyingsets_builtins/__init__.pyi +4028 -0
- keyingsets_utils/__init__.pyi +116 -0
- mathutils/__init__.pyi +2917 -0
- mathutils/bvhtree/__init__.pyi +124 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/__init__.pyi +526 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/__init__.pyi +16 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/__init__.pyi +77 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/__init__.pyi +342 -0
- mathutils/noise/py.typed +0 -0
- nodeitems_builtins/__init__.pyi +69 -0
- nodeitems_utils/__init__.pyi +86 -0
- rna_info/__init__.pyi +343 -0
- rna_keymap_ui/__init__.pyi +52 -0
- rna_prop_ui/__init__.pyi +109 -0
- rna_xml/__init__.pyi +53 -0
- sys_info/__init__.pyi +12 -0
- addon_utils/__init__.py +0 -84
- animsys_refactor/__init__.py +0 -55
- aud/__init__.py +0 -1190
- bgl/__init__.py +0 -5084
- bl_app_override/__init__.py +0 -31
- bl_app_override/helpers.py +0 -42
- bl_app_template_utils/__init__.py +0 -36
- bl_console_utils/autocomplete/__init__.py +0 -8
- bl_console_utils/autocomplete/complete_calltip.py +0 -44
- bl_console_utils/autocomplete/complete_import.py +0 -28
- bl_console_utils/autocomplete/complete_namespace.py +0 -44
- bl_console_utils/autocomplete/intellisense.py +0 -20
- bl_i18n_utils/__init__.py +0 -11
- bl_i18n_utils/bl_extract_messages.py +0 -124
- bl_i18n_utils/merge_po.py +0 -12
- bl_i18n_utils/settings.py +0 -66
- bl_i18n_utils/utils.py +0 -338
- bl_i18n_utils/utils_cli.py +0 -52
- bl_i18n_utils/utils_languages_menu.py +0 -12
- bl_i18n_utils/utils_rtl.py +0 -20
- bl_keymap_utils/__init__.py +0 -9
- bl_keymap_utils/io.py +0 -76
- bl_keymap_utils/keymap_from_toolbar.py +0 -12
- bl_keymap_utils/keymap_hierarchy.py +0 -12
- bl_keymap_utils/platform_helpers.py +0 -20
- bl_keymap_utils/versioning.py +0 -12
- bl_math/__init__.py +0 -52
- bl_operators/__init__.py +0 -49
- bl_operators/add_mesh_torus.py +0 -231
- bl_operators/anim.py +0 -1291
- bl_operators/assets.py +0 -586
- bl_operators/bmesh/find_adjacent.py +0 -76
- bl_operators/clip.py +0 -1898
- bl_operators/console.py +0 -918
- bl_operators/constraint.py +0 -745
- bl_operators/file.py +0 -560
- bl_operators/freestyle.py +0 -751
- bl_operators/geometry_nodes.py +0 -2553
- bl_operators/image.py +0 -548
- bl_operators/mesh.py +0 -566
- bl_operators/node.py +0 -1814
- bl_operators/object.py +0 -3212
- bl_operators/object_align.py +0 -215
- bl_operators/object_quick_effects.py +0 -777
- bl_operators/object_randomize_transform.py +0 -199
- bl_operators/presets.py +0 -3776
- bl_operators/rigidbody.py +0 -566
- bl_operators/screen_play_rendered_anim.py +0 -192
- bl_operators/sequencer.py +0 -1001
- bl_operators/spreadsheet.py +0 -202
- bl_operators/userpref.py +0 -4701
- bl_operators/uvcalc_follow_active.py +0 -212
- bl_operators/uvcalc_lightmap.py +0 -257
- bl_operators/uvcalc_transform.py +0 -501
- bl_operators/vertexpaint_dirt.py +0 -207
- bl_operators/view3d.py +0 -955
- bl_operators/wm.py +0 -8409
- bl_previews_utils/bl_previews_render.py +0 -60
- bl_rna_utils/data_path.py +0 -25
- bl_text_utils/external_editor.py +0 -12
- bl_ui/__init__.py +0 -706
- bl_ui/asset_shelf.py +0 -202
- bl_ui/generic_ui_list.py +0 -629
- bl_ui/node_add_menu.py +0 -260
- bl_ui/node_add_menu_compositor.py +0 -3739
- bl_ui/node_add_menu_geometry.py +0 -8520
- bl_ui/node_add_menu_shader.py +0 -2139
- bl_ui/node_add_menu_texture.py +0 -1868
- bl_ui/properties_animviz.py +0 -38
- bl_ui/properties_collection.py +0 -1051
- bl_ui/properties_constraint.py +0 -29694
- bl_ui/properties_data_armature.py +0 -2274
- bl_ui/properties_data_bone.py +0 -2087
- bl_ui/properties_data_camera.py +0 -3004
- bl_ui/properties_data_curve.py +0 -3164
- bl_ui/properties_data_curves.py +0 -1247
- bl_ui/properties_data_empty.py +0 -426
- bl_ui/properties_data_gpencil.py +0 -3758
- bl_ui/properties_data_grease_pencil.py +0 -632
- bl_ui/properties_data_lattice.py +0 -637
- bl_ui/properties_data_light.py +0 -2111
- bl_ui/properties_data_lightprobe.py +0 -1264
- bl_ui/properties_data_mesh.py +0 -4052
- bl_ui/properties_data_metaball.py +0 -1047
- bl_ui/properties_data_modifier.py +0 -1741
- bl_ui/properties_data_pointcloud.py +0 -1045
- bl_ui/properties_data_shaderfx.py +0 -214
- bl_ui/properties_data_speaker.py +0 -1056
- bl_ui/properties_data_volume.py +0 -1652
- bl_ui/properties_freestyle.py +0 -5309
- bl_ui/properties_grease_pencil_common.py +0 -2780
- bl_ui/properties_mask_common.py +0 -1554
- bl_ui/properties_material.py +0 -3117
- bl_ui/properties_material_gpencil.py +0 -2086
- bl_ui/properties_object.py +0 -2875
- bl_ui/properties_output.py +0 -3799
- bl_ui/properties_paint_common.py +0 -814
- bl_ui/properties_particle.py +0 -10938
- bl_ui/properties_physics_cloth.py +0 -2984
- bl_ui/properties_physics_common.py +0 -277
- bl_ui/properties_physics_dynamicpaint.py +0 -5431
- bl_ui/properties_physics_field.py +0 -2220
- bl_ui/properties_physics_fluid.py +0 -7296
- bl_ui/properties_physics_geometry_nodes.py +0 -214
- bl_ui/properties_physics_rigidbody.py +0 -1698
- bl_ui/properties_physics_rigidbody_constraint.py +0 -2734
- bl_ui/properties_physics_softbody.py +0 -3198
- bl_ui/properties_render.py +0 -12664
- bl_ui/properties_scene.py +0 -2872
- bl_ui/properties_texture.py +0 -5470
- bl_ui/properties_view_layer.py +0 -3493
- bl_ui/properties_workspace.py +0 -630
- bl_ui/properties_world.py +0 -1478
- bl_ui/space_clip.py +0 -14313
- bl_ui/space_console.py +0 -1221
- bl_ui/space_dopesheet.py +0 -5388
- bl_ui/space_filebrowser.py +0 -5996
- bl_ui/space_graph.py +0 -4053
- bl_ui/space_image.py +0 -14801
- bl_ui/space_info.py +0 -1216
- bl_ui/space_nla.py +0 -3460
- bl_ui/space_node.py +0 -6519
- bl_ui/space_outliner.py +0 -2864
- bl_ui/space_properties.py +0 -575
- bl_ui/space_sequencer.py +0 -15360
- bl_ui/space_spreadsheet.py +0 -226
- bl_ui/space_statusbar.py +0 -190
- bl_ui/space_text.py +0 -3223
- bl_ui/space_time.py +0 -1472
- bl_ui/space_toolsystem_common.py +0 -435
- bl_ui/space_toolsystem_toolbar.py +0 -1671
- bl_ui/space_topbar.py +0 -5296
- bl_ui/space_userpref.py +0 -17826
- bl_ui/space_view3d.py +0 -51846
- bl_ui/space_view3d_toolbar.py +0 -18993
- bl_ui/utils.py +0 -40
- bl_ui_utils/__init__.py +0 -6
- bl_ui_utils/bug_report_url.py +0 -12
- bl_ui_utils/layout.py +0 -12
- blend_render_info/__init__.py +0 -24
- blf/__init__.py +0 -231
- bmesh/__init__.py +0 -51
- bmesh/geometry.py +0 -23
- bmesh/ops.py +0 -1935
- bmesh/types.py +0 -1399
- bmesh/utils.py +0 -207
- bpy/__init__.py +0 -18
- bpy/app/__init__.py +0 -247
- bpy/app/handlers.py +0 -160
- bpy/app/icons.py +0 -42
- bpy/app/timers.py +0 -42
- bpy/app/translations.py +0 -107
- bpy/msgbus.py +0 -40
- bpy/ops/__init__.py +0 -81
- bpy/ops/action.py +0 -723
- bpy/ops/anim.py +0 -978
- bpy/ops/armature.py +0 -858
- bpy/ops/asset.py +0 -339
- bpy/ops/boid.py +0 -127
- bpy/ops/brush.py +0 -171
- bpy/ops/buttons.py +0 -255
- bpy/ops/cachefile.py +0 -241
- bpy/ops/camera.py +0 -60
- bpy/ops/clip.py +0 -1782
- bpy/ops/cloth.py +0 -31
- bpy/ops/collection.py +0 -95
- bpy/ops/console.py +0 -370
- bpy/ops/constraint.py +0 -391
- bpy/ops/curve.py +0 -1052
- bpy/ops/curves.py +0 -259
- bpy/ops/cycles.py +0 -67
- bpy/ops/dpaint.py +0 -87
- bpy/ops/ed.py +0 -276
- bpy/ops/export_anim.py +0 -45
- bpy/ops/export_mesh.py +0 -62
- bpy/ops/export_scene.py +0 -577
- bpy/ops/file.py +0 -787
- bpy/ops/fluid.py +0 -224
- bpy/ops/font.py +0 -537
- bpy/ops/geometry.py +0 -219
- bpy/ops/gizmogroup.py +0 -52
- bpy/ops/gpencil.py +0 -3247
- bpy/ops/graph.py +0 -1392
- bpy/ops/grease_pencil.py +0 -724
- bpy/ops/image.py +0 -1261
- bpy/ops/import_anim.py +0 -58
- bpy/ops/import_curve.py +0 -26
- bpy/ops/import_mesh.py +0 -50
- bpy/ops/import_scene.py +0 -191
- bpy/ops/info.py +0 -140
- bpy/ops/lattice.py +0 -153
- bpy/ops/marker.py +0 -238
- bpy/ops/mask.py +0 -747
- bpy/ops/material.py +0 -47
- bpy/ops/mball.py +0 -168
- bpy/ops/mesh.py +0 -4168
- bpy/ops/nla.py +0 -756
- bpy/ops/node.py +0 -1894
- bpy/ops/object.py +0 -5343
- bpy/ops/outliner.py +0 -1172
- bpy/ops/paint.py +0 -1067
- bpy/ops/paintcurve.py +0 -148
- bpy/ops/palette.py +0 -123
- bpy/ops/particle.py +0 -635
- bpy/ops/pose.py +0 -763
- bpy/ops/poselib.py +0 -173
- bpy/ops/preferences.py +0 -849
- bpy/ops/ptcache.py +0 -114
- bpy/ops/render.py +0 -262
- bpy/ops/rigidbody.py +0 -244
- bpy/ops/scene.py +0 -675
- bpy/ops/screen.py +0 -846
- bpy/ops/script.py +0 -60
- bpy/ops/sculpt.py +0 -862
- bpy/ops/sculpt_curves.py +0 -94
- bpy/ops/sequencer.py +0 -2165
- bpy/ops/sound.py +0 -395
- bpy/ops/spreadsheet.py +0 -76
- bpy/ops/surface.py +0 -215
- bpy/ops/text.py +0 -863
- bpy/ops/text_editor.py +0 -31
- bpy/ops/texture.py +0 -68
- bpy/ops/transform.py +0 -1545
- bpy/ops/ui.py +0 -536
- bpy/ops/uilist.py +0 -74
- bpy/ops/uv.py +0 -1251
- bpy/ops/view2d.py +0 -329
- bpy/ops/view3d.py +0 -1392
- bpy/ops/wm.py +0 -4821
- bpy/ops/workspace.py +0 -115
- bpy/ops/world.py +0 -19
- bpy/path.py +0 -194
- bpy/props.py +0 -509
- bpy/types.py +0 -131806
- bpy/utils/__init__.py +0 -429
- bpy/utils/previews.py +0 -73
- bpy/utils/units.py +0 -61
- bpy_extras/__init__.py +0 -18
- bpy_extras/anim_utils.py +0 -108
- bpy_extras/asset_utils.py +0 -39
- bpy_extras/bmesh_utils.py +0 -20
- bpy_extras/extensions/junction_module.py +0 -48
- bpy_extras/id_map_utils.py +0 -28
- bpy_extras/image_utils.py +0 -42
- bpy_extras/io_utils.py +0 -165
- bpy_extras/keyconfig_utils.py +0 -28
- bpy_extras/mesh_utils.py +0 -91
- bpy_extras/node_shader_utils.py +0 -562
- bpy_extras/node_utils.py +0 -28
- bpy_extras/object_utils.py +0 -87
- bpy_extras/view3d_utils.py +0 -90
- bpy_extras/wm_utils/progress_report.py +0 -98
- bpy_restrict_state/__init__.py +0 -24
- bpy_types/__init__.py +0 -5189
- console_python/__init__.py +0 -71
- console_shell/__init__.py +0 -44
- fake_bpy_module-20231205.dist-info/METADATA +0 -175
- fake_bpy_module-20231205.dist-info/RECORD +0 -356
- freestyle/chainingiterators.py +0 -306
- freestyle/functions.py +0 -1270
- freestyle/predicates.py +0 -535
- freestyle/shaders.py +0 -872
- freestyle/types.py +0 -2409
- freestyle/utils/ContextFunctions.py +0 -127
- freestyle/utils/__init__.py +0 -246
- gpu/capabilities.py +0 -186
- gpu/matrix.py +0 -162
- gpu/platform.py +0 -54
- gpu/select.py +0 -15
- gpu/shader.py +0 -38
- gpu/state.py +0 -214
- gpu/texture.py +0 -18
- gpu/types.py +0 -698
- gpu_extras/batch.py +0 -25
- gpu_extras/presets.py +0 -43
- graphviz_export/__init__.py +0 -21
- idprop/types.py +0 -98
- imbuf/__init__.py +0 -44
- imbuf/types.py +0 -70
- keyingsets_builtins/__init__.py +0 -4028
- keyingsets_utils/__init__.py +0 -116
- mathutils/__init__.py +0 -2917
- mathutils/bvhtree.py +0 -124
- mathutils/geometry.py +0 -526
- mathutils/interpolate.py +0 -16
- mathutils/kdtree.py +0 -77
- mathutils/noise.py +0 -342
- nodeitems_builtins/__init__.py +0 -69
- nodeitems_utils/__init__.py +0 -86
- rna_info/__init__.py +0 -343
- rna_keymap_ui/__init__.py +0 -52
- rna_prop_ui/__init__.py +0 -109
- rna_xml/__init__.py +0 -53
- sys_info/__init__.py +0 -12
- /bl_console_utils/{__init__.py → __init__.pyi} +0 -0
- /bl_operators/bmesh/{__init__.py → __init__.pyi} +0 -0
- /bl_previews_utils/{__init__.py → __init__.pyi} +0 -0
- /bl_rna_utils/{__init__.py → __init__.pyi} +0 -0
- /bl_text_utils/{__init__.py → __init__.pyi} +0 -0
- /bpy_extras/extensions/{__init__.py → __init__.pyi} +0 -0
- /bpy_extras/wm_utils/{__init__.py → __init__.pyi} +0 -0
- {fake_bpy_module-20231205.dist-info → fake_bpy_module-20231207.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20231205.dist-info → fake_bpy_module-20231207.dist-info}/top_level.txt +0 -0
- /freestyle/{__init__.py → __init__.pyi} +0 -0
- /gpu/{__init__.py → __init__.pyi} +0 -0
- /gpu_extras/{__init__.py → __init__.pyi} +0 -0
- /idprop/{__init__.py → __init__.pyi} +0 -0
freestyle/types/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
import freestyle.types
|
|
4
|
+
|
|
5
|
+
GenericType = typing.TypeVar("GenericType")
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def get_border() -> typing.Tuple:
|
|
9
|
+
''' Returns the border.
|
|
10
|
+
|
|
11
|
+
:rtype: typing.Tuple
|
|
12
|
+
:return: A tuple of 4 numbers (xmin, ymin, xmax, ymax).
|
|
13
|
+
'''
|
|
14
|
+
|
|
15
|
+
...
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def get_canvas_height() -> int:
|
|
19
|
+
''' Returns the canvas height.
|
|
20
|
+
|
|
21
|
+
:rtype: int
|
|
22
|
+
:return: The canvas height.
|
|
23
|
+
'''
|
|
24
|
+
|
|
25
|
+
...
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
def get_canvas_width() -> int:
|
|
29
|
+
''' Returns the canvas width.
|
|
30
|
+
|
|
31
|
+
:rtype: int
|
|
32
|
+
:return: The canvas width.
|
|
33
|
+
'''
|
|
34
|
+
|
|
35
|
+
...
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def get_selected_fedge() -> 'freestyle.types.FEdge':
|
|
39
|
+
''' Returns the selected FEdge.
|
|
40
|
+
|
|
41
|
+
:rtype: 'freestyle.types.FEdge'
|
|
42
|
+
:return: The selected FEdge.
|
|
43
|
+
'''
|
|
44
|
+
|
|
45
|
+
...
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
def get_time_stamp() -> int:
|
|
49
|
+
''' Returns the system time stamp.
|
|
50
|
+
|
|
51
|
+
:rtype: int
|
|
52
|
+
:return: The system time stamp.
|
|
53
|
+
'''
|
|
54
|
+
|
|
55
|
+
...
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
def load_map(file_name: str,
|
|
59
|
+
map_name: str,
|
|
60
|
+
num_levels: int = 4,
|
|
61
|
+
sigma: float = 1.0):
|
|
62
|
+
''' Loads an image map for further reading.
|
|
63
|
+
|
|
64
|
+
:param file_name: The name of the image file.
|
|
65
|
+
:type file_name: str
|
|
66
|
+
:param map_name: The name that will be used to access this image.
|
|
67
|
+
:type map_name: str
|
|
68
|
+
:param num_levels: The number of levels in the map pyramid (default = 4). If num_levels == 0, the complete pyramid is built.
|
|
69
|
+
:type num_levels: int
|
|
70
|
+
:param sigma: The sigma value of the gaussian function.
|
|
71
|
+
:type sigma: float
|
|
72
|
+
'''
|
|
73
|
+
|
|
74
|
+
...
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
def read_complete_view_map_pixel(level: int, x: int, y: int) -> float:
|
|
78
|
+
''' Reads a pixel in the complete view map.
|
|
79
|
+
|
|
80
|
+
:param level: The level of the pyramid in which we wish to read the pixel.
|
|
81
|
+
:type level: int
|
|
82
|
+
:param x: The x coordinate of the pixel we wish to read. The origin is in the lower-left corner.
|
|
83
|
+
:type x: int
|
|
84
|
+
:param y: The y coordinate of the pixel we wish to read. The origin is in the lower-left corner.
|
|
85
|
+
:type y: int
|
|
86
|
+
:rtype: float
|
|
87
|
+
:return: The floating-point value stored for that pixel.
|
|
88
|
+
'''
|
|
89
|
+
|
|
90
|
+
...
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
def read_directional_view_map_pixel(orientation: int, level: int, x: int,
|
|
94
|
+
y: int) -> float:
|
|
95
|
+
''' Reads a pixel in one of the oriented view map images.
|
|
96
|
+
|
|
97
|
+
:param orientation: The number telling which orientation we want to check.
|
|
98
|
+
:type orientation: int
|
|
99
|
+
:param level: The level of the pyramid in which we wish to read the pixel.
|
|
100
|
+
:type level: int
|
|
101
|
+
:param x: The x coordinate of the pixel we wish to read. The origin is in the lower-left corner.
|
|
102
|
+
:type x: int
|
|
103
|
+
:param y: The y coordinate of the pixel we wish to read. The origin is in the lower-left corner.
|
|
104
|
+
:type y: int
|
|
105
|
+
:rtype: float
|
|
106
|
+
:return: The floating-point value stored for that pixel.
|
|
107
|
+
'''
|
|
108
|
+
|
|
109
|
+
...
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
def read_map_pixel(map_name: str, level: int, x: int, y: int) -> float:
|
|
113
|
+
''' Reads a pixel in a user-defined map.
|
|
114
|
+
|
|
115
|
+
:param map_name: The name of the map.
|
|
116
|
+
:type map_name: str
|
|
117
|
+
:param level: The level of the pyramid in which we wish to read the pixel.
|
|
118
|
+
:type level: int
|
|
119
|
+
:param x: The x coordinate of the pixel we wish to read. The origin is in the lower-left corner.
|
|
120
|
+
:type x: int
|
|
121
|
+
:param y: The y coordinate of the pixel we wish to read. The origin is in the lower-left corner.
|
|
122
|
+
:type y: int
|
|
123
|
+
:rtype: float
|
|
124
|
+
:return: The floating-point value stored for that pixel.
|
|
125
|
+
'''
|
|
126
|
+
|
|
127
|
+
...
|
|
File without changes
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
import bpy.types
|
|
4
|
+
import freestyle.types
|
|
5
|
+
|
|
6
|
+
from . import ContextFunctions
|
|
7
|
+
|
|
8
|
+
GenericType = typing.TypeVar("GenericType")
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class BoundingBox:
|
|
12
|
+
''' Object representing a bounding box consisting out of 2 2D vectors
|
|
13
|
+
'''
|
|
14
|
+
|
|
15
|
+
def inside(self, other):
|
|
16
|
+
''' True if self inside other, False otherwise
|
|
17
|
+
|
|
18
|
+
'''
|
|
19
|
+
...
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
class StrokeCollector:
|
|
23
|
+
''' Collects and Stores stroke objects
|
|
24
|
+
'''
|
|
25
|
+
|
|
26
|
+
def shade(self, stroke):
|
|
27
|
+
'''
|
|
28
|
+
|
|
29
|
+
'''
|
|
30
|
+
...
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
def angle_x_normal(i):
|
|
34
|
+
''' unsigned angle between a Point's normal and the X axis, in radians
|
|
35
|
+
|
|
36
|
+
'''
|
|
37
|
+
|
|
38
|
+
...
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
def bound(lower, x, higher):
|
|
42
|
+
''' Returns x bounded by a maximum and minimum value. Equivalent to: return min(max(x, lower), higher)
|
|
43
|
+
|
|
44
|
+
'''
|
|
45
|
+
|
|
46
|
+
...
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
def bounding_box(stroke):
|
|
50
|
+
''' Returns the maximum and minimum coordinates (the bounding box) of the stroke's vertices
|
|
51
|
+
|
|
52
|
+
'''
|
|
53
|
+
|
|
54
|
+
...
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
def curvature_from_stroke_vertex(svert):
|
|
58
|
+
''' The 3D curvature of an stroke vertex' underlying geometry The result is None or in the range [-inf, inf]
|
|
59
|
+
|
|
60
|
+
'''
|
|
61
|
+
|
|
62
|
+
...
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def find_matching_vertex(id, it):
|
|
66
|
+
''' Finds the matching vertex, or returns None.
|
|
67
|
+
|
|
68
|
+
'''
|
|
69
|
+
|
|
70
|
+
...
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
def getCurrentScene() -> 'bpy.types.Scene':
|
|
74
|
+
''' Returns the current scene.
|
|
75
|
+
|
|
76
|
+
:rtype: 'bpy.types.Scene'
|
|
77
|
+
:return: The current scene.
|
|
78
|
+
'''
|
|
79
|
+
|
|
80
|
+
...
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
def get_chain_length(ve, orientation):
|
|
84
|
+
''' Returns the 2d length of a given ViewEdge.
|
|
85
|
+
|
|
86
|
+
'''
|
|
87
|
+
|
|
88
|
+
...
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
def get_object_name(stroke):
|
|
92
|
+
''' Returns the name of the object that this stroke is drawn on.
|
|
93
|
+
|
|
94
|
+
'''
|
|
95
|
+
|
|
96
|
+
...
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
def get_strokes():
|
|
100
|
+
''' Get all strokes that are currently available
|
|
101
|
+
|
|
102
|
+
'''
|
|
103
|
+
|
|
104
|
+
...
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
def get_test_stroke():
|
|
108
|
+
''' Returns a static stroke object for testing
|
|
109
|
+
|
|
110
|
+
'''
|
|
111
|
+
|
|
112
|
+
...
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def integrate(func: 'freestyle.types.UnaryFunction0D',
|
|
116
|
+
it: 'freestyle.types.Interface0DIterator',
|
|
117
|
+
it_end: 'freestyle.types.Interface0DIterator',
|
|
118
|
+
integration_type: 'freestyle.types.IntegrationType'
|
|
119
|
+
) -> typing.Union[int, float]:
|
|
120
|
+
''' Returns a single value from a set of values evaluated at each 0D element of this 1D element.
|
|
121
|
+
|
|
122
|
+
:param func: The UnaryFunction0D used to compute a value at each Interface0D.
|
|
123
|
+
:type func: 'freestyle.types.UnaryFunction0D'
|
|
124
|
+
:param it: The Interface0DIterator used to iterate over the 0D elements of this 1D element. The integration will occur over the 0D elements starting from the one pointed by it.
|
|
125
|
+
:type it: 'freestyle.types.Interface0DIterator'
|
|
126
|
+
:param it_end: The Interface0DIterator pointing the end of the 0D elements of the 1D element.
|
|
127
|
+
:type it_end: 'freestyle.types.Interface0DIterator'
|
|
128
|
+
:param integration_type: The integration method used to compute a single value from a set of values.
|
|
129
|
+
:type integration_type: 'freestyle.types.IntegrationType'
|
|
130
|
+
:rtype: typing.Union[int, float]
|
|
131
|
+
:return: The single value obtained for the 1D element. The return value type is float if func is of the `UnaryFunction0DDouble` or `UnaryFunction0DFloat` type, and int if func is of the `UnaryFunction0DUnsigned` type.
|
|
132
|
+
'''
|
|
133
|
+
|
|
134
|
+
...
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
def is_poly_clockwise(stroke):
|
|
138
|
+
''' True if the stroke is orientated in a clockwise way, False otherwise
|
|
139
|
+
|
|
140
|
+
'''
|
|
141
|
+
|
|
142
|
+
...
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
def iter_distance_along_stroke(stroke):
|
|
146
|
+
''' Yields the absolute distance along the stroke up to the current vertex.
|
|
147
|
+
|
|
148
|
+
'''
|
|
149
|
+
|
|
150
|
+
...
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
def iter_distance_from_camera(stroke, range_min, range_max, normfac):
|
|
154
|
+
''' Yields the distance to the camera relative to the maximum possible distance for every stroke vertex, constrained by given minimum and maximum values.
|
|
155
|
+
|
|
156
|
+
'''
|
|
157
|
+
|
|
158
|
+
...
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
def iter_distance_from_object(stroke, location, range_min, range_max, normfac):
|
|
162
|
+
''' yields the distance to the given object relative to the maximum possible distance for every stroke vertex, constrained by given minimum and maximum values.
|
|
163
|
+
|
|
164
|
+
'''
|
|
165
|
+
|
|
166
|
+
...
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
def iter_material_value(stroke, func, attribute):
|
|
170
|
+
''' Yields a specific material attribute from the vertex' underlying material.
|
|
171
|
+
|
|
172
|
+
'''
|
|
173
|
+
|
|
174
|
+
...
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
def iter_t2d_along_stroke(stroke):
|
|
178
|
+
''' Yields the progress along the stroke.
|
|
179
|
+
|
|
180
|
+
'''
|
|
181
|
+
|
|
182
|
+
...
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
def material_from_fedge(fe):
|
|
186
|
+
''' get the diffuse RGBA color from an FEdge
|
|
187
|
+
|
|
188
|
+
'''
|
|
189
|
+
|
|
190
|
+
...
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
def normal_at_I0D(i):
|
|
194
|
+
''' Normal at an Interface0D object. In contrast to Normal2DF0D this function uses the actual data instead of underlying Fedge objects.
|
|
195
|
+
|
|
196
|
+
'''
|
|
197
|
+
|
|
198
|
+
...
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
def pairwise(iterable, types={}):
|
|
202
|
+
''' Yields a tuple containing the previous and current object
|
|
203
|
+
|
|
204
|
+
'''
|
|
205
|
+
|
|
206
|
+
...
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
def rgb_to_bw(r, g, b):
|
|
210
|
+
''' Method to convert rgb to a bw intensity value.
|
|
211
|
+
|
|
212
|
+
'''
|
|
213
|
+
|
|
214
|
+
...
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
def simplify(points, tolerance):
|
|
218
|
+
''' Simplifies a set of points
|
|
219
|
+
|
|
220
|
+
'''
|
|
221
|
+
|
|
222
|
+
...
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
def stroke_curvature(it):
|
|
226
|
+
''' Compute the 2D curvature at the stroke vertex pointed by the iterator 'it'. K = 1 / R where R is the radius of the circle going through the current vertex and its neighbors
|
|
227
|
+
|
|
228
|
+
'''
|
|
229
|
+
|
|
230
|
+
...
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
def stroke_normal(stroke):
|
|
234
|
+
''' Compute the 2D normal at the stroke vertex pointed by the iterator 'it'. It is noted that Normal2DF0D computes normals based on underlying FEdges instead, which is inappropriate for strokes when they have already been modified by stroke geometry modifiers. The returned normals are dynamic: they update when the vertex position (and therefore the vertex normal) changes. for use in geometry modifiers it is advised to cast this generator function to a tuple or list
|
|
235
|
+
|
|
236
|
+
'''
|
|
237
|
+
|
|
238
|
+
...
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
def tripplewise(iterable):
|
|
242
|
+
''' Yields a tuple containing the current object and its immediate neighbors
|
|
243
|
+
|
|
244
|
+
'''
|
|
245
|
+
|
|
246
|
+
...
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
|
|
4
|
+
GenericType = typing.TypeVar("GenericType")
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
def compute_shader_support_get() -> bool:
|
|
8
|
+
''' Are compute shaders supported.
|
|
9
|
+
|
|
10
|
+
:rtype: bool
|
|
11
|
+
:return: True when supported, False when not supported.
|
|
12
|
+
'''
|
|
13
|
+
|
|
14
|
+
...
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def extensions_get() -> typing.Tuple:
|
|
18
|
+
''' Get supported extensions in the current context.
|
|
19
|
+
|
|
20
|
+
:rtype: typing.Tuple
|
|
21
|
+
:return: Extensions.
|
|
22
|
+
'''
|
|
23
|
+
|
|
24
|
+
...
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
def hdr_support_get():
|
|
28
|
+
''' Return whether GPU backend supports High Dynamic range for viewport. :return: HDR support available. :rtype: bool
|
|
29
|
+
|
|
30
|
+
'''
|
|
31
|
+
|
|
32
|
+
...
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
def max_batch_indices_get() -> int:
|
|
36
|
+
''' Get maximum number of vertex array indices.
|
|
37
|
+
|
|
38
|
+
:rtype: int
|
|
39
|
+
:return: Number of indices.
|
|
40
|
+
'''
|
|
41
|
+
|
|
42
|
+
...
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def max_batch_vertices_get() -> int:
|
|
46
|
+
''' Get maximum number of vertex array vertices.
|
|
47
|
+
|
|
48
|
+
:rtype: int
|
|
49
|
+
:return: Number of vertices.
|
|
50
|
+
'''
|
|
51
|
+
|
|
52
|
+
...
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
def max_texture_layers_get() -> int:
|
|
56
|
+
''' Get maximum number of layers in texture.
|
|
57
|
+
|
|
58
|
+
:rtype: int
|
|
59
|
+
:return: Number of layers.
|
|
60
|
+
'''
|
|
61
|
+
|
|
62
|
+
...
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def max_texture_size_get() -> int:
|
|
66
|
+
''' Get estimated maximum texture size to be able to handle.
|
|
67
|
+
|
|
68
|
+
:rtype: int
|
|
69
|
+
:return: Texture size.
|
|
70
|
+
'''
|
|
71
|
+
|
|
72
|
+
...
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def max_textures_frag_get() -> int:
|
|
76
|
+
''' Get maximum supported texture image units used for accessing texture maps from the fragment shader.
|
|
77
|
+
|
|
78
|
+
:rtype: int
|
|
79
|
+
:return: Texture image units.
|
|
80
|
+
'''
|
|
81
|
+
|
|
82
|
+
...
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def max_textures_geom_get() -> int:
|
|
86
|
+
''' Get maximum supported texture image units used for accessing texture maps from the geometry shader.
|
|
87
|
+
|
|
88
|
+
:rtype: int
|
|
89
|
+
:return: Texture image units.
|
|
90
|
+
'''
|
|
91
|
+
|
|
92
|
+
...
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def max_textures_get() -> int:
|
|
96
|
+
''' Get maximum supported texture image units used for accessing texture maps from the vertex shader and the fragment processor.
|
|
97
|
+
|
|
98
|
+
:rtype: int
|
|
99
|
+
:return: Texture image units.
|
|
100
|
+
'''
|
|
101
|
+
|
|
102
|
+
...
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
def max_textures_vert_get() -> int:
|
|
106
|
+
''' Get maximum supported texture image units used for accessing texture maps from the vertex shader.
|
|
107
|
+
|
|
108
|
+
:rtype: int
|
|
109
|
+
:return: Texture image units.
|
|
110
|
+
'''
|
|
111
|
+
|
|
112
|
+
...
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def max_uniforms_frag_get() -> int:
|
|
116
|
+
''' Get maximum number of values held in uniform variable storage for a fragment shader.
|
|
117
|
+
|
|
118
|
+
:rtype: int
|
|
119
|
+
:return: Number of values.
|
|
120
|
+
'''
|
|
121
|
+
|
|
122
|
+
...
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
def max_uniforms_vert_get() -> int:
|
|
126
|
+
''' Get maximum number of values held in uniform variable storage for a vertex shader.
|
|
127
|
+
|
|
128
|
+
:rtype: int
|
|
129
|
+
:return: Number of values.
|
|
130
|
+
'''
|
|
131
|
+
|
|
132
|
+
...
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
def max_varying_floats_get() -> int:
|
|
136
|
+
''' Get maximum number of varying variables used by vertex and fragment shaders.
|
|
137
|
+
|
|
138
|
+
:rtype: int
|
|
139
|
+
:return: Number of variables.
|
|
140
|
+
'''
|
|
141
|
+
|
|
142
|
+
...
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
def max_vertex_attribs_get() -> int:
|
|
146
|
+
''' Get maximum number of vertex attributes accessible to a vertex shader.
|
|
147
|
+
|
|
148
|
+
:rtype: int
|
|
149
|
+
:return: Number of attributes.
|
|
150
|
+
'''
|
|
151
|
+
|
|
152
|
+
...
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
def max_work_group_count_get(index: int) -> int:
|
|
156
|
+
''' Get maximum number of work groups that may be dispatched to a compute shader.
|
|
157
|
+
|
|
158
|
+
:param index: Index of the dimension.
|
|
159
|
+
:type index: int
|
|
160
|
+
:rtype: int
|
|
161
|
+
:return: Maximum number of work groups for the queried dimension.
|
|
162
|
+
'''
|
|
163
|
+
|
|
164
|
+
...
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
def max_work_group_size_get(index: int) -> int:
|
|
168
|
+
''' Get maximum size of a work group that may be dispatched to a compute shader.
|
|
169
|
+
|
|
170
|
+
:param index: Index of the dimension.
|
|
171
|
+
:type index: int
|
|
172
|
+
:rtype: int
|
|
173
|
+
:return: Maximum size of a work group for the queried dimension.
|
|
174
|
+
'''
|
|
175
|
+
|
|
176
|
+
...
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
def shader_image_load_store_support_get() -> bool:
|
|
180
|
+
''' Is image load/store supported.
|
|
181
|
+
|
|
182
|
+
:rtype: bool
|
|
183
|
+
:return: True when supported, False when not supported.
|
|
184
|
+
'''
|
|
185
|
+
|
|
186
|
+
...
|
|
File without changes
|