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

Support SCAD dialect used by Lagrange Keyboard #384

Open
hasufell opened this issue Mar 25, 2021 · 8 comments
Open

Support SCAD dialect used by Lagrange Keyboard #384

hasufell opened this issue Mar 25, 2021 · 8 comments

Comments

@hasufell
Copy link

File: https://github.com/dpapavas/lagrange-keyboard/blob/master/things/right.stl

$ extopenscad -O things/right.scad 
Loading File.
Processing File.
No objects to render.
SyntaxError at line 1, column 8:
unexpected "("
expecting "="
<<ghc: 1221144 bytes, 1 GCs, 200224/200224 avg/max bytes residency (1 samples), 13M in use, 0.004 INIT (0.004 elapsed), 0.002 MUT (0.008 elapsed), 0.000 GC (0.001 elapsed) :ghc>>
@julialongtin
Copy link
Member

so, implicitcad takes scad, and generates stl, not the other way arround. :)

@hasufell
Copy link
Author

so, implicitcad takes scad, and generates stl, not the other way arround. :)

Yes, see the log:

$ extopenscad -O things/right.scad 

Merely the link is incorrect (the scad file needs to be generated). I uploaded the file here: https://gist.github.com/hasufell/360c81482d0a1f7a7d49c46b42968fff

@julialongtin
Copy link
Member

ok, looking at that scad file, I can tell you that implicitcad has no color operation, and worse for your model, has no hull operation. determining how to implement hull in a signed distance field is a hard problem.

@julialongtin
Copy link
Member

what scad generator are you using?

@hasufell
Copy link
Author

hasufell commented Apr 2, 2021

@julialongtin
Copy link
Member

farrellm/scad-clj#38

@julialongtin
Copy link
Member

Started a dialog with upstream to see if we can fix this integration for you.

@julialongtin
Copy link
Member

so, it looks like the library is not the source of the issue, but the decisions of the keyboard's designers.
switching which upstream i bother. :)

@julialongtin julialongtin changed the title Can't read stl file Support SCAD dialect used by Lagrange Keyboard Sep 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants