- in BeamExec.CollectFeatures si salva la rotazione in cui è stata costruita la Proc
- in BasicCustomerStrategies correzione in lettura Q - in STR0002 in caso di 2 facce > 90° si lavorano sempre entrambe
This commit is contained in:
@@ -599,7 +599,7 @@ local function GetFeatureForcedStrategy( Proc)
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------------------------------------
|
||||
local function CollectFeatures( Part)
|
||||
local function CollectFeatures( Part, dRotIndex)
|
||||
-- recupero le feature
|
||||
local nProcCount = 0
|
||||
local vProc = {}
|
||||
@@ -620,6 +620,7 @@ local function CollectFeatures( Part)
|
||||
Proc.idPart = Part.id
|
||||
Proc.idRaw = Part.idRaw
|
||||
Proc.nIndexPartInParts = Part.nIndexInParts
|
||||
Proc.nCurrentRotation = dRotIndex
|
||||
Proc.id = ProcId
|
||||
-- id della feature btl ( se non presente info, si prende id dell'entità geometrica)
|
||||
Proc.idFeature = EgtGetInfo( Proc.id, 'PRID', 's') or Proc.id
|
||||
@@ -1198,7 +1199,7 @@ function BeamExec.GetProcessings( PARTS)
|
||||
-- si calcolano le feature solo se la rotazione può essere presa in considerazione
|
||||
if PARTS[nPart].CombinationList.Rotations[dRotIndex] == 1 then
|
||||
-- recupero le feature di lavorazione della trave
|
||||
table.insert( vProcRot, CollectFeatures( PARTS[nPart]))
|
||||
table.insert( vProcRot, CollectFeatures( PARTS[nPart], dRotIndex))
|
||||
|
||||
-- recupero informazioni ausiliarie feature e dipendenze tra feature stesse
|
||||
-- TODO le dipendenze cambiano in base alla rotazione del pezzo? probabilmente no
|
||||
|
||||
Reference in New Issue
Block a user