-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
boolean.cut_mesh fails with TriangulationError #79
Comments
Yes, I observed the same |
I can reproduce it even without the boolean operation, just from user-made webs: base = parallelogram(236*X, 170*Y, align=vec2(0.5), fill=False)
hole_positions = [vec3(x, y, 0)
for x in linrange(-225 / 2, 225 / 2, div=3)
for y in [-155 / 2, 155 / 2]]
hole_cutouts = web([
Circle(Axis(pos,Z), radius=3 / 2)
for pos in hole_positions]).flip()
cable_cutouts = parallelogram(5*X, 20*Y, origin=53.5*X, align=vec2(0.5), fill=False).flip()
#f = flatsurface(web([base, hole_cutouts]))
f = flatsurface(web([base, hole_cutouts, cable_cutouts])) So now we are sure it is not coming from the boolean operation itself but only the triangulation step |
Hello again. Any news on this? Since I'm hitting this issue with anything I try to do and any workaround I devise just delays the problem a few steps, I was thinking I could look into it myself. I guess what am I asking is: Have you been planning to look at it sometime soon? |
Hello, to be honest I had no time in past month. I have slightly more time now. Of course you can look into it if you want, but be warned that the constraints for the new triangulation algorithm are demanding:
So to summarize it must work in every situation the current one is working, and this time with no side case (side case like we have in this topic) |
fails with
I'm on revision 22437d1 but I also reproduced it on
v0.15.1
.The text was updated successfully, but these errors were encountered: