adaptive elpehant foot compensation, fixing

GH issues #1757 #2085 #2132 #2423 #2502 #2156 #2773 #2828 #2998 #3001
This commit is contained in:
bubnikv 2019-11-01 19:59:09 +01:00
parent f60fbecd3d
commit a72ac57fab
16 changed files with 715 additions and 52 deletions

View file

@ -105,19 +105,25 @@ public:
const std::string &color_contour,
const std::string &color_holes,
const coord_t outline_width = scale_(0.05),
const float fill_opacity = 0.5f) :
const float fill_opacity = 0.5f,
const std::string &color_points = "black",
const coord_t radius_points = 0) :
color_fill (color_fill),
color_contour (color_contour),
color_holes (color_holes),
outline_width (outline_width),
fill_opacity (fill_opacity)
fill_opacity (fill_opacity),
color_points (color_points),
radius_points (radius_points)
{}
std::string color_fill;
std::string color_contour;
std::string color_holes;
std::string color_points;
coord_t outline_width;
float fill_opacity;
coord_t radius_points;
};
static void export_expolygons(const char *path, const std::vector<std::pair<Slic3r::ExPolygons, ExPolygonAttributes>> &expolygons_with_attributes);