numpy-stl icon indicating copy to clipboard operation
numpy-stl copied to clipboard

How to draw a ball

Open 936769651 opened this issue 3 years ago • 1 comments

How do I draw a ball,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you,thank you!

936769651 avatar Nov 29 '21 03:11 936769651

Generating a sphere itself is reasonably simple: https://stackoverflow.com/questions/25253719/sphere-mesh-grid-in-python From that point on however, you will need to do triangulation which scipy can do: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.Delaunay.html

wolph avatar Nov 29 '21 14:11 wolph