mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-09-27 19:01:02 +00:00
Part 3.2: decouple axis remapping, enable viewing settings in Developer mode or when Belt mode is active
This commit is contained in:
committed by
Joseph Robertson
parent
c7aa4ca3ef
commit
44eebdb8ad
@@ -15,11 +15,9 @@ class BeltGCodeWriter : public GCodeWriter
|
||||
public:
|
||||
BeltGCodeWriter() : GCodeWriter() {}
|
||||
|
||||
// Belt configuration
|
||||
// Belt configuration (axis remap is inherited from GCodeWriter)
|
||||
void set_belt_angle(double angle_deg);
|
||||
bool is_belt_printer() const { return m_belt_angle_rad != 0.; }
|
||||
void set_axis_remap(int rx, int ry, int rz);
|
||||
void set_build_volume_max(const Vec3d &max);
|
||||
void set_belt_back_transform(const PrintConfig &config);
|
||||
void set_origin_snap(int axis, bool enable, double offset, double bbox_min);
|
||||
Vec3d to_machine_coords(const Vec3d &pos) const;
|
||||
@@ -37,10 +35,6 @@ protected:
|
||||
|
||||
private:
|
||||
double m_belt_angle_rad = 0.;
|
||||
int m_remap_x = 0;
|
||||
int m_remap_y = 1;
|
||||
int m_remap_z = 2;
|
||||
Vec3d m_build_vol_max = Vec3d::Zero();
|
||||
BeltBackTransform m_belt_back_transform;
|
||||
bool m_origin_snap[3] = {false, false, false};
|
||||
double m_origin_offset[3] = {0., 0., 0.};
|
||||
|
||||
Reference in New Issue
Block a user