Forum archiveIssue archiveModeling Data and Algorithms

Archived discussion

BRepOffset_MakeOffset API gives inaccurate result

Modeling Data and AlgorithmsTue, 10/18/2022 - 14:061 reply

Browse this forum
QuestionAuthor

I am offsetting conical body using BRepOffset_MakeOffset API and getting inner and outer edges of the base and top of cone are not in line with each other.

BRepOffset_MakeOffset offsetShape = new BRepOffset_MakeOffset(solid, thickness,
Precision.Confusion(), OCC.BRepOffset.BRepOffset_Mode.BRepOffset_Skin,
false, true, OCC.GeomAbs.GeomAbs_JoinType.GeomAbs_Arc, true))

Please find attached document for reference.
Any lead?

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

They are in line, but that line is normal to the face. That is how offsets work.