mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-02 20:51:23 -07:00
brim bounding box is now shifted w.r.t. plate origin, need to modify the no-brim shift the same way. Change-Id: Iefa7287e2848aadbfc4a468bca394ecec48a1e7c
30 lines
980 B
C++
30 lines
980 B
C++
#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
|
|
ExtrusionEntityCollection make_brim_auto(const Print &print, PrintTryCancel try_cancel, Polygons &islands_area);
|
|
|
|
} // Slic3r
|
|
|
|
#endif // slic3r_Brim_hpp_
|