Lighter implementation of the slicing algorithm to save memory and time

This commit is contained in:
Alessandro Ranellucci 2013-06-23 12:26:40 +02:00
parent ecf4099611
commit 9a904dc88d
3 changed files with 52 additions and 77 deletions

View file

@ -23,10 +23,6 @@ has 'top_infill_flow' => (is => 'rw');
has 'infill_area_threshold' => (is => 'lazy');
has 'overhang_width' => (is => 'lazy');
# collection of spare segments generated by slicing the original geometry;
# these need to be merged in continuos (closed) polylines
has 'lines' => (is => 'rw', default => sub { [] });
# collection of surfaces generated by slicing the original geometry
# divided by type top/bottom/internal
has 'slices' => (is => 'rw', default => sub { [] });