Open3d issues with PyCharm
I am trying to visualize 3D data (.stl) using open3d.
With PyCharm I am facing the issue that it does only generate a TriangleMesh from one file. Anything I try to read after the first one does not work. "Goggles v5.stl" and "Goggles v5 1.stl" are the exact same files, just different names. With following code I get the following output:
[Open3D WARNING] Unable to load file Goggles v5_1.stl with ASSIMP
TriangleMesh with 12212 points and 4742 triangles.
TriangleMesh with 0 points and 0 triangles.
When I use Python IDLE it works perfectly fine:
TriangleMesh with 12212 points and 4742 triangles.
TriangleMesh with 12212 points and 4742 triangles.
Any help is appreciated, thanks in advance and best regards!
import open3d as o3d
mesh = o3d.io.read_triangle_mesh("Goggles v5.stl")
mesh.compute_vertex_normals()
mesh.paint_uniform_color([0,1,0])
meshz = o3d.io.read_triangle_mesh("Goggles v5_1.stl")
print(mesh)
print(meshz)
请先登录再写评论。
Hi Jauslin,
I've tried to reproduce the issue, but with no success.
The only difference I made is explicitly imported io from open3d.
Could you please attach your idea.log to the reply? Any extra information regarding your setup would also be beneficial.
If anyone stumbles into the same problem: please upvote issue (it has been opened Nov 2021 but has very few upvotes).