2013-07-14 11:05:55 +00:00
|
|
|
#ifndef slic3r_Surface_hpp_
|
|
|
|
#define slic3r_Surface_hpp_
|
|
|
|
|
|
|
|
#include "ExPolygon.hpp"
|
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
|
|
|
enum SurfaceType { stTop, stBottom, stInternal, stInternalSolid, stInternalBridge, stInternalVoid };
|
|
|
|
|
|
|
|
class Surface
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
ExPolygon expolygon;
|
|
|
|
SurfaceType surface_type;
|
|
|
|
double thickness; // in mm
|
|
|
|
unsigned short thickness_layers; // in layers
|
|
|
|
double bridge_angle;
|
|
|
|
unsigned short extra_perimeters;
|
2013-09-06 16:36:38 +00:00
|
|
|
SV* to_SV_ref();
|
|
|
|
double area() const;
|
2013-07-14 11:05:55 +00:00
|
|
|
};
|
|
|
|
|
2013-07-18 17:09:07 +00:00
|
|
|
typedef std::vector<Surface> Surfaces;
|
|
|
|
|
2013-07-14 11:05:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|