Start to set up UV-unwrapping.

Needs the new libreary set up for that.

part of CURA-12528
This commit is contained in:
Remco Burema 2025-06-05 12:45:34 +02:00
parent b4c023479c
commit 44042eef6a

View file

@ -141,6 +141,9 @@ class ThreeMFReader(MeshReader):
# The filename is used to give the user the option to reload the file if it is changed on disk
# It is only set for the root node of the 3mf file
mesh_builder.setFileName(file_name)
mesh_builder.unwrapNewUvs()
mesh_data = mesh_builder.build()
if len(mesh_data.getVertices()):