Corrette origini

This commit is contained in:
andrea.villa
2026-04-07 10:33:05 +02:00
parent 912dd11c64
commit 5734560db2
3 changed files with 17 additions and 27 deletions
+8 -12
View File
@@ -32,7 +32,7 @@ local WallData = {
T14_T12_DOUBLE = true, -- abilita chiodatura in doppio con teste T14 e T12
RAWCOL = { 255, 160, 32, 30}, -- colore del grezzo
SIMUL_VIEW_DIR = 3, -- direzione di vista predefinita per la simulazione (1=NW, 2=SW, 3=NE, 4=SE)
ORIG_CORNER = 'TL', -- posizione origine (TL,BL,TR,BR,TM,BM)
ORIG_CORNER = 'BL', -- posizione origine (TL,BL,TR,BR,TM,BM)
MID_REF = 27000, -- posizione X dell'origine intermedia
USE_POSY = true -- utilizzare POSY di BTL (spostamento sullo spessore per pareti a layer)
}
@@ -63,19 +63,15 @@ end
-------------------------------------------------------------------------------------------------------------
local function GetOrigCorner( RefPos)
if RefPos == 1 then
return 'TL'
elseif RefPos == 2 then
return 'BL'
elseif RefPos == 3 then
return 'TR'
elseif RefPos == 4 then
return 'BR'
elseif RefPos == 5 then
return 'TM'
elseif RefPos == 6 then
return 'BM'
else
elseif RefPos == 2 then
return 'TR'
elseif RefPos == 3 then
return 'BL'
elseif RefPos == 4 then
return 'TL'
else
return 'BL'
end
end
WallData.GetOrigCorner = GetOrigCorner