-
Notifications
You must be signed in to change notification settings - Fork 2
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
Primitive/Operation Requests #45
Comments
This code ideally would be entirely legitimate. The problem is there is no I think I stopped at figuring out how I wanted 2D shapes to behave. The easiest way is to treat them as 3D shapes, so let's try that first. |
I pushed the finished up the 2D API for Circles and Squares and pushed it to master. I stuck with similar constraints to what OpenSCAD imposes for now, but later I think these could be relaxed and you should be able to translate a 2D geometry in 3D space. This is a rough pass and there may be bugs in translating the resultant extrude, so I will keep this issue open. There is an example here, and output: https://github.com/sjkelly/Descartes.jl/blob/master/examples/2d.jl |
formulations for rounded boxes: https://iquilezles.org/www/articles/distfunctions/distfunctions.htm I'd actually prefer atomic issues for each subject so there are clear action items. I agree that the current naming is ambiguous for BTW: I have a policy of not looking at libfive source links since it is GPL. Descartes is MIT, so I do not want to risk any issues. |
This is probably a dumb question, but my knowledge of Julia is limited. I'm trying to do this code:
when I run
create_horse_shape
I get this error:How should I use
Circle
? Thanks.The text was updated successfully, but these errors were encountered: