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

[FEATURE ADD] Add SVG loading and extrusion #34

Open
madhephaestus opened this issue Dec 14, 2016 · 0 comments
Open

[FEATURE ADD] Add SVG loading and extrusion #34

madhephaestus opened this issue Dec 14, 2016 · 0 comments

Comments

@madhephaestus
Copy link
Contributor

I have this feature ready to go as well as #32 and can do a clean-room import of this code if the API additions to CSG I made in #33 are approved. This includes a generic bezier path extraction in 2 dimensions for full featured SVG loading (lines and curves). I have used this feature to create an SVG in inkscape, then extrude it in JCSG. The SVG loader can detect when objects are "holes" and semi-intelligently remove holes on the fly. For a functioning example:

https://github.com/Technocopia/Graphics/blob/master/Graphics/SimplifiedLogo/simplified%20logo.svg

becomes

https://github.com/Technocopia/Graphics/blob/master/Graphics/SimplifiedLogo/simplified_logo.stl

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