Offsett a BRepBody

Offsett a BRepBody

florian.pommereningDGUYA
Enthusiast Enthusiast
774 Views
2 Replies
Message 1 of 3

Offsett a BRepBody

florian.pommereningDGUYA
Enthusiast
Enthusiast

I'm looking for a way to offset a temporary BRepBody by a given distance, i.e., make it larger by pushing its edges outside. Is there any way to do this with the API?

0 Likes
Accepted solutions (1)
775 Views
2 Replies
Replies (2)
Message 2 of 3

BrianEkins
Mentor
Mentor
Accepted solution

The temporary B-Rep capabilities are fairly limited and do not support the ability to offset a body.  A workaround is to create a body in a base feature and then use features to create the offset. I tried some things interactively and found the Offset Face command does this when you select all of the faces of the body.  Unfortunately, I also found that the API doesn't currently support the creation of the Offset Face feature (OffsetFacesFeature).  However, I also found Offset command, which creates a new body and the API does support the creation of this feature (OffsetFeature).

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
Message 3 of 3

florian.pommereningDGUYA
Enthusiast
Enthusiast

Thanks. It looks like this only works on open bodies, so I'm not quite sure if I can make it work. But it looks like this is the only option.

0 Likes