DataWall :

- aggiunta gestione prigini intermedie TM e BM
- corretto controllo spessore nel caso di pareti a layer.
This commit is contained in:
DarioS
2021-10-27 13:24:04 +02:00
parent f1f8f071f2
commit 4b671ee541
3 changed files with 15 additions and 7 deletions
+9 -3
View File
@@ -1,4 +1,4 @@
-- WallExec.lua by Egaltech s.r.l. 2021/10/19
-- WallExec.lua by Egaltech s.r.l. 2021/10/27
-- Libreria esecuzione lavorazioni per Pareti
-- Tabella per definizione modulo
@@ -77,13 +77,19 @@ function WallExec.ProcessWalls( dRawL, dRawW, dRawH, vWall, bMachGroupOk, bPartO
OrigOnTab = Point3d( 0, b3Tab:getDimY(), 0)
elseif sOrigCorner == 'BL' then
nCorner = MCH_CR.BL
OrigOnTab = Point3d(0, 0, 0)
OrigOnTab = Point3d( 0, 0, 0)
elseif sOrigCorner == 'TR' then
nCorner = MCH_CR.TR
OrigOnTab = Point3d( b3Tab:getDimX(), b3Tab:getDimY(), 0)
else -- 'BR'
elseif sOrigCorner == 'BR' then
nCorner = MCH_CR.BR
OrigOnTab = Point3d( b3Tab:getDimX(), 0, 0)
elseif sOrigCorner == 'TM' then
nCorner = MCH_CR.TR
OrigOnTab = Point3d( WD.MID_REF, b3Tab:getDimY(), 0)
elseif sOrigCorner == 'BM' then
nCorner = MCH_CR.BR
OrigOnTab = Point3d( WD.MID_REF, 0, 0)
end
-- Impostazione dell'attrezzaggio di default
EgtImportSetup()