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
|
@@ -0,0 +1,872 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
import typing
|
|
3
|
+
import freestyle.types
|
|
4
|
+
import bpy.types
|
|
5
|
+
import mathutils
|
|
6
|
+
|
|
7
|
+
GenericType = typing.TypeVar("GenericType")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class BackboneStretcherShader:
|
|
11
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `BackboneStretcherShader` [Geometry shader]
|
|
12
|
+
'''
|
|
13
|
+
|
|
14
|
+
def __init__(self, amount: float = 2.0):
|
|
15
|
+
''' Builds a BackboneStretcherShader object.
|
|
16
|
+
|
|
17
|
+
:param amount: The stretching amount value.
|
|
18
|
+
:type amount: float
|
|
19
|
+
'''
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
23
|
+
''' Stretches the stroke at its two extremities and following the respective directions: v(1)v(0) and v(n-1)v(n).
|
|
24
|
+
|
|
25
|
+
:param stroke: A Stroke object.
|
|
26
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
27
|
+
'''
|
|
28
|
+
...
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class BezierCurveShader:
|
|
32
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `BezierCurveShader` [Geometry shader]
|
|
33
|
+
'''
|
|
34
|
+
|
|
35
|
+
def __init__(self, error: float = 4.0):
|
|
36
|
+
''' Builds a BezierCurveShader object.
|
|
37
|
+
|
|
38
|
+
:param error: The error we're allowing for the approximation. This error is the max distance allowed between the new curve and the original geometry.
|
|
39
|
+
:type error: float
|
|
40
|
+
'''
|
|
41
|
+
...
|
|
42
|
+
|
|
43
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
44
|
+
''' Transforms the stroke backbone geometry so that it corresponds to a Bezier Curve approximation of the original backbone geometry.
|
|
45
|
+
|
|
46
|
+
:param stroke: A Stroke object.
|
|
47
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
48
|
+
'''
|
|
49
|
+
...
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
class BlenderTextureShader:
|
|
53
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `BlenderTextureShader` [Texture shader]
|
|
54
|
+
'''
|
|
55
|
+
|
|
56
|
+
def __init__(self, texture: typing.Union['bpy.types.LineStyleTextureSlot',
|
|
57
|
+
'bpy.types.ShaderNodeTree']):
|
|
58
|
+
''' Builds a BlenderTextureShader object.
|
|
59
|
+
|
|
60
|
+
:param texture: A line style texture slot or a shader node tree to define a set of textures.
|
|
61
|
+
:type texture: typing.Union['bpy.types.LineStyleTextureSlot', 'bpy.types.ShaderNodeTree']
|
|
62
|
+
'''
|
|
63
|
+
...
|
|
64
|
+
|
|
65
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
66
|
+
''' Assigns a blender texture slot to the stroke shading in order to simulate marks.
|
|
67
|
+
|
|
68
|
+
:param stroke: A Stroke object.
|
|
69
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
70
|
+
'''
|
|
71
|
+
...
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class CalligraphicShader:
|
|
75
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `CalligraphicShader` [Thickness Shader]
|
|
76
|
+
'''
|
|
77
|
+
|
|
78
|
+
def __init__(self, thickness_min: float, thickness_max: float,
|
|
79
|
+
orientation: typing.
|
|
80
|
+
Union[typing.Sequence[float], 'mathutils.Vector'],
|
|
81
|
+
clamp: bool):
|
|
82
|
+
''' Builds a CalligraphicShader object.
|
|
83
|
+
|
|
84
|
+
:param thickness_min: The minimum thickness in the direction perpendicular to the main direction.
|
|
85
|
+
:type thickness_min: float
|
|
86
|
+
:param thickness_max: The maximum thickness in the main direction.
|
|
87
|
+
:type thickness_max: float
|
|
88
|
+
:param orientation: The 2D vector giving the main direction.
|
|
89
|
+
:type orientation: typing.Union[typing.Sequence[float], 'mathutils.Vector']
|
|
90
|
+
:param clamp: If true, the strokes are drawn in black when the stroke direction is between -90 and 90 degrees with respect to the main direction and drawn in white otherwise. If false, the strokes are always drawn in black.
|
|
91
|
+
:type clamp: bool
|
|
92
|
+
'''
|
|
93
|
+
...
|
|
94
|
+
|
|
95
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
96
|
+
''' Assigns thicknesses to the stroke vertices so that the stroke looks like made with a calligraphic tool, i.e. the stroke will be the thickest in a main direction, and the thinnest in the direction perpendicular to this one, and an interpolation in between.
|
|
97
|
+
|
|
98
|
+
:param stroke: A Stroke object.
|
|
99
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
100
|
+
'''
|
|
101
|
+
...
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class ColorNoiseShader:
|
|
105
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `ColorNoiseShader` [Color shader]
|
|
106
|
+
'''
|
|
107
|
+
|
|
108
|
+
def __init__(self, amplitude: float, period: float):
|
|
109
|
+
''' Builds a ColorNoiseShader object.
|
|
110
|
+
|
|
111
|
+
:param amplitude: The amplitude of the noise signal.
|
|
112
|
+
:type amplitude: float
|
|
113
|
+
:param period: The period of the noise signal.
|
|
114
|
+
:type period: float
|
|
115
|
+
'''
|
|
116
|
+
...
|
|
117
|
+
|
|
118
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
119
|
+
''' Shader to add noise to the stroke colors.
|
|
120
|
+
|
|
121
|
+
:param stroke: A Stroke object.
|
|
122
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
123
|
+
'''
|
|
124
|
+
...
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
class ConstantColorShader:
|
|
128
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `ConstantColorShader` [Color shader]
|
|
129
|
+
'''
|
|
130
|
+
|
|
131
|
+
def __init__(self,
|
|
132
|
+
red: float,
|
|
133
|
+
green: float,
|
|
134
|
+
blue: float,
|
|
135
|
+
alpha: float = 1.0):
|
|
136
|
+
''' Builds a ConstantColorShader object.
|
|
137
|
+
|
|
138
|
+
:param red: The red component.
|
|
139
|
+
:type red: float
|
|
140
|
+
:param green: The green component.
|
|
141
|
+
:type green: float
|
|
142
|
+
:param blue: The blue component.
|
|
143
|
+
:type blue: float
|
|
144
|
+
:param alpha: The alpha value.
|
|
145
|
+
:type alpha: float
|
|
146
|
+
'''
|
|
147
|
+
...
|
|
148
|
+
|
|
149
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
150
|
+
''' Assigns a constant color to every vertex of the Stroke.
|
|
151
|
+
|
|
152
|
+
:param stroke: A Stroke object.
|
|
153
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
154
|
+
'''
|
|
155
|
+
...
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
class ConstantThicknessShader:
|
|
159
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `ConstantThicknessShader` [Thickness shader]
|
|
160
|
+
'''
|
|
161
|
+
|
|
162
|
+
def __init__(self, thickness: float):
|
|
163
|
+
''' Builds a ConstantThicknessShader object.
|
|
164
|
+
|
|
165
|
+
:param thickness: The thickness that must be assigned to the stroke.
|
|
166
|
+
:type thickness: float
|
|
167
|
+
'''
|
|
168
|
+
...
|
|
169
|
+
|
|
170
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
171
|
+
''' Assigns an absolute constant thickness to every vertex of the Stroke.
|
|
172
|
+
|
|
173
|
+
:param stroke: A Stroke object.
|
|
174
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
175
|
+
'''
|
|
176
|
+
...
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class ConstrainedIncreasingThicknessShader:
|
|
180
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `ConstrainedIncreasingThicknessShader` [Thickness shader]
|
|
181
|
+
'''
|
|
182
|
+
|
|
183
|
+
def __init__(self, thickness_min: float, thickness_max: float,
|
|
184
|
+
ratio: float):
|
|
185
|
+
''' Builds a ConstrainedIncreasingThicknessShader object.
|
|
186
|
+
|
|
187
|
+
:param thickness_min: The minimum thickness.
|
|
188
|
+
:type thickness_min: float
|
|
189
|
+
:param thickness_max: The maximum thickness.
|
|
190
|
+
:type thickness_max: float
|
|
191
|
+
:param ratio: The thickness/length ratio that we don't want to exceed.
|
|
192
|
+
:type ratio: float
|
|
193
|
+
'''
|
|
194
|
+
...
|
|
195
|
+
|
|
196
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
197
|
+
''' Same as the `IncreasingThicknessShader`, but here we allow the user to control the thickness/length ratio so that we don't get fat short lines.
|
|
198
|
+
|
|
199
|
+
:param stroke: A Stroke object.
|
|
200
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
201
|
+
'''
|
|
202
|
+
...
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
class GuidingLinesShader:
|
|
206
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `GuidingLinesShader` [Geometry shader]
|
|
207
|
+
'''
|
|
208
|
+
|
|
209
|
+
def __init__(self, offset: float):
|
|
210
|
+
''' Builds a GuidingLinesShader object.
|
|
211
|
+
|
|
212
|
+
:param offset: The line that replaces the stroke is initially in the middle of the initial stroke bounding box. offset is the value of the displacement which is applied to this line along its normal.
|
|
213
|
+
:type offset: float
|
|
214
|
+
'''
|
|
215
|
+
...
|
|
216
|
+
|
|
217
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
218
|
+
''' Shader to modify the Stroke geometry so that it corresponds to its main direction line. This shader must be used together with the splitting operator using the curvature criterion. Indeed, the precision of the approximation will depend on the size of the stroke's pieces. The bigger the pieces are, the rougher the approximation is.
|
|
219
|
+
|
|
220
|
+
:param stroke: A Stroke object.
|
|
221
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
222
|
+
'''
|
|
223
|
+
...
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class IncreasingColorShader:
|
|
227
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `IncreasingColorShader` [Color shader]
|
|
228
|
+
'''
|
|
229
|
+
|
|
230
|
+
def __init__(self, red_min: float, green_min: float, blue_min: float,
|
|
231
|
+
alpha_min: float, red_max: float, green_max: float,
|
|
232
|
+
blue_max: float, alpha_max: float):
|
|
233
|
+
''' Builds an IncreasingColorShader object.
|
|
234
|
+
|
|
235
|
+
:param red_min: The first color red component.
|
|
236
|
+
:type red_min: float
|
|
237
|
+
:param green_min: The first color green component.
|
|
238
|
+
:type green_min: float
|
|
239
|
+
:param blue_min: The first color blue component.
|
|
240
|
+
:type blue_min: float
|
|
241
|
+
:param alpha_min: The first color alpha value.
|
|
242
|
+
:type alpha_min: float
|
|
243
|
+
:param red_max: The second color red component.
|
|
244
|
+
:type red_max: float
|
|
245
|
+
:param green_max: The second color green component.
|
|
246
|
+
:type green_max: float
|
|
247
|
+
:param blue_max: The second color blue component.
|
|
248
|
+
:type blue_max: float
|
|
249
|
+
:param alpha_max: The second color alpha value.
|
|
250
|
+
:type alpha_max: float
|
|
251
|
+
'''
|
|
252
|
+
...
|
|
253
|
+
|
|
254
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
255
|
+
''' Assigns a varying color to the stroke. The user specifies two colors A and B. The stroke color will change linearly from A to B between the first and the last vertex.
|
|
256
|
+
|
|
257
|
+
:param stroke: A Stroke object.
|
|
258
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
259
|
+
'''
|
|
260
|
+
...
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
class IncreasingThicknessShader:
|
|
264
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `IncreasingThicknessShader` [Thickness shader]
|
|
265
|
+
'''
|
|
266
|
+
|
|
267
|
+
def __init__(self, thickness_A: float, thickness_B: float):
|
|
268
|
+
''' Builds an IncreasingThicknessShader object.
|
|
269
|
+
|
|
270
|
+
:param thickness_A: The first thickness value.
|
|
271
|
+
:type thickness_A: float
|
|
272
|
+
:param thickness_B: The second thickness value.
|
|
273
|
+
:type thickness_B: float
|
|
274
|
+
'''
|
|
275
|
+
...
|
|
276
|
+
|
|
277
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
278
|
+
''' Assigns thicknesses values such as the thickness increases from a thickness value A to a thickness value B between the first vertex to the midpoint vertex and then decreases from B to a A between this midpoint vertex and the last vertex. The thickness is linearly interpolated from A to B.
|
|
279
|
+
|
|
280
|
+
:param stroke: A Stroke object.
|
|
281
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
282
|
+
'''
|
|
283
|
+
...
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
class PolygonalizationShader:
|
|
287
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `PolygonalizationShader` [Geometry shader]
|
|
288
|
+
'''
|
|
289
|
+
|
|
290
|
+
def __init__(self, error: float):
|
|
291
|
+
''' Builds a PolygonalizationShader object.
|
|
292
|
+
|
|
293
|
+
:param error: The error we want our polygonal approximation to have with respect to the original geometry. The smaller, the closer the new stroke is to the original one. This error corresponds to the maximum distance between the new stroke and the old one.
|
|
294
|
+
:type error: float
|
|
295
|
+
'''
|
|
296
|
+
...
|
|
297
|
+
|
|
298
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
299
|
+
''' Modifies the Stroke geometry so that it looks more "polygonal". The basic idea is to start from the minimal stroke approximation consisting in a line joining the first vertex to the last one and to subdivide using the original stroke vertices until a certain error is reached.
|
|
300
|
+
|
|
301
|
+
:param stroke: A Stroke object.
|
|
302
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
303
|
+
'''
|
|
304
|
+
...
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class RoundCapShader:
|
|
308
|
+
def round_cap_thickness(self, x):
|
|
309
|
+
'''
|
|
310
|
+
|
|
311
|
+
'''
|
|
312
|
+
...
|
|
313
|
+
|
|
314
|
+
def shade(self, stroke):
|
|
315
|
+
'''
|
|
316
|
+
|
|
317
|
+
'''
|
|
318
|
+
...
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
class SamplingShader:
|
|
322
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `SamplingShader` [Geometry shader]
|
|
323
|
+
'''
|
|
324
|
+
|
|
325
|
+
def __init__(self, sampling: float):
|
|
326
|
+
''' Builds a SamplingShader object.
|
|
327
|
+
|
|
328
|
+
:param sampling: The sampling to use for the stroke resampling.
|
|
329
|
+
:type sampling: float
|
|
330
|
+
'''
|
|
331
|
+
...
|
|
332
|
+
|
|
333
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
334
|
+
''' Resamples the stroke.
|
|
335
|
+
|
|
336
|
+
:param stroke: A Stroke object.
|
|
337
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
338
|
+
'''
|
|
339
|
+
...
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
class SmoothingShader:
|
|
343
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `SmoothingShader` [Geometry shader]
|
|
344
|
+
'''
|
|
345
|
+
|
|
346
|
+
def __init__(self,
|
|
347
|
+
num_iterations: int = 100,
|
|
348
|
+
factor_point: float = 0.1,
|
|
349
|
+
factor_curvature: float = 0.0,
|
|
350
|
+
factor_curvature_difference: float = 0.2,
|
|
351
|
+
aniso_point: float = 0.0,
|
|
352
|
+
aniso_normal: float = 0.0,
|
|
353
|
+
aniso_curvature: float = 0.0,
|
|
354
|
+
carricature_factor: float = 1.0):
|
|
355
|
+
''' Builds a SmoothingShader object.
|
|
356
|
+
|
|
357
|
+
:param num_iterations: The number of iterations.
|
|
358
|
+
:type num_iterations: int
|
|
359
|
+
:param factor_point: 0.1
|
|
360
|
+
:type factor_point: float
|
|
361
|
+
:param factor_curvature: 0.0
|
|
362
|
+
:type factor_curvature: float
|
|
363
|
+
:param factor_curvature_difference: 0.2
|
|
364
|
+
:type factor_curvature_difference: float
|
|
365
|
+
:param aniso_point: 0.0
|
|
366
|
+
:type aniso_point: float
|
|
367
|
+
:param aniso_normal: 0.0
|
|
368
|
+
:type aniso_normal: float
|
|
369
|
+
:param aniso_curvature: 0.0
|
|
370
|
+
:type aniso_curvature: float
|
|
371
|
+
:param carricature_factor: 1.0
|
|
372
|
+
:type carricature_factor: float
|
|
373
|
+
'''
|
|
374
|
+
...
|
|
375
|
+
|
|
376
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
377
|
+
''' Smooths the stroke by moving the vertices to make the stroke smoother. Uses curvature flow to converge towards a curve of constant curvature. The diffusion method we use is anisotropic to prevent the diffusion across corners.
|
|
378
|
+
|
|
379
|
+
:param stroke: A Stroke object.
|
|
380
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
381
|
+
'''
|
|
382
|
+
...
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class SpatialNoiseShader:
|
|
386
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `SpatialNoiseShader` [Geometry shader]
|
|
387
|
+
'''
|
|
388
|
+
|
|
389
|
+
def __init__(self, amount: float, scale: float, num_octaves: int,
|
|
390
|
+
smooth: bool, pure_random: bool):
|
|
391
|
+
''' Builds a SpatialNoiseShader object.
|
|
392
|
+
|
|
393
|
+
:param amount: The amplitude of the noise.
|
|
394
|
+
:type amount: float
|
|
395
|
+
:param scale: The noise frequency.
|
|
396
|
+
:type scale: float
|
|
397
|
+
:param num_octaves: The number of octaves
|
|
398
|
+
:type num_octaves: int
|
|
399
|
+
:param smooth: True if you want the noise to be smooth.
|
|
400
|
+
:type smooth: bool
|
|
401
|
+
:param pure_random: True if you don't want any coherence.
|
|
402
|
+
:type pure_random: bool
|
|
403
|
+
'''
|
|
404
|
+
...
|
|
405
|
+
|
|
406
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
407
|
+
''' Spatial Noise stroke shader. Moves the vertices to make the stroke more noisy.
|
|
408
|
+
|
|
409
|
+
:param stroke: A Stroke object.
|
|
410
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
411
|
+
'''
|
|
412
|
+
...
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
class SquareCapShader:
|
|
416
|
+
def shade(self, stroke):
|
|
417
|
+
'''
|
|
418
|
+
|
|
419
|
+
'''
|
|
420
|
+
...
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
class StrokeTextureStepShader:
|
|
424
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `StrokeTextureStepShader` [Texture shader]
|
|
425
|
+
'''
|
|
426
|
+
|
|
427
|
+
def __init__(self, step: float):
|
|
428
|
+
''' Builds a StrokeTextureStepShader object.
|
|
429
|
+
|
|
430
|
+
:param step: The spacing along the stroke.
|
|
431
|
+
:type step: float
|
|
432
|
+
'''
|
|
433
|
+
...
|
|
434
|
+
|
|
435
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
436
|
+
''' Assigns a spacing factor to the texture coordinates of the Stroke.
|
|
437
|
+
|
|
438
|
+
:param stroke: A Stroke object.
|
|
439
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
440
|
+
'''
|
|
441
|
+
...
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
class ThicknessNoiseShader:
|
|
445
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `ThicknessNoiseShader` [Thickness shader]
|
|
446
|
+
'''
|
|
447
|
+
|
|
448
|
+
def __init__(self, amplitude: float, period: float):
|
|
449
|
+
''' Builds a ThicknessNoiseShader object.
|
|
450
|
+
|
|
451
|
+
:param amplitude: The amplitude of the noise signal.
|
|
452
|
+
:type amplitude: float
|
|
453
|
+
:param period: The period of the noise signal.
|
|
454
|
+
:type period: float
|
|
455
|
+
'''
|
|
456
|
+
...
|
|
457
|
+
|
|
458
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
459
|
+
''' Adds some noise to the stroke thickness.
|
|
460
|
+
|
|
461
|
+
:param stroke: A Stroke object.
|
|
462
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
463
|
+
'''
|
|
464
|
+
...
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
class TipRemoverShader:
|
|
468
|
+
''' Class hierarchy: `freestyle.types.StrokeShader` > `TipRemoverShader` [Geometry shader]
|
|
469
|
+
'''
|
|
470
|
+
|
|
471
|
+
def __init__(self, tip_length: float):
|
|
472
|
+
''' Builds a TipRemoverShader object.
|
|
473
|
+
|
|
474
|
+
:param tip_length: The length of the piece of stroke we want to remove at each extremity.
|
|
475
|
+
:type tip_length: float
|
|
476
|
+
'''
|
|
477
|
+
...
|
|
478
|
+
|
|
479
|
+
def shade(self, stroke: 'freestyle.types.Stroke'):
|
|
480
|
+
''' Removes the stroke's extremities.
|
|
481
|
+
|
|
482
|
+
:param stroke: A Stroke object.
|
|
483
|
+
:type stroke: 'freestyle.types.Stroke'
|
|
484
|
+
'''
|
|
485
|
+
...
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
class py2DCurvatureColorShader:
|
|
489
|
+
''' Assigns a color (grayscale) to the stroke based on the curvature. A higher curvature will yield a brighter color.
|
|
490
|
+
'''
|
|
491
|
+
|
|
492
|
+
def shade(self, stroke):
|
|
493
|
+
'''
|
|
494
|
+
|
|
495
|
+
'''
|
|
496
|
+
...
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class pyBackboneStretcherNoCuspShader:
|
|
500
|
+
''' Stretches the stroke's backbone, excluding cusp vertices (end junctions).
|
|
501
|
+
'''
|
|
502
|
+
|
|
503
|
+
def shade(self, stroke):
|
|
504
|
+
'''
|
|
505
|
+
|
|
506
|
+
'''
|
|
507
|
+
...
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
class pyBackboneStretcherShader:
|
|
511
|
+
''' Stretches the stroke's backbone by a given length (in pixels).
|
|
512
|
+
'''
|
|
513
|
+
|
|
514
|
+
def shade(self, stroke):
|
|
515
|
+
'''
|
|
516
|
+
|
|
517
|
+
'''
|
|
518
|
+
...
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
class pyBluePrintCirclesShader:
|
|
522
|
+
''' Draws the silhouette of the object as a circle.
|
|
523
|
+
'''
|
|
524
|
+
|
|
525
|
+
def shade(self, stroke):
|
|
526
|
+
'''
|
|
527
|
+
|
|
528
|
+
'''
|
|
529
|
+
...
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
class pyBluePrintDirectedSquaresShader:
|
|
533
|
+
''' Replaces the stroke with a directed square.
|
|
534
|
+
'''
|
|
535
|
+
|
|
536
|
+
def shade(self, stroke):
|
|
537
|
+
'''
|
|
538
|
+
|
|
539
|
+
'''
|
|
540
|
+
...
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
class pyBluePrintEllipsesShader:
|
|
544
|
+
def shade(self, stroke):
|
|
545
|
+
'''
|
|
546
|
+
|
|
547
|
+
'''
|
|
548
|
+
...
|
|
549
|
+
|
|
550
|
+
|
|
551
|
+
class pyBluePrintSquaresShader:
|
|
552
|
+
def shade(self, stroke):
|
|
553
|
+
'''
|
|
554
|
+
|
|
555
|
+
'''
|
|
556
|
+
...
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
class pyConstantColorShader:
|
|
560
|
+
''' Assigns a constant color to the stroke.
|
|
561
|
+
'''
|
|
562
|
+
|
|
563
|
+
def shade(self, stroke):
|
|
564
|
+
'''
|
|
565
|
+
|
|
566
|
+
'''
|
|
567
|
+
...
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
class pyConstantThicknessShader:
|
|
571
|
+
''' Assigns a constant thickness along the stroke.
|
|
572
|
+
'''
|
|
573
|
+
|
|
574
|
+
def shade(self, stroke):
|
|
575
|
+
'''
|
|
576
|
+
|
|
577
|
+
'''
|
|
578
|
+
...
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
class pyConstrainedIncreasingThicknessShader:
|
|
582
|
+
''' Increasingly thickens the stroke, constrained by a ratio of the stroke's length.
|
|
583
|
+
'''
|
|
584
|
+
|
|
585
|
+
def shade(self, stroke):
|
|
586
|
+
'''
|
|
587
|
+
|
|
588
|
+
'''
|
|
589
|
+
...
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
class pyDecreasingThicknessShader:
|
|
593
|
+
''' Inverse of pyIncreasingThicknessShader, decreasingly thickens the stroke.
|
|
594
|
+
'''
|
|
595
|
+
|
|
596
|
+
def shade(self, stroke):
|
|
597
|
+
'''
|
|
598
|
+
|
|
599
|
+
'''
|
|
600
|
+
...
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
class pyDepthDiscontinuityThicknessShader:
|
|
604
|
+
''' Assigns a thickness to the stroke based on the stroke's distance to the camera (Z-value).
|
|
605
|
+
'''
|
|
606
|
+
|
|
607
|
+
def shade(self, stroke):
|
|
608
|
+
'''
|
|
609
|
+
|
|
610
|
+
'''
|
|
611
|
+
...
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
class pyDiffusion2Shader:
|
|
615
|
+
''' Iteratively adds an offset to the position of each stroke vertex in the direction perpendicular to the stroke direction at the point. The offset is scaled by the 2D curvature (i.e. how quickly the stroke curve is) at the point.
|
|
616
|
+
'''
|
|
617
|
+
|
|
618
|
+
def shade(self, stroke):
|
|
619
|
+
'''
|
|
620
|
+
|
|
621
|
+
'''
|
|
622
|
+
...
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
class pyFXSVaryingThicknessWithDensityShader:
|
|
626
|
+
''' Assigns thickness to a stroke based on the density of the diffuse map.
|
|
627
|
+
'''
|
|
628
|
+
|
|
629
|
+
def shade(self, stroke):
|
|
630
|
+
'''
|
|
631
|
+
|
|
632
|
+
'''
|
|
633
|
+
...
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
class pyGuidingLineShader:
|
|
637
|
+
def shade(self, stroke):
|
|
638
|
+
'''
|
|
639
|
+
|
|
640
|
+
'''
|
|
641
|
+
...
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
class pyHLRShader:
|
|
645
|
+
''' Controls visibility based upon the quantitative invisibility (QI) based on hidden line removal (HLR).
|
|
646
|
+
'''
|
|
647
|
+
|
|
648
|
+
def shade(self, stroke):
|
|
649
|
+
'''
|
|
650
|
+
|
|
651
|
+
'''
|
|
652
|
+
...
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
class pyImportance2DThicknessShader:
|
|
656
|
+
''' Assigns thickness based on distance to a given point in 2D space. the thickness is inverted, so the vertices closest to the specified point have the lowest thickness.
|
|
657
|
+
'''
|
|
658
|
+
|
|
659
|
+
def shade(self, stroke):
|
|
660
|
+
'''
|
|
661
|
+
|
|
662
|
+
'''
|
|
663
|
+
...
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
class pyImportance3DThicknessShader:
|
|
667
|
+
''' Assigns thickness based on distance to a given point in 3D space.
|
|
668
|
+
'''
|
|
669
|
+
|
|
670
|
+
def shade(self, stroke):
|
|
671
|
+
'''
|
|
672
|
+
|
|
673
|
+
'''
|
|
674
|
+
...
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
class pyIncreasingColorShader:
|
|
678
|
+
''' Fades from one color to another along the stroke.
|
|
679
|
+
'''
|
|
680
|
+
|
|
681
|
+
def shade(self, stroke):
|
|
682
|
+
'''
|
|
683
|
+
|
|
684
|
+
'''
|
|
685
|
+
...
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
class pyIncreasingThicknessShader:
|
|
689
|
+
''' Increasingly thickens the stroke.
|
|
690
|
+
'''
|
|
691
|
+
|
|
692
|
+
def shade(self, stroke):
|
|
693
|
+
'''
|
|
694
|
+
|
|
695
|
+
'''
|
|
696
|
+
...
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
class pyInterpolateColorShader:
|
|
700
|
+
''' Fades from one color to another and back.
|
|
701
|
+
'''
|
|
702
|
+
|
|
703
|
+
def shade(self, stroke):
|
|
704
|
+
'''
|
|
705
|
+
|
|
706
|
+
'''
|
|
707
|
+
...
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
class pyLengthDependingBackboneStretcherShader:
|
|
711
|
+
''' Stretches the stroke's backbone proportional to the stroke's length NOTE: you'll probably want an l somewhere between (0.5 - 0). A value that is too high may yield unexpected results.
|
|
712
|
+
'''
|
|
713
|
+
|
|
714
|
+
def shade(self, stroke):
|
|
715
|
+
'''
|
|
716
|
+
|
|
717
|
+
'''
|
|
718
|
+
...
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
class pyMaterialColorShader:
|
|
722
|
+
''' Assigns the color of the underlying material to the stroke.
|
|
723
|
+
'''
|
|
724
|
+
|
|
725
|
+
def shade(self, stroke):
|
|
726
|
+
'''
|
|
727
|
+
|
|
728
|
+
'''
|
|
729
|
+
...
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
class pyModulateAlphaShader:
|
|
733
|
+
''' Limits the stroke's alpha between a min and max value.
|
|
734
|
+
'''
|
|
735
|
+
|
|
736
|
+
def shade(self, stroke):
|
|
737
|
+
'''
|
|
738
|
+
|
|
739
|
+
'''
|
|
740
|
+
...
|
|
741
|
+
|
|
742
|
+
|
|
743
|
+
class pyNonLinearVaryingThicknessShader:
|
|
744
|
+
''' Assigns thickness to a stroke based on an exponential function.
|
|
745
|
+
'''
|
|
746
|
+
|
|
747
|
+
def shade(self, stroke):
|
|
748
|
+
'''
|
|
749
|
+
|
|
750
|
+
'''
|
|
751
|
+
...
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
class pyPerlinNoise1DShader:
|
|
755
|
+
''' Displaces the stroke using the curvilinear abscissa. This means that lines with the same length and sampling interval will be identically distorted.
|
|
756
|
+
'''
|
|
757
|
+
|
|
758
|
+
def shade(self, stroke):
|
|
759
|
+
'''
|
|
760
|
+
|
|
761
|
+
'''
|
|
762
|
+
...
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
class pyPerlinNoise2DShader:
|
|
766
|
+
''' Displaces the stroke using the strokes coordinates. This means that in a scene no strokes will be distorted identically. More information on the noise shaders can be found at: https://freestyleintegration.wordpress.com/2011/09/25/development-updates-on-september-25/
|
|
767
|
+
'''
|
|
768
|
+
|
|
769
|
+
def shade(self, stroke):
|
|
770
|
+
'''
|
|
771
|
+
|
|
772
|
+
'''
|
|
773
|
+
...
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
class pyRandomColorShader:
|
|
777
|
+
''' Assigns a color to the stroke based on given seed.
|
|
778
|
+
'''
|
|
779
|
+
|
|
780
|
+
def shade(self, stroke):
|
|
781
|
+
'''
|
|
782
|
+
|
|
783
|
+
'''
|
|
784
|
+
...
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
class pySLERPThicknessShader:
|
|
788
|
+
''' Assigns thickness to a stroke based on spherical linear interpolation.
|
|
789
|
+
'''
|
|
790
|
+
|
|
791
|
+
def shade(self, stroke):
|
|
792
|
+
'''
|
|
793
|
+
|
|
794
|
+
'''
|
|
795
|
+
...
|
|
796
|
+
|
|
797
|
+
|
|
798
|
+
class pySamplingShader:
|
|
799
|
+
''' Resamples the stroke, which gives the stroke the amount of vertices specified.
|
|
800
|
+
'''
|
|
801
|
+
|
|
802
|
+
def shade(self, stroke):
|
|
803
|
+
'''
|
|
804
|
+
|
|
805
|
+
'''
|
|
806
|
+
...
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
class pySinusDisplacementShader:
|
|
810
|
+
''' Displaces the stroke in the shape of a sine wave.
|
|
811
|
+
'''
|
|
812
|
+
|
|
813
|
+
def shade(self, stroke):
|
|
814
|
+
'''
|
|
815
|
+
|
|
816
|
+
'''
|
|
817
|
+
...
|
|
818
|
+
|
|
819
|
+
|
|
820
|
+
class pyTVertexRemoverShader:
|
|
821
|
+
''' Removes t-vertices from the stroke.
|
|
822
|
+
'''
|
|
823
|
+
|
|
824
|
+
def shade(self, stroke):
|
|
825
|
+
'''
|
|
826
|
+
|
|
827
|
+
'''
|
|
828
|
+
...
|
|
829
|
+
|
|
830
|
+
|
|
831
|
+
class pyTVertexThickenerShader:
|
|
832
|
+
''' Thickens TVertices (visual intersections between two edges).
|
|
833
|
+
'''
|
|
834
|
+
|
|
835
|
+
def shade(self, stroke):
|
|
836
|
+
'''
|
|
837
|
+
|
|
838
|
+
'''
|
|
839
|
+
...
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
class pyTimeColorShader:
|
|
843
|
+
''' Assigns a grayscale value that increases for every vertex. The brightness will increase along the stroke.
|
|
844
|
+
'''
|
|
845
|
+
|
|
846
|
+
def shade(self, stroke):
|
|
847
|
+
'''
|
|
848
|
+
|
|
849
|
+
'''
|
|
850
|
+
...
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
class pyTipRemoverShader:
|
|
854
|
+
''' Removes the tips of the stroke. Undocumented
|
|
855
|
+
'''
|
|
856
|
+
|
|
857
|
+
def shade(self, stroke):
|
|
858
|
+
'''
|
|
859
|
+
|
|
860
|
+
'''
|
|
861
|
+
...
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class pyZDependingThicknessShader:
|
|
865
|
+
''' Assigns thickness based on an object's local Z depth (point closest to camera is 1, point furthest from camera is zero).
|
|
866
|
+
'''
|
|
867
|
+
|
|
868
|
+
def shade(self, stroke):
|
|
869
|
+
'''
|
|
870
|
+
|
|
871
|
+
'''
|
|
872
|
+
...
|