mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-17 00:45:55 +08:00
Fix up whitespace for comments in DefaultSupportTree
This commit only deals with white space
This commit is contained in:
parent
47a824d131
commit
8207433b81
@ -440,8 +440,7 @@ void DefaultSupportTree::add_pinheads()
|
|||||||
auto nn = spheric_to_dir(polar, azimuth).normalized();
|
auto nn = spheric_to_dir(polar, azimuth).normalized();
|
||||||
|
|
||||||
// check available distance
|
// check available distance
|
||||||
AABBMesh::hit_result t = pinhead_mesh_intersect(hp, nn, pin_r,
|
AABBMesh::hit_result t = pinhead_mesh_intersect(hp, nn, pin_r, back_r, w);
|
||||||
back_r, w);
|
|
||||||
|
|
||||||
if (t.distance() < w) {
|
if (t.distance() < w) {
|
||||||
// Let's try to optimize this angle, there might be a
|
// Let's try to optimize this angle, there might be a
|
||||||
@ -780,7 +779,7 @@ void DefaultSupportTree::interconnect_pillars()
|
|||||||
double H2 = m_sm.cfg.max_dual_pillar_height_mm;
|
double H2 = m_sm.cfg.max_dual_pillar_height_mm;
|
||||||
double d = m_sm.cfg.max_pillar_link_distance_mm;
|
double d = m_sm.cfg.max_pillar_link_distance_mm;
|
||||||
|
|
||||||
//A connection between two pillars only counts if the height ratio is
|
// A connection between two pillars only counts if the height ratio is
|
||||||
// bigger than 50%
|
// bigger than 50%
|
||||||
double min_height_ratio = 0.5;
|
double min_height_ratio = 0.5;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user