MATLAB Answers


Graphical Shape Packing (2D)

Asked by ITgreybeard on 19 Nov 2012

Are there libraries within MATLAB that would help me pack a variety of 2D shapes and sizes into a 2D field? Each instance has a value based on its size and shape, and mixes of these must fall within certain proportional ranges.

Additionally, each instance must be placed no closer than a given distance from another, nor must an instance be placed less than a given distance from the edge of the field.

Lastly(?), some shapes and sizes are small enough to fit inside 2D holes that exist within other shapes and sizes.

I would expect that simulation is part of the process to obtain what is a near-optimal solution.


Log in to comment.

0 Answers

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today