I am looking for a way to export a mesh into stl/obj/fbx format at runtime and save it on local files of an Android phone.
How do I do this? I am willing to use a plugin(free/paid) if it exist.
I am looking for a way to export a mesh into stl/obj/fbx format at runtime and save it on local files of an Android phone.
How do I do this? I am willing to use a plugin(free/paid) if it exist.
This is really complicated since you have to read the specifications for each each format (stl/obj/fbx) and understand them in order to make one yourself. Luckily, there are many plugins out there already that can be used to export Unity mesh to stl, obj and fbx.
FBX:
UnityFBXExporter is used to export Unity mesh to fbx during run-time.
OBJ:
For obj,
ObjExporter
is used.STL:
You can use the pb_Stl plugin for STL format.