All this can be accomplished automatically, in a single pass.
Packer3d Prof and Corp versions as well as Packer3d Main online service will sequentially carry out the following operations:
1. Boxing: http://www.packer3d.com/program/features/tara [1]
2. Palletization: http://www.packer3d.com/program/features/palletising [2]
3. Pallet cargo loading: http://www.packer3d.com/program/features/overview [3]
Optimization is performed in steps 2 and 3.