Skp to off format... plugin
-
Hi all,
I am looking for a plugin that can convert skp file format to off format (object file format)...
right now i am converting skp file to stl file using a sketchup plugin and then converting it to off format using another software...
Any direct ways to do the same...Hoping to get a quick reply as usual.....
thanx... -
I hope it's this what you mean (I know it as .obj files):
obj exporter with materialsFor more plugins and exporters, you can have a look in the extensions index.
-
The format seems relatively simple: http://shape.cs.princeton.edu/benchmark/documentation/off_format.html
So just a case of finding someone with suitable ruby skills to write it.
edit: ...or you could just hack jims .obj exporter. As aerelius mentioned the format of .obj and .off is very similar/the same.
-
@remus said:
edit: ...or you could just hack jims .obj exporter. As aerelius mentioned the format of .obj and .off is very similar/the same.
Not the same. You can't swap them around. The structure is somewhat different.
-
Should be easy enough to write to this format. Using the
PolygonMesh
class you get everything organized in the manner the file format requires, with the exception thatPolygonMesh's
index starts at 1 instead of 0. -
can anyone write the plugin and give me... i am a newbie to both ruby and sketchup api...
thanks..
Advertisement