mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-14 17:15:55 +08:00
Fix SLA support strut piercing into model
This commit is contained in:
parent
432629ec97
commit
5e0cbbef83
@ -519,7 +519,7 @@ bool SupportTreeBuildsteps::create_ground_pillar(const Vec3d &hjp,
|
|||||||
auto [polar, azimuth] = dir_to_spheric(dir);
|
auto [polar, azimuth] = dir_to_spheric(dir);
|
||||||
polar = PI - m_cfg.bridge_slope;
|
polar = PI - m_cfg.bridge_slope;
|
||||||
Vec3d d = spheric_to_dir(polar, azimuth).normalized();
|
Vec3d d = spheric_to_dir(polar, azimuth).normalized();
|
||||||
double t = bridge_mesh_distance(endp, dir, radius);
|
double t = bridge_mesh_distance(endp, d, radius);
|
||||||
double tmax = std::min(m_cfg.max_bridge_length_mm, t);
|
double tmax = std::min(m_cfg.max_bridge_length_mm, t);
|
||||||
t = 0.;
|
t = 0.;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user