Welcome to mirror list, hosted at ThFree Co, Russian Federation.

MotionPlanner.xsp « xsp « xs - github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 89692330731bef0f766df50e68b9dc604c450969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%module{Slic3r::XS};

%{
#include <myinit.h>
#include "libslic3r/MotionPlanner.hpp"
%}

%name{Slic3r::MotionPlanner} class MotionPlanner {
    MotionPlanner(ExPolygons islands);
    ~MotionPlanner();
    
    int islands_count();
    Clone<Polyline> shortest_path(Point* from, Point* to)
        %code%{ RETVAL = THIS->shortest_path(*from, *to); %};
};