How does the item library know what to put where?
Every catalogue item carries a wall affinity, clearances, price band, and finish family. When you add an item it drops at its natural wall; when you drag it, the packer auto-rotates the back against the nearest wall and slides it along the wall to avoid clashes.