Skip to main content

wire

wire <direction> <length>

This commands create a wire starting from the current insertion point. More segments can be added to the wire by including more direction and length values, example:

import lib

at supply("5V")
wire down 100 right 200 down 100 right 200

5V

The example above creates a wire that:

  • goes down by 100 units
  • goes right by 200 units
  • goes down by 100 units
  • goes right by 200 units