Anjan Contractor’s 3D food printer might evoke visions of the “replicator” popularized in Star Trek, from which Captain Picard was constantly interrupting himself to order tea. And indeed Contractor’s company, Systems & Materials Research Corporation, just got a six month, $125,000 grant from NASA to create a prototype of his universal food synthesizer.

But Contractor, a mechanical engineer with a background in 3D printing, envisions a much more mundane—and ultimately more important—use for the technology. He sees a day when every kitchen has a 3D printer, and Earth’s 12 billion people feed themselves customized, nutritionally-appropriate meals synthesized one layer at a time, from cartridges of powder and oils they buy at the corner grocery store. Contractor’s vision would mean the end of food waste, because the powder his system will use is shelf-stable for up to 30 years, so that each cartridge, whether it contains sugars, complex carbohydrates, protein or some other basic building block, would be fully exhausted before being returned to the store.

Ubiquitous food synthesizers would also create new ways of producing the basic calories on which we all rely. Since a powder is a powder, the inputs could be anything that contain the right organic molecules. We already know that eating meat is environmentally unsustainable, so why not get all our protein from insects?

Read the full story on Quartz.