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 2012-03-06 14:55:21 +11:00 committed by Alessandro Ranellucci
parent 7a786844f6
commit f2edfd1a76
7 changed files with 146 additions and 21 deletions

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',