mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-26 05:56:35 +01:00
Added parameter for pillar connection mode
This commit is contained in:
1 parent
41d189a355
commit
1947925263
10 files changed
+69
-1
No files matched your search
@@ -1249,8 +1249,13 @@ bool SLASupportTree::generate(const PointSet &points,
|
||||
if(chkd >= bridge_distance) {
|
||||
result.add_bridge(sj, ej, pillar.r);
|
||||
|
||||
auto pcm = cfg.pillar_connection_mode;
|
||||
|
||||
// double bridging: (crosses)
|
||||
if(pillar_dist > 2*cfg.base_radius_mm) {
|
||||
if( pcm == PillarConnectionMode::cross ||
|
||||
(pcm == PillarConnectionMode::dynamic &&
|
||||
pillar_dist > 2*cfg.base_radius_mm))
|
||||
{
|
||||
// If the columns are close together, no need to
|
||||
// double bridge them
|
||||
Vec3d bsj(ej(X), ej(Y), sj(Z));
|
||||
|
||||
Reference in new issue
Block a user