3dPrinting :

- riorganizzazione layer per nuova interfaccia.
This commit is contained in:
SaraP
2022-08-05 10:02:10 +02:00
parent 5ccbfd54ec
commit ffd86bd009
5 changed files with 43 additions and 21 deletions
+4 -4
View File
@@ -42,9 +42,9 @@ local function GetLayerStartPoint( nLayId, vtSlicing)
local nGrpTmp = EgtGroup( nLayId)
local vPtStart = {}
local nAuxGrp = EgtGetFirstNameInGroup( s_nPartId, LAY_AUX)
local nStartId = EgtGetFirstNameInGroup( nAuxGrp, START_GEOM)
while nStartId do
local nMachStartGrp = EgtGetFirstNameInGroup( s_nPartId, LAY_MACH_START)
local nStartId = EgtGetFirstInGroup( nMachStartGrp)
while nStartId do
local nType = EgtGetType( nStartId)
-- se punto
if nType == GDB_TY.GEO_POINT then
@@ -58,7 +58,7 @@ local function GetLayerStartPoint( nLayId, vtSlicing)
end
end
end
nStartId = EgtGetNextName( nStartId, START_GEOM)
nStartId = EgtGetNext( nStartId)
end
EgtErase( nGrpTmp)