gerber-to-svg
Advanced tools
Comparing version 0.1.5 to 0.1.6
@@ -40,2 +40,6 @@ (function() { | ||
this.fmat = block; | ||
} else if (block === 'M30' || block === 'M00') { | ||
command.set = { | ||
done: true | ||
}; | ||
} else if (block === INCH_COMMAND[this.fmat] || block.match(/INCH/)) { | ||
@@ -42,0 +46,0 @@ this.format.places = [2, 4]; |
@@ -198,3 +198,3 @@ (function() { | ||
} else { | ||
this.done = true; | ||
throw new Error('end of drill file encountered before M00/M30 command'); | ||
} | ||
@@ -201,0 +201,0 @@ } else { |
{ | ||
"name": "gerber-to-svg", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"description": "Gerber and NC drill file to SVG converter", | ||
@@ -5,0 +5,0 @@ "main": "lib/gerber-to-svg.js", |
177037
4656