Lemmy released the source code of his plugin. This plugin allow you to extract the geometry with inline textures.

Download it from here.