dart_stl 0.0.6 copy "dart_stl: ^0.0.6" to clipboard
dart_stl: ^0.0.6 copied to clipboard

A package for reading and writing STL files using structures from the vector_math package

0.0.6 #

A correction to the last update. It was the toSTL() function that was sped up by using a StringBuffer instead of string concatenation. The WriteSTL() function was not changed in the previous release. As a result toSTL() was actually faster than WriteSTL(). So now WriteSTL uses the toSTL() function internally and is now similarly fast.

0.0.5 #

Writing large files was very very slow. WriteSTL now uses direct file writing instead of concatenating a string in memory. The performance improvement is significant. In my test, writing a list of 13000 triangles sped up from 77 seconds to about 50 milliseconds. That's about a 1500X speedup.

If your use case is writing a STL to a memory buffer, toSTL(), now uses a StringBuffer instead of string concatenation and has an equally performant speedup.

0.0.4 #

Create a proper example file and updated the README Added private constructors for StlReader and StlWriter since all public APIs are static

0.0.3 #

Added API docs for all public methods. Cleaned up some obsolete code.

0.0.2 #

First publication

0.0.1 #

Initial release (not published)

1
likes
160
points
46
downloads

Documentation

API reference

Publisher

verified publishernosupports.com

Weekly Downloads

A package for reading and writing STL files using structures from the vector_math package

Homepage

License

BSD-3-Clause (license)

Dependencies

flutter, vector_math

More

Packages that depend on dart_stl