CadQuery / CadQuery/cq-cli

Build multiple file types in one go

オープン
#33 コメント 1 件 リアクション 0 件 担当者 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 の例で動作を確認します。1 回の呼び出しで CadQuery のビルドを繰り返さずに複数の出力をサポートできれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。