3dPrinting 3.1g2 :

- aggiunta possibilità di creare un unico percorso a partire da due shells
- correzioni minori.
This commit is contained in:
SaraP
2026-07-07 11:48:04 +02:00
parent 3822fbfc79
commit 39ac206cee
5 changed files with 144 additions and 41 deletions
+16
View File
@@ -2192,6 +2192,10 @@ local function SpiralVaseFullMultiPlanar( vLayIds, LayerParams)
EgtOutBox( 'Error in spiral vase : layer ' .. tostring( nSliceNbr) .. ' has more than one toolpath', 'ToolPathCalc')
return false
end
if not EgtCurveIsClosed( vEntIds[1]) then
EgtOutBox( 'Error in spiral vase : open toolpath at layer ' .. tostring( nSliceNbr), 'ToolPathCalc')
return false
end
local nNewEntId = EgtCopyGlob( vEntIds[1] or GDB_ID.NULL, nTpathGrpId, GDB_IN.LAST_SON)
if nNewEntId then
@@ -2481,6 +2485,10 @@ local function SpiralVaseFull( vLayIds, LayerParams)
EgtOutBox( 'Error in spiral vase : layer ' .. tostring( nSliceNbr) .. ' has more than one toolpath', 'ToolPathCalc')
return false
end
if not EgtCurveIsClosed( vEntIds[1]) then
EgtOutBox( 'Error in spiral vase : open toolpath at layer ' .. tostring( nSliceNbr), 'ToolPathCalc')
return false
end
local nNewEntId = EgtCopyGlob( vEntIds[1] or GDB_ID.NULL, nTpathGrpId, GDB_IN.LAST_SON)
if nNewEntId then
@@ -2713,6 +2721,10 @@ local function SpiralVasePartialMultiPlanar( vLayIds, LayerParams)
EgtOutBox( 'Error in spiral vase : layer ' .. tostring( nSliceNbr) .. ' has more than one toolpath', 'ToolPathCalc')
return false
end
if not EgtCurveIsClosed( vEntIds[1]) then
EgtOutBox( 'Error in spiral vase : open toolpath at layer ' .. tostring( nSliceNbr), 'ToolPathCalc')
return false
end
local nNewEntId = EgtCopyGlob( vEntIds[1] or GDB_ID.NULL, nTpathGrpId, GDB_IN.LAST_SON)
if nNewEntId then
@@ -2917,6 +2929,10 @@ local function SpiralVasePartial( vLayIds, LayerParams)
EgtOutBox( 'Error in spiral vase : layer ' .. tostring( nSliceNbr) .. ' has more than one toolpath', 'ToolPathCalc')
return false
end
if not EgtCurveIsClosed( vEntIds[1]) then
EgtOutBox( 'Error in spiral vase : open toolpath at layer ' .. tostring( nSliceNbr), 'ToolPathCalc')
return false
end
local nNewEntId = EgtCopyGlob( vEntIds[1] or GDB_ID.NULL, nTpathGrpId, GDB_IN.LAST_SON)
if nNewEntId then