meshcut icon indicating copy to clipboard operation
meshcut copied to clipboard

Decrease number of dependencies needed to parse STL files

Open Harvie opened this issue 7 years ago • 2 comments

When i want to slice PLY i use examples.ply, but for STL there's quite large number of dependencies. This means that meshcut will drag these dependecies to any project which will use it. Maybe we can write some minimalistic STL processor to do the same job.

Harvie avatar Jul 11 '18 15:07 Harvie

If I remember correctly, the stl parser uses numpy-stl which depends on numpy and a library called python-utils.

numpy itself is a dependency of meshcut, so we could just get rid of the python-utils dependency. Is that what you mean ?

I'm not sure how easy STL is to parse, I haven't really looked into the details of the file format.

julienr avatar Jul 14 '18 09:07 julienr

STL seems to be pretty simple format http://www.fabbers.com/tech/STL_Format

Harvie avatar Jul 14 '18 10:07 Harvie