Skip to content

Commit 8a9ffee

Browse files
committed
🧑‍🦽 Fix formatting of vertices assignment in readSTL2D function
1 parent c57f8cb commit 8a9ffee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ stl_info = readSTL2D("path/to/your/file.stl")
2222
function readSTL2D(stl_file)
2323
isfile(stl_file) || error("stl_file should be a valid file path")
2424
mesh = o3d.io.read_triangle_mesh(stl_file)
25-
vertices = np.asarray(mesh.vertices) # (N, 3)
25+
vertices = np.asarray(mesh.vertices)
2626
triangles = np.asarray(mesh.triangles)
2727
aabb = mesh.get_axis_aligned_bounding_box()
2828
vmin = pyconvert(Vector, aabb.get_min_bound())

0 commit comments

Comments
 (0)