Wanderernk / cutlist

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

checkbox to disable board cuts on longer side when laying out boards. Multi-sized board layouting #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. make a project with a frame that consists of 100mm 150mm 200mm width boards
2. make a layout in cutlist - the only one that can fit all them is on 200mm 
(8") board
3. note that there are some 100mm boards placed under each other by long side.

What is the expected output? What do you see instead?
I want a checkbox to disable vertical placing of boards on thicker material. Or 
m.b. to disable placing them on thicker (by, say 25%) material at all, this way 
I could make 3 runs with 100, 150 and 200 set as board width, and get full 
layout.
Or, ideally, having a way to select a list of boards, so that it will place 
150mm framing pats on 150mm board, 100mm on 100mm, 200mm on 200mm.

What version of the product are you using? On what operating system?
4.1.12 win7 64 sketchup 2014 

Please provide any additional information below.

Original issue reported on code.google.com by avam0ns...@gmail.com on 16 Oct 2014 at 10:54

GoogleCodeExporter commented 8 years ago
... among with finding tons of 1d-cut-optimization software, I also fixed it 
myself in cutlist by:
1. commenting two IFs in boards.rb around lines 715 and 750, the ones that try 
to add 
the space under the just placed board (and down to the right empty space) to 
the empty tree 
2. assigning different materials to my project's boards of different width.

Now I can just put the "use material" checkbox, select any board size wider 
than the widest I have in my project - and voila, I do have all the boards of 
different sizes properly layed out horisontally using cutlist only!

It takes minutes vs milliseconds in other tools, but who cares ;)

Please update FAQ, or add a checkbox in UI for 1d-optimization.

Original comment by avam0ns...@gmail.com on 17 Oct 2014 at 1:49

GoogleCodeExporter commented 8 years ago
attaching my modified boards.rb.
My changes are marked with "#AVA:" comment

Original comment by avam0ns...@gmail.com on 17 Oct 2014 at 1:51

Attachments: