On Wednesday, June 19, 2013 3:30:41 AM UTC-2:30, Christian Gollwitzer wrote: > Am 19.06.13 04:47, schrieb andrewblun...@gmail.com: > > > However, for one part of the program I'd like to be able to create a > > > 3D model based on the user input. The model would be very basic > > > consisting of a number of lines and objects. We have 3D models of > > > each component within our CAD system so it would be great if we could > > > utilize those models. > > > > Have a look at vtk > > > > http://www.vtk.org/ > > > > Using VTK you can import CAD models and visualize them, combine to > > scenes and export. VTK has Python bindings. It is a real big library, > > but focused on polygonal models, i.e. it will happily import STL and > > OBJ, but not IGES and the like ith real curves. Then the question is how > > you'd want to export your model. VTK can export to VRML and X3D, but if > > you want to CREATE a real model by CSG of the exisiting parts, you would > > need a true CAD system. There is not much useful free stuff out there, > > you could try BRL-CAD or OpenCascade. The latter also has python > > bindings. http://www.pythonocc.org/ > > > > Christian
I don't need to create and export the model. I just want to be able to view it within the application I'm creating (without any other programs). -- http://mail.python.org/mailman/listinfo/python-list