Since Pallet Stacking has become the default packing method for the pallet flowitem in 23.1, we have had multiple users contact us wondering why they were seeing items floating above pallets, with a setup that worked fine in previous versions.
The problem:
The new Pallet Stacking packing method doesn't "shrink" the pallet when items are added to a pallet which has already been packed and then emptied.
The first entering flowitem is always placed "on top" of the pallet based on its current size.
So if you fill, empty and refill a pallet, the second batch of items will be placed above the pallet's surface like in the screenshot below.
To reproduce:
Open and run the attached model.
A single box is repeatedly packed onto and then separated from a (default) pallet.
Observed behaviour:
The pallet Z size grows each time it goes through the loop, resulting in the box being placed higher and higher above the pallet each time.
Expected behaviour:
Same as the default behaviour before 23.1, items should be placed on the pallet's surface when the pallet is empty.
Proposed solution:
See Pallet Stacking With Emptying packing method in the attached model, which bases the position of the first entering tem on the original Z size of the pallet, as opposed to its current Z size.