-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Add point and line segment primitives #446
Comments
Further remarks:
Currently, Studying the types, it seems like Another case to consider are current output functions, which already take abstract |
Better names for |
While trying to fix some issues with degenerate objects like cube with zero size, it occurred to me that the result of these shouldn't be an
emptySpace
we currently have but a 2D or 1D primitive.That would allow us to have 1D in core which some backends could render properly (i.e. SVG, PNG, GCode can represent points and line segments) while STL could just ignore these (possibly with a warning).
Some examples
circle 0
(orsphere 0
) would collapse into apoint
square (V2 0 10)
would collapse intolineSegment
cube (V3 0 10 10)
should already collapse intosquare
, this one we can do without additional prims.Ideally things would play nicely together when going between dimensions using extrude and slice
4D (.. or ND?) subsystem also seems to make sense 🙃
The text was updated successfully, but these errors were encountered: