Altium PCB import: don't add thickness to Solid style fills.
(cherry picked from commit b34dbf58c5
)
This commit is contained in:
parent
82c2bda52b
commit
0d2838518b
|
@ -1991,10 +1991,14 @@ void ALTIUM_PCB::ParsePolygons6Data( const ALTIUM_COMPOUND_FILE& aAltiumPcbF
|
|||
continue;
|
||||
}
|
||||
|
||||
// Altium polygon outlines have thickness, convert it to KiCad's representation.
|
||||
SHAPE_POLY_SET outline( linechain );
|
||||
outline.Inflate( elem.trackwidth / 2, CORNER_STRATEGY::CHAMFER_ACUTE_CORNERS, ARC_HIGH_DEF,
|
||||
true );
|
||||
|
||||
if( elem.hatchstyle != ALTIUM_POLYGON_HATCHSTYLE::SOLID )
|
||||
{
|
||||
// Altium "Hatched" or "None" polygon outlines have thickness, convert it to KiCad's representation.
|
||||
outline.Inflate( elem.trackwidth / 2, CORNER_STRATEGY::CHAMFER_ACUTE_CORNERS,
|
||||
ARC_HIGH_DEF, true );
|
||||
}
|
||||
|
||||
if( outline.OutlineCount() != 1 && m_reporter )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue