From 7415e499aabd86c7eea0768fdf8e2dcbf7c57606 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Bartoletti?= Date: Wed, 9 Oct 2024 22:01:26 +0200 Subject: [PATCH] wip: use STL file format --- test/unit/SFCGAL/Elephant.cpp | 2 ++ test/unit/SFCGAL/Grasshopper.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/unit/SFCGAL/Elephant.cpp b/test/unit/SFCGAL/Elephant.cpp index 56f62f1a..cf821a79 100644 --- a/test/unit/SFCGAL/Elephant.cpp +++ b/test/unit/SFCGAL/Elephant.cpp @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -166,6 +167,7 @@ BOOST_AUTO_TEST_CASE(testElephant) // Save to OBJ file io::OBJ::save(*elephant, "/tmp/elephant.obj"); + io::STL::save(*elephant, "/tmp/elephant.stl"); // Add a simple test to ensure the geometry is not empty BOOST_CHECK(!elephant->isEmpty()); diff --git a/test/unit/SFCGAL/Grasshopper.cpp b/test/unit/SFCGAL/Grasshopper.cpp index a4e0d26f..07e371e6 100644 --- a/test/unit/SFCGAL/Grasshopper.cpp +++ b/test/unit/SFCGAL/Grasshopper.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include #include #include @@ -150,6 +151,7 @@ BOOST_AUTO_TEST_CASE(testCigale) // Save as OBJ file io::OBJ::save(*cigale, "/tmp/cigale.obj"); + io::STL::save(*cigale, "/tmp/cigale.stl"); BOOST_CHECK(!cigale->isEmpty()); }