CadQuery / CadQuery/cq-cli

Build multiple file types in one go

未关闭
#33 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
30
派生
10
PR 合并指标
30 天内没有已合并 PR

描述

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

贡献指南

这个仓库没有索引到贡献指南

调研方向

先阅读 main.py,跟踪 CadQuery 构建结果生成后 cq-cli 如何解析 --outfile 和 --codec。使用 issue 中的 STEP、STL 和 GLB 示例验证行为;当一次调用能够支持多个输出而无需重复 CadQuery 构建时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
python
领域
cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。