mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Make sure exclusion area is correctly rendered even in wrong orientation
This commit is contained in:
@@ -2624,6 +2624,8 @@ void PartPlate::generate_exclude_polygon(ExPolygon &exclude_polygon)
|
|||||||
exclude_polygon.contour.append({ scale_(p(0)), scale_(p(1)) });
|
exclude_polygon.contour.append({ scale_(p(0)), scale_(p(1)) });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exclude_polygon.contour.make_counter_clockwise();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool PartPlate::set_shape(const Pointfs& shape, const Pointfs& exclude_areas, Vec2d position, float height_to_lid, float height_to_rod)
|
bool PartPlate::set_shape(const Pointfs& shape, const Pointfs& exclude_areas, Vec2d position, float height_to_lid, float height_to_rod)
|
||||||
|
|||||||
Reference in New Issue
Block a user