Closed inesariza closed 3 years ago
Hello, thanks for sharing this! The error comes up when it tries to calculate the geodesic distances using the libigl function, but it's a bit hard to tell from this why exactly this is happening. Could you share with me the files you are using for this slicing so that I can look into it in more detail? Thanks!
Edit: I just realized that you have already attached the files, awesome! I'll look into it
@inesariza can you post the contents of f
?
Looking into the files, the problem seems to be the topology of the mesh; it has quad faces, while compas_slicer only works for triangular faces. As a result, f throws an error because has rows of 3 and 4 elements.
I will add a check for the mesh input, so that it catches quad meshes early in the process and throws a nicer error that explains what the problem is, to avoid future confusion.
I remeshed and triangulated the input mesh to a nicer topology, I attach the new files at the end of this message.
If you use this mesh input, then the slicing works.
Give this a try, and let us know if more issues come up.
thank you very much for your replies. all working perfectly! 👍
Hi! Just trying out the curved slicer for the first time, so I may be missing important info on how to generate the targets:
Describe the bug When running the simple curved interpolation slicing, with the vase example or custom inputs, I get the following error:
To Reproduce Steps to reproduce the behavior:
Desktop (please complete the following information):
Let me know if you need more info to reproduce. Thank you!