mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
Ported clip_end(), length(), is_perimeter(), is_fill(), is_bridge() to XS
This commit is contained in:
parent
761f261a68
commit
ac88fbcbb0
5 changed files with 50 additions and 36 deletions
|
|
@ -22,6 +22,9 @@
|
|||
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->first_point(); %};
|
||||
Point* last_point()
|
||||
%code{% const char* CLASS = "Slic3r::Point"; RETVAL = THIS->last_point(); %};
|
||||
bool is_perimeter();
|
||||
bool is_fill();
|
||||
bool is_bridge();
|
||||
%{
|
||||
|
||||
ExtrusionLoop*
|
||||
|
|
|
|||
|
|
@ -24,6 +24,11 @@
|
|||
%code{% const char* CLASS = "Slic3r::ExtrusionPath::Collection"; RETVAL = THIS->intersect_expolygons(collection); %};
|
||||
ExtrusionEntityCollection* subtract_expolygons(ExPolygonCollection* collection)
|
||||
%code{% const char* CLASS = "Slic3r::ExtrusionPath::Collection"; RETVAL = THIS->subtract_expolygons(collection); %};
|
||||
void clip_end(double distance);
|
||||
double length();
|
||||
bool is_perimeter();
|
||||
bool is_fill();
|
||||
bool is_bridge();
|
||||
%{
|
||||
|
||||
ExtrusionPath*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue