# # GRAS Example 2 File # # This example environment contains a puma robot with a few boxes in the scene # import "Objects/Basics.ggf" import "Objects/PumaRobot.ggf" object "Little Box" { node () { Color = (1, 1, 0); // The RGB Color of the node. Vertices = ((-40, 40,-40), ( 40, 40,-40), (-40,-40,-40), (40,-40,-40), (-40, 40, 40), ( 40, 40, 40), (-40,-40, 40), (40,-40, 40)); Box = (0, 1, 2, 3, 4, 5, 6, 7); } } environment "Puma Example with Boxes" { object ("Puma 560 Robot", "Puma1") { Joints = (90, 35, 45, 0, 0, 0); Translation = (0, -500, 0); Rotation = (40, 50, 0); } object ("Little Box", "Box1") { Translation = (0, 500, 40); } object ("Little Box", "Box2") { Translation = (0, 500,140); } object ("Little Box", "Box3") { Translation = (0, 500,240); } // Put coordinate axis onto the display... object ("Coordinate Axis", "") {} // Put a grid on the floor while we're at it... object ("Floor Grid", "") {} }