Skip to content

Boolean operations between a Mesh and junction hang #31

Answered by jimy-byerley
jlvila asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @jlvila

I could not reproduce a TriangulationError with this piece of code, however I got wrong meshing, which can be due to the same cause. I guess it's only because I had not the same exact brick in the boolean operation. If fixed it by taking a closer look at the winding of the junction interfaces: your contours are both going the same way, which is not correct for a cone.
The interfaces of a junction will be used as surface contours in the final mesh, so each side must have opposed windings. If you flip one of your circles, then you should get a proper cone and solve TriangulationError

here is my working piece of code

_brick = brick(center=1.5*X+2.5*Y, width=vec3(2))

x = 1
y = 1
w

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jlvila
Comment options

Answer selected by jimy-byerley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants