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

Build multiple file types in one go #33

Open
julianstirling opened this issue Jul 19, 2024 · 1 comment
Open

Build multiple file types in one go #33

julianstirling opened this issue Jul 19, 2024 · 1 comment

Comments

@julianstirling
Copy link
Contributor

Currently if we want to output an STL, a STEP and a GLB we have to run all cq-cli 3 times. However as main.py runs cadquery to get the build result and then passes it into the codec, it would be possible just to repeat the codec step which should add some speed.

I can imagine semicolon separating should work:

cq-cli --infile /input/path/script.py --outfile /output/path/newfile.step;/output/path/newfile.stl;/output/path/newfile.glb

If the user specifically wanted to set codecs it could be a list that needs to be the same length

cq-cli --codec step;stl;glb --infile /input/path/script.py --outfile /output/path/newfile.step;/output/path/newfile.stl;/output/path/newfile.glb
@jmwright
Copy link
Member

@julianstirling Please review #34 to see if it addresses this need.

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

2 participants