- in MachiningLib aggiunta scrittura cloni geometria
- in STR0003 sistemati commenti
This commit is contained in:
@@ -412,7 +412,13 @@ function MachiningLib.AddOperations( vProc, Part)
|
||||
|
||||
if nOperationId then
|
||||
-- impostazione geometria
|
||||
EgtSetMachiningGeometry( MACHININGS[i].Machining.Geometry)
|
||||
local Geometry
|
||||
if MACHININGS[i].AuxiliaryData.Clones and MACHININGS[i].AuxiliaryData.Clones[j].Geometry then
|
||||
Geometry = MACHININGS[i].AuxiliaryData.Clones[j].Geometry
|
||||
elseif MACHININGS[i].Machining.Geometry then
|
||||
Geometry = MACHININGS[i].Machining.Geometry
|
||||
end
|
||||
EgtSetMachiningGeometry( Geometry)
|
||||
|
||||
-- impostazione parametri lavorazione
|
||||
-- TODO scrivere sempre Steps, LeadIn, LeadOut nelle tabelle in modo da non dover controllare ogni volta che ci siano
|
||||
@@ -469,6 +475,7 @@ function MachiningLib.AddOperations( vProc, Part)
|
||||
end
|
||||
if sValue then
|
||||
local sUserNotes = ''
|
||||
sUserNotes = EgtGetMachiningParam( MCH_MP.USERNOTES)
|
||||
sUserNotes = EgtSetValInNotes( sUserNotes, UserNotes[k].sMchParam, sValue)
|
||||
EgtSetMachiningParam( MCH_MP.USERNOTES, sUserNotes)
|
||||
end
|
||||
@@ -487,6 +494,7 @@ function MachiningLib.AddOperations( vProc, Part)
|
||||
end
|
||||
if sValue then
|
||||
local sSystemNotes = ''
|
||||
sSystemNotes = EgtGetMachiningParam( MCH_MP.SYSNOTES)
|
||||
sSystemNotes = EgtSetValInNotes( sSystemNotes, SystemNotes[k].sMchParam, sValue)
|
||||
EgtSetMachiningParam( MCH_MP.SYSNOTES, sSystemNotes)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user