STEP export: fix an issue when cutting circular holes in zones.

This commit is contained in:
Alex Shvartzkop 2023-11-19 14:04:31 +03:00
parent 37b6cd1714
commit 1321c8c6af
1 changed files with 3 additions and 0 deletions

View File

@ -958,6 +958,9 @@ bool STEP_PCB_MODEL::CreatePCB( SHAPE_POLY_SET& aOutline, VECTOR2D aOrigin )
cutArgs.Append( shape );
BRepAlgoAPI_Cut cut;
// This helps cutting circular holes in zones where a hole is already cut in Clipper
cut.SetFuzzyValue( 0.0005 );
cut.SetArguments( cutArgs );
cut.SetTools( holelist );