EgtMachKernel 2.4a4 :

- aggiunti massimi e minimi di posizioni e assi anche a gruppi CL e suoi sottogruppi di Disposizioni
- si esegue la scrittura di questi estremi per lavorazioni e disposizioni solo quando definiti.
This commit is contained in:
DarioS
2022-01-31 18:43:17 +01:00
parent 798e0bcb70
commit ca1aa4c9ac
3 changed files with 16 additions and 5 deletions
+9 -5
View File
@@ -1017,13 +1017,17 @@ Operation::CalcAndSetBBox( int nClId)
}
}
}
m_pGeomDB->SetInfo( nClPathId, KEY_PMIN, b3Grp.GetMin()) ;
m_pGeomDB->SetInfo( nClPathId, KEY_PMAX, b3Grp.GetMax()) ;
b3AllMch.Add( b3Grp) ;
if ( ! b3Grp.IsEmpty()) {
m_pGeomDB->SetInfo( nClPathId, KEY_PMIN, b3Grp.GetMin()) ;
m_pGeomDB->SetInfo( nClPathId, KEY_PMAX, b3Grp.GetMax()) ;
b3AllMch.Add( b3Grp) ;
}
nClPathId = m_pGeomDB->GetNext( nClPathId) ;
}
m_pGeomDB->SetInfo( nClId, KEY_MMIN, b3AllMch.GetMin()) ;
m_pGeomDB->SetInfo( nClId, KEY_MMAX, b3AllMch.GetMax()) ;
if ( ! b3AllMch.IsEmpty()) {
m_pGeomDB->SetInfo( nClId, KEY_MMIN, b3AllMch.GetMin()) ;
m_pGeomDB->SetInfo( nClId, KEY_MMAX, b3AllMch.GetMax()) ;
}
return true ;
}