Hi Brad -- I've developed some OSG tools for PolyTrans that allow the user to load any format supported by PolyTrans and export to .osg/.ive. Due to PolyTrans licensing restrictions, this is not open source. If you're interested, email me offline and we'll see about getting you some binaries.
   -Paul


On 12/29/2010 9:32 AM, Brad Lotocki wrote:
Hello,

I'm new to the board and have a question about importing CAD models, hopefully 
someone out there can help.  My basic question is this - is there a way to 
convert or directly import native CAD formats (.stp, .stl, .asm, etc) into OSG, 
while preserving the model's coordinate frames?  I apologize if I'm not using 
the same terminology.  I had searched through your archives without luck.

Here is a little background of where I'm coming from - our team uses OSG to 
graphically simulate our lab's robot.  As the robot is moved by the operator, 
OSG moves the graphical robot to mimic the physical one.  Periodically we need 
to add another model to the OSG simulator, usually new robotic end effectors.
To date, each time we've needed to add a model, we use Solidworks or Pro/E to 
export the model to VRML format (.wrl).  That VRML file is imported into 
Blender (another open source application you're probably familiar with).  
Within Blender, we often take time to reduce complexity, or change colors, etc. 
 Then we use Blender to export to OSG format.  We then use the matrix 
transformation information in that OSG file to manipulate the graphics in our 
simulator.
This process works, but the Blender step is very time consuming and seems like 
it could be bypassed completely.

I've tried using osgconv.exe with .obj and .stl files.  Both types result in an 
OSG file which can be viewed, but it lacks the matrix transformation 
information we need.

Please let me know if you can offer any advice.
Warning - I am not very OSG savvy.  I can use the osgviewer.exe and 
osgconv.exe, and know basic command line interface operations.  Our team has an 
experienced programmer that owns the OSG side of things.  I am the CAD guy and 
hopefully can communicate any technical OSG information to our programmer.


Thanks very much,

Brad Lotocki

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





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




--
  -Paul Martz      Skew Matrix Software
                   http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to