mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 10:51:22 +00:00
remove mesh origin snapping
This commit is contained in:
@@ -9,7 +9,7 @@ namespace Slic3r {
|
||||
// Inherits from GCode and overrides virtual hooks to:
|
||||
// - Create a BeltGCodeWriter instead of a plain GCodeWriter
|
||||
// - Write belt configuration to the G-code header
|
||||
// - Update per-axis origin snap when switching instances
|
||||
// - Adjust the origin for global pre-slice transforms when switching instances
|
||||
// - Disable arc fitting (G2/G3 not supported on belt printers)
|
||||
class BeltGCode : public GCode
|
||||
{
|
||||
@@ -18,11 +18,6 @@ protected:
|
||||
void write_belt_header(GCodeOutputStream &file, const Print &print) override;
|
||||
void on_set_origin(const PrintObject *obj, const Point &inst_shift) override;
|
||||
bool should_disable_arc_fitting() const override { return true; }
|
||||
|
||||
private:
|
||||
// Per-axis origin snap config (set during init, used in on_set_origin).
|
||||
bool m_origin_snap[3] = {false, false, false};
|
||||
double m_origin_snap_offset[3] = {0., 0., 0.};
|
||||
};
|
||||
|
||||
} // namespace Slic3r
|
||||
|
||||
Reference in New Issue
Block a user