mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Refactoring: moved most of the low-level G-code to the Slic3r::GCode::Base class. Cleanup of the retraction and wipe logic.
This commit is contained in:
parent
33edda0a69
commit
167df0ab87
11 changed files with 403 additions and 177 deletions
|
@ -12,6 +12,8 @@
|
|||
~Extruder();
|
||||
void reset();
|
||||
double extrude(double dE);
|
||||
double retract(double length, double restart_extra);
|
||||
double unretract();
|
||||
|
||||
int id() const
|
||||
%code%{ RETVAL = THIS->id; %};
|
||||
|
|
|
@ -110,4 +110,10 @@ Point::coincides_with(point_sv)
|
|||
%code{% RETVAL = THIS->y; %};
|
||||
double z()
|
||||
%code{% RETVAL = THIS->z; %};
|
||||
void set_x(double val)
|
||||
%code{% THIS->x = val; %};
|
||||
void set_y(double val)
|
||||
%code{% THIS->y = val; %};
|
||||
void set_z(double val)
|
||||
%code{% THIS->z = val; %};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue