model_offset function

Extract a model offset