The result of BRepOffsetAPI_MakeOffsetShape is different for the same input values.

I am using version 7.5.0.
I implemented it with the attached file as follows.

BRepOffsetAPI_MakeOffsetShape brepOffset;
brepOffset.PerformByJoin(InputShape, Values between 1 and 9, Precision::Confusion());
ResultShape = brepOffset.Shape();

I performed a cut with the BRepAlgoAPI_Cut function based on the obtained result.
The results varied each time I executed it.
Upon comparing the BRep results, I found that the difference was due to variations in the results from the offset.
Why does this phenomenon occur, and how can it be resolved?

Attachments: 
Dmitrii Pasukhin's picture

Hello, how much difference did you faced?

Best regards, Dmitrii.

Suwan Park's picture

Hello,
The main difference was that the size of the resulting BRep file varied when using the offset model for Boolean cut.
Additionally, when filleting afterwards, sometimes it succeeded and sometimes it failed.
However, after slightly reducing the myTol value following EvalMax in the BRepOffset_MakeOffset source, filleting always succeeded.
So, my issue was resolved.
However, although I achieved the desired outcome, I'm not sure if this is the correct approach.