Merged
Conversation
Contributor
Reviewer's Guide by SourceryThe pull request updates the Tidy3D component to fix issues with geometry handling by replacing PolySlab with Geometry, simplifies the plot_slice function, removes an obsolete test, and updates the Tidy3D version in the dependencies. Updated class diagram for Tidy3DComponentclassDiagram
class Tidy3DComponent {
+Literal reference_plane
+cached_property polyslabs() dict[str, tuple[td.Geometry, ...]]
}
class LayeredComponentBase {
}
Tidy3DComponent --|> LayeredComponentBase
note for Tidy3DComponent "Replaced PolySlab with Geometry in polyslabs method"
Updated class diagram for base_models.componentclassDiagram
class BaseComponent {
+get_layer_center(layername: str) tuple[float, float, float]
-get_vertices(layer_name: str, buffer: float)
}
note for BaseComponent "Removed get_vertices method"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Contributor
There was a problem hiding this comment.
We've reviewed this pull request using the Sourcery rules engine. If you would also like our AI-powered code review then let us know.
for more information, see https://pre-commit.ci
…d_update' into fix_tidy3d_holes_and_update
for more information, see https://pre-commit.ci
…d_update' into fix_tidy3d_holes_and_update
|
💪🎉💣 |
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by Sourcery
Update Tidy3D component handling to improve geometry processing and visualization, and update Tidy3D dependency version
New Features:
Bug Fixes:
Enhancements:
Build:
Tests:
Chores:
properly removes holes from shapely shapes, such as rings
fixes #565