you should be able to run osgconv using the commands module

import commands
result = commands.getoutput("osgconv file.stl file.osg")

-----Original Message-----
From: [email protected] on behalf of jin cheker
Sent: Wed 12/9/2009 3:16 PM
To: [email protected]
Subject: [osg-users] How to call osg converter by Python?
 
Hi,

I want to convert some .stl files into .osg files, by programming in python. Is 
there some function or package that I can use for doing that?

Thank you!

Cheers,
jin

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21188#21188





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


<<winmail.dat>>

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to