Skip to content

Commit

Permalink
Read netclass via drill settings from project file.
Browse files Browse the repository at this point in the history
  • Loading branch information
jey5nd6 committed Oct 13, 2020
1 parent 763da6b commit 5eaa992
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions common/project/net_settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,9 @@ NET_SETTINGS::NET_SETTINGS( JSON_SETTINGS* aParent, const std::string& aPath ) :
if( auto value = getInPcbUnits( entry, "via_diameter" ) )
netclass->SetViaDiameter( *value );

if( auto value = getInPcbUnits( entry, "via_drill" ) )
netclass->SetViaDrill( *value );

if( auto value = getInPcbUnits( entry, "microvia_diameter" ) )
netclass->SetuViaDiameter( *value );

Expand Down

0 comments on commit 5eaa992

Please sign in to comment.