CADSTAR PCB Archive Importer: Fix Polygon with Holes
This commit is contained in:
parent
56080a0adc
commit
1351f5bcf1
|
@ -609,6 +609,10 @@ SHAPE_POLY_SET CADSTAR_PCB::getPolySetFromCadstarShape(
|
||||||
polySet.Inflate(
|
polySet.Inflate(
|
||||||
aLineThickness / 2, 32, SHAPE_POLY_SET::CORNER_STRATEGY::ROUND_ALL_CORNERS );
|
aLineThickness / 2, 32, SHAPE_POLY_SET::CORNER_STRATEGY::ROUND_ALL_CORNERS );
|
||||||
|
|
||||||
|
//Make a new polyset with no holes
|
||||||
|
//TODO: Using strictly simple to be safe, but need to find out if PM_FAST works okay
|
||||||
|
polySet.Fracture( SHAPE_POLY_SET::POLYGON_MODE::PM_STRICTLY_SIMPLE );
|
||||||
|
|
||||||
return polySet;
|
return polySet;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue