mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 23:46:24 -06:00
FIX: STUDIO-2383 slicing error while using compensation
set resolution value to 0 could avoid shape error 1. elephant compensation 2. xy-hole-compensation 3. xy-contour-compensation Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: I238b6dd3342e09d33f4d10f7928f5fb48371d2b3 (cherry picked from commit f3518dbd226e7fe7cc6e0bbead118aa8321037bd)
This commit is contained in:
parent
22e9899309
commit
9defe7b617
2 changed files with 3 additions and 2 deletions
|
@ -140,7 +140,7 @@ static std::vector<VolumeSlices> slice_volumes_inner(
|
|||
params_base.trafo = object_trafo;
|
||||
//BBS: 0.0025mm is safe enough to simplify the data to speed slicing up for high-resolution model.
|
||||
//Also has on influence on arc fitting which has default resolution 0.0125mm.
|
||||
params_base.resolution = 0.0025;
|
||||
params_base.resolution = print_config.resolution <= 0.001 ? 0.0f : 0.0025;
|
||||
switch (print_object_config.slicing_mode.value) {
|
||||
case SlicingMode::Regular: params_base.mode = MeshSlicingParams::SlicingMode::Regular; break;
|
||||
case SlicingMode::EvenOdd: params_base.mode = MeshSlicingParams::SlicingMode::EvenOdd; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue