mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 02:22:17 +00:00
FIX: the convexhull of first layer is wrong during making skrit
to avoid integer overflow during the polygon operations in make_brim(), plateoffset is applied during gcode generation. This results in a wrong first layer convexhull "m_first_layer_convex_hull" which is used in _make_skrit(). This patch fixs this issue. JIRA: https://jira.bambooolab.com/browse/STUDIO-3719 Change-Id: Icfe21f4dbab05cc9e1c6f668791a62f954c2e0e5 (cherry picked from commit 6286b3e447b7ac7cbc061dca435091094783f74b)
This commit is contained in:
@@ -1731,7 +1731,7 @@ void Print::process(bool use_cache)
|
||||
// BBS: m_brimMap and m_supportBrimMap are used instead of m_brim to generate brim of objs and supports seperately
|
||||
m_brimMap.clear();
|
||||
m_supportBrimMap.clear();
|
||||
m_first_layer_convex_hull.points.clear();
|
||||
m_first_layer_convex_hull.points.clear(); // BBS: plate offset is contained in this convexhull
|
||||
if (this->has_brim()) {
|
||||
Polygons islands_area;
|
||||
make_brim(*this, this->make_try_cancel(), islands_area, m_brimMap,
|
||||
|
||||
Reference in New Issue
Block a user