3dPrinting :
- riorganizzazione - correzioni nel collegamento e nel riordino dei setti.
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user