Ajout de la génération d'un PDF contenant tous les tubes (une page par tube)

This commit is contained in:
Youen 2023-11-08 19:28:45 +01:00
parent 91a85e0f26
commit 7b047aa45b

View file

@ -19,3 +19,6 @@ git archive HEAD . | tar -x -C dist/FCStd
# Start freecad to run the script. We must start freecad with GUI (otherwise we can't export colors). We start it hidden in a virtual framebuffer (xvfb) so that it can run cleanly in the background. # Start freecad to run the script. We must start freecad with GUI (otherwise we can't export colors). We start it hidden in a virtual framebuffer (xvfb) so that it can run cleanly in the background.
xvfb-run $FREECAD tools/export-all-parts.py xvfb-run $FREECAD tools/export-all-parts.py
# Concatenate all PDFs in a single file
pdfunite dist/PDF/tubes/* dist/PDF/tubes.pdf