mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
WIP Brim improvements:
Fix of connecting the brim polylines: Don't connect closed contours. Some optimizations, documentation etc.
This commit is contained in:
parent
d1dfbb31ab
commit
ab6cc7085e
3 changed files with 52 additions and 38 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue