Scalable precise solid transition for future energy and medicine