/stl2gl

Python program to convert from a .stl file to OpenGL code

Primary LanguageC++

stl2gl

Python program to convert from a .stl file to OpenGL code

Requirements: Python 2.7.3

Usage:

1.-Copy stl2gl.py to the folder containing your yourstlfile.stl file.
2.-Execute "python stl2gl.py -f yourstlfile.stl"
3.-Done! 
An opengl.cpp file will be generated on the folder, with the resulting code.

One example:

3D stl part, into OpenGL

For more help, stl2gl.py --help, or in mdb@mdblabs.com