Skip to content

Union hangs with junction & reused flatSurface's #34

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

You must be logged in to vote

Hi @jlvila

It's true that the boolean operations gets touchy when one of the two surfaces of the operation does intersect the second only on one of its frontiers (like in your case where the interfaces only intersects the cone by their outer ring). That's a common issue with #8

Luckyly in your case (If I correctly understood) you don't need boolean operations with intersection, stiching, etc. You can simply concatenate your cone surface with its ends surfaces using the + operator:

_cone = junction(
    interfaces[0],
    interfaces[1],
    tangents='straight'
)
_cone.mergeclose()

_p2 = _cone + interfaces[0].flip() + interfaces[1].flip()
_p2.mergeclose()

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by jimy-byerley
Comment options

You must be logged in to vote
1 reply
@jimy-byerley
Comment options

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