Browse Source

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.
pull/5/merge
jean-pierre charras 8 years ago
parent
commit
7b4a8d7eb5
  1. 5
      pcbnew/exporters/gerber_jobfile_writer.cpp

5
pcbnew/exporters/gerber_jobfile_writer.cpp

@ -752,10 +752,6 @@ void GERBER_JOBFILE_WRITER::addJSONDesignRules()
openBlock();
addJSONObject( "\"Layers\": \"Outer\",\n" );
addJSONObject( "\"Values\":\n" );
openBlock();
addJSONObject( wxString::Format( "\"PadToPad\": %.3f,\n", minPadClearanceOuter*m_conversionUnits ) );
addJSONObject( wxString::Format( "\"PadToTrack\": %.3f,\n", minPadClearanceOuter*m_conversionUnits ) );
addJSONObject( wxString::Format( "\"TrackToTrack\": %.3f,\n", minclearance_track2track*m_conversionUnits ) );
@ -843,7 +839,6 @@ void GERBER_JOBFILE_WRITER::addJSONDesignRules()
}
// Close DesignRules
closeBlock();
closeArrayBlockWithSep();
}

Loading…
Cancel
Save