The below ZIP file contains an init file for the Blender 3.4 STL export script. This script makes the following changes to the default values:
- Set “Selection Only” to TRUE to avoid exporting all objects in the file.
- Set “Scale” to 1000 to export objects at real scale in millimeters. Make sure your file scene measurement settings are set appropriately.
- Set “Scene Unit” to TRUE to use scene units in export.
Place the __init__.py file into the following location, overwriting the old file. The old file is included in the ZIP file as a backup.
...\Blender\3.4\3.4\scripts\addons\io_mesh_stl
As a side note, here is how ZIP files were enabled in EasyWP’s File widget, since I had to fix that.
Enter the EasyWP Admin panel. Go to Tools > Theme File Editor in the side bar. Then select Theme Functions (function.php). Add the following code to the end of the file:
add_filter('upload_mimes', 'easywp_allow_zip_upload');
function easywp_allow_zip_upload($existing_mimes) {
$existing_mimes['zip'] = 'application/zip';
$existing_mimes['zip'] = 'application/x-zip-compressed';
return $existing_mimes;
}
Save the code.