Predefined Variables

The variables on this page are predefined for use within any DrawScript-Python script.

Adding More

This list is not final. You can suggest new functions to add to this list!

engine: shapemachine.core.engine.ShapeMachine

The instance of shapemachine.core.engine.ShapeMachine executing this rule sequence or DrawScript.

communication_layer: shapemachine.core.communication.CommunicationLayer

The instance of shapemachine.core.communication.CommunicationLayer that is being used to communicate between Rhino and the Shape Machine engine.

comm: shapemachine.core.communication.CommunicationLayer

Alias to communication_layer.