We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi. With the most recent trimesh version 4.2.3 I get this:
4.2.3
>>> import trimesh as tm >>> sphere = tm.primitives.Sphere() primitive faces are immutable: not setting!
I did only minimal testing but it seems that despite the warning I get the expected primitives.
There was one oddity though which I'm not sure is related to the warning:
>>> sphere1 = tm.primitives.Sphere(radius=1, center=(0, 0, 0), subdivisions=2) >>> sphere2 = tm.primitives.Sphere(radius=1, center=(5, 0, 0), subdivisions=2) >>> sphere3 = tm.primitives.Sphere(radius=2, center=(10, 0, 0), subdivisions=2) >>> sphere4 = tm.primitives.Sphere(radius=2, center=(15, 0, 0), subdivisions=0)
Sphere 1 through 4 are lined up left to right. As you can see sphere4 (red) where we use subdivisions=0 did not change the radius.
sphere4
subdivisions=0
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Hi. With the most recent trimesh version
4.2.3
I get this:I did only minimal testing but it seems that despite the warning I get the expected primitives.
There was one oddity though which I'm not sure is related to the warning:
Sphere 1 through 4 are lined up left to right. As you can see
sphere4
(red) where we usesubdivisions=0
did not change the radius.The text was updated successfully, but these errors were encountered: