EgtMachKernel :
- modifica calcolo miglior lato aperto per svuotatura SpiralIn.
This commit is contained in:
+2
-2
@@ -4683,12 +4683,12 @@ Pocketing::GetMidOfLongestOpenSide( const ICurveComposite* pCompo, Point3d& ptMi
|
||||
if ( pPrevCrv != nullptr && pPrevCrv->GetTempProp() == 1) {
|
||||
Vector3d vtPrevEnd ; pPrevCrv->GetEndDir( vtPrevEnd) ;
|
||||
Vector3d vtStart ; pCrv->GetStartDir( vtStart) ;
|
||||
dLenAgg += max( 0., vtPrevEnd * vtStart * dLenPrev) ;
|
||||
dLenAgg += max( 0.25, vtPrevEnd * vtStart) * dLenPrev ;
|
||||
}
|
||||
if ( pNextCrv != nullptr && pNextCrv->GetTempProp() == 1) {
|
||||
Vector3d vtEnd ; pCrv->GetEndDir( vtEnd) ;
|
||||
Vector3d vtNextStart ; pNextCrv->GetStartDir( vtNextStart) ;
|
||||
dLenAgg += max( 0., vtEnd * vtNextStart * dLenNext) ;
|
||||
dLenAgg += max( 0.25, vtEnd * vtNextStart) * dLenNext ;
|
||||
}
|
||||
}
|
||||
// entità corrente
|
||||
|
||||
Reference in New Issue
Block a user