Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2016-10-13 17:00:22 +0300
committerbubnikv <bubnikv@gmail.com>2016-10-13 17:00:22 +0300
commit8f40d9b34ea75c5e772dfb4aab18554c49536f8c (patch)
tree4a16483206f4bba2541f9f24f7aae30573d63ba2 /xs/src/libslic3r/Surface.hpp
parentc16eca006512562b7f96f1941057749f044d31f5 (diff)
Initial implementation of C++ supports,
some documentation of the existing code.
Diffstat (limited to 'xs/src/libslic3r/Surface.hpp')
-rw-r--r--xs/src/libslic3r/Surface.hpp22
1 files changed, 20 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Surface.hpp b/xs/src/libslic3r/Surface.hpp
index 7f2c09dab..6bed96a0c 100644
--- a/xs/src/libslic3r/Surface.hpp
+++ b/xs/src/libslic3r/Surface.hpp
@@ -6,11 +6,29 @@
namespace Slic3r {
-enum SurfaceType { stTop, stBottom, stBottomBridge, stInternal, stInternalSolid, stInternalBridge, stInternalVoid, stPerimeter };
+enum SurfaceType {
+ // Top horizontal surface, visible from the top.
+ stTop,
+ // Bottom horizontal surface, visible from the bottom, printed with a normal extrusion flow.
+ stBottom,
+ // Bottom horizontal surface, visible from the bottom, unsupported, printed with a bridging extrusion flow.
+ stBottomBridge,
+ // Normal sparse infill.
+ stInternal,
+ // Full infill, supporting the top surfaces and/or defining the verticall wall thickness.
+ stInternalSolid,
+ // 1st layer of dense infill over sparse infill, printed with a bridging extrusion flow.
+ stInternalBridge,
+ // stInternal turns into void surfaces if the sparse infill is used for supports only,
+ // or if sparse infill layers get combined into a single layer.
+ stInternalVoid,
+ // Inner/outer perimeters.
+ stPerimeter
+};
class Surface
{
- public:
+public:
SurfaceType surface_type;
ExPolygon expolygon;
double thickness; // in mm