UV Export: add option to export UV tiles
commit122534edfb8a0a9a4f84912f19e698fee50745dd
authorDamien Picard <dam.pic@free.fr>
Mon, 9 Oct 2023 20:32:20 +0000 (9 22:32 +0200)
committerDamien Picard <dam.pic@free.fr>
Mon, 9 Oct 2023 20:32:20 +0000 (9 22:32 +0200)
tree8133b2d9c5a3367cfbc6c2d4e3abaa817e4b1c85
parent675e192e924e45dc5595e598b27dab6e7d30521c
UV Export: add option to export UV tiles

Tiles can now be exported, with either the UDIM or UVTILE numbering
scheme.

Exporters for PNG, SVG and EPS were updated. The vector formats simply
offset the view, so all UVs can end up being exported multiple times.

Only tiles containing UV points will be exported. In theory, this may
result in some polygons being ignored, if they cross a whole otherwise
empty tile, but this should not happen in practice.

Fixes #74325

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/104940
io_mesh_uv_layout/__init__.py
io_mesh_uv_layout/export_uv_eps.py
io_mesh_uv_layout/export_uv_png.py
io_mesh_uv_layout/export_uv_svg.py