mauriciopoppe / quickhull3d

A JS library to find the convex hull of a finite set of 3d points
http://mauriciopoppe.github.io/quickhull3d/
MIT License
136 stars 17 forks source link

Use input STL or OBJ mesh file as input #25

Closed yvanblanchard closed 4 months ago

yvanblanchard commented 1 year ago

Hello, would it be possible to input STL or OBJ mesh file as input (TEXT or binary format, taking only the vertices) ? Thank you

z3dev commented 1 year ago

Not directly. The vertices need to be converted, and unique as well.

Take a look at JSCAD www.openjscad.xyz

mauriciopoppe commented 4 months ago

Agreed with https://github.com/mauriciopoppe/quickhull3d/issues/25#issuecomment-1547013254, the input needs to be an array of unique points.