Open franknoirot opened 6 months ago
We have a circle function tho so we should use that.
I think we should add a rectangle function too then to the stdlib. it just makes the code a lot cleaner
Yeah I'd like that @jessfraz as long as we can still tag each segment of the rectangle through the stdlib function.
I agree on the circle function but it's currently called unstable_stdlib_circle
so I didn't think that should be included in generated code.
yeah we should make those first class and use them
Jess I disagree about stblib functions for rectangle, I like the proposal Frank had for the tag ability https://github.com/KittyCAD/modeling-app/issues/1500
Add a sketch tool that generates a rectangle for the user.
User flow
Code generation
I don't think we should generate new functions for users automatically unless we are prepared to automatically reuse them intelligently on their behalf with later interactions. To avoid that complexity, here is my proposed code generation:
Additional resources