3dPrinting :

- riorganizzazione
- correzioni nel collegamento e nel riordino dei setti.
This commit is contained in:
SaraP
2022-06-29 11:34:46 +02:00
parent b9f1922969
commit 37dd22aa3e
13 changed files with 487 additions and 399 deletions
+4 -4
View File
@@ -14,15 +14,15 @@ _G.package.loaded.AddManData = nil
local AMD = require( 'AddManData')
---------------------------------------------------------------------
local function GetLayerParamsForGcodeGenerate()
local nParamsGrp = EgtGetFirstNameInGroup( GDB_ID.ROOT, PARAMS_GRP)
local function GetLayerParamsForGcodeGenerate( nPartId)
local LayerParams = {}
LayerParams.LinkZup = EgtGetInfo( nParamsGrp, KEY_LINK_ZUP, 'd')
LayerParams.LinkZup = EgtGetInfo( nPartId, KEY_LINK_ZUP, 'd')
return LayerParams
end
---------------------------------------------------------------------
function RunGcodeGenerate.Exec()
-- Recupero il pezzo (per ora primo e unico)
local nPartIndex = 1
local nPartId = EgtGetFirstNameInGroup( GDB_ID.ROOT, PART .. nPartIndex)
@@ -39,7 +39,7 @@ function RunGcodeGenerate.Exec()
end
-- Recupero i parametri relativi al layer
local LayerParams = GetLayerParamsForGcodeGenerate()
local LayerParams = GetLayerParamsForGcodeGenerate( nPartId)
-- Ciclo sui layer
local vEntId = {}