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

fix: discard non-surface polygons during etch and grow #27

Closed
wants to merge 1 commit into from

Conversation

htherrien
Copy link

Addresses issues #22 and #24

The etch/grow function does not consider the masking aspect of the of the underlying geometry, resulting in non-physical operations. That is, an hermetically sealed bubble can be etched or deposited into without creating a hole in it. The operation goes through all layers, even though no :through argument is specified.

This fix introduces a filter to discard all regions that are not connected to the surface at one point.
It might break the :through's intended behavior. I have not tested that parameter.

The etch/grow function does not consider the masking aspect of the
of the underlying geometry, resulting in non-physical operations.
That is, an hermetically sealed bubble can be etched or deposited
into without creating a hole in it. The operation goes through all
layers, even though no `:through` argument is specified.

This fix introduces a filter to discard all regions that are not
connected to the surface at one point.
It might break the `:through` intended behavior.
@klayoutmatthias
Copy link
Owner

Hi @htherrien,

I appreciate your efforts and even though it had been a while, many thanks for providing this PR. You did a great job identifying the problem and providing a fix!

However, I decided not to merge it. For the motivation please see #32. No offense meant.

Best regards and sorry for that,

Matthias

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

Successfully merging this pull request may close these issues.

2 participants