Closed Sittihel closed 10 months ago
when i use it, code have a error
Traceback (most recent call last): File "/Users/sittihel/PycharmProjects/pythonProject/main.py", line 26, in mesh_data.vectors[i] = mesh.Sphere(positions[i], sizes[i]).data ^^^^^^^^^^^ AttributeError: module 'stl.mesh' has no attribute 'Sphere'
what shall i do?
I'm not sure where you got that code from, but this library has never had a Sphere function anywhere :)
You're probably confusing this library with a different one
when i use it, code have a error
Traceback (most recent call last): File "/Users/sittihel/PycharmProjects/pythonProject/main.py", line 26, in
mesh_data.vectors[i] = mesh.Sphere(positions[i], sizes[i]).data
^^^^^^^^^^^
AttributeError: module 'stl.mesh' has no attribute 'Sphere'
what shall i do?