Commit 5f5dbe8d authored by charras's avatar charras

First tests about copper zones filled by polygons, without grid (see changelog)

Only for tests! not for production.
parent 4cccb0dd
...@@ -82,6 +82,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb ) ...@@ -82,6 +82,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
{ {
if( !pad->IsOnLayer( GetLayer() ) ) if( !pad->IsOnLayer( GetLayer() ) )
continue; continue;
if ( pad->GetNet() == GetNet() )
continue;
AddPadWithClearancePolygon( booleng, *pad, m_ZoneClearance, AddPadWithClearancePolygon( booleng, *pad, m_ZoneClearance,
false, 0 ); false, 0 );
} }
...@@ -95,6 +97,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb ) ...@@ -95,6 +97,8 @@ void ZONE_CONTAINER::AddClearanceAreasPolygonsToPolysList( BOARD* aPcb )
{ {
if( !track->IsOnLayer( GetLayer() ) ) if( !track->IsOnLayer( GetLayer() ) )
continue; continue;
if ( track->GetNet() == GetNet() )
continue;
AddTrackWithClearancePolygon( booleng, *track, m_ZoneClearance ); AddTrackWithClearancePolygon( booleng, *track, m_ZoneClearance );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment