mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-18 01:26:49 +08:00
Gyroid infill - turned off bridge flow and adjusted the density multiplier to compensate
This commit is contained in:
parent
c06cf009eb
commit
b429b39abe
@ -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);
|
||||
|
||||
|
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user