DiscussionsIssue archiveModeling Data and Algorithms

Archived discussion

Offset BRepBuilderAPI_MakePolygon in plane

Modeling Data and AlgorithmsTue, 08/15/2017 - 13:021 reply

Browse this forum
QuestionAuthor

Hi guys! I have collection of vertices, presented as polygon:

BRepBuilderAPI_MakePolygon polyLine;
polyLine.Add(gp_Pnt(9.5, 0, 3));
polyLine.Add(gp_Pnt(9.5, 0, 10));
polyLine.Add(gp_Pnt(11, 0, 10));

and so on...

All vertices lie at single 3D plane. In this simple examaple, all points have zero Y coords. Now i want to offset this polygon in this plane inside or outside, how can i do this? I need new offsetted set of BRepBuilderAPI_MakePolygon.  (look at attached image)

Discussion

1 archived reply

Posts are displayed in their archived order.

01Author

So...guys, any ideas how to offset BRepBuilderAPI_MakePolygon?

Thanks.