New module to output SVG vertical sections of extrusion paths with real width and height. The commit includes a bugfix to the Polyline->grow() method and some simplification in the Line class which is now child of Polyline

This commit is contained in:
Alessandro Ranellucci 2013-04-27 15:02:13 +02:00
parent 6842114d3d
commit bc9ff47d3f
7 changed files with 138 additions and 45 deletions

View file

@ -73,11 +73,6 @@ sub is_printable {
return Slic3r::Geometry::Clipper::offset($self, -$width / 2) ? 1 : 0;
}
sub boost_polygon {
my $self = shift;
return Boost::Geometry::Utils::polygon(@$self);
}
sub wkt {
my $self = shift;
return sprintf "POLYGON(%s)",