loopious / cutlist

Automatically exported from code.google.com/p/cutlist
0 stars 0 forks source link

Would really love custom board size entry #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Greetings,

Love this expansion/plugin, I just have a single feature request.

I'd love to be able to manually specify (preferably in mm) the board width and 
length (would probably be good to be able to do the same with sheets).

I know that where you are these are fairly common measurements that you've 
supplied, but here, at least shopping retail, they're not so common.

Thanks

Shannon.

Original issue reported on code.google.com by fre...@gmail.com on 9 Aug 2014 at 12:16

GoogleCodeExporter commented 8 years ago
well, ATM you can ADD your PREDEFINED sizes to cutlist plugin menu, by editing 
the plugin sources in any text editor. I added the 6 meter board size this way.
Not as easy as "just enter size in mm and the tool adds it to menu", but at 
least something...

The process is partially described in wiki.
The part that is not described there, is about the UI itself.

For example, to add a new board size to menu, you need to add a line under "p 
id="boardLengthOptions""
in cutlistui.html.
It should have the same name ("value") as your new board definition in
gui.rb getLayoutOptions(a), and in reporter.rb layout_default_options and 
setBoardLeftOptions.   And don't forget to  convert mm to inches in 
setBoardLeftOptions.

Original comment by avam0ns...@gmail.com on 16 Oct 2014 at 10:41