initial implementation of algorithm for #249

fix typo that put things in the wrong position

use int() builtin instead of POSIX::floor()

fix typo

use alternate method of creating local routines

remove aliases for new duplicate option

use coderefs for linear interpolate function, make binary insertion sort inline

add \n at end of die message regarding too many objects for print area

fix case where no duplication is done

fix whitespace according to slic3r coding style

assume 200x200 bed area if center is 0,0

Some cleanup to the autoarrange duplication logic
This commit is contained in:
Michael Moon authored and Alessandro Ranellucci committed 2012-04-09 15:14:07 +02:00
1 parent 7a786844f6
commit f2edfd1a76
7 files changed
+146 -21

No files matched your search

+1 -1
View File
@@ -60,7 +60,7 @@ sub new {
},
transform => {
title => 'Transform',
options => [qw(scale rotate duplicate_x duplicate_y duplicate_distance)],
options => [qw(scale rotate duplicate duplicate_x duplicate_y duplicate_distance)],
},
gcode => {
title => 'Custom G-code',