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

Fixed dimension of CylinderStructured #577

Merged
merged 3 commits into from
Feb 3, 2020

Conversation

math-artist
Copy link
Contributor

Removed a layer of repeating points at the end of the circumference.
The dimension now provides the right number of points specified.

math-artist and others added 3 commits January 23, 2020 12:24
The structured grid generated was shorter than the length argument.
The dimension now provides the right number of points specified.
Copy link
Member

@banesullivan banesullivan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, @math-artist! LGTM

The duplicated points were unnecessary because we were using cylindrical coordinates and going around to 2pi which already duplicated the needed coordinate (np.linspace(0, 2*np.pi)

@banesullivan banesullivan merged commit 60dcaff into pyvista:master Feb 3, 2020
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.

None yet

2 participants