seam gap parameter

This commit is contained in:
SoftFever 2023-01-14 18:39:43 +08:00
parent dd1efb3969
commit 594819ef9c
9 changed files with 34 additions and 12 deletions

View file

@ -3334,8 +3334,7 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
// if polyline was shorter than the clipping distance we'd get a null polyline, so
// we discard it in that case
double clip_length = m_enable_loop_clipping ?
scale_(EXTRUDER_CONFIG(nozzle_diameter)) * LOOP_CLIPPING_LENGTH_OVER_NOZZLE_DIAMETER :
0;
scale_(m_config.seam_gap.get_abs_value(EXTRUDER_CONFIG(nozzle_diameter))) : 0;
// get paths
ExtrusionPaths paths;