Implemented avoid_crossing_perimeters with VisiLibity

This commit is contained in:
Alessandro Ranellucci
2014-05-13 20:06:01 +02:00
parent a02a7f1a0f
commit 5fe5021fd7
19 changed files with 6216 additions and 13 deletions

14
xs/xsp/MotionPlanner.xsp Normal file
View File

@@ -0,0 +1,14 @@
%module{Slic3r::XS};
%{
#include <myinit.h>
#include "MotionPlanner.hpp"
%}
%name{Slic3r::MotionPlanner} class MotionPlanner {
MotionPlanner(ExPolygons islands);
~MotionPlanner();
Polyline* shortest_path(Point* from, Point* to)
%code%{ RETVAL = new Polyline(); THIS->shortest_path(*from, *to, RETVAL); %};
};