mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
fix default bed triangles and check_outside & intersect_instance
This commit is contained in:
parent
0d20f13196
commit
87ba3263cc
3 changed files with 15 additions and 10 deletions
|
@ -346,8 +346,8 @@ public:
|
|||
const BoundingBox get_bounding_box_crd();
|
||||
BoundingBoxf3 get_build_volume()
|
||||
{
|
||||
Vec3d up_point(m_origin.x() + m_width, m_origin.y() + m_depth, m_origin.z() + m_height);
|
||||
Vec3d low_point(m_origin.x(), m_origin.y(), m_origin.z());
|
||||
Vec3d up_point = m_bounding_box.max + Vec3d(0, 0, m_origin.z() + m_height);
|
||||
Vec3d low_point = m_bounding_box.min + Vec3d(0, 0, m_origin.z());
|
||||
BoundingBoxf3 plate_box(low_point, up_point);
|
||||
return plate_box;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue