Gyroid infill - turned off bridge flow and adjusted the density multiplier to compensate

This commit is contained in:
Lukas Matena 2018-10-15 10:52:39 +02:00
parent c06cf009eb
commit b429b39abe
2 changed files with 2 additions and 2 deletions

View file

@ -131,7 +131,7 @@ void FillGyroid::_fill_surface_single(
// no rotation is supported for this infill pattern (yet)
BoundingBox bb = expolygon.contour.bounding_box();
// Density adjusted to have a good %of weight.
double density_adjusted = std::max(0., params.density * 2.);
double density_adjusted = std::max(0., params.density * 2.44);
// Distance between the gyroid waves in scaled coordinates.
coord_t distance = coord_t(scale_(this->spacing) / density_adjusted);

View file

@ -14,7 +14,7 @@ public:
virtual Fill* clone() const { return new FillGyroid(*this); }
// require bridge flow since most of this pattern hangs in air
virtual bool use_bridge_flow() const { return true; }
virtual bool use_bridge_flow() const { return false; }
protected:
virtual void _fill_surface_single(