Skip to content

Add functions pvgridder.extract_layer() and pvgridder.slice_vertical() - #56

Merged
keurfonluu merged 6 commits into
mainfrom
feat/extract-layer
May 26, 2026
Merged

Add functions pvgridder.extract_layer() and pvgridder.slice_vertical()#56
keurfonluu merged 6 commits into
mainfrom
feat/extract-layer

Conversation

@keurfonluu

Copy link
Copy Markdown
Collaborator
  • Added: function pvgridder.extract_layer() to extract a specific layer given its ID from a mesh generated by pvgridder.MeshStack3D().
  • Added: function pvgridder.slice_vertical() to extract a vertical slice given a 2D line/polyline from a 3D mesh.

Reminders:

  • Run invoke ruff to make sure the code follows the style guide,
  • Add tests for new features or tests that would have caught the bug that you're fixing,
  • Write detailed docstrings for all functions, classes and/or methods,
  • If adding new functionality, unit test it and add it to the documentation.

@keurfonluu keurfonluu self-assigned this May 26, 2026
@keurfonluu
keurfonluu merged commit aa3ab3b into main May 26, 2026
10 checks passed
@keurfonluu
keurfonluu deleted the feat/extract-layer branch May 26, 2026 10:41
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.

1 participant