Closed kasunJKD closed 5 months ago
Hi, a couple of days ago I fixed a horrible bug that probably solves this, Would you share input meshes so that I can double check ? Thanks !
Hi, yes i can , ive added the 2 input files into this google drive https://drive.google.com/drive/folders/17QAC3YOl2A_wS-asjGNc5KtWjf7p9rPf?usp=sharing
Thanks
Found out ! (took me some time), The supports have tiny differences in coordinates, it is not a closed boundary that defines a volume. I could fix it by snapping the coordinates to the nearest floating point. Then I was able to compute the union between the support and the dragon:
TL;DR: for it to work, you need to make sure that the same point has exactly the same coordinates in the file. In the support, that looks like a grid "seen from above" (see figure), there were tiny difference in the grid corner's coordinates.
For simple meshes im running this code which works perfectly fine
but for some meshes im getting CDT2d"Emergency exit in Delaunayize_new_edges()", cant seem to find whats the issue is. i tried removing mesh fixing functions too , if i dont do that boolean operations does not happen