mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 03:43:52 +00:00
Implemented split_at_index() and split_at_first_point() for Polygon
This commit is contained in:
@@ -16,6 +16,10 @@
|
||||
void scale(double factor);
|
||||
void translate(double x, double y);
|
||||
Lines lines();
|
||||
Polyline* split_at_index(int index)
|
||||
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = THIS->split_at_index(index); %};
|
||||
Polyline* split_at_first_point()
|
||||
%code{% const char* CLASS = "Slic3r::Polyline"; RETVAL = THIS->split_at_first_point(); %};
|
||||
%{
|
||||
|
||||
Polygon*
|
||||
|
||||
Reference in New Issue
Block a user