#Inventor V2.0 ascii # all files have to start with the line above (or similar) # this Inventor file demonstrates a few nodes that might be useful Separator { Complexity { value 0.5 # how fine should the model be displayed? } Coordinate4 { # defining points in 4d point[ 0 1 0 1, 1 0 0 1, ] } NurbsCurve { # using these points to draw a NURBS curve numControlPoints 2 knotVector [0, 0, 1, 1] } } Separator { Material { ambientColor 1 0 1 diffuseColor 1 0 1 # Red Green Blue } Coordinate3 { point [ -3.997400e-01 -3.255210e-01 3.997400e-01, -3.315970e-01 -3.315970e-01 4.409720e-01, -3.407120e-01 -2.391490e-01 4.618060e-01, -4.163410e-01 -2.376300e-01 4.163410e-01 ] } IndexedLineSet { # drawing a quadrilateral in 3d coordIndex [ 0, 1, 2, 3, 0, -1 ] } } Separator { Material { diffuseColor 0 1 1 } Translation { translation -0.255210e-01 -3.997400e-01 3.997400e-01 } Sphere # a little sphere { radius 0.1 } } # and now some complex shape Separator { LightModel { model BASE_COLOR } ShapeHints { shapeType UNKNOWN_SHAPE_TYPE vertexOrdering COUNTERCLOCKWISE } PackedColor { rgba [ 0xffffff00, 0xff00ffff, 0xff00ffff, 0xff0affff, 0xff00ffff, 0xff0bffff, 0xff00ffff, 0xff00ffff, 0xff00ffff, 0xff00ffff, 0xff00ffff, 0xff000fff, 0xff00ffff, 0xff00ffff, 0xff00ff00, 0xff0000ff ] } MaterialBinding { value PER_VERTEX_INDEXED } Coordinate3 { point [ -3.750002e-01 -3.750002e-01 3.750002e-01, -3.804755e-01 -3.630308e-01 3.804755e-01, -3.873664e-01 -3.447331e-01 3.873664e-01, -3.941255e-01 -3.221853e-01 3.941255e-01, -3.630308e-01 -3.804755e-01 3.804755e-01, -3.652058e-01 -3.652058e-01 3.921825e-01, -3.698009e-01 -3.459850e-01 4.018411e-01, -3.750100e-01 -3.229868e-01 4.102145e-01, -3.447331e-01 -3.873664e-01 3.873664e-01, -3.459850e-01 -3.698009e-01 4.018411e-01, -3.490192e-01 -3.490192e-01 4.137362e-01, -3.528615e-01 -3.250234e-01 4.235599e-01, -3.221853e-01 -3.941255e-01 3.941255e-01, -3.229868e-01 -3.750100e-01 4.102145e-01, -3.250234e-01 -3.528615e-01 4.235599e-01, -3.277432e-01 -3.277432e-01 4.345141e-01 ]} QuadMesh { verticesPerColumn 4 verticesPerRow 4 } }