2020-08-25 19:42:52 +02:00
|
|
|
/*
|
|
|
|
* This program source code file is part of KiCad, a free EDA CAD application.
|
|
|
|
*
|
2025-01-01 13:30:11 -08:00
|
|
|
* Copyright The KiCad Developers.
|
2020-08-25 19:42:52 +02:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, you may find one here:
|
|
|
|
* http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
|
|
|
|
* or you may search the http://www.gnu.org website for the version 2 license,
|
|
|
|
* or you may write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
2021-06-11 22:07:02 +01:00
|
|
|
#include <pcb_track.h>
|
2022-08-01 17:44:23 +01:00
|
|
|
#include <pad.h>
|
|
|
|
#include <footprint.h>
|
2021-06-06 15:03:10 -04:00
|
|
|
#include <drc/drc_engine.h>
|
2020-09-11 16:04:11 +01:00
|
|
|
#include <drc/drc_item.h>
|
|
|
|
#include <drc/drc_rule.h>
|
|
|
|
#include <drc/drc_test_provider.h>
|
2022-08-01 17:44:23 +01:00
|
|
|
#include <macros.h>
|
|
|
|
#include <convert_basic_shapes_to_polygon.h>
|
|
|
|
#include <board_design_settings.h>
|
2020-08-25 19:42:52 +02:00
|
|
|
|
|
|
|
/*
|
2020-11-02 16:20:00 +00:00
|
|
|
Via/pad annular ring width test. Checks if there's sufficient copper ring around
|
|
|
|
PTH/NPTH holes (vias/pads)
|
2020-08-25 19:42:52 +02:00
|
|
|
Errors generated:
|
2021-06-26 10:11:22 +01:00
|
|
|
- DRCE_ANNULAR_WIDTH
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2020-09-08 06:44:44 -07:00
|
|
|
Todo:
|
2020-08-25 19:42:52 +02:00
|
|
|
- check pad holes too.
|
|
|
|
*/
|
|
|
|
|
2024-05-06 18:31:08 -04:00
|
|
|
|
2021-06-26 10:11:22 +01:00
|
|
|
class DRC_TEST_PROVIDER_ANNULAR_WIDTH : public DRC_TEST_PROVIDER
|
2020-08-25 19:42:52 +02:00
|
|
|
{
|
|
|
|
public:
|
2021-06-26 10:11:22 +01:00
|
|
|
DRC_TEST_PROVIDER_ANNULAR_WIDTH()
|
2020-08-25 19:42:52 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2021-06-26 10:11:22 +01:00
|
|
|
virtual ~DRC_TEST_PROVIDER_ANNULAR_WIDTH()
|
2020-08-25 19:42:52 +02:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual bool Run() override;
|
|
|
|
|
|
|
|
virtual const wxString GetName() const override
|
|
|
|
{
|
2022-03-11 21:16:52 +00:00
|
|
|
return wxT( "annular_width" );
|
2020-08-25 19:42:52 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
virtual const wxString GetDescription() const override
|
|
|
|
{
|
2022-03-11 21:16:52 +00:00
|
|
|
return wxT( "Tests pad/via annular rings" );
|
2020-08-25 19:42:52 +02:00
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2021-06-26 10:11:22 +01:00
|
|
|
bool DRC_TEST_PROVIDER_ANNULAR_WIDTH::Run()
|
2020-08-25 19:42:52 +02:00
|
|
|
{
|
2021-02-27 13:43:41 +00:00
|
|
|
if( m_drcEngine->IsErrorLimitExceeded( DRCE_ANNULAR_WIDTH ) )
|
|
|
|
{
|
2022-03-11 21:16:52 +00:00
|
|
|
reportAux( wxT( "Annular width violations ignored. Skipping check." ) );
|
2021-02-27 13:43:41 +00:00
|
|
|
return true; // continue with other tests
|
|
|
|
}
|
|
|
|
|
2022-08-03 10:10:23 +01:00
|
|
|
const int progressDelta = 500;
|
2020-09-16 16:03:55 +01:00
|
|
|
|
2020-11-02 16:20:00 +00:00
|
|
|
if( !m_drcEngine->HasRulesForConstraintType( ANNULAR_WIDTH_CONSTRAINT ) )
|
2020-08-25 19:42:52 +02:00
|
|
|
{
|
2022-03-11 21:16:52 +00:00
|
|
|
reportAux( wxT( "No annular width constraints found. Tests not run." ) );
|
2021-02-27 13:43:41 +00:00
|
|
|
return true; // continue with other tests
|
2020-08-25 19:42:52 +02:00
|
|
|
}
|
|
|
|
|
2022-08-01 17:44:23 +01:00
|
|
|
if( !reportPhase( _( "Checking pad & via annular rings..." ) ) )
|
2021-02-27 13:43:41 +00:00
|
|
|
return false; // DRC cancelled
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2022-08-01 17:44:23 +01:00
|
|
|
auto calcEffort =
|
2024-11-09 10:33:23 -05:00
|
|
|
[]( BOARD_ITEM* item ) -> size_t
|
2022-08-01 17:44:23 +01:00
|
|
|
{
|
|
|
|
switch( item->Type() )
|
|
|
|
{
|
|
|
|
case PCB_VIA_T:
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
case PCB_PAD_T:
|
|
|
|
{
|
|
|
|
PAD* pad = static_cast<PAD*>( item );
|
|
|
|
|
|
|
|
if( !pad->HasHole() || pad->GetAttribute() != PAD_ATTRIB::PTH )
|
|
|
|
return 0;
|
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
size_t effort = 0;
|
|
|
|
|
|
|
|
pad->Padstack().ForEachUniqueLayer(
|
|
|
|
[&pad, &effort]( PCB_LAYER_ID aLayer )
|
2022-08-01 17:44:23 +01:00
|
|
|
{
|
2024-11-09 10:33:23 -05:00
|
|
|
if( pad->GetOffset( aLayer ) == VECTOR2I( 0, 0 ) )
|
|
|
|
{
|
|
|
|
switch( pad->GetShape( aLayer ) )
|
|
|
|
{
|
|
|
|
case PAD_SHAPE::CHAMFERED_RECT:
|
|
|
|
if( pad->GetChamferRectRatio( aLayer ) > 0.30 )
|
|
|
|
break;
|
2022-08-01 17:44:23 +01:00
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
KI_FALLTHROUGH;
|
2022-08-01 17:44:23 +01:00
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
case PAD_SHAPE::CIRCLE:
|
|
|
|
case PAD_SHAPE::OVAL:
|
|
|
|
case PAD_SHAPE::RECTANGLE:
|
|
|
|
case PAD_SHAPE::ROUNDRECT:
|
|
|
|
effort += 1;
|
|
|
|
break;
|
2022-08-01 17:44:23 +01:00
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
effort += 5;
|
|
|
|
} );
|
2022-08-01 17:44:23 +01:00
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
return effort;
|
2022-08-01 17:44:23 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
default:
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2025-01-07 14:39:06 +00:00
|
|
|
auto checkPadAnnularWidth =
|
|
|
|
[]( PAD* pad, PCB_LAYER_ID aLayer, DRC_CONSTRAINT& constraint,
|
|
|
|
const std::vector<const PAD*>& sameNumPads,
|
|
|
|
int* aMinAnnularWidth, int* aMaxAnnularWidth )
|
|
|
|
{
|
|
|
|
int annularWidth = 0;
|
|
|
|
bool handled = false;
|
|
|
|
|
|
|
|
if( pad->GetOffset( aLayer ) == VECTOR2I( 0, 0 ) )
|
|
|
|
{
|
|
|
|
VECTOR2I padSize = pad->GetSize( aLayer );
|
|
|
|
|
|
|
|
switch( pad->GetShape( aLayer ) )
|
|
|
|
{
|
|
|
|
case PAD_SHAPE::CIRCLE:
|
|
|
|
annularWidth = ( padSize.x - pad->GetDrillSizeX() ) / 2;
|
|
|
|
|
|
|
|
// If there are more pads with the same number then we'll still need to
|
|
|
|
// run the more generalised checks below.
|
|
|
|
handled = sameNumPads.empty();
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
case PAD_SHAPE::CHAMFERED_RECT:
|
|
|
|
if( pad->GetChamferRectRatio( aLayer ) > 0.30 )
|
|
|
|
break;
|
|
|
|
|
|
|
|
KI_FALLTHROUGH;
|
|
|
|
|
|
|
|
case PAD_SHAPE::OVAL:
|
|
|
|
case PAD_SHAPE::RECTANGLE:
|
|
|
|
case PAD_SHAPE::ROUNDRECT:
|
|
|
|
annularWidth = std::min( padSize.x - pad->GetDrillSizeX(),
|
|
|
|
padSize.y - pad->GetDrillSizeY() ) / 2;
|
|
|
|
|
|
|
|
// If there are more pads with the same number then we'll still need to
|
|
|
|
// run the more generalised checks below.
|
|
|
|
handled = sameNumPads.empty();
|
|
|
|
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if( !handled )
|
|
|
|
{
|
|
|
|
// Slow (but general purpose) method.
|
|
|
|
int maxError = pad->GetBoard()->GetDesignSettings().m_MaxError;
|
|
|
|
SEG::ecoord dist_sq;
|
|
|
|
SHAPE_POLY_SET padOutline;
|
|
|
|
std::shared_ptr<SHAPE_SEGMENT> slot = pad->GetEffectiveHoleShape();
|
|
|
|
|
|
|
|
pad->TransformShapeToPolygon( padOutline, aLayer, 0, maxError, ERROR_INSIDE );
|
|
|
|
|
|
|
|
if( sameNumPads.empty() )
|
|
|
|
{
|
|
|
|
if( !padOutline.Collide( pad->GetPosition() ) )
|
|
|
|
{
|
|
|
|
// Hole outside pad
|
|
|
|
annularWidth = 0;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// Disable is-inside test in SquaredDistance
|
|
|
|
padOutline.Outline( 0 ).SetClosed( false );
|
|
|
|
|
|
|
|
dist_sq = padOutline.SquaredDistanceToSeg( slot->GetSeg() );
|
|
|
|
annularWidth = sqrt( dist_sq ) - slot->GetWidth() / 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
else if( constraint.Value().HasMin()
|
|
|
|
&& ( annularWidth < constraint.Value().Min() ) )
|
|
|
|
{
|
|
|
|
SHAPE_POLY_SET aggregatePadOutline = padOutline;
|
|
|
|
SHAPE_POLY_SET otherPadHoles;
|
|
|
|
SHAPE_POLY_SET slotPolygon;
|
|
|
|
|
|
|
|
slot->TransformToPolygon( slotPolygon, 0, ERROR_INSIDE );
|
|
|
|
|
|
|
|
for( const PAD* sameNumPad : sameNumPads )
|
|
|
|
{
|
|
|
|
// Construct the full pad with outline and hole.
|
|
|
|
sameNumPad->TransformShapeToPolygon( aggregatePadOutline,
|
|
|
|
PADSTACK::ALL_LAYERS, 0,
|
|
|
|
maxError, ERROR_OUTSIDE );
|
|
|
|
|
|
|
|
sameNumPad->TransformHoleToPolygon( otherPadHoles, 0, maxError,
|
|
|
|
ERROR_INSIDE );
|
|
|
|
}
|
|
|
|
|
|
|
|
aggregatePadOutline.BooleanSubtract( otherPadHoles );
|
|
|
|
|
|
|
|
if( !aggregatePadOutline.Collide( pad->GetPosition() ) )
|
|
|
|
{
|
|
|
|
// Hole outside pad
|
|
|
|
annularWidth = 0;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
// Disable is-inside test in SquaredDistance
|
2025-01-07 17:25:28 +00:00
|
|
|
for( int ii = 0; ii < aggregatePadOutline.OutlineCount(); ++ii )
|
|
|
|
aggregatePadOutline.Outline( ii ).SetClosed( false );
|
2025-01-07 14:39:06 +00:00
|
|
|
|
|
|
|
dist_sq = aggregatePadOutline.SquaredDistanceToSeg( slot->GetSeg() );
|
|
|
|
annularWidth = sqrt( dist_sq ) - slot->GetWidth() / 2;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
*aMaxAnnularWidth = std::max( *aMaxAnnularWidth, annularWidth );
|
|
|
|
*aMinAnnularWidth = std::min( *aMinAnnularWidth, annularWidth );
|
|
|
|
};
|
|
|
|
|
2021-06-26 10:11:22 +01:00
|
|
|
auto checkAnnularWidth =
|
2020-09-11 22:50:53 +01:00
|
|
|
[&]( BOARD_ITEM* item ) -> bool
|
|
|
|
{
|
2020-09-23 11:46:41 +01:00
|
|
|
if( m_drcEngine->IsErrorLimitExceeded( DRCE_ANNULAR_WIDTH ) )
|
2020-09-12 20:28:22 +01:00
|
|
|
return false;
|
|
|
|
|
2024-05-07 08:02:30 -04:00
|
|
|
auto constraint = m_drcEngine->EvalRules( ANNULAR_WIDTH_CONSTRAINT, item, nullptr,
|
|
|
|
UNDEFINED_LAYER );
|
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
int minAnnularWidth = INT_MAX;
|
|
|
|
int maxAnnularWidth = 0;
|
2024-05-07 08:02:30 -04:00
|
|
|
int v_min = 0;
|
|
|
|
int v_max = 0;
|
|
|
|
bool fail_min = false;
|
|
|
|
bool fail_max = false;
|
|
|
|
|
2022-08-01 17:44:23 +01:00
|
|
|
switch( item->Type() )
|
|
|
|
{
|
|
|
|
case PCB_VIA_T:
|
|
|
|
{
|
|
|
|
PCB_VIA* via = static_cast<PCB_VIA*>( item );
|
2025-01-07 14:39:06 +00:00
|
|
|
int drill = via->GetDrillValue();
|
2024-11-09 10:33:23 -05:00
|
|
|
|
|
|
|
via->Padstack().ForEachUniqueLayer(
|
2025-01-07 14:39:06 +00:00
|
|
|
[&]( PCB_LAYER_ID aLayer )
|
|
|
|
{
|
|
|
|
int layerWidth = ( via->GetWidth( aLayer ) - drill ) / 2;
|
|
|
|
minAnnularWidth = std::min( minAnnularWidth, layerWidth );
|
|
|
|
maxAnnularWidth = std::max( maxAnnularWidth, layerWidth );
|
|
|
|
} );
|
2022-08-01 17:44:23 +01:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
case PCB_PAD_T:
|
|
|
|
{
|
|
|
|
PAD* pad = static_cast<PAD*>( item );
|
|
|
|
|
|
|
|
if( !pad->HasHole() || pad->GetAttribute() != PAD_ATTRIB::PTH )
|
|
|
|
return true;
|
|
|
|
|
2024-05-06 18:31:08 -04:00
|
|
|
std::vector<const PAD*> sameNumPads;
|
|
|
|
|
2025-01-07 14:39:06 +00:00
|
|
|
if( const FOOTPRINT* fp = static_cast<const FOOTPRINT*>( pad->GetParent() ) )
|
2024-05-06 18:31:08 -04:00
|
|
|
sameNumPads = fp->GetPads( pad->GetNumber(), pad );
|
|
|
|
|
2024-11-09 10:33:23 -05:00
|
|
|
pad->Padstack().ForEachUniqueLayer(
|
2025-01-07 14:39:06 +00:00
|
|
|
[&]( PCB_LAYER_ID aLayer )
|
2024-05-06 18:31:08 -04:00
|
|
|
{
|
2025-01-07 14:39:06 +00:00
|
|
|
checkPadAnnularWidth( pad, aLayer, constraint, sameNumPads,
|
|
|
|
&minAnnularWidth, &maxAnnularWidth );
|
|
|
|
} );
|
2022-08-01 17:44:23 +01:00
|
|
|
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
default:
|
2020-09-11 22:50:53 +01:00
|
|
|
return true;
|
2022-08-01 17:44:23 +01:00
|
|
|
}
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2021-09-05 16:06:12 +01:00
|
|
|
if( constraint.GetSeverity() == RPT_SEVERITY_IGNORE )
|
|
|
|
return true;
|
|
|
|
|
2020-09-11 22:50:53 +01:00
|
|
|
if( constraint.Value().HasMin() )
|
|
|
|
{
|
|
|
|
v_min = constraint.Value().Min();
|
2024-11-09 10:33:23 -05:00
|
|
|
fail_min = minAnnularWidth < v_min;
|
2020-09-11 22:50:53 +01:00
|
|
|
}
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2020-09-11 22:50:53 +01:00
|
|
|
if( constraint.Value().HasMax() )
|
|
|
|
{
|
|
|
|
v_max = constraint.Value().Max();
|
2024-11-09 10:33:23 -05:00
|
|
|
fail_max = maxAnnularWidth > v_max;
|
2020-09-11 22:50:53 +01:00
|
|
|
}
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2020-09-11 22:50:53 +01:00
|
|
|
if( fail_min || fail_max )
|
|
|
|
{
|
2020-09-23 11:46:41 +01:00
|
|
|
std::shared_ptr<DRC_ITEM> drcItem = DRC_ITEM::Create( DRCE_ANNULAR_WIDTH );
|
2022-06-15 16:42:34 -07:00
|
|
|
wxString msg;
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2020-09-22 16:50:15 +02:00
|
|
|
if( fail_min )
|
2022-08-01 17:44:23 +01:00
|
|
|
{
|
2022-10-06 21:52:17 +01:00
|
|
|
msg = formatMsg( _( "(%s min annular width %s; actual %s)" ),
|
|
|
|
constraint.GetName(),
|
|
|
|
v_min,
|
2024-11-09 10:33:23 -05:00
|
|
|
minAnnularWidth );
|
2022-08-01 17:44:23 +01:00
|
|
|
}
|
2020-09-22 16:50:15 +02:00
|
|
|
|
|
|
|
if( fail_max )
|
2022-08-01 17:44:23 +01:00
|
|
|
{
|
2022-10-06 21:52:17 +01:00
|
|
|
msg = formatMsg( _( "(%s max annular width %s; actual %s)" ),
|
|
|
|
constraint.GetName(),
|
|
|
|
v_max,
|
2024-11-09 10:33:23 -05:00
|
|
|
maxAnnularWidth );
|
2022-08-01 17:44:23 +01:00
|
|
|
}
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2022-06-15 16:42:34 -07:00
|
|
|
drcItem->SetErrorMessage( drcItem->GetErrorText() + wxS( " " ) + msg );
|
2020-09-11 22:50:53 +01:00
|
|
|
drcItem->SetItems( item );
|
|
|
|
drcItem->SetViolatingRule( constraint.GetParentRule() );
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2022-08-01 17:44:23 +01:00
|
|
|
reportViolation( drcItem, item->GetPosition(), item->GetLayer() );
|
2020-09-11 22:50:53 +01:00
|
|
|
}
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2020-09-11 22:50:53 +01:00
|
|
|
return true;
|
|
|
|
};
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2020-09-16 16:03:55 +01:00
|
|
|
BOARD* board = m_drcEngine->GetBoard();
|
2022-08-01 17:44:23 +01:00
|
|
|
size_t ii = 0;
|
|
|
|
size_t total = 0;
|
2020-09-16 16:03:55 +01:00
|
|
|
|
2021-06-11 22:07:02 +01:00
|
|
|
for( PCB_TRACK* item : board->Tracks() )
|
2022-08-01 17:44:23 +01:00
|
|
|
total += calcEffort( item );
|
|
|
|
|
|
|
|
for( FOOTPRINT* footprint : board->Footprints() )
|
2020-09-16 16:03:55 +01:00
|
|
|
{
|
2022-08-01 17:44:23 +01:00
|
|
|
for( PAD* pad : footprint->Pads() )
|
|
|
|
total += calcEffort( pad );
|
|
|
|
}
|
|
|
|
|
|
|
|
for( PCB_TRACK* item : board->Tracks() )
|
|
|
|
{
|
|
|
|
ii += calcEffort( item );
|
|
|
|
|
2022-08-03 10:10:23 +01:00
|
|
|
if( !reportProgress( ii, total, progressDelta ) )
|
2022-03-11 20:13:47 +00:00
|
|
|
return false; // DRC cancelled
|
2020-09-16 16:03:55 +01:00
|
|
|
|
2021-06-26 10:11:22 +01:00
|
|
|
if( !checkAnnularWidth( item ) )
|
2022-03-11 20:13:47 +00:00
|
|
|
break;
|
2020-09-16 16:03:55 +01:00
|
|
|
}
|
2020-08-25 19:42:52 +02:00
|
|
|
|
2022-08-01 17:44:23 +01:00
|
|
|
for( FOOTPRINT* footprint : board->Footprints() )
|
|
|
|
{
|
|
|
|
for( PAD* pad : footprint->Pads() )
|
|
|
|
{
|
|
|
|
ii += calcEffort( pad );
|
|
|
|
|
2022-08-03 10:10:23 +01:00
|
|
|
if( !reportProgress( ii, total, progressDelta ) )
|
2022-08-01 17:44:23 +01:00
|
|
|
return false; // DRC cancelled
|
|
|
|
|
|
|
|
if( !checkAnnularWidth( pad ) )
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-25 19:42:52 +02:00
|
|
|
reportRuleStatistics();
|
|
|
|
|
2022-03-11 20:13:47 +00:00
|
|
|
return !m_drcEngine->IsCancelled();
|
2020-08-25 19:42:52 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
namespace detail
|
|
|
|
{
|
2021-06-26 10:11:22 +01:00
|
|
|
static DRC_REGISTER_TEST_PROVIDER<DRC_TEST_PROVIDER_ANNULAR_WIDTH> dummy;
|
2020-09-08 06:44:44 -07:00
|
|
|
}
|