Build multiple file types in one go
- Lenguaje dominante
- Python
- Estrellas
- 30
- Forks
- 10
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Empieza leyendo main.py y siguiendo cómo cq-cli analiza --outfile y --codec después de producirse el resultado de compilación de CadQuery. Verifica el comportamiento con los ejemplos STEP, STL y GLB del issue; se considera terminado cuando una invocación admite varias salidas sin repetir la compilación de CadQuery.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python
- Área
- cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100