From 9b5adeaeb3ae8b1cfa887ad891c40eb84cab7e76 Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 10 Jul 2023 11:17:59 +0200 Subject: [PATCH] EgtMachKernel : - i movimenti in rapido sono disegnati tratteggiati. --- CamData.cpp | 2 ++ Milling.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CamData.cpp b/CamData.cpp index a2d284e..f573efe 100644 --- a/CamData.cpp +++ b/CamData.cpp @@ -149,6 +149,8 @@ CamData::SetOwner( int nId, IGeomDB* pGDB) { m_nOwnerId = nId ; m_pGeomDB = pGDB ; + if ( m_pGeomDB != nullptr) + m_pGeomDB->SetStipple( m_nOwnerId, ( m_nMove == 0 ? 3 : 0), 0x8C8C) ; return ( m_nOwnerId != GDB_ID_NULL && m_pGeomDB != nullptr) ; } diff --git a/Milling.cpp b/Milling.cpp index 41e7ef7..cbd3989 100644 --- a/Milling.cpp +++ b/Milling.cpp @@ -2501,7 +2501,7 @@ Milling::AddStandardMilling( const ICurveComposite* pCompo, const Vector3d& vtTo bAboveEnd = GetPointAboveRaw( ptP1, vtTool) ; else { Vector3d vtCorr = CalcCorrDir( pCompo, nMaxInd + 1) ; - bAboveEnd = GetPointOutOfRaw( ptP1, vtTool, vtCorr, dElev, dSafeZ) ; + bAboveEnd = GetPointOutOfRaw( ptP1, vtTool, vtCorr, dEndElev, dSafeZ) ; } } // correggo elevazione finale per punto fine uscita (se testa da sopra senza aggregato approccio mai Z-)