I tried to make different crystals in the cubic system by stacking cubes in a 3D software. However, I need to tell the software where to skip rows or stop stacking the unit cells in a specific direction else it will only make a cube.
How does this work in nature? How does the fluorite "know" where to skip rows in order to make the octahedron crystal? Does it have something to do with Bravais lattices and coordination numbers?
First I thought that the unit cell needs to look like the final shape, but I think I'm wrong there.