Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support/ Scale Arbitrary GDS Units #48

Open
dan-fritchman opened this issue Jun 22, 2024 · 0 comments
Open

Support/ Scale Arbitrary GDS Units #48

dan-fritchman opened this issue Jun 22, 2024 · 0 comments

Comments

@dan-fritchman
Copy link
Owner

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> {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant