Arbitrary Geometric Objects
Nakano
✭
in RobotStudio
Hi,
My program, I am working on, visualizes several steel panels in OpenGL, computes possible seams between the panels and the user can choose, which seams should be welded. I want to make a collision check with Robot Studio, so I have written a Robot Studio Plugin which communicates with my program and recieves the geometry information of my panels.
The problem is, that afaik I cannot create arbitrary geometric objects. I need to create prisms (see http://en.wikipedia.org/wiki/Prism_(geometry)) with an arbitrary base polygon (even non-convex polygons).
The work-around, I am using at the moment, is to export my prisms into VRML files as "IndexedFaceSets" and importing these files into Robot Studio. The problem is, that if the base polygon is non-convex it is not tesselated correctly. Is there a better method for importing this geometry into Robot Studio?
Greetings
Thomas
My program, I am working on, visualizes several steel panels in OpenGL, computes possible seams between the panels and the user can choose, which seams should be welded. I want to make a collision check with Robot Studio, so I have written a Robot Studio Plugin which communicates with my program and recieves the geometry information of my panels.
The problem is, that afaik I cannot create arbitrary geometric objects. I need to create prisms (see http://en.wikipedia.org/wiki/Prism_(geometry)) with an arbitrary base polygon (even non-convex polygons).
The work-around, I am using at the moment, is to export my prisms into VRML files as "IndexedFaceSets" and importing these files into Robot Studio. The problem is, that if the base polygon is non-convex it is not tesselated correctly. Is there a better method for importing this geometry into Robot Studio?
Greetings
Thomas
0
Comments
-
Hi Thomas,
Since an IndexedFaceSet already consists of triangles, it isn't tesselated by RobotStudio. So if there's a problem with tesselation it is not in RS (You should be able to verify that by opening the VRML file in another viewer.)
Another possible solution would be to create the complex geometry as a set of surfaces (Body.CreateSurfacePolygon, Body.CreateSurfaceRectangle). Collision detection should work just as well, since it doesn't really care if objects are solids or not.
regards,
Johannes
Johannes Weiman2006-4-21 18:52:55Johannes Weiman
Software Engineer
ABB Robotics0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 249 ScreenMaker
- 2.7K Robot Controller
- 310 IRC5
- 59 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 786 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings