Merge branch 'master' into develop

This commit is contained in:
Samuele Locatelli
2022-09-16 11:44:55 +02:00
5 changed files with 29 additions and 9 deletions
+14 -1
View File
@@ -59,11 +59,23 @@ variables:
echo "lua53 -o 64\LuaLibs\$FileName LuaLibs\$FileName"
}
# Copy-Item -Path $FileName -Destination 64\$FileName
# echo "Copy-Item -Path $FileName -Destination 64\$FileName"
# helper copia SORGENTI verso cartella di rete R:\ dei SORGENTI
.CodeReplicaR: &CodeReplicaR
- |
net use R: /delete
net use R: $env:NET_SHARE_R /u:$env:NET_USERQ $ZDRIVE_PASSWD
ROBOCOPY . R:\EgtData\$env:APP_NAME /MIR /XF .git* /XD .git
SLEEP 2
net use R: /delete
# helper copia script verso cartella di rete R:\ delle cartelle 32 e 64
.ReplicaR: &ReplicaR
- |
net use R: /delete
net use R: $env:NET_SHARE_R /u:$env:NET_USER $RDRIVE_PASSWD
net use R: $env:NET_SHARE_R /u:$env:NET_USERQ $ZDRIVE_PASSWD
ROBOCOPY /MIR 32 R:\EgtData\$env:APP_NAME\32
ROBOCOPY /MIR 64 R:\EgtData\$env:APP_NAME\64
ROBOCOPY /MIR Images R:\EgtData\$env:APP_NAME\32\Images
@@ -96,6 +108,7 @@ LuaCompile:build:
script:
- *LuaCompile32
- *LuaCompile64
- *CodeReplicaR
- *ReplicaR
- *ReplicaZ
+2 -1
View File
@@ -1,4 +1,4 @@
-- GetWallData.lua by Egaltech s.r.l. 2022/05/09
-- GetWallData.lua by Egaltech s.r.l. 2022/06/28
-- Recupero dati da file WallData.lua di macchina
-- Intestazioni
@@ -31,6 +31,7 @@ EgtRemoveBaseMachineDirFromPackagePath()
EgtAddToPackagePath( sMachDir .. '\\Wall\\?.lua')
-- Carico i dati globali
_G.package.loaded.WallData = nil
local WD = require( 'WallData')
-- Assegno valori di interesse
+8 -3
View File
@@ -1,4 +1,4 @@
-- ProcessFreeContour.lua by Egaltech s.r.l. 2022/04/26
-- ProcessFreeContour.lua by Egaltech s.r.l. 2022/08/29
-- Gestione calcolo profilo libero per Pareti
-- 2021/11/15 Penna e chiodature sono sempre riportate sulla faccia sopra anche se nel progetto sono sotto.
-- 2021/12/10 In taglio con lama aggiunta gestione SCC per testa Gearbox.
@@ -10,6 +10,8 @@
-- 2022/04/03 Correzioni e modifiche per pulitura spigoli tipo 2 e 3.
-- 2022/04/19 Aggiunta passibilita' fresatura ad affondamento ridotto quando non possibile completa o sega a catena.
-- 2022/04/26 Migliorata gestione caso pocketing.
-- 2022/08/05 Aggiunta segnalazione aree vietate non gestite.
-- 2022/08/29 Corretta gestione tipo Pocket senza fondo (sono lavorabili da entrambe le parti con fresatura).
-- Tabella per definizione modulo
local WPF = {}
@@ -70,7 +72,7 @@ function WPF.Classify( Proc, b3Raw)
break
end
end
local bDown = ( vtExtr:getZ() < - 0.5)
local bDown = ( nFacet and vtExtr:getZ() < - 0.5)
return not bDown
-- se altrimenti profilo orizzontale
elseif abs( vtExtr:getZ()) < 0.5 then
@@ -2315,7 +2317,7 @@ local function MakeByPocket( Proc, nRawId, b3Raw)
end
end
if not nFacet then
return MakeByCut( Proc, nRawId, b3Raw)
return MakeByMill( Proc, nRawId, b3Raw)
end
-- se la faccia di fondo ha confini aperti, devo lavorarla direttamente
vAdj = EgtSurfTmFacetAdjacencies( Proc.Id, nFacet)[1] or {}
@@ -2482,6 +2484,9 @@ function WPF.Make( Proc, nRawId, b3Raw)
-- se chiodatura
elseif nCntType == 20 then
return MakeByNail( Proc, nRawId, b3Raw)
-- area vietata
elseif nCntType == 200 then
return true, 'Lock-out area Ignored'
-- altrimenti, taglio con lama e pulizia angoli con fresa
else
return MakeByCut( Proc, nRawId, b3Raw)
+2 -2
View File
@@ -1,4 +1,4 @@
-- WallExec.lua by Egaltech s.r.l. 2022/05/06
-- WallExec.lua by Egaltech s.r.l. 2022/05/12
-- Libreria esecuzione lavorazioni per Pareti
-- Tabella per definizione modulo
@@ -537,7 +537,7 @@ end
-------------------------------------------------------------------------------------------------------------
local function SortMachinings( nPhase, PrevMch, nPartId)
-- Chiodature
PrevMch = SortMach( nPhase, PrevMch, nPartId, MCH_OY.MILLING, { 'Nail_'}, true)
PrevMch = SortMach( nPhase, PrevMch, nPartId, MCH_OY.MILLING, { 'Nail_'}, true, nil, nil, nil, true)
-- Tagli con sega a catena che sono rifiniture di spigoli
PrevMch = SortMach( nPhase, PrevMch, nPartId, MCH_OY.MORTISING, { 'Csaw_'}, false)
-- Forature orizzontali con punte lunghe
+3 -2
View File
@@ -1,4 +1,4 @@
-- NestProcess.lua by Egaltech s.r.l. 2022/05/09
-- NestProcess.lua by Egaltech s.r.l. 2022/06/23
-- Gestione nesting automatico pareti
-- Intestazioni
@@ -2136,6 +2136,7 @@ if bNestingOk then
_G.WALL = {}
WALL.FILE = NEST.FILE
WALL.MACHINE = NEST.MACHINE
WALL.BASEDIR = NEST.BASEDIR
WALL.FLAG = 6 -- CREATE_PANEL
WALL.NESTING_REF = 'BL'
nMachGroup = EgtGetFirstMachGroup()
@@ -2145,7 +2146,7 @@ if bNestingOk then
MachGroupIndex = MachGroupIndex + 1
EgtRemoveInfo( nMachGroup, "AUTONEST")
EgtSetInfo( nMachGroup, "UPDATEUI", 1)
dofile( EgtGetSourceDir() .. "BatchProcessNew.lua")
dofile( NEST.BASEDIR .. "\\BatchProcessNew.lua")
-- aggiorno interfaccia
EgtProcessEvents( 200 + ( MachGroupIndex / MachGroupToTCnt * 100), 0)
end