Apply Douglas-Peucker to all paths before generating G-code

This commit is contained in:
Alessandro Ranellucci committed 2012-11-18 17:38:08 +01:00
1 parent 427e3c1720
commit c99ff0cfe2
5 files changed
+6 -4

No files matched your search

+2 -1
View File
@@ -57,7 +57,8 @@ use Slic3r::TriangleMesh;
eval "use Slic3r::Build";
use constant SCALING_FACTOR => 0.000001;
use constant RESOLUTION => 0.01;
use constant RESOLUTION => 0.0125;
use constant SCALED_RESOLUTION => RESOLUTION / SCALING_FACTOR;
use constant OVERLAP_FACTOR => 1;
use constant SMALL_PERIMETER_LENGTH => (6.5 / SCALING_FACTOR) * 2 * PI;
use constant LOOP_CLIPPING_LENGTH_OVER_SPACING => 0.15;