Skip to content
This repository has been archived by the owner on Sep 30, 2023. It is now read-only.

Documentations

Tokoro edited this page May 5, 2015 · 2 revisions

Documentations

Predefined Shapes

Primitives

  • Defaults
// Base component
TQPrimitive {
  // Dimensions
  xLength: 1.0     // x, length
  yWidth: 1.0      // y, width
  zDepth: 1.0      // z, depth

  // Set this true to assume the center of the shape as an origin.
  centered: false

  // Appearance
  texture: ""
  color: "red"
}
  • Box
TQBox {
  xLength: 0.5
  yWidth: 0.1
  zDepth: 0.1
}
  • Cylinder
TQCylinder {
  length: 0.5
  radius: 0.5 // alias for yWidth and zDepth
}
  • Cone
TQCone {
  length: 0.5
  radius: 0.5 // alias for yWidth and zDepth
}
  • Sphere
TQSphere {
  radius: 0.5 // alias for xLength, yWidth and zDepth
}
  • Torus
TQTorus {
  radius: 0.5
}

Composites

  • Axis
  • Coordinate
  • Grid
Clone this wiki locally