fix BBL bed_model stl hacks (#9882)

This commit is contained in:
Ondřej Bartas
2025-06-12 12:11:52 +02:00
committed by GitHub
parent a60b65367a
commit 5c2fe4da87
4 changed files with 1 additions and 7 deletions

Binary file not shown.

View File

@@ -619,12 +619,6 @@ void Bed3D::update_model_offset()
shift(2) = -0.03; shift(2) = -0.03;
Vec3d* model_offset_ptr = const_cast<Vec3d*>(&m_model_offset); Vec3d* model_offset_ptr = const_cast<Vec3d*>(&m_model_offset);
*model_offset_ptr = shift; *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; (*model_offset_ptr)(2) = -0.41 + GROUND_Z;
// update extended bounding box // update extended bounding box