Skip to main content

Coordinate system

The coordinate system is based on the SVG specifications.

The x-axis is a horizontal line with increasing values going from left to right and the y-axis is a vertical-line with increasing values going from top to bottom.

Units

The default units are mils. In the future, milimeters will also be supported.

Grid size

The default display grid is 100 x 100 mils.

Angles

Angles in the coordinate system are specified as follows in the example below:

import lib

add label("angle:0")
wire left 500

branch:
wire down 500
add label("angle:90")

branch:
wire left 500
add label("angle:180")

branch:
wire up 500
add label("angle:270")

angle:0angle:90angle:180angle:270