- start id --> operations
- id—(identifier)Unique identifier for the start rule.
- operationsA sequence of shape operations to execute.
The start keyword marks a rule as the start rule of the current rule set (i.e. the cga file).
This rule can be used not only by its id but also conveniently via the generic start, see example below.
Start rules cannot be defined in styles other than the Default style.
Reference a start rule
start Init --> start(20) // same as Init(20)
start Init(height) --> extrude(height)
import rule : "rule.cga"
Lot --> rule.start(10) // same as rule.Init(10)