-
Notifications
You must be signed in to change notification settings - Fork 505
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
Multi-path polygons not supported #26
Comments
hi @stuartpb I know this has been years, but could you explain what you mean by multi-path polygons ? |
See https://en.wikibooks.org/wiki/OpenJSCAD_User_Guide#Polygon: polygon({ points: [ [0,0],[3,0],[3,3],[0,6] ], paths: [ [0,1,2],[1,2,3] ] }); // multiple paths not yet implemented A two-dimensional vector for paths specifies shapes to subtract from the initial path. See the documentation for OpenSCAD's polygon function. |
ok thanks for clarifying @stuartpb ! |
@stuartpb sorry but this functionality will not be part of V2. We are breaking from SCAD for many reasons. I think this functionality can be reproduced by simple boolean operations. If you still want this functionality then you will need to write a special ‘polygon’ function. |
That's reasonable: the documentation notes that successive polygons are just difference()d, and I've never seen a case where OpenSCAD's "lists of indexes into a flat list of points" model makes more sense for 2D polygons than multiple lists of points would. |
Thanks. |
(according to the User Guide)
I would greatly appreciate this feature, as it would allow drawing text using the same method as Spiff.scad.
The text was updated successfully, but these errors were encountered: