mesh3d 0.1.1 copy "mesh3d: ^0.1.1" to clipboard
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.
  • readModel works 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 ModelWarning codes, 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.
1
likes
160
points
93
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

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.

Repository (GitHub)
View/report issues

Topics

#mesh #gltf #geometry #graphics #parser

License

MIT (license)

Dependencies

archive, xml

More

Packages that depend on mesh3d