mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
Ported ExtrusionLoop->make_counter_clockwise()
This commit is contained in:
@@ -41,4 +41,10 @@ ExtrusionLoop::split_at_first_point()
|
||||
return this->split_at_index(0);
|
||||
}
|
||||
|
||||
bool
|
||||
ExtrusionLoop::make_counter_clockwise()
|
||||
{
|
||||
return this->polygon.make_counter_clockwise();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@ class ExtrusionLoop : public ExtrusionEntity
|
||||
Polygon polygon;
|
||||
ExtrusionPath* split_at_index(int index);
|
||||
ExtrusionPath* split_at_first_point();
|
||||
bool make_counter_clockwise();
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
%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(); %};
|
||||
bool make_counter_clockwise();
|
||||
%{
|
||||
|
||||
ExtrusionLoop*
|
||||
|
||||
Reference in New Issue
Block a user