./convert-2d.sh DPS3005.scad dxf
ERROR: Parser error: syntax error in file DPS3005_2d.scad, line 6
Can't parse file 'DPS3005_2d.scad'!
use <lasercut.scad> ;
$fn=60;
projection(cut = false)
ECHO: [[25, 9, 20, 2], [25, 15.5, 20, 2], [25, 22, 20, 2], [25, 28.5, 20, 2], [25, 35, 20, 2], [25, 41.5, 20, 2], [25, 48, 20, 2]]
lasercutout(thickness = 3,
points = [[0, 0], [119, 0], [119, 59], [0, 59], [0, 0]]
, simple_tabs = [[180, -1.5, 0], [180, -1.5, 62], [270, 119, -1.5]]
, finger_joints = [[0, 1, 4], [180, 1, 4], [90, 1, 4], [270, 0, 4]]
)
...
Removing ECHO manually solved the problem.
During the conversion of https://github.com/dizcza/lasercut_collection/blob/master/DPS3005.scad
I get the following error
and
DPS3005_2d.scadstarts withRemoving ECHO manually solved the problem.