mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-24 18:54:26 +08:00
Added simplified geometrical model for the MK3S printer.
This commit is contained in:
parent
bd8d230ca9
commit
9b09b11194
@ -24,6 +24,7 @@ static Sequential::PrinterGeometry get_printer_geometry() {
|
||||
};
|
||||
|
||||
// Just hardcode MK4 geometry for now.
|
||||
/*
|
||||
std::vector<ExtruderSlice> slices;
|
||||
slices.push_back(ExtruderSlice{ 0, CONVEX, { { { -5000000, -5000000 }, { 5000000, -5000000 }, { 5000000, 5000000 }, { -5000000, 5000000 } } } });
|
||||
slices.push_back(ExtruderSlice{ 3000000, CONVEX, { { { -10000000, -21000000 }, { 37000000, -21000000 }, { 37000000, 44000000 }, { -10000000, 44000000 } },
|
||||
@ -31,7 +32,20 @@ static Sequential::PrinterGeometry get_printer_geometry() {
|
||||
slices.push_back(ExtruderSlice{ 11000000, BOX, { { {-350000000, -23000000 }, {350000000, -23000000 }, {350000000, -35000000 }, {-350000000, -35000000 } } } });
|
||||
slices.push_back(ExtruderSlice{ 13000000, BOX, { { { -12000000, -350000000 }, { 9000000, -350000000 }, { 9000000, -39000000 }, { -12000000, -39000000 } },
|
||||
{ { -12000000, -250000000 }, {300000000, -250000000 }, {300000000, -82000000 }, { -12000000, -82000000} } } });
|
||||
*/
|
||||
|
||||
|
||||
// Geometry (simplified head model) for the MK3S printer
|
||||
std::vector<ExtruderSlice> slices;
|
||||
slices.push_back(ExtruderSlice{ 0, CONVEX, { { { -5000000, -5000000 }, { 5000000, -5000000 }, { 5000000, 5000000 }, { -5000000, 5000000 } } ,
|
||||
{ { -30000000, -12000000 }, { -14000000, -12000000 }, { -14000000, 2000000 }, { -30000000, 2000000 } } } });
|
||||
slices.push_back(ExtruderSlice{ 2000000, CONVEX, { { { -20000000, -38000000 }, { 44000000, -38000000 }, { 44000000, 18000000 }, { -20000000, 18000000 } } } });
|
||||
slices.push_back(ExtruderSlice{ 6000000, CONVEX, { { { -34000000, -43000000 }, { 37000000, -43000000 }, { 37000000, 16000000 }, { -34000000, 16000000 } },
|
||||
{ { -45000000, 9000000 }, { 37000000, 9000000 }, { 37000000, 69000000 }, { -45000000, 69000000 } } } });
|
||||
slices.push_back(ExtruderSlice{11000000, BOX, { { { -8000000, -82000000 }, { 8000000, -82000000 }, { 8000000, -36000000 }, { -8000000, -36000000 } },
|
||||
{ { -8000000, -82000000 }, { 250000000, -82000000 }, { 250000000, -300000000 }, { -8000000, -300000000 } } } });
|
||||
slices.push_back(ExtruderSlice{11000000, BOX, { { { -300000000, -35000000 }, { 300000000, -35000000 }, { 300000000, -21000000 }, { -300000000, -21000000 } } } });
|
||||
|
||||
Sequential::PrinterGeometry out;
|
||||
out.x_size = scaled(s_multiple_beds.get_bed_size().x());
|
||||
out.y_size = scaled(s_multiple_beds.get_bed_size().y());
|
||||
|
Loading…
x
Reference in New Issue
Block a user