Only one but:
but it would be nice if Settings, Rendering Options and Lightning Option would be explained
... 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:
Your uploads will go to maybe:
So refer the stl file as:
because http://www.yourdomain.com/uploads/ is added by the plugin itself.
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'm using it here:
I did try:
[stl file="myfile.stl" background="#f8f8f8" /]
but does not seems to work for me.
If someone knows how to setup Background color (mono, fix), or tile image, please let me know!
This was very easy to setup.
I had an issue with the STL-Viewer plugin settings not working, so I simply passed all the setting parameters within the shortcode. Then I published my page and now everything looks terrific. I am really impressed with how good the renderings are and how quickly the files load. Still slow for the larger STL files, but the plugin caches the files.
[stl file="Army_Dude.stl" color="#ff0000" background="#f8f8f8" width="100%" height="640px" /]
Great plugin, works amazing
after activation make sure go to the plugin settings and fill the boxes else it won't display a thing.
and i would love to see these in settings
- if we can change the default file location
- remove the grid
- auto rotate for all the objects by default
- select the axis for all the object as by defualt ( and a command if any object need to be on diffrent axis )
I like the idea, please continous to develop the plugin. I give you 5 stars because of it's great idea.
You must log in to submit a review. You can also log in or register using the form near the top of this page.