Completely rewritten the slicing algorithm

It should work with any model now. There are still problems with some
bridges.
This commit is contained in:
Alessandro Ranellucci 2011-10-09 19:47:21 +02:00
parent ad27f25c71
commit 459577f9a2
8 changed files with 137 additions and 246 deletions

View file

@ -17,7 +17,7 @@ our @EXPORT_OK = qw(
clip_segment_complex_polygon longest_segment angle3points
);
use Slic3r::Geometry::DouglasPeucker ();
use Slic3r::Geometry::DouglasPeucker qw(Douglas_Peucker);
use XXX;
use constant PI => 4 * atan2(1, 1);