mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-23 16:51:21 -06:00
Anchoring of sparse infills can now be disabled.
This commit is contained in:
parent
03b336145f
commit
8d1e13fccd
11 changed files with 35 additions and 36 deletions
|
|
@ -33,15 +33,15 @@ public:
|
|||
struct FillParams
|
||||
{
|
||||
bool full_infill() const { return density > 0.9999f; }
|
||||
// Don't connect the fill lines around the inner perimeter.
|
||||
bool dont_connect() const { return anchor_length < 0.05f; }
|
||||
|
||||
// Fill density, fraction in <0, 1>
|
||||
float density { 0.f };
|
||||
|
||||
// Length of an infill anchor along the perimeter.
|
||||
float anchor_length { std::numeric_limits<float>::max() };
|
||||
|
||||
// Don't connect the fill lines around the inner perimeter.
|
||||
bool dont_connect { false };
|
||||
// 1000mm is roughly the maximum length line that fits into a 32bit coord_t.
|
||||
float anchor_length { 1000.f };
|
||||
|
||||
// Don't adjust spacing to fill the space evenly.
|
||||
bool dont_adjust { true };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue