Organic Supports improvements:
Added support_tree_branch_distance parameter to UI Fixed error in calculation of placeable areas, which made some trees to cut through an object. Locked the tree tips against smoothing of their centerline path. Reduced density of tips with zero interface layers (see continuous_tips). Reduced default support_tree_top_rate to 15% Refactored placement of interfaces for readability.
This commit is contained in:
parent
ca0b218a56
commit
9ce81d6d12
10 changed files with 666 additions and 474 deletions
|
@ -122,7 +122,7 @@ struct SupportElementStateBits {
|
|||
bool use_min_xy_dist : 1;
|
||||
|
||||
/*!
|
||||
* \brief True if this Element or any parent provides support to a support roof.
|
||||
* \brief True if this Element or any parent (element above) provides support to a support roof.
|
||||
*/
|
||||
bool supports_roof : 1;
|
||||
|
||||
|
@ -193,7 +193,7 @@ struct SupportElementState : public SupportElementStateBits
|
|||
double elephant_foot_increases;
|
||||
|
||||
/*!
|
||||
* \brief The element trys not to move until this dtt is reached, is set to 0 if the element had to move.
|
||||
* \brief The element tries to not move until this dtt is reached, is set to 0 if the element had to move.
|
||||
*/
|
||||
uint32_t dont_move_until;
|
||||
|
||||
|
@ -218,6 +218,8 @@ struct SupportElementState : public SupportElementStateBits
|
|||
dst.skip_ovalisation = false;
|
||||
return dst;
|
||||
}
|
||||
|
||||
[[nodiscard]] bool locked() const { return this->distance_to_top < this->dont_move_until; }
|
||||
};
|
||||
|
||||
struct SupportElement
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue