Browse Source

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

master
Youen 1 year ago
parent
commit
7b047aa45b
  1. 3
      tools/export-all-parts.sh

3
tools/export-all-parts.sh

@ -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

Loading…
Cancel
Save