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

stl_boolean could accept expression rather than just two operands and an operation #4

Open
jallwine opened this issue Jan 2, 2018 · 0 comments

Comments

@jallwine
Copy link
Member

jallwine commented Jan 2, 2018

stl_boolean could accept named variables as arguments (-a selector_or_filename -b selector_or_filename -c selector_or_filename) and then accept an expression for how to combine them (+ for union, - for difference and & for intersection, I would think all with equal precedence).

An example:

# with files
stl_boolean -a a.stl -b b.stl -c c.stl “a&b-c” # would intersect a and b then subtract c.

# with streams and selector syntax suggested in #1
stl_cube | stl_torus | stl_cone | stl_boolean -a @index[0] -b @index[1] -c @index[2] “a&b-c” # would intersect the cube and torus then subtract the cone.
@jallwine jallwine changed the title stl_boolean could accept expression rather than just to operands and an operation stl_boolean could accept expression rather than just two operands and an operation Jan 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant