Question i need to fill a 'container'

acidflash

Active member
Joined
Oct 23, 2008
Messages
29
Programming Experience
1-3
Hello,

I have a small project that i am working on and i am stuck and i am not sure how to make this work. I need ideas, and some sample code if possible. I have dimensions, for example, 180cm x 100 cm x 4 cm ; i need to fill a 'container' with several items of these dimensions and other dimensions aswell. What i am not able to think up, is how do i go about subtracting the dimensions from a fixed container length, width, and height, and continuing to do this for each new item, with the variation in dimensions. any help is much appreciated. thanks in advance.

acidflash.
 
I have a small project that i am working

I beg to differ :D

Firstly, read [ame="http://www.vbforums.com/showthread.php?t=569084"]this thread[/ame] for a XY example with only one size of box. Once you start trying to add different size boxes, it gets more complicated. When you add the Z factor .... :eek:
 
Back
Top