This is a proof of concept for providing access to a 3MF file, exported from a customizable CAD model, through a web page.
A spacer is used to create a distance between two connected parts in an assembly. It has a hole in the middle, so a bolt can go through. If you want to print your own, you can use the following form to configure the spacer and download a 3MF file for printing.
The spacer has been modeled in OpenSCAD, and this proof of concept can be extended for any other OpenSCAD model; although the time it takes to export the 3MF file might rise considerably, for a more complex model.
The full code for the model and the API that is used to integrate it into this website is open source. Check out the repository on GitHub, and feel free to use it for your own models.
If you have any questions or comments, please let me know!