Gerber job file: update file format due to a recent change.
Please: note the gerber JSON file format is currently a moving target, although most of the format is now fixed. Most, but not all.
This commit is contained in:
parent
477b4c5447
commit
7b4a8d7eb5
|
@ -752,10 +752,6 @@ void GERBER_JOBFILE_WRITER::addJSONDesignRules()
|
||||||
|
|
||||||
openBlock();
|
openBlock();
|
||||||
addJSONObject( "\"Layers\": \"Outer\",\n" );
|
addJSONObject( "\"Layers\": \"Outer\",\n" );
|
||||||
|
|
||||||
addJSONObject( "\"Values\":\n" );
|
|
||||||
|
|
||||||
openBlock();
|
|
||||||
addJSONObject( wxString::Format( "\"PadToPad\": %.3f,\n", minPadClearanceOuter*m_conversionUnits ) );
|
addJSONObject( wxString::Format( "\"PadToPad\": %.3f,\n", minPadClearanceOuter*m_conversionUnits ) );
|
||||||
addJSONObject( wxString::Format( "\"PadToTrack\": %.3f,\n", minPadClearanceOuter*m_conversionUnits ) );
|
addJSONObject( wxString::Format( "\"PadToTrack\": %.3f,\n", minPadClearanceOuter*m_conversionUnits ) );
|
||||||
addJSONObject( wxString::Format( "\"TrackToTrack\": %.3f,\n", minclearance_track2track*m_conversionUnits ) );
|
addJSONObject( wxString::Format( "\"TrackToTrack\": %.3f,\n", minclearance_track2track*m_conversionUnits ) );
|
||||||
|
@ -843,7 +839,6 @@ void GERBER_JOBFILE_WRITER::addJSONDesignRules()
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close DesignRules
|
// Close DesignRules
|
||||||
closeBlock();
|
|
||||||
closeArrayBlockWithSep();
|
closeArrayBlockWithSep();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue