mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-14 02:07:54 -06:00
fix bed mesh for multi plate
This commit is contained in:
parent
656101dc79
commit
e74d366791
1 changed files with 3 additions and 3 deletions
|
@ -630,9 +630,9 @@ GeometryBuffer Bed3D::update_bed_triangles() const
|
||||||
BoundingBoxf3 build_volume;
|
BoundingBoxf3 build_volume;
|
||||||
|
|
||||||
if (!m_build_volume.valid()) return new_triangles;
|
if (!m_build_volume.valid()) return new_triangles;
|
||||||
|
auto bed_ext = get_extents(m_bed_shape);
|
||||||
(*model_offset_ptr)(0) = 0;//m_build_volume.bounding_volume2d().min.x();
|
(*model_offset_ptr)(0) = m_build_volume.bounding_volume2d().min.x() - bed_ext.min.x();
|
||||||
(*model_offset_ptr)(1) = 0; // m_build_volume.bounding_volume2d().min.y();
|
(*model_offset_ptr)(1) = m_build_volume.bounding_volume2d().min.y() - bed_ext.min.y();
|
||||||
(*model_offset_ptr)(2) = -0.41 + GROUND_Z;
|
(*model_offset_ptr)(2) = -0.41 + GROUND_Z;
|
||||||
|
|
||||||
std::vector<Vec2d> new_bed_shape;
|
std::vector<Vec2d> new_bed_shape;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue