Replies: 3 comments 2 replies
-
Also, here's a small example of what I'm trying to achieve: Input file (10um layer height):
Output file (30um, some layers removed):
In this example I want each layer to be 3x thicker, the number of bottom layers, transition layers, exposure times, etc. should NOT change. The idea is to simply export from the slicer software with all settings dialed in to a given layers height (let's say 30um), but setting the actual slicing height to something lower (10um), effectively exporting at a higher precision; then merge everything in UVTools to have that sub-layer data baked in the thicker layers. |
Beta Was this translation helpful? Give feedback.
-
I figured out I can actually do it like that: var allLayers = SlicerFile.Layers.ToList();
// modify allLayers however I want
SlicerFile.LayerHeight *= sublayerCount;
SlicerFile.BottomLayersHeight *= sublayerCount;
SlicerFile.Layers = allLayers.ToArray(); I think that solves it, but I'd love to hear a confirmation on this one from you @sn4k3 :) |
Beta Was this translation helpful? Give feedback.
-
There are some variables you need to tune as well supression might be required.
Study the 2. at There you will also find the "correct" way to set the layers and properties with supression: SlicerFile.SuppressRebuildPropertiesWork(() =>
{
SlicerFile.LayerHeight = (float)_selectedItem!.LayerHeight;
SlicerFile.BottomExposureTime = (float) _bottomExposure;
SlicerFile.ExposureTime = (float) _normalExposure;
SlicerFile.Layers = layers;
}, true); Note the first |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm writing a script which merges, for instance, 10um layers into z single 30um layer, which means I need to remove some layers in the process with:
After doing the merging and deleting, I need to update the layer height for layers, bottom layers and transition layer (anything else maybe?). My question is: what exactly do I need to update and how do I do that?
I'm currently doing this:
(i.e. if I merge 3 layers into a single layer, my
sublayerCount
is set to3
);I'm pretty sure there's something missing here, because UVTools reports a negative printing time for the transition layers (10um layers merged into 30um layers):
Before runningthe script (10um layer height):
The same file, but exported at 30um:
Also the print height is reported incorrectly
Before merging (10um layers):

After merging (30um layers):

Beta Was this translation helpful? Give feedback.
All reactions