# Replace x.x.x by the version you want to install
bash -c "$(curl -fsSL https://raw.githubusercontent.com/sn4k3/UVtools/master/Scripts/install-uvtools.sh)" -- x.x.x
MSLA/DLP, file analysis, calibration, repair, conversion and manipulation
This simple tool can give you insight of supports and find key failures. Did you forget what resin or other settings you used on a project?
This can also save you, check every setting that was used with or change them!
I don't own a Prusa SL1 or any other resin printer, for now I’m only an FDM user with Prusa MK3 and an Ender3.
PrusaSlicer is my only choice, why? Because I think it's the best and features more, at least for me, simple but
powerful.
So why this project? Well, in fact, I’m looking for a resin printer. I like to study
and learn first before buying and get good and don't regret. While inspecting, I found that
resin printers firmwares are not as universal as FDM, too many file formats and there
before each printer can use their own property file, this of course limit the software selection. For example, only
PrusaSlicer can slice SL1 files. So with that in mind, I'm preparing when I get
a resin printer in the future, I can use PrusaSlicer instead of others.
I've explored the other slicers and again, no one gives me joy, and I feel them unstable,
many users slice model on PrusaSlicer just to get those supports and export STL to load in another,
that means again PrusaSlicer is on the win side, the problem is they can't slice directly on PrusaSlicer,
so, in the end, my project aims to do almost that, configure a printer on PrusaSlicer, e.g.: EPAX X1,
slice, export a file, convert SL1 to native printer file and print.
Please note I don't own any resin printer! All my work is virtual and calculated,
so, use experimental functions with care! Once things got confirmed, a list will show.
But also, I need victims for a test subject. Proceed at your own risk!
Features
View, modify and extract layer by layer
View, modify and extract thumbnails
Export file to a folder
View and edit all used properties/settings
Many tools to mutate and filter layers
Check for issues and repair/remove them as possible:
Custom "Material Notes" and "Printer Notes" keywords:
TransitionLayerCount_xxx: Sets the number of transition layers
BottomLightOffDelay_xxx: Sets the bottom light off delay time in seconds
LightOffDelay_xxx: Sets the light off delay time in seconds
BottomWaitTimeBeforeCure_xxx: Sets the bottom wait time before cure in seconds
WaitTimeBeforeCure_xxx: Sets the wait time before cure in seconds
BottomWaitTimeAfterCure_xxx: Sets the bottom wait time after cure in seconds
WaitTimeAfterCure_xxx: Sets the wait time after cure in seconds
BottomLiftHeight_xxx: Sets the bottom lift height in millimeters
BottomLiftSpeed_xxx: Sets the bottom lift speed in millimeters/minute
BottomLiftHeight2_xxx: Sets the second bottom lift height in millimeters
BottomLiftSpeed2_xxx: Sets the second bottom lift speed in millimeters/minute
LiftHeight_xxx: Sets the lift height in millimeters
LiftSpeed_xxx: Sets the lift speed in millimeters/minute
LiftHeight2_xxx: Sets the second lift height in millimeters
LiftSpeed2_xxx: Sets the second lift speed in millimeters/minute
BottomWaitTimeAfterLift_xxx: Sets the bottom wait time after lift in seconds
WaitTimeAfterLift_xxx: Sets the wait time after lift in seconds
BottomRetractSpeed_xxx: Sets the bottom retract speed in millimeters/minute
BottomRetractHeight2_xxx: Sets the second bottom retract height in millimeters
BottomRetractSpeed2_xxx: Sets the second bottom retract speed in millimeters/minute
RetractSpeed_xxx: Sets the retract speed in millimeters/minute
RetractHeight2_xxx: Sets the second retract height in millimeters
RetractSpeed2_xxx: Sets the second retract speed in millimeters/minute
BottomLightPWM_xxx: Sets the bottom LED light power (0–255)
LightPWM_xxx: Sets the LED light power (0–255)
FILEVERSION_n: Sets the output file format version/revision
FILECLASS_xxx: Sets the output file format class to be auto-converted once open on UVtools
FILEFORMAT_xxx: Sets the output file format extension to be auto-converted once open on UVtools
LAYERIMAGEFORMAT_xxx: Sets the layer image format required for the converted file if the format have multiple
options (For Archives with PNG's)
Note that some variables will only work if the target format supports them, otherwise they will be ignored. Replace the "xxx" by your desired value in the correct units
Command-line
UVtoolsCmd (Console) executable
…
Note: On each command you can use -? to see specific command help and extra options
UVtools (UI) executable
Open file(s):
Syntax: UVtools <file1> [file2] [file3] ...
Example 1: UVtools C:\model.osla
Example 2: UVtools C:\model.zip D:\other_model.osla
Note: When an invalid file is passed, the program will open as default.
Redirect a command to UVtoolsCmd:
Syntax: UVtools --cmd <commands ...>
Example 1: UVtools --cmd convert C:\model.osla zip
Note: This can be used when UVtoolsCmd is not directly exposed, for example, if you are running via a
.AppImage. All commands will be redirected to UVtoolsCmd and the UI will not run. It still shows the terminal window.
Legacy
The following commands are the old way and commands under the UI executable, they will be removed soon, try to
not use them, please prefer UVtoolsCmd.
Copy the following script, paste and run on a terminal: (Required if you didn't use the auto installer or if it
failed to detect and install dependencies)