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

PCSCALE is irrelevant when units are used #19

Closed
ajkeller34 opened this issue Aug 18, 2017 · 1 comment
Closed

PCSCALE is irrelevant when units are used #19

ajkeller34 opened this issue Aug 18, 2017 · 1 comment

Comments

@ajkeller34
Copy link
Contributor

The PCSCALE factor used to integrate with Clipper is actually harmful when units are used.

It is necessary when no units are used so that values to the right of the decimal point are not neglected. Without units, you have no idea how many decimal points will actually matter in the output GDS file, because the database unit is not known at the time of polygon clipping.

Short-term solution: If you encounter problems, provided you use units, set this constant to 1.0.

Suggested long-term solution: remove support for unitless coordinates.

cc @eunjongkim @mtfang

@ajkeller34
Copy link
Contributor Author

cc @vtdsferreira

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