Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug Parser error: syntax error during conversion to DXF #43

Open
dizcza opened this issue May 29, 2023 · 0 comments
Open

Bug Parser error: syntax error during conversion to DXF #43

dizcza opened this issue May 29, 2023 · 0 comments

Comments

@dizcza
Copy link
Contributor

dizcza commented May 29, 2023

During the conversion of https://github.com/dizcza/lasercut_collection/blob/master/DPS3005.scad

./convert-2d.sh DPS3005.scad dxf

I get the following error

ERROR: Parser error: syntax error in file DPS3005_2d.scad, line 6
Can't parse file 'DPS3005_2d.scad'!

and DPS3005_2d.scad starts with

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant