mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 14:44:19 -06:00
Tech ENABLE_SEQUENTIAL_LIMITS -> Show sequential print clearance regions contours while dragging objects
This commit is contained in:
parent
38657d7e4e
commit
d5c462f5a6
3 changed files with 148 additions and 32 deletions
|
@ -501,9 +501,10 @@ private:
|
|||
{
|
||||
GLModel m_fill;
|
||||
GLModel m_perimeter;
|
||||
bool m_render_fill{ true };
|
||||
|
||||
public:
|
||||
void set(const Polygons& polygons);
|
||||
void set(const Polygons& polygons, bool fill);
|
||||
void render() const;
|
||||
};
|
||||
|
||||
|
@ -752,9 +753,8 @@ public:
|
|||
}
|
||||
|
||||
#if ENABLE_SEQUENTIAL_LIMITS
|
||||
void set_sequential_print_clearance(const Polygons& polygons) {
|
||||
m_sequential_print_clearance.set(polygons);
|
||||
}
|
||||
void set_sequential_print_clearance(const Polygons& polygons, bool fill) { m_sequential_print_clearance.set(polygons, fill); }
|
||||
void update_sequential_clearance();
|
||||
#endif // ENABLE_SEQUENTIAL_LIMITS
|
||||
|
||||
const Print* fff_print() const;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue