mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			353 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			353 B
		
	
	
	
		
			Text
		
	
	
	
	
	
%module{Slic3r::XS};
 | 
						|
 | 
						|
%{
 | 
						|
#include <xsinit.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); %};
 | 
						|
};
 |