mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
Implement split_at_index() and split_at_first_point() in ExtrusionLoop too
This commit is contained in:
parent
0d07a2e4e6
commit
339ba9e5c3
4 changed files with 38 additions and 1 deletions
|
@ -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*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue