From 06c6313ff899d87a6ba5a1bfe613350c35f205f8 Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 16 May 2022 07:59:38 +0200 Subject: [PATCH 1/7] DataWall : - modifiche per ottimizzazione per testa di lavorazioni chiodatura. --- LuaLibs/WallExec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/LuaLibs/WallExec.lua b/LuaLibs/WallExec.lua index 3930964..219303a 100644 --- a/LuaLibs/WallExec.lua +++ b/LuaLibs/WallExec.lua @@ -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 From 5ab8c62f6ff84e5c5139f4e107015daebbd02215 Mon Sep 17 00:00:00 2001 From: gitlab Date: Tue, 7 Jun 2022 14:25:15 +0000 Subject: [PATCH 2/7] Update percorso Artifacts su Truenas --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5d4bd9..47aa291 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ variables: VERS_MAIN: '1.0' APP_NAME: 'Wall' NEW_REL: '' - NET_SHARE_R: '\\10.74.82.50\EgtTech' + NET_SHARE_R: '\\10.74.82.201\Artifacts\EGT_SRV\EgtTech' NET_USER: '10.74.82.50\Server' NET_SHARE_Z: '\\10.74.82.200\Artifacts' NET_USERQ: 'steamw\egalware' @@ -64,7 +64,7 @@ variables: .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 From aa798c7e04ff1f4710d618fb6a9d9e1fd03c120a Mon Sep 17 00:00:00 2001 From: gitlab Date: Wed, 8 Jun 2022 10:48:31 +0000 Subject: [PATCH 3/7] Update copia file --- .gitlab-ci.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 47aa291..b025da8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -60,6 +60,18 @@ 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 - | @@ -97,6 +109,7 @@ LuaCompile:build: script: - *LuaCompile32 - *LuaCompile64 + - *CodeReplicaR - *ReplicaR - *ReplicaZ From f80f3dcea346017bd3a31ae0ac77dc65e288fb14 Mon Sep 17 00:00:00 2001 From: DarioS Date: Thu, 23 Jun 2022 08:03:46 +0200 Subject: [PATCH 4/7] DataWall : - correzioni a Nestprocess per BASEDIR. --- NestProcess.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/NestProcess.lua b/NestProcess.lua index 672b5da..1c72937 100644 --- a/NestProcess.lua +++ b/NestProcess.lua @@ -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 From 4cce433b23927d0779c71570e2a46183e26ce126 Mon Sep 17 00:00:00 2001 From: DarioS Date: Tue, 28 Jun 2022 11:16:03 +0200 Subject: [PATCH 5/7] DataWall : - in GetWallData forzata rilettura di WallData della macchina corrente. --- GetWallData.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GetWallData.lua b/GetWallData.lua index 9dafcc6..152fa15 100644 --- a/GetWallData.lua +++ b/GetWallData.lua @@ -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 From c16fead1ad1a1eeeb6b9016417542c1059a71309 Mon Sep 17 00:00:00 2001 From: DarioS Date: Thu, 25 Aug 2022 11:43:45 +0200 Subject: [PATCH 6/7] DataWall : - aggiunta segnalazione aree vietate FreeContour non gestite. --- LuaLibs/WProcessFreeContour.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/LuaLibs/WProcessFreeContour.lua b/LuaLibs/WProcessFreeContour.lua index 06cc7fc..185a9aa 100644 --- a/LuaLibs/WProcessFreeContour.lua +++ b/LuaLibs/WProcessFreeContour.lua @@ -1,4 +1,4 @@ --- ProcessFreeContour.lua by Egaltech s.r.l. 2022/04/26 +-- ProcessFreeContour.lua by Egaltech s.r.l. 2022/08/05 -- 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,7 @@ -- 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. -- Tabella per definizione modulo local WPF = {} @@ -2482,6 +2483,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) From 04b57beb169a204e132f126bc57629689e9b6083 Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 29 Aug 2022 12:47:58 +0200 Subject: [PATCH 7/7] DataWall : - corretta gestione FreeContour di tipo Pocket che sono passanti e quindi senza faccia di fondo e quindi lavorabili da entrambe le parti. --- LuaLibs/WProcessFreeContour.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/LuaLibs/WProcessFreeContour.lua b/LuaLibs/WProcessFreeContour.lua index 185a9aa..2411020 100644 --- a/LuaLibs/WProcessFreeContour.lua +++ b/LuaLibs/WProcessFreeContour.lua @@ -1,4 +1,4 @@ --- ProcessFreeContour.lua by Egaltech s.r.l. 2022/08/05 +-- 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. @@ -11,6 +11,7 @@ -- 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 = {} @@ -71,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 @@ -2316,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 {}