diff options
author | bubnikv <bubnikv@gmail.com> | 2016-10-13 17:00:22 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2016-10-13 17:00:22 +0300 |
commit | 8f40d9b34ea75c5e772dfb4aab18554c49536f8c (patch) | |
tree | 4a16483206f4bba2541f9f24f7aae30573d63ba2 /xs/src/libslic3r/Surface.hpp | |
parent | c16eca006512562b7f96f1941057749f044d31f5 (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.hpp | 22 |
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 |