From 7758332406c5b7792257460e7ab276bd28c1d474 Mon Sep 17 00:00:00 2001 From: SoftFever Date: Wed, 23 Sep 2026 14:55:19 +0800 Subject: [PATCH] Restore the Bambu Lab bed-model offset so stock BambuStudio meshes line up --- src/slic3r/GUI/3DBed.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/slic3r/GUI/3DBed.cpp b/src/slic3r/GUI/3DBed.cpp index b69ce2bdf8..3d7db8eb32 100644 --- a/src/slic3r/GUI/3DBed.cpp +++ b/src/slic3r/GUI/3DBed.cpp @@ -625,6 +625,12 @@ void Bed3D::update_model_offset() shift(2) = -0.03; Vec3d* model_offset_ptr = const_cast(&m_model_offset); *model_offset_ptr = shift; + //BBS: TODO: hack for current stl for BBL printer + if (std::string::npos != m_model_filename.find("bbl-3dp-")) + { + (*model_offset_ptr)(0) -= m_bed_shape[2].x() / 2.0f; + (*model_offset_ptr)(1) -= m_bed_shape[2].y() / 2.0f; + } (*model_offset_ptr)(2) = -0.41 + GROUND_Z; // update extended bounding box