Shaping colloidal assemblies