We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c57f8cb commit 8a9ffeeCopy full SHA for 8a9ffee
1 file changed
src/utils.jl
@@ -22,7 +22,7 @@ stl_info = readSTL2D("path/to/your/file.stl")
22
function readSTL2D(stl_file)
23
isfile(stl_file) || error("stl_file should be a valid file path")
24
mesh = o3d.io.read_triangle_mesh(stl_file)
25
- vertices = np.asarray(mesh.vertices) # (N, 3)
+ vertices = np.asarray(mesh.vertices)
26
triangles = np.asarray(mesh.triangles)
27
aabb = mesh.get_axis_aligned_bounding_box()
28
vmin = pyconvert(Vector, aabb.get_min_bound())
0 commit comments