1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-02 11:35:51 +00:00

Implement split_at_index() and split_at_first_point() in ExtrusionLoop too

This commit is contained in:
Alessandro Ranellucci
2013-07-15 23:56:01 +02:00
parent 0d07a2e4e6
commit 339ba9e5c3
4 changed files with 38 additions and 1 deletions
+4
View File
@@ -15,6 +15,10 @@
%code{% const char* CLASS = "Slic3r::Polygon"; RETVAL = new Polygon(THIS->polygon); %};
void set_polygon(SV* polygon_sv)
%code{% THIS->polygon.from_SV_check(polygon_sv); %};
ExtrusionPath* split_at_index(int index)
%code{% const char* CLASS = "Slic3r::ExtrusionPath"; RETVAL = THIS->split_at_index(index); %};
ExtrusionPath* split_at_first_point()
%code{% const char* CLASS = "Slic3r::ExtrusionPath"; RETVAL = THIS->split_at_first_point(); %};
%{
ExtrusionLoop*
+2
View File
@@ -6,6 +6,8 @@
%typemap{ExPolygon*};
%typemap{Polyline*};
%typemap{Polygon*};
%typemap{ExtrusionPath*};
%typemap{ExtrusionLoop*};
%typemap{Lines};
%typemap{SurfaceType}{parsed}{