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

Depth-map SVG support #25

Open
WillAdams opened this issue Mar 5, 2020 · 4 comments
Open

Depth-map SVG support #25

WillAdams opened this issue Mar 5, 2020 · 4 comments
Labels

Comments

@WillAdams
Copy link

Please add support for a depth-mapped SVG export where the geometry is analyzed and each element is filled (say white is the top of the object, 50% a cut halfway through it, black is a perimeter/profile cut through the stock)

@GilesBathgate
Copy link
Owner

@WillAdams would this be the same as for example using the slice() module at different heights within the model, and then exporting each slice to SVG, then finally combining the resulting SVG slices into a single svg which each slice set to a different color?

@WillAdams
Copy link
Author

Yes, that is exactly what I am describing.

In retrospect not sure if it's worth the effort --- there aren't any CAM tools which would directly make use of this, so one would still have to manually assign the tool paths, but the effective color-coding might be helpful to folks.

@GilesBathgate
Copy link
Owner

@WillAdams Well I was thinking its a basic test output from the CAM output feature. I'll have a think as to how It can be implemented.

@WillAdams
Copy link
Author

WillAdams commented Jul 14, 2022

For an example of this sort of thing, but w/ colour-coding, see:

https://github.com/crozone/openscad-trotec-export

(which sort of colour-coding would probably be more useful)

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

No branches or pull requests

2 participants