Skip to content

Support/ Scale Arbitrary GDS Units #48

@dan-fritchman

Description

@dan-fritchman

Thus far we have the tacit assumption that importable GDSII's have one of a handful of values for their GdsUnits: 1nm, 1µm, etc.
In practice this has generally been the case. Until it ain't. And on some recently encountered examples, it ain't.
Layout21's internal units can retain the relatively coarse order-of magnitude setting, so long as we scale GDS coordinates, probably around here:

fn import_units(&mut self, units: &gds21::GdsUnits) -> LayoutResult<Units> {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions