# Mesh to\_off method?

**URL:** <https://forum.compas-framework.org/t/mesh-to-off-method/329>\
**Category:** compas\
**Created:** [April 7, 2020, 3:15pm UTC](https://forum.compas-framework.org/t/mesh-to-off-method/329 "2020-04-07T15:15:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sercan](https://avatars.discourse-cdn.com/v4/letter/s/848f3c/32.png) [@sercan](https://forum.compas-framework.org/u/sercan)\
**Post date:** [April 7, 2020, 3:15pm UTC](https://forum.compas-framework.org/t/mesh-to-off-method/329/1 "2020-04-07T15:15:30Z")

</div>

Hi, is there a method already for serializing compas mesh to .off?  
thanks!

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [April 7, 2020, 3:37pm UTC](https://forum.compas-framework.org/t/mesh-to-off-method/329/2 "2020-04-07T15:37:57Z")

</div>

yes, `to_off` is available since `0.15.5`

---

<div class="post-metadata">

**Author:** ![tomvanmele](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.compas-framework.org/tomvanmele/32/13_2.png) [@tomvanmele](https://forum.compas-framework.org/u/tomvanmele)\
**Post date:** [April 7, 2020, 3:39pm UTC](https://forum.compas-framework.org/t/mesh-to-off-method/329/3 "2020-04-07T15:39:39Z")

</div>

note however, that it just serializes the geometry for now. so the attribute info will get lost… if you need full serialisation, use `to_json`…
