ENH: CLI: add the gcode path check logic for cli

Change-Id: I424a93d9ca945598da861a1905da07ae14663157
This commit is contained in:
lane.wei 2023-04-14 15:21:11 +08:00 committed by Lane.Wei
parent 1a7b12fa38
commit 98f3aaa4bf
4 changed files with 17 additions and 1 deletions

View file

@ -772,6 +772,15 @@ public:
bool is_support_used() const {return m_support_used;}
bool is_BBL_Printer() const { return m_isBBLPrinter;}
void set_BBL_Printer(const bool isBBL) { m_isBBLPrinter = isBBL;}
std::string get_conflict_string() const
{
std::string result;
if (m_conflict_result.conflicted) {
result = "Found gcode path conflicts between object " + m_conflict_result.obj1 + " and " + m_conflict_result.obj2;
}
return result;
}
//BBS
static StringObjectException sequential_print_clearance_valid(const Print &print, Polygons *polygons = nullptr, std::vector<std::pair<Polygon, float>>* height_polygons = nullptr);