mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06:00
External paths avoid crossing perimeters of holes
This commit is contained in:
parent
f25e5c0ec6
commit
98055de28c
2 changed files with 91 additions and 50 deletions
|
@ -41,6 +41,12 @@ public:
|
|||
std::vector<std::vector<float>> boundaries_params;
|
||||
// Used for detection of intersection between line and any polygon from boundaries
|
||||
EdgeGrid::Grid grid;
|
||||
|
||||
void clear()
|
||||
{
|
||||
boundaries.clear();
|
||||
boundaries_params.clear();
|
||||
}
|
||||
};
|
||||
|
||||
private:
|
||||
|
@ -55,10 +61,8 @@ private:
|
|||
EdgeGrid::Grid m_grid_lslice;
|
||||
// Store all needed data for travels inside object
|
||||
Boundary m_internal;
|
||||
#if 0
|
||||
// Store all needed data for travels outside object
|
||||
Boundary m_external;
|
||||
#endif
|
||||
};
|
||||
|
||||
} // namespace Slic3r
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue