CadQuery / CadQuery/cq-cli

Build multiple file types in one go

Offen
#33 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Python
Sterne
30
Forks
10
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by reading main.py and tracing how cq-cli parses --outfile and --codec after the CadQuery build result is produced. Verify the behavior with the issue's STEP, STL, and GLB examples; done means one invocation supports multiple outputs without repeating the CadQuery build.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
cli
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.