Ported Slic3r::GCode::OozePrevention storage to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 21:01:42 +02:00
parent b43dd92766
commit 280f3f38d7
8 changed files with 42 additions and 6 deletions

View file

@ -30,6 +30,21 @@
%code{% THIS->disable_once = value; %};
};
%name{Slic3r::GCode::OozePrevention} class OozePrevention {
OozePrevention();
~OozePrevention();
bool enable()
%code{% RETVAL = THIS->enable; %};
void set_enable(bool value)
%code{% THIS->enable = value; %};
Points standby_points()
%code{% RETVAL = THIS->standby_points; %};
void set_standby_points(Points points)
%code{% THIS->standby_points = points; %};
};
%name{Slic3r::GCode::Wipe} class Wipe {
Wipe();
~Wipe();

View file

@ -178,6 +178,10 @@ Wipe* O_OBJECT_SLIC3R
Ref<Wipe> O_OBJECT_SLIC3R_T
Clone<Wipe> O_OBJECT_SLIC3R_T
OozePrevention* O_OBJECT_SLIC3R
Ref<OozePrevention> O_OBJECT_SLIC3R_T
Clone<OozePrevention> O_OBJECT_SLIC3R_T
MotionPlanner* O_OBJECT_SLIC3R
Ref<MotionPlanner> O_OBJECT_SLIC3R_T
Clone<MotionPlanner> O_OBJECT_SLIC3R_T