Skip to content

How do I get the intersection region after boolean Union #4409

Answered by Grantim
emil-peters asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

There is newFaces function in mapper:

    mr_self = mesh.toMrMesh()
    mr_other = other.toMrMesh()

    res_mapper = mr.BooleanResultMapper()
    result = mr.boolean(mr_self, mr_other, mr.BooleanOperation.Union, None, res_mapper)

    if result.errorString != "":
       exit()

    region_fbs = res_mapper.newFaces()

Replies: 3 comments 15 replies

Comment options

You must be logged in to vote
1 reply
@emil-peters
Comment options

Answer selected by emil-peters
Comment options

You must be logged in to vote
11 replies
@Grantim
Comment options

@emil-peters
Comment options

@Grantim
Comment options

@emil-peters
Comment options

@Grantim
Comment options

Comment options

You must be logged in to vote
3 replies
@Grantim
Comment options

@Grantim
Comment options

@emil-peters
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