Title: STL Viewer
Author: christian.loelkes
Published: <strong>April 17, 2013</strong>
Last modified: March 15, 2015

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/stl-viewer.svg)

# STL Viewer

 By [christian.loelkes](https://profiles.wordpress.org/christianloelkes/)

[Download](https://downloads.wordpress.org/plugin/stl-viewer.1.1.zip)

 * [Details](https://pcd.wordpress.org/plugins/stl-viewer/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/stl-viewer/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/stl-viewer/#installation)
 * [Development](https://pcd.wordpress.org/plugins/stl-viewer/#developers)

 [Support](https://wordpress.org/support/plugin/stl-viewer/)

## Description

With a simple shortcode you can enable and embed a WebGL viewer to show 3d stl files.

In the current version:

 * STL files have to be uploaded to /wp-content/uploads
 * The viewer can’t be used more than one time per page. This might be a feature
   because the viewer needs a lot of resources.

A complete description of the plugin can be found on [my blog](https://www.db4cl.com/projects/stlviewer-1-0-for-wordpress/).

## Screenshots

 * [[

## Installation

 1. Upload the directory to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Upload an STL-File to WordPress
 4. Insert the shortcode [stl file=”filename.stl” ]

A complete description of the plugin can be found on [my blog](https://www.db4cl.com/projects/stlviewer-1-0-for-wordpress/)

## Reviews

![](https://secure.gravatar.com/avatar/dfeb406a141122d2d3511cc95b82387d0a7222ef5a4e71dcc1c35e0159f6bb00?
s=60&d=retro&r=g)

### 󠀁[works fine](https://wordpress.org/support/topic/works-fine-550/)󠁿

 [EMEFKA](https://profiles.wordpress.org/emefka/) September 3, 2016

Only one but: but it would be nice if Settings, Rendering Options and Lightning 
Option would be explained

![](https://secure.gravatar.com/avatar/e51f1a0f4a79fc1e5f34d91f83a2f39b57e29288593fa9e9e70485f9e42fd9ff?
s=60&d=retro&r=g)

### 󠀁[Works, but some setup is required (read on how):](https://wordpress.org/support/topic/works-but-some-setup-is-required-read-on-how/)󠁿

 [AAA](https://profiles.wordpress.org/flag/) February 23, 2022

… but needs some config. 1. Enable .stl file upload (or any other file type or file-
extension) You have to disable FILTER upload before be able to upload an .STL file.
Just add // — allow all files to be uploaded define('ALLOW_UNFILTERED_UPLOADS', 
true); somewhere in your config.php file. 2. Refer your .STL files correctly Then
make sure you refer your .STL files correctly! If your domain is: http://www.yourdomain.
com Your uploads will go to maybe: http://www.yourdomain.com/uploads/2015/10/myfile.
stl So refer the stl file as: /2015/10/myfile.stl because http://www.yourdomain.
com/uploads/ is added by the plugin itself. 3. Example: Insert code is not documented
within the plugin, which is a shame. So here it is: [stl file="/2015/10/3dprinted-
wrench.stl" /] Hope that helps. 4. Setup Background I was not able to set the background,
which seems to be just a black color by default. There is a way within the plugin
to setup a tile (image) but it did not work correctly. (Just a small stripe is shown.)
I did try: [stl file="myfile.stl" background="#f8f8f8" /] but does not seems to 
work for me. Question If someone knows how to setup Background color (mono, fix),
or tile image, please let me know!

 [ Read all 5 reviews ](https://wordpress.org/support/plugin/stl-viewer/reviews/)

## Contributors & Developers

“STL Viewer” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ christian.loelkes ](https://profiles.wordpress.org/christianloelkes/)

[Translate “STL Viewer” into your language.](https://translate.wordpress.org/projects/wp-plugins/stl-viewer)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/stl-viewer/), check
out the [SVN repository](https://plugins.svn.wordpress.org/stl-viewer/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/stl-viewer/) by 
[RSS](https://plugins.trac.wordpress.org/log/stl-viewer/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

 * Minor bug fixing.
 * Scripts are only loaded if a shortcode was found on the page.

#### 1.0

 * Complete rewrite of the plugin.
 * Many settings

#### 0.5

 * Removed hard-coded links.

#### 0.4.1

 * the settings page is working again.

#### 0.4

 * added stuff to the readme file
 * cleanup

#### 0.3

 * code cleaning
 * settings page is now working

#### 0.2

 * less hard-coded stuff
 * added more parameters for the shortcode
 * cleaning

#### 0.1

 * first working version based on a howto plugin from the web

## Meta

 *  Version **1.1**
 *  Last updated **11 years ago**
 *  Active installations **100+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.1.42**
 *  Language
 * [English (US)](https://wordpress.org/plugins/stl-viewer/)
 * Tags
 * [3d](https://pcd.wordpress.org/plugins/tags/3d/)[3D printing](https://pcd.wordpress.org/plugins/tags/3d-printing/)
   [shortcode](https://pcd.wordpress.org/plugins/tags/shortcode/)[stl](https://pcd.wordpress.org/plugins/tags/stl/)
   [viewer](https://pcd.wordpress.org/plugins/tags/viewer/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/stl-viewer/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  5 5-star reviews     ](https://wordpress.org/support/plugin/stl-viewer/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/stl-viewer/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/stl-viewer/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/stl-viewer/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/stl-viewer/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/stl-viewer/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/stl-viewer/reviews/)

## Contributors

 *   [ christian.loelkes ](https://profiles.wordpress.org/christianloelkes/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/stl-viewer/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=VNRJ5FSUV3C6L)