3dPrinting 2.6e1 :

- correzione a AddRetraction per autointersezioni strane.
This commit is contained in:
Dario Sassi
2024-05-06 08:46:58 +02:00
parent cfe7de8123
commit c7cbe66299
2 changed files with 5 additions and 3 deletions
+3 -1
View File
@@ -403,7 +403,9 @@ local function AddRetraction( nCrvId, vtSlicing, dCoastingLen, dWipeLen, dWipeDi
for nIdx = 1, nCrvCnt - 2 do
EgtAddCurveCompoCurve( nCopyId, nCopyId + nIdx)
end
EgtErase( nCopyId + nCrvCnt - 1)
if nCrvCnt > 1 then
EgtErase( nCopyId + nCrvCnt - 1)
end
end
EgtCloseCurveCompo( nCopyId)
EgtChangeClosedCurveStartPoint( nCopyId, ptNewStart, GDB_RT.GLOB)