diff --git a/LuaLibs/WProcessLapJoint.lua b/LuaLibs/WProcessLapJoint.lua index f90a9d1..4b1bc55 100644 --- a/LuaLibs/WProcessLapJoint.lua +++ b/LuaLibs/WProcessLapJoint.lua @@ -1327,7 +1327,7 @@ local function MakeByChainSaw( Proc, nFacet, nRawId, b3Raw, dElev, dH, dV) end --------------------------------------------------------------------- --- restituisce true se la lavorazione potrebbe danneggiare le parti limitrofe; restituisce anche i lati interessati +-- restituisce true se la lavorazione potrebbe danneggiare le parti limitrofe local function IsMachiningDamagingOtherParts( Proc, dMillDiameter, nRawId) local bIsMachiningDamagingOtherParts = false -- box da estendere in tutte le direzioni, compreso angolo cieco diff --git a/LuaLibs/WallExec.lua b/LuaLibs/WallExec.lua index ada9b5a..c1f3c1e 100644 --- a/LuaLibs/WallExec.lua +++ b/LuaLibs/WallExec.lua @@ -754,7 +754,7 @@ local function SetMirroredFeatures( vProc, b3Raw) end end -- corrispondenza nella posizione delle feature. Se di fianco il lato master รจ sempre quello verso l'operatore, se sopra nessun vincolo - local bIsMirrorSideOk = ( bLapVsTop and ProcMirror.AffectedFaces.Back) or + local bIsMirrorSideOk = ( bLapVsTop and ProcMirror.AffectedFaces.Back and bIsFeatureOnEdge and bIsMirrorFeatureOnEdge ) or Proc.TopologyLongName == 'Groove-Through-RightAngles-Parallel-3' and Proc.AffectedFaces.Top and ProcMirror.AffectedFaces.Top or Proc.TopologyLongName == 'Groove-Blind-RightAngles-Parallel-4' and Proc.AffectedFaces.Top and Proc.AffectedFaces.Left and ProcMirror.AffectedFaces.Top and ProcMirror.AffectedFaces.Left or Proc.TopologyLongName == 'Groove-Blind-RightAngles-Parallel-4' and Proc.AffectedFaces.Top and Proc.AffectedFaces.Right and ProcMirror.AffectedFaces.Top and ProcMirror.AffectedFaces.Right or @@ -777,7 +777,7 @@ local function SetMirroredFeatures( vProc, b3Raw) local b3Tab = EgtGetTableArea() local ptOnMirrorAx = ( Proc.Box:getCenter() + ProcMirror.Box:getCenter()) / 2 dYMirrorAx = ptOnMirrorAx:getY() - b3Tab:getMin():getY() - local dDeltaZ = EgtIf( nDoubleType == 0, ProcMirror.Box:getMax():getZ() - Proc.Box:getMax():getZ(), 0) + local dDeltaZ = ProcMirror.Box:getMax():getZ() - Proc.Box:getMax():getZ() -- forzo side o pocket, se necessario if nDoubleType == 1 then EgtSetInfo( Proc.Id, 'PCKT', 1)