Ported Slic3r::GCode::needs_retraction() to XS

This commit is contained in:
Alessandro Ranellucci 2015-07-01 23:14:40 +02:00
parent b4019bb438
commit 5571144c0e
4 changed files with 42 additions and 35 deletions

View file

@ -152,6 +152,8 @@
void set_origin(Pointf* pointf)
%code{% THIS->set_origin(*pointf); %};
std::string preamble();
bool needs_retraction(Polyline* travel, ExtrusionRole role)
%code{% RETVAL = THIS->needs_retraction(*travel, role); %};
std::string retract(bool toolchange = false);
std::string unretract();
Clone<Pointf> point_to_gcode(Point* point)