2022-07-15 15:37:19 +00:00
|
|
|
#ifndef slic3r_Brim_hpp_
|
|
|
|
#define slic3r_Brim_hpp_
|
|
|
|
|
|
|
|
#include "Point.hpp"
|
|
|
|
|
|
|
|
#include<map>
|
|
|
|
#include<vector>
|
|
|
|
|
|
|
|
namespace Slic3r {
|
|
|
|
|
|
|
|
class Print;
|
|
|
|
class ExtrusionEntityCollection;
|
|
|
|
class PrintTryCancel;
|
|
|
|
class ObjectID;
|
|
|
|
|
|
|
|
// Produce brim lines around those objects, that have the brim enabled.
|
|
|
|
// Collect islands_area to be merged into the final 1st layer convex hull.
|
|
|
|
ExtrusionEntityCollection make_brim(const Print& print, PrintTryCancel try_cancel, Polygons& islands_area);
|
|
|
|
void make_brim(const Print& print, PrintTryCancel try_cancel,
|
|
|
|
Polygons& islands_area, std::map<ObjectID, ExtrusionEntityCollection>& brimMap,
|
|
|
|
std::map<ObjectID, ExtrusionEntityCollection>& supportBrimMap,
|
|
|
|
std::vector<std::pair<ObjectID, unsigned int>>& objPrintVec,
|
|
|
|
std::vector<unsigned int>& printExtruders);
|
|
|
|
|
|
|
|
// BBS: automatically make brim
|
2023-06-26 03:48:16 +00:00
|
|
|
ExtrusionEntityCollection make_brim_auto(const Print &print, PrintTryCancel try_cancel, Polygons &islands_area);
|
|
|
|
|
2022-07-15 15:37:19 +00:00
|
|
|
} // Slic3r
|
|
|
|
|
|
|
|
#endif // slic3r_Brim_hpp_
|