Moved FFF support code to libslic3r/Support directory

This commit is contained in:
Vojtech Bubnik 2023-05-05 14:05:22 +02:00
parent 2873042148
commit ad203baf77
11 changed files with 42 additions and 43 deletions

View File

@ -281,10 +281,14 @@ set(SLIC3R_SOURCES
Support/SupportDebug.cpp Support/SupportDebug.cpp
Support/SupportDebug.hpp Support/SupportDebug.hpp
Support/SupportLayer.hpp Support/SupportLayer.hpp
Support/SupportMaterial.cpp
Support/SupportMaterial.hpp
Support/SupportParameters.cpp Support/SupportParameters.cpp
Support/SupportParameters.hpp Support/SupportParameters.hpp
SupportMaterial.cpp Support/TreeSupport.cpp
SupportMaterial.hpp Support/TreeSupport.hpp
Support/TreeModelVolumes.cpp
Support/TreeModelVolumes.hpp
SupportSpotsGenerator.cpp SupportSpotsGenerator.cpp
SupportSpotsGenerator.hpp SupportSpotsGenerator.hpp
Surface.cpp Surface.cpp
@ -298,10 +302,6 @@ set(SLIC3R_SOURCES
Tesselate.cpp Tesselate.cpp
Tesselate.hpp Tesselate.hpp
TextConfiguration.hpp TextConfiguration.hpp
TreeSupport.cpp
TreeSupport.hpp
TreeModelVolumes.cpp
TreeModelVolumes.hpp
TriangleMesh.cpp TriangleMesh.cpp
TriangleMesh.hpp TriangleMesh.hpp
TriangleMeshSlicer.cpp TriangleMeshSlicer.cpp

View File

@ -8,7 +8,6 @@
#include "Geometry/ConvexHull.hpp" #include "Geometry/ConvexHull.hpp"
#include "I18N.hpp" #include "I18N.hpp"
#include "ShortestPath.hpp" #include "ShortestPath.hpp"
#include "SupportMaterial.hpp"
#include "Thread.hpp" #include "Thread.hpp"
#include "GCode.hpp" #include "GCode.hpp"
#include "GCode/WipeTower.hpp" #include "GCode/WipeTower.hpp"

View File

@ -17,8 +17,8 @@
#include "MutablePolygon.hpp" #include "MutablePolygon.hpp"
#include "PrintBase.hpp" #include "PrintBase.hpp"
#include "PrintConfig.hpp" #include "PrintConfig.hpp"
#include "SupportMaterial.hpp" #include "Support/SupportMaterial.hpp"
#include "TreeSupport.hpp" #include "Support/TreeSupport.hpp"
#include "Surface.hpp" #include "Surface.hpp"
#include "Slicing.hpp" #include "Slicing.hpp"
#include "Tesselate.hpp" #include "Tesselate.hpp"
@ -27,7 +27,7 @@
#include "Fill/FillAdaptive.hpp" #include "Fill/FillAdaptive.hpp"
#include "Fill/FillLightning.hpp" #include "Fill/FillLightning.hpp"
#include "Format/STL.hpp" #include "Format/STL.hpp"
#include "SupportMaterial.hpp" #include "Support/SupportMaterial.hpp"
#include "SupportSpotsGenerator.hpp" #include "SupportSpotsGenerator.hpp"
#include "TriangleSelectorWrapper.hpp" #include "TriangleSelectorWrapper.hpp"
#include "format.hpp" #include "format.hpp"

View File

@ -22,8 +22,8 @@
#define DEBUG #define DEBUG
#define _DEBUG #define _DEBUG
#undef NDEBUG #undef NDEBUG
#include "utils.hpp" #include "../utils.hpp"
#include "SVG.hpp" #include "../SVG.hpp"
#endif #endif
#include <cassert> #include <cassert>

View File

@ -1,9 +1,9 @@
#if 1 //#ifdef SLIC3R_DEBUG #if 1 //#ifdef SLIC3R_DEBUG
#include "ClipperUtils.hpp" #include "../ClipperUtils.hpp"
#include "SVG.hpp" #include "../SVG.hpp"
#include "../Layer.hpp" #include "../Layer.hpp"
#include "SupportLayer.hpp" #include "SupportLayer.hpp"
namespace Slic3r::FFFSupport { namespace Slic3r::FFFSupport {

View File

@ -1,14 +1,14 @@
#include "ClipperUtils.hpp" #include "../ClipperUtils.hpp"
#include "ExtrusionEntityCollection.hpp" #include "../ExtrusionEntityCollection.hpp"
#include "Layer.hpp" #include "../Layer.hpp"
#include "Print.hpp" #include "../Print.hpp"
#include "SupportMaterial.hpp" #include "../Fill/FillBase.hpp"
#include "Fill/FillBase.hpp" #include "../Geometry.hpp"
#include "Geometry.hpp" #include "../Point.hpp"
#include "Point.hpp" #include "../MutablePolygon.hpp"
#include "MutablePolygon.hpp"
#include "Support/SupportCommon.hpp" #include "Support/SupportCommon.hpp"
#include "SupportMaterial.hpp"
#include <clipper/clipper_z.hpp> #include <clipper/clipper_z.hpp>
@ -40,8 +40,8 @@
#define DEBUG #define DEBUG
#define _DEBUG #define _DEBUG
#undef NDEBUG #undef NDEBUG
#include "utils.hpp" #include "../utils.hpp"
#include "SVG.hpp" #include "../SVG.hpp"
#endif #endif
#include <cassert> #include <cassert>

View File

@ -1,12 +1,12 @@
#ifndef slic3r_SupportMaterial_hpp_ #ifndef slic3r_SupportMaterial_hpp_
#define slic3r_SupportMaterial_hpp_ #define slic3r_SupportMaterial_hpp_
#include "Flow.hpp" #include "../Flow.hpp"
#include "PrintConfig.hpp" #include "../PrintConfig.hpp"
#include "Slicing.hpp" #include "../Slicing.hpp"
#include "Support/SupportLayer.hpp" #include "SupportLayer.hpp"
#include "Support/SupportParameters.hpp" #include "SupportParameters.hpp"
namespace Slic3r { namespace Slic3r {

View File

@ -9,15 +9,15 @@
#include "TreeModelVolumes.hpp" #include "TreeModelVolumes.hpp"
#include "TreeSupport.hpp" #include "TreeSupport.hpp"
#include "BuildVolume.hpp" #include "../BuildVolume.hpp"
#include "ClipperUtils.hpp" #include "../ClipperUtils.hpp"
#include "Flow.hpp" #include "../Flow.hpp"
#include "Layer.hpp" #include "../Layer.hpp"
#include "Point.hpp" #include "../Point.hpp"
#include "Print.hpp" #include "../Print.hpp"
#include "PrintConfig.hpp" #include "../PrintConfig.hpp"
#include "Utils.hpp" #include "../Utils.hpp"
#include "format.hpp" #include "../format.hpp"
#include <string_view> #include <string_view>

View File

@ -14,9 +14,9 @@
#include <boost/functional/hash.hpp> #include <boost/functional/hash.hpp>
#include "Point.hpp" #include "../Point.hpp"
#include "Polygon.hpp" #include "../Polygon.hpp"
#include "PrintConfig.hpp" #include "../PrintConfig.hpp"
namespace Slic3r namespace Slic3r
{ {