Skip to content

xml3d/xml3d-stl-plugin

Repository files navigation

xml3d-stl-plugin Build Status

Plugin to use STL models as external mesh references. Check-out the example.

Usage

Server

The plug-in to encode mesh models is not chosen by file ending but by media type. So make sure your STL models are delivered with media type application/vnd.ms-pki.stl. In the response header of the STL file you should find:

Content-Type: application/vnd.ms-pki.stl

Client

<group ...>
   <mesh src="../path/to/model.stl"></mesh>
</group>

Acknowledgments

This plug-in is based on the great stl-reader library from tatx. The STL models used in the example are from the same repository.

About

Plugin to use STL models as external mesh references

Resources

License

Stars

Watchers

Forks

Packages

No packages published