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:
jean-pierre charras 2018-03-21 12:40:10 +01:00
parent 477b4c5447
commit 7b4a8d7eb5
1 changed files with 0 additions and 5 deletions

View File

@ -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();
} }