diff --git a/LuaLibs/CalcToolPath.lua b/LuaLibs/CalcToolPath.lua index 83ca22c..ef804e3 100644 --- a/LuaLibs/CalcToolPath.lua +++ b/LuaLibs/CalcToolPath.lua @@ -88,10 +88,10 @@ end ------------------------------------------------------------------ local function AddZCorrection( b3Box, LayerParams) - + -- nel caso multiplanare non รจ necessaria alcuna correzione local nSlicingType = EgtGetInfo( s_nPartId, KEY_SLICING_TYPE, 'i') if nSlicingType == SLICING_TYPE.MULTIPLANAR then - LayerParams.vtSlicing = Z_AX() + return end local dNxy = sqrt( LayerParams.vtSlicing:getX() * LayerParams.vtSlicing:getX() + LayerParams.vtSlicing:getY() * LayerParams.vtSlicing:getY())