From ea2c021427dddcddb8a4e9e41c0f649dd727fdf9 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Tue, 25 Mar 2025 17:01:31 +0100 Subject: [PATCH] FIX: Fix missing polygon primitives declaration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /run/build/BambuStudio/src/libslic3r/GCode/WipeTower.hpp:31:12: error: ‘TriangleMesh’ does not name a type 31 | static TriangleMesh its_make_rib_tower(float width, float depth, float height, float rib_length, float rib_width, bool fillet_wall); | ^~~~~~~~~~~~ /run/build/BambuStudio/src/libslic3r/GCode/WipeTower.hpp:33:12: error: ‘Polygon’ does not name a type 33 | static Polygon rib_section(float width, float depth, float rib_length, float rib_width, bool fillet_wall); | ^~~~~~~ /run/build/BambuStudio/src/libslic3r/GCode/WipeTower.hpp:200:21: error: ‘Polylines’ was not declared in this scope 200 | std::map get_outer_wall() const | ^~~~~~~~~ --- src/libslic3r/GCode/WipeTower.hpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libslic3r/GCode/WipeTower.hpp b/src/libslic3r/GCode/WipeTower.hpp index 125009419..4ccf4d93e 100644 --- a/src/libslic3r/GCode/WipeTower.hpp +++ b/src/libslic3r/GCode/WipeTower.hpp @@ -8,6 +8,9 @@ #include #include "libslic3r/Point.hpp" +#include "libslic3r/Polygon.hpp" +#include "libslic3r/Polyline.hpp" +#include "libslic3r/TriangleMesh.hpp" #include namespace Slic3r