wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
605 stars 103 forks source link

shape cant find #208

Closed Sittihel closed 10 months ago

Sittihel commented 1 year 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?

wolph commented 1 year ago

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