Threed-Viewer

Maintained by ETH Zürich
3D viewer filter (.stl format)
Price option: Free

Supports Moodle 2.8-5.1 See all versions
Latest release: 7 months ago
Installations: 64
Downloads (last 90 days): 54

Frankenstyle name: filter_threedviewer
Filters

Description

Threed-Viewer Moodle filter

This moodle filter uses a custom Javascript layer (threed-viewer) built on top of Three.js to display an interactive STL viewer.

The filter's work is limited to detecting the presence of .stl in the content and asking the Javascript library to be loaded.

Usage

There are two ways to add an STL viewer to content on moodle.

In the straightforward way, a link to the STL file is added through the content editor. The appearance can be somewhat controlled by passing query parameters:

To use the full capabilities of threed-viewer, the users need to use its custom elements to wrap the link to the STL file:

<threed-viewer width=50% height=400px controls help axi-helper toolbar>
    <threed-model scale center><a href="http://mymoodle.com/draftfile.php/.../myfile.stl">myfile.stl</a></threed-model>
</threed-viewer>

License

This filter is distributed under the GNU GPL 3.0+ License. It includes a bundled version of three.js, which is distributed under the MIT License.

Feedback

For feedback and requests, please contact Cyril Picard <cpicard A_T ethz.ch>.


Contributors

Awards

Privacy friendly