Ported Slic3r::GCode::Wipe storage to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 20:57:16 +02:00
parent 76b2e88551
commit b43dd92766
8 changed files with 69 additions and 11 deletions

View file

@ -29,3 +29,21 @@
void set_disable_once(bool value)
%code{% THIS->disable_once = value; %};
};
%name{Slic3r::GCode::Wipe} class Wipe {
Wipe();
~Wipe();
bool has_path();
void reset_path();
bool enable()
%code{% RETVAL = THIS->enable; %};
void set_enable(bool value)
%code{% THIS->enable = value; %};
Ref<Polyline> path()
%code{% RETVAL = &(THIS->path); %};
void set_path(Polyline* value)
%code{% THIS->path = *value; %};
};