- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When I mirror a body via a Mirror feature, I can't find any good way to map a face on the original body to the equivalent face on the mirrored body.
Things I've tried:
- putting attributes on the source faces, but the attributes are not copied over to the mirrored body
- mapping the faces by tempId, but the tempIds are not maintained in the mirrored copy
- making a copy of the object via TemporaryBRepManager.copy() and performing a mirror via TemporaryBRepManager.transform(), but the temporary copy doesn't maintain either attributes or tempIds
It looks like the mirror feature accepts a face as a valid entity to mirror, so maybe I could do a temporary mirror of each face on the source body, and then find the face on the mirrored body that is coincident with the mirrored face. But that sounds rather computationally intensive.
Is there some better way I'm missing? Other than by using occurrence.transform to do the mirror, which is apparently not intended to work 😉
Ideally, the mirror feature would have an option that just modified the source body, similar to how the scale feature works. Or at the very least if it maintained the tempIds, or better, the attributes in the mirrored copy.
Solved! Go to Solution.