mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-06-07 10:29:15 -07:00
WIP Brim improvements:
Fix of connecting the brim polylines: Don't connect closed contours. Some optimizations, documentation etc.
This commit is contained in:
@@ -15,7 +15,8 @@ namespace EdgeGrid {
|
||||
class Grid
|
||||
{
|
||||
public:
|
||||
Grid();
|
||||
Grid() = default;
|
||||
Grid(const BoundingBox &bbox) : m_bbox(bbox) {}
|
||||
~Grid();
|
||||
|
||||
void set_bbox(const BoundingBox &bbox) { m_bbox = bbox; }
|
||||
@@ -295,8 +296,8 @@ protected:
|
||||
BoundingBox m_bbox;
|
||||
// Grid dimensions.
|
||||
coord_t m_resolution;
|
||||
size_t m_rows;
|
||||
size_t m_cols;
|
||||
size_t m_rows = 0;
|
||||
size_t m_cols = 0;
|
||||
|
||||
// Referencing the source contours.
|
||||
// This format allows one to work with any Slic3r fixed point contour format
|
||||
|
||||
Reference in New Issue
Block a user