Tool to combine/reduce the number of parts?


RE: Tool to combine/reduce the number of parts?
#4
(2020-02-07, 11:45)Michael Horvath Wrote: Wow, I did not know LDDMC was configurable! I will take a look at "part_types.txt", thanks. What I really want is for the program to always use the largest plates possible.

LDDMC tries to maximize the size of the parts used. However. Placing one very large part might force the use of a larger number of smaller parts, so this is not an easy problem to solve. LDDMC uses a heuristic where it always tries to cover the mosaic in the largest parts first, then the second largest, and so on. It is not guaranteed that it will always choose the optimal placement, or largest plates as you put it. For the nitty-gritty details, the source code for the heuristic is found here: https://github.com/LasseD/brickgraphics/...mizer.java
Reply
« Next Oldest | Next Newest »



Messages In This Thread
RE: Tool to combine/reduce the number of parts? - by Lasse Deleuran - 2020-02-07, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)