i create an extrusion shape by means of BRepPrimAPI_MakePrism. the profile contains just linear segments.
then i apply the chamfer on the top and bottom edges - BRepFilletAPI_MakeChamfer. in some cases the bottom and top faces are lost after the chamfering. side faces are created well, distances are correct - only one problem - body is hollow.
where can be problem? i think it is a simple task for the OC to solve.

best regards,

a-helcman's picture

i found what damages a shape. i am setting the tolerance after the chamfering.

ShapeFix_ShapeTolerance o_sft;
o_sft.SetTolerance (o_shape, 0.1);