Fixed Perl bindings of Clipper after Clipper was adapted to Slic3r::Point
This commit is contained in:
parent
ea26581959
commit
1d588dad90
@ -20,10 +20,10 @@ _constant()
|
|||||||
OUTPUT: RETVAL
|
OUTPUT: RETVAL
|
||||||
|
|
||||||
Polygons
|
Polygons
|
||||||
offset(polygons, delta, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
offset(polygons, delta, joinType = Slic3r::ClipperLib::jtMiter, miterLimit = 3)
|
||||||
Polygons polygons
|
Polygons polygons
|
||||||
const float delta
|
const float delta
|
||||||
ClipperLib::JoinType joinType
|
Slic3r::ClipperLib::JoinType joinType
|
||||||
double miterLimit
|
double miterLimit
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = offset(polygons, delta, joinType, miterLimit);
|
RETVAL = offset(polygons, delta, joinType, miterLimit);
|
||||||
@ -31,10 +31,10 @@ offset(polygons, delta, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
|||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
ExPolygons
|
ExPolygons
|
||||||
offset_ex(polygons, delta, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
offset_ex(polygons, delta, joinType = Slic3r::ClipperLib::jtMiter, miterLimit = 3)
|
||||||
Polygons polygons
|
Polygons polygons
|
||||||
const float delta
|
const float delta
|
||||||
ClipperLib::JoinType joinType
|
Slic3r::ClipperLib::JoinType joinType
|
||||||
double miterLimit
|
double miterLimit
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = offset_ex(polygons, delta, joinType, miterLimit);
|
RETVAL = offset_ex(polygons, delta, joinType, miterLimit);
|
||||||
@ -42,11 +42,11 @@ offset_ex(polygons, delta, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
|||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
Polygons
|
Polygons
|
||||||
offset2(polygons, delta1, delta2, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
offset2(polygons, delta1, delta2, joinType = Slic3r::ClipperLib::jtMiter, miterLimit = 3)
|
||||||
Polygons polygons
|
Polygons polygons
|
||||||
const float delta1
|
const float delta1
|
||||||
const float delta2
|
const float delta2
|
||||||
ClipperLib::JoinType joinType
|
Slic3r::ClipperLib::JoinType joinType
|
||||||
double miterLimit
|
double miterLimit
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = offset2(polygons, delta1, delta2, joinType, miterLimit);
|
RETVAL = offset2(polygons, delta1, delta2, joinType, miterLimit);
|
||||||
@ -54,11 +54,11 @@ offset2(polygons, delta1, delta2, joinType = ClipperLib::jtMiter, miterLimit = 3
|
|||||||
RETVAL
|
RETVAL
|
||||||
|
|
||||||
ExPolygons
|
ExPolygons
|
||||||
offset2_ex(polygons, delta1, delta2, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
offset2_ex(polygons, delta1, delta2, joinType = Slic3r::ClipperLib::jtMiter, miterLimit = 3)
|
||||||
Polygons polygons
|
Polygons polygons
|
||||||
const float delta1
|
const float delta1
|
||||||
const float delta2
|
const float delta2
|
||||||
ClipperLib::JoinType joinType
|
Slic3r::ClipperLib::JoinType joinType
|
||||||
double miterLimit
|
double miterLimit
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = offset2_ex(polygons, delta1, delta2, joinType, miterLimit);
|
RETVAL = offset2_ex(polygons, delta1, delta2, joinType, miterLimit);
|
||||||
|
@ -79,9 +79,9 @@ Polyline::rotate(angle, center_sv)
|
|||||||
THIS->rotate(angle, center);
|
THIS->rotate(angle, center);
|
||||||
|
|
||||||
Polygons
|
Polygons
|
||||||
Polyline::grow(delta, joinType = ClipperLib::jtSquare, miterLimit = 3)
|
Polyline::grow(delta, joinType = Slic3r::ClipperLib::jtSquare, miterLimit = 3)
|
||||||
const float delta
|
const float delta
|
||||||
ClipperLib::JoinType joinType
|
Slic3r::ClipperLib::JoinType joinType
|
||||||
double miterLimit
|
double miterLimit
|
||||||
CODE:
|
CODE:
|
||||||
RETVAL = offset(*THIS, delta, joinType, miterLimit);
|
RETVAL = offset(*THIS, delta, joinType, miterLimit);
|
||||||
|
@ -85,7 +85,7 @@ Surface::polygons()
|
|||||||
Surfaces
|
Surfaces
|
||||||
Surface::offset(delta, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
Surface::offset(delta, joinType = ClipperLib::jtMiter, miterLimit = 3)
|
||||||
const float delta
|
const float delta
|
||||||
ClipperLib::JoinType joinType
|
Slic3r::ClipperLib::JoinType joinType
|
||||||
double miterLimit
|
double miterLimit
|
||||||
CODE:
|
CODE:
|
||||||
surfaces_append(RETVAL, offset_ex(THIS->expolygon, delta, joinType, miterLimit), *THIS);
|
surfaces_append(RETVAL, offset_ex(THIS->expolygon, delta, joinType, miterLimit), *THIS);
|
||||||
|
@ -211,8 +211,8 @@ FlowRole T_UV
|
|||||||
PrintStep T_UV
|
PrintStep T_UV
|
||||||
PrintObjectStep T_UV
|
PrintObjectStep T_UV
|
||||||
SurfaceType T_UV
|
SurfaceType T_UV
|
||||||
ClipperLib::JoinType T_UV
|
Slic3r::ClipperLib::JoinType T_UV
|
||||||
ClipperLib::PolyFillType T_UV
|
Slic3r::ClipperLib::PolyFillType T_UV
|
||||||
|
|
||||||
# we return these types whenever we want the items to be cloned
|
# we return these types whenever we want the items to be cloned
|
||||||
Points T_ARRAYREF
|
Points T_ARRAYREF
|
||||||
|
Loading…
Reference in New Issue
Block a user