From 7b047aa45b60db2c6e38fa1336d375b1b2be47a9 Mon Sep 17 00:00:00 2001
From: Youen <youen.toupin@youb.fr>
Date: Wed, 8 Nov 2023 19:28:45 +0100
Subject: [PATCH] =?UTF-8?q?Ajout=20de=20la=20g=C3=A9n=C3=A9ration=20d'un?=
 =?UTF-8?q?=20PDF=20contenant=20tous=20les=20tubes=20(une=20page=20par=20t?=
 =?UTF-8?q?ube)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 tools/export-all-parts.sh | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/export-all-parts.sh b/tools/export-all-parts.sh
index cc116e8..ca9dbd6 100755
--- a/tools/export-all-parts.sh
+++ b/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.
 xvfb-run $FREECAD tools/export-all-parts.py
+
+# Concatenate all PDFs in a single file
+pdfunite dist/PDF/tubes/* dist/PDF/tubes.pdf