mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
@@ -168,6 +168,10 @@ void FillGyroid::_fill_surface_single(
|
|||||||
// align bounding box to a multiple of our grid module
|
// align bounding box to a multiple of our grid module
|
||||||
bb.merge(align_to_grid(bb.min, Point(2*M_PI*distance, 2*M_PI*distance)));
|
bb.merge(align_to_grid(bb.min, Point(2*M_PI*distance, 2*M_PI*distance)));
|
||||||
|
|
||||||
|
// Expand the bounding box to avoid artifacts at the edges
|
||||||
|
coord_t expand = 10 * (scale_(this->spacing));
|
||||||
|
bb.offset(expand);
|
||||||
|
|
||||||
// generate pattern
|
// generate pattern
|
||||||
Polylines polylines = make_gyroid_waves(
|
Polylines polylines = make_gyroid_waves(
|
||||||
scale_(this->z),
|
scale_(this->z),
|
||||||
|
|||||||
Reference in New Issue
Block a user