Tweak default meander settings.

This commit is contained in:
Alex Shvartzkop 2024-02-19 17:59:09 +03:00 committed by dsa-t
parent 35e73d7dee
commit 1a65c0091f
3 changed files with 10 additions and 2 deletions

View File

@ -76,6 +76,9 @@
#define DEFAULT_CUSTOMDPAIRGAP 0.18
#define DEFAULT_CUSTOMDPAIRVIAGAP 0.18
#define DEFAULT_MEANDER_SPACING 0.6
#define DEFAULT_DP_MEANDER_SPACING 1.0
#define DEFAULT_MINCLEARANCE 0.0 // overall min clearance
#define DEFAULT_MINCONNECTION 0.0 // overall min connection width
#define DEFAULT_TRACKMINWIDTH 0.0 // track width min value

View File

@ -212,6 +212,11 @@ BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS( JSON_SETTINGS* aParent, const std:
// Layer thickness for 3D viewer
m_boardThickness = pcbIUScale.mmToIU( DEFAULT_BOARD_THICKNESS_MM );
// Default spacing for meanders
m_SingleTrackMeanderSettings.m_spacing = pcbIUScale.mmToIU( DEFAULT_MEANDER_SPACING );
m_SkewMeanderSettings.m_spacing = pcbIUScale.mmToIU( DEFAULT_MEANDER_SPACING );
m_DiffPairMeanderSettings.m_spacing = pcbIUScale.mmToIU( DEFAULT_DP_MEANDER_SPACING );
m_viaSizeIndex = 0;
m_trackWidthIndex = 0;
m_diffPairIndex = 0;

View File

@ -34,7 +34,7 @@ const long long int MEANDER_SETTINGS::LENGTH_UNCONSTRAINED( 1000000 * pcbIUScale
MEANDER_SETTINGS::MEANDER_SETTINGS()
{
m_minAmplitude = 100000;
m_minAmplitude = 200000;
m_maxAmplitude = 1000000;
m_step = 50000;
m_lenPadToDie = 0;
@ -43,7 +43,7 @@ MEANDER_SETTINGS::MEANDER_SETTINGS()
SetTargetSkew( 0 );
m_overrideCustomRules = false;
m_cornerStyle = MEANDER_STYLE_ROUND;
m_cornerRadiusPercentage = 100;
m_cornerRadiusPercentage = 80;
m_singleSided = false;
m_initialSide = MEANDER_SIDE_LEFT;
m_lengthTolerance = 0;