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 import of SVG/STL #443

Open
kyletreece opened this issue Sep 9, 2023 · 3 comments
Open

Support import of SVG/STL #443

kyletreece opened this issue Sep 9, 2023 · 3 comments

Comments

@kyletreece
Copy link

Hi there!

I got the error in the title of this issue when trying to run extopenscad for an scad script that includes a call to the import function, specifically to import in an SVG file. Seems like the openscad import function is not supported in implicitCAD. Is this true, or is there some other way to bring in SVG files?

Thanks in advance for your help!

@sorki
Copy link
Contributor

sorki commented Oct 22, 2023

Hi!

Seems like the openscad import function is not supported in implicitCAD. Is this true, or is there some other way to bring in SVG files?

Yes this is true. We currently don't have support for importing SVG/STL.

Reminds me of the previous attempt to make text rendering working by @isovector at https://github.com/isovector/cad-models/blob/master/src/Text.hs so maybe if you convert SVG into polygon this could work although there might a better way that would avoid direct sampling and instead treated SVG as a first class citizen that would only be sampled during rendering.

@kyletreece
Copy link
Author

Ok got it, thank you for the reply!

@sorki sorki changed the title ExtOpenScad Module Import not in scope Support import of SVG/STL Oct 27, 2023
@sorki
Copy link
Contributor

sorki commented Oct 27, 2023

I've altered the title a bit and gonna keep this open as a reminder for us. Also labeled as Good first issue.

@sorki sorki reopened this Oct 27, 2023
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