Uncapped and polar capped prisms of cobalt and nickel