Export CTM from Rhino


I need to convert a large amount of meshes from rhino to CTM files. There is no export option for this file type in Rhino, so I currently export the meshes as obj file and then use an other program to export from obj to ctm. Is there a faster way to do this?

Hi Anne,
I wonder whether you could use OpenCTM in python ?

It seems to be compatible with python 2.7 and to be written in pure python so it should run within Rhino

Hmm I haven’t come across .CTM before. looks like a pretty complex binary file format with lots of compression.

I don’t fancy implementing it for fun.

Luckily it looks like they have a command line tool here

Shouldn’t be much work to get it make a rhino script to launch this for you

1 Like