CadQuery / CadQuery/cq-cli

Build multiple file types in one go

Ouverte
#33 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Python
Étoiles
30
Forks
10
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Commencez par lire main.py et suivre la manière dont cq-cli analyse --outfile et --codec une fois le résultat du build CadQuery produit. Vérifiez le comportement avec les exemples STEP, STL et GLB de l’issue ; c’est terminé lorsqu’une invocation prend en charge plusieurs sorties sans répéter le build CadQuery.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
python
Domaine
cli
Type d'issue
Fonctionnalité
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
45/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.