Skip to content

Units

LinkCAD works with physical coordinate units throughout the conversion pipeline. Understanding how units are handled is essential for accurate conversions.

Supported Units

UnitAbbreviationRelation to Meter
Nanometernm10⁻⁹ m
Micronµm10⁻⁶ m
Millimetermm10⁻³ m
Centimetercm10⁻² m
Meterm1 m
Milmil25.4 × 10⁻⁶ m
Inchin25.4 × 10⁻³ m

How Units Work

Database Units

LinkCAD’s internal database uses integer coordinates with a fixed resolution (database units). The database unit is typically 1 nanometer.

User Units

User units define the display scale. For example, with a database unit of 1 nm and user units of 1 µm, a coordinate of 1000 database units displays as 1.0 µm.

Format-Specific Units

Each format has its own unit conventions:

FormatTypical UnitsNotes
GDSIInm (database), µm (user)Defined in file header
DXFUnitlessMust be specified by user
GerberInches or mmDefined in file header
CIF1/100 µm (standard)Convention-dependent

Unit Conversion

When converting between formats with different unit systems, LinkCAD handles the scaling automatically based on:

  1. The input file’s declared units (if any)
  2. The user-specified input unit interpretation
  3. The target output units

Example

Converting GDSII (µm) to DXF (mm):

  • GDSII coordinate: 1000 µm
  • DXF output: 1.0 mm

Command Line

Specify units with the --units parameter:

Terminal window
linkcad.exe -i chip.gds -o chip.dxf `
--units micron --quit