numpy-stl
numpy-stl copied to clipboard
How to draw a ball
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!
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