From 1ff8fc465c14021872bacf3778599fd8dee14fca Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 29 Sep 2026 17:46:50 +0000 Subject: [PATCH] Design tab: body edges 2 px wide Seen on the rig: at 1.5 px the body edges read as hairlines next to the sketch and selection strokes. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01QK4VgguuCAk2hZLWgcjJb9 --- src/slic3r/GUI/CAD/DesignSketchTool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slic3r/GUI/CAD/DesignSketchTool.cpp b/src/slic3r/GUI/CAD/DesignSketchTool.cpp index 675bdea216..f726d10beb 100644 --- a/src/slic3r/GUI/CAD/DesignSketchTool.cpp +++ b/src/slic3r/GUI/CAD/DesignSketchTool.cpp @@ -3468,7 +3468,7 @@ void DesignSketchTool::render_body_edges() const Camera& cam = wxGetApp().plater()->get_camera(); const Vec3d vd = cam.get_dir_forward(); const double px = 1.0 / std::max(cam.get_zoom(), 1e-6); - const double hw = 0.75 * px; // ~1.5 px wide + const double hw = 1.0 * px; // ~2 px wide: at 1.5 the lines read as hairlines // Pulled toward the eye by a few pixels, so the line wins the depth test against the two // faces meeting at the edge while a face in front of it still hides it. const Vec3d pull = -vd * (3.0 * px);