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

Rethink positive/negative layering #23

Open
SjoerdOptLand opened this issue Nov 2, 2012 · 0 comments
Open

Rethink positive/negative layering #23

SjoerdOptLand opened this issue Nov 2, 2012 · 0 comments

Comments

@SjoerdOptLand
Copy link
Member

Currently, there is an infinite list of even (positive) and odd (negative) layers in an Image. To avoid collisions we now adopt a layer map:

0-9: ground plane with gaps and the like
10-19: traces
20-29: vias

The inconvenience being the inflexibility of the number of layers. Too many, because some parsers don't like empty layers. Too little, because we might want to draw complicated stuff...

How about adding layers for every object (in draw() order) and finally merging equal layers and removing empty layers?

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