Extension:3D

The 3D extension gives the user of a wiki support for uploading and viewing 3D models. See help>Special:MyLanguage/Help:Extension:3d|Help:Extension:3d for usage documentation.

It currently supports the STL file format, which is common in the 3D printing field.

1. Allow 3D file uploads
Tell MediaWiki that it can handle STL uploads. Add this to your

3. Install 3d2png
3d2png is the thumbnail renderer for 3D files. It will render png thumbnails exactly like this extension will display the objects. To install, clone and install the 3d2png repository:

You'll also need to install a virtual framebuffer in order for 3d2png to be able to headlessly capture the 3D object.

After having successfully installed 3d2png, we'll need to tell Extension:3D how to call this thumbnail generator service. Add this to your, and make sure to update the paths to match your configuration:

4. Install Extension:MultimediaViewer
MultimediaViewer is not a hard dependency of the 3D extension, but you will need to install it if you want to interact (move, pan, zoom) with the 3D models. After installing MultimediaViewer, you will need to associate the STL file type with the correct viewer extension, by adding this to your  file: