CADSTAR PCB: Rule Areas have zero width
Cadstar areas have a line width but this is only for display purposes. Instead CADSTAR uses the center line when determining whether a DRC violation occurred.
This commit is contained in:
parent
2dfbd42be6
commit
677166f0b8
|
@ -821,8 +821,8 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryAreas( const SYMDEF_PCB& aComponent,
|
||||||
|
|
||||||
if( area.NoVias || area.NoTracks )
|
if( area.NoVias || area.NoTracks )
|
||||||
{
|
{
|
||||||
ZONE* zone = getZoneFromCadstarShape( area.Shape, getLineThickness( area.LineCodeID ),
|
int lineThickness = 0; // CADSTAR areas only use the line width for display purpose
|
||||||
aFootprint );
|
ZONE* zone = getZoneFromCadstarShape( area.Shape, lineThickness, aFootprint );
|
||||||
|
|
||||||
aFootprint->Add( zone, ADD_MODE::APPEND );
|
aFootprint->Add( zone, ADD_MODE::APPEND );
|
||||||
|
|
||||||
|
@ -1522,8 +1522,8 @@ void CADSTAR_PCB_ARCHIVE_LOADER::loadAreas()
|
||||||
|
|
||||||
if( area.NoVias || area.NoTracks || area.Keepout || area.Routing )
|
if( area.NoVias || area.NoTracks || area.Keepout || area.Routing )
|
||||||
{
|
{
|
||||||
ZONE* zone = getZoneFromCadstarShape( area.Shape, getLineThickness( area.LineCodeID ),
|
int lineThickness = 0; // CADSTAR areas only use the line width for display purpose
|
||||||
m_board );
|
ZONE* zone = getZoneFromCadstarShape( area.Shape, lineThickness, m_board );
|
||||||
|
|
||||||
m_board->Add( zone, ADD_MODE::APPEND );
|
m_board->Add( zone, ADD_MODE::APPEND );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue