eagle: Make semantics of cutout correct
Eagle cutout polygons only restrict filled copper, they do not limit tracks, vias and pads inside them. Fix this behavior in the Eagle import. CHANGED: Fix semantics of Eagle cutout polygons
This commit is contained in:
parent
64231a8491
commit
e34a01dc68
|
@ -1273,6 +1273,10 @@ ZONE_CONTAINER* EAGLE_PLUGIN::loadPolygon( wxXmlNode* aPolyNode )
|
||||||
if( p.pour == EPOLYGON::CUTOUT )
|
if( p.pour == EPOLYGON::CUTOUT )
|
||||||
{
|
{
|
||||||
zone->SetIsKeepout( true );
|
zone->SetIsKeepout( true );
|
||||||
|
zone->SetDoNotAllowVias( false );
|
||||||
|
zone->SetDoNotAllowTracks( false );
|
||||||
|
zone->SetDoNotAllowPads( false );
|
||||||
|
zone->SetDoNotAllowFootprints( false );
|
||||||
zone->SetDoNotAllowCopperPour( true );
|
zone->SetDoNotAllowCopperPour( true );
|
||||||
zone->SetHatchStyle( ZONE_HATCH_STYLE::NO_HATCH );
|
zone->SetHatchStyle( ZONE_HATCH_STYLE::NO_HATCH );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue