mesh3d 0.1.1
mesh3d: ^0.1.1 copied to clipboard
Reads .3mf, .glb, .obj and .stl in pure Dart, returning each part with its name, mesh and colour. Draws nothing, so it runs on a server too.
Changelog #
0.1.1 #
- Shorten the package description to the 180 characters pub.flutter-io.cn allows. No code changed.
0.1.0 #
First release.
- Reads
.3mf,.glb,.obj(loose or zipped with its.mtl) and.stl, binary or ASCII. readModelworks out the format from the file's content, never from its extension.- Returns parts with a stable id, a name, a mesh and a colour as
#RRGGBB. - Reports what a file asked for and the reader does not do as
ModelWarningcodes, instead of drawing it wrong in silence. - Levels units and colour across formats: metres become millimetres, and linear glTF colour comes back as the sRGB hex a person picked.