mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Added parameter for pillar connection mode
This commit is contained in:
parent
41d189a355
commit
1947925263
10 changed files with 69 additions and 1 deletions
|
@ -28,6 +28,12 @@ using SlicedSupports = std::vector<SliceLayer>;
|
|||
|
||||
namespace sla {
|
||||
|
||||
enum class PillarConnectionMode {
|
||||
zigzag,
|
||||
cross,
|
||||
dynamic
|
||||
};
|
||||
|
||||
struct SupportConfig {
|
||||
// Radius in mm of the pointing side of the head.
|
||||
double head_front_radius_mm = 0.2;
|
||||
|
@ -46,6 +52,9 @@ struct SupportConfig {
|
|||
// headless pillars will have half of this value.
|
||||
double headless_pillar_radius_mm = 0.4;
|
||||
|
||||
// How to connect pillars
|
||||
PillarConnectionMode pillar_connection_mode = PillarConnectionMode::dynamic;
|
||||
|
||||
// TODO: unimplemented at the moment. This coefficient will have an impact
|
||||
// when bridges and pillars are merged. The resulting pillar should be a bit
|
||||
// thicker than the ones merging into it. How much thicker? I don't know
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue