Factor out some hard-coded settings

This commit is contained in:
Alessandro Ranellucci 2012-10-29 00:23:33 +01:00
parent 1ecadc10fb
commit f2389682b6
5 changed files with 6 additions and 4 deletions

View file

@ -60,6 +60,8 @@ use constant SCALING_FACTOR => 0.000001;
use constant RESOLUTION => 0.01;
use constant OVERLAP_FACTOR => 0.5;
use constant SMALL_PERIMETER_LENGTH => (6.5 / SCALING_FACTOR) * 2 * PI;
use constant LOOP_CLIPPING_LENGTH_OVER_WIDTH => 0.15;
use constant PERIMETER_INFILL_OVERLAP_OVER_WIDTH => 0.4;
# The following variables hold the objects used throughout the slicing
# process. They should belong to the Print object, but we are keeping