<?php
add_filter( ‘upload_mimes’, ‘wpmudev_stl_gcode_add_upload_mime’ );
function wpmudev_stl_gcode_add_upload_mime( $mime_types ) {
$mime_types[‘stl’] = ‘application/sla’;
return $mime_types;
}
Best regards
Martin
Can you 3D viewer load a STL file on the fly, like the one below:https://3dviewer.net/
That is:
1. Let user select the STL file to be viewed.
2. Your plugin show the model in the STL file.
Thanks
]]>Here I found a solution which works for STL, but I cannot get the same thing work for STEP files.
Thank you very much in advance!
]]>1. Is there a way to allow .stl files?
2. Also, is there a way to make the upload allow 50mb for ONE file upload?
]]>I have tried several models, and non of them show. I just continually get the scrolling wheel. When i try to upload .stl file wordpress refuses. I currently have two 3d models in my library one is an.obj the other is an.wrl non work. I am no expert.Thanks
]]>I’d like to upload and display STL files (and other 3D files) on my web site. I wasn’t able to do so with the existing add-ons and I did not find any solution on the forums. An error keep showing up saying that for security reason the file cannot be uploaded. Did I miss something?
Thanks in advance for your help
Best regards
]]>I want to be able to upload a STL file and view it immediattely. So that customers upload their STL files and view it.
www.3d-printservice.be
https://www.ads-software.com/plugins/stl-viewer/
]]>