Aug-06-2024, 12:55 AM
I am trying to use trimesh to load geometries and analyze them, but I simply can not get python/ trimesh to load them at all.
I´ve tried both .obj and .stl formats. Both not working.
I can open the files using meshlab or paint3D. I´ve updated trimesh to the latest version.
I have no idea what I should do to solve this.
I´ve tried both .obj and .stl formats. Both not working.
import trimesh def load_and_inspect_stl(file_path): mesh = trimesh.load(file_path) input_file = r"C:\Users\willy\desktop\part1.stl" load_and_inspect_stl(input_file)
Error: File ~\anaconda3\Lib\site-packages\numpy\core\fromnumeric.py:2684 in ptp
return _methods._ptp(a, axis=axis, out=out, **kwargs)
File ~\anaconda3\Lib\site-packages\numpy\core\_methods.py:220 in _ptp
umr_maximum(a, axis, None, out, keepdims),
TypeError: '_NoValueType' object cannot be interpreted as an integer
I have no idea, what´s meant by this error or where to find this '_NoValueType' objectI can open the files using meshlab or paint3D. I´ve updated trimesh to the latest version.
I have no idea what I should do to solve this.