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

Scheme: Define default values for primitive shapes #484

Open
Kreyren opened this issue Dec 20, 2021 · 0 comments
Open

Scheme: Define default values for primitive shapes #484

Kreyren opened this issue Dec 20, 2021 · 0 comments

Comments

@Kreyren
Copy link
Contributor

Kreyren commented Dec 20, 2021

On OpenSCAD i like that i can do cube(); for the interpreter to render a 1x1x1 cube which feels like it makes the finding of dimensions and relations much more efficient by reducing the need to write the whole cube([1,1,1], centered = true);

Where in libfive the use of cube or (cube) is illegal -> Proposing to default default value if no argument is parsed.

FWIW i tried to contibute this, but i have no idea how the C++ generator does it.

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

No branches or pull requests

1 participant