initialShape attribute


  • string
  • string initialShape.startRule
  • float initialShape.origin.p{x|y|z}
  • float initialShape.origin.o{x|y|z}


The initialShape attribute contains the name and the startRule of the initial shape, as set in the inspector. It also contains the origin of the object space (defined by a position vector p and a set of euler angles o, relative to the world coordinate system). A shape's pivot is relative to the initialShape.origin. This attribute can only be read.


Wall --> print(" " + 
         print("initialShape.startRule: " + initialShape.startRule)

In this topic
  1. Syntax
  2. Description
  3. Example