mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-20 18:11:42 +00:00
STEP export: fix an issue when cutting circular holes in zones.
This commit is contained in:
parent
37b6cd1714
commit
1321c8c6af
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user