How to adjust floor storage to be like the picture
floor storage capacity 132
1st floor holds 48
2nd floor holds 48
3rd floor holds 36
How to adjust floor storage to be like the picture
floor storage capacity 132
1st floor holds 48
2nd floor holds 48
3rd floor holds 36
It looks like what you're trying to do isn't necessarily a rack, so much as a certain stacking order in a space like a queue. The image you're showing isn't a rack, in that you can pull the bottom, or middle, or top objects out any time, but more of a stack of items in a queue.
Regardless of whether you use a queue or a rack, in order to create the visual stack you're looking for, you'll want to write some custom "Set Location" or setloc() command logic in the OnEntry trigger of the queue or rack. This will let you visually determine where to put the items.
In your case, where you have full pallets being stacked. The way you're going to want to visually represent this as on top of each other. You'll have to set the z loc of the top items as the sum of the heights of all the objects below it.
To give you an idea of how to create a stack of items you can see the packing logic we have for pallets.
Object item = i; Object current = c; Object lastitem = item.prev; /**Default Packing Method*/ // Check to see if the flowitem is the first one in if (current.subnodes.length == 1) { item.setLocation(0, 0, current.size.z); return 0; } // Check if there is space to the right of the last item if (current.size.x - (lastitem.location.x + lastitem.size.x) >= item.size.x) { item.setLocation(lastitem.location.x + lastitem.size.x, lastitem.location.y, lastitem.location.z); return 0; } // Check below the last item -the math is weird because the position is less than 0 if (current.size.y - (lastitem.size.y - lastitem.location.y) >= item.size.y) { item.setLocation(0, -1 * (lastitem.size.y - lastitem.location.y), lastitem.location.z); return 0; } // Place the new item above the last one item.setLocation(0, 0, lastitem.location.z + lastitem.size.z);
You'll be writing something similar for yours, but you'll want to have something different when you get to row 3 since only 2 pallets are stacked on row 3.
7 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved