Loading change_log.txt +19 −18 Original line number Diff line number Diff line Loading @@ -8,10 +8,11 @@ email address. 2008-Jan-25 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ +pcbnew: SPECCTRA export does padstacks ok, except that oval arcs need to be split into quarter circle arcs, and no consideration is given to "layer types" * SPECCTRA export does padstacks ok, except that oval pad's arcs need to be split into quarter circle arcs, and no consideration is given to "layer types". See page bottom of page 74 of the SECCTRA Design Language Reference, May 2000. Still working today... * HISTORY_NUMBER was spelt with a zero. * Width was spelt as Widht 2008-Jan-25 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> Loading include/pcbstruct.h +13 −13 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ struct CHEVELU; #include "class_board.h" // Class for handle current printed board design settings #define HIST0RY_NUMBER 8 #define HISTORY_NUMBER 8 class EDA_BoardDesignSettings { public: Loading @@ -154,10 +154,10 @@ public: int m_CurrentViaSize; // Current via size int m_CurrentMicroViaSize; // Current micro via size bool m_MicroViasAllowed; // true to allow micro vias int m_ViaSizeHistory[HIST0RY_NUMBER]; // Last HIST0RY_NUMBER used via sizes int m_ViaSizeHistory[HISTORY_NUMBER]; // Last HISTORY_NUMBER used via sizes int m_CurrentViaType; // via type (BLIND, TROUGHT ...), bits 1 and 2 (not 0 and 1) int m_CurrentTrackWidth; // current track width int m_TrackWidhtHistory[HIST0RY_NUMBER]; // Last HIST0RY_NUMBER used track widths int m_TrackWidthHistory[HISTORY_NUMBER]; // Last HISTORY_NUMBER used track widths int m_DrawSegmentWidth; // current graphic line width (not EDGE layer) int m_EdgeSegmentWidth; // current graphic line width (EDGE layer only) int m_PcbTextWidth; // current Pcb (not module) Text width Loading pcbnew/classpcb.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -127,7 +127,8 @@ EDA_BoardDesignSettings::EDA_BoardDesignSettings() // Default values for designing boards { int ii; int default_layer_color[32] = { static const int default_layer_color[32] = { GREEN, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, Loading @@ -150,10 +151,10 @@ EDA_BoardDesignSettings::EDA_BoardDesignSettings() m_CurrentViaSize = 450; // Current via size m_CurrentViaType = VIA_THROUGH; /* via type (BLIND, TROUGHT ...), bits 1 and 2 (not 0 and 1)*/ m_CurrentTrackWidth = 170; // current track width for( ii = 0; ii < HIST0RY_NUMBER; ii++ ) for( ii = 0; ii < HISTORY_NUMBER; ii++ ) { m_TrackWidhtHistory[ii] = 0; // Last HIST0RY_NUMBER used track widths m_ViaSizeHistory[ii] = 0; // Last HIST0RY_NUMBER used via sizes m_TrackWidthHistory[ii] = 0; // Last HISTORY_NUMBER used track widths m_ViaSizeHistory[ii] = 0; // Last HISTORY_NUMBER used via sizes } m_DrawSegmentWidth = 100; // current graphic line width (not EDGE layer) Loading pcbnew/dialog_track_options.cpp +355 −212 File changed.Preview size limit exceeded, changes collapsed. Show changes pcbnew/edit.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -829,7 +829,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) case ID_AUX_TOOLBAR_PCB_TRACK_WIDTH: { int ii = m_SelTrackWidthBox->GetChoice(); g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidhtHistory[ii]; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidthHistory[ii]; DisplayTrackSettings(); m_SelTrackWidthBox_Changed = FALSE; m_SelViaSizeBox_Changed = FALSE; Loading @@ -847,7 +847,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) DrawPanel->MouseToCursorSchema(); { int ii = id - ID_POPUP_PCB_SELECT_WIDTH1; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidhtHistory[ii]; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidthHistory[ii]; DisplayTrackSettings(); } break; Loading Loading
change_log.txt +19 −18 Original line number Diff line number Diff line Loading @@ -8,10 +8,11 @@ email address. 2008-Jan-25 UPDATE Dick Hollenbeck <dick@softplc.com> ================================================================================ +pcbnew: SPECCTRA export does padstacks ok, except that oval arcs need to be split into quarter circle arcs, and no consideration is given to "layer types" * SPECCTRA export does padstacks ok, except that oval pad's arcs need to be split into quarter circle arcs, and no consideration is given to "layer types". See page bottom of page 74 of the SECCTRA Design Language Reference, May 2000. Still working today... * HISTORY_NUMBER was spelt with a zero. * Width was spelt as Widht 2008-Jan-25 UPDATE Jean-Pierre Charras <jean-pierre.charras@inpg.fr> Loading
include/pcbstruct.h +13 −13 Original line number Diff line number Diff line Loading @@ -144,7 +144,7 @@ struct CHEVELU; #include "class_board.h" // Class for handle current printed board design settings #define HIST0RY_NUMBER 8 #define HISTORY_NUMBER 8 class EDA_BoardDesignSettings { public: Loading @@ -154,10 +154,10 @@ public: int m_CurrentViaSize; // Current via size int m_CurrentMicroViaSize; // Current micro via size bool m_MicroViasAllowed; // true to allow micro vias int m_ViaSizeHistory[HIST0RY_NUMBER]; // Last HIST0RY_NUMBER used via sizes int m_ViaSizeHistory[HISTORY_NUMBER]; // Last HISTORY_NUMBER used via sizes int m_CurrentViaType; // via type (BLIND, TROUGHT ...), bits 1 and 2 (not 0 and 1) int m_CurrentTrackWidth; // current track width int m_TrackWidhtHistory[HIST0RY_NUMBER]; // Last HIST0RY_NUMBER used track widths int m_TrackWidthHistory[HISTORY_NUMBER]; // Last HISTORY_NUMBER used track widths int m_DrawSegmentWidth; // current graphic line width (not EDGE layer) int m_EdgeSegmentWidth; // current graphic line width (EDGE layer only) int m_PcbTextWidth; // current Pcb (not module) Text width Loading
pcbnew/classpcb.cpp +5 −4 Original line number Diff line number Diff line Loading @@ -127,7 +127,8 @@ EDA_BoardDesignSettings::EDA_BoardDesignSettings() // Default values for designing boards { int ii; int default_layer_color[32] = { static const int default_layer_color[32] = { GREEN, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, LIGHTGRAY, Loading @@ -150,10 +151,10 @@ EDA_BoardDesignSettings::EDA_BoardDesignSettings() m_CurrentViaSize = 450; // Current via size m_CurrentViaType = VIA_THROUGH; /* via type (BLIND, TROUGHT ...), bits 1 and 2 (not 0 and 1)*/ m_CurrentTrackWidth = 170; // current track width for( ii = 0; ii < HIST0RY_NUMBER; ii++ ) for( ii = 0; ii < HISTORY_NUMBER; ii++ ) { m_TrackWidhtHistory[ii] = 0; // Last HIST0RY_NUMBER used track widths m_ViaSizeHistory[ii] = 0; // Last HIST0RY_NUMBER used via sizes m_TrackWidthHistory[ii] = 0; // Last HISTORY_NUMBER used track widths m_ViaSizeHistory[ii] = 0; // Last HISTORY_NUMBER used via sizes } m_DrawSegmentWidth = 100; // current graphic line width (not EDGE layer) Loading
pcbnew/dialog_track_options.cpp +355 −212 File changed.Preview size limit exceeded, changes collapsed. Show changes
pcbnew/edit.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -829,7 +829,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) case ID_AUX_TOOLBAR_PCB_TRACK_WIDTH: { int ii = m_SelTrackWidthBox->GetChoice(); g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidhtHistory[ii]; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidthHistory[ii]; DisplayTrackSettings(); m_SelTrackWidthBox_Changed = FALSE; m_SelViaSizeBox_Changed = FALSE; Loading @@ -847,7 +847,7 @@ void WinEDA_PcbFrame::Process_Special_Functions( wxCommandEvent& event ) DrawPanel->MouseToCursorSchema(); { int ii = id - ID_POPUP_PCB_SELECT_WIDTH1; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidhtHistory[ii]; g_DesignSettings.m_CurrentTrackWidth = g_DesignSettings.m_TrackWidthHistory[ii]; DisplayTrackSettings(); } break; Loading