From 21006c7f2e66a2e68e1df5635bf031129c2d9ca5 Mon Sep 17 00:00:00 2001 From: Riccardo Elitropi Date: Mon, 7 Sep 2026 16:59:01 +0200 Subject: [PATCH] Include : - in CurveAux aggiunto prototipo per taglio di una curva con un piano - in MachiningGeoConst aggiunte due variabili per direzione utensile e versore movimento per finiture di superfici. --- EGkCurveAux.h | 6 +++++- EMkMachiningGeoConst.h | 4 +++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/EGkCurveAux.h b/EGkCurveAux.h index d8490a8..4b2398a 100644 --- a/EGkCurveAux.h +++ b/EGkCurveAux.h @@ -176,4 +176,8 @@ EGK_EXPORT bool GetChainedCurves( ICRVCOMPOPOVECTOR& vCrv, double dChainTol = 5 //---------------------------------------------------------------------------- //! dato un punto su una curva trova il corrispondente sulla seconda curva EGK_EXPORT bool GetIsoPointOnSecondCurve( const ICurve* pCrv1, const ICurve* pCrv2, double dUCurr1, double& dUCurr2, double dMyDist, double dUPrev2, - double dLenPrev2, double& dLenCurr2, double dLen2) ; \ No newline at end of file + double dLenPrev2, double& dLenCurr2, double dLen2) ; + +//---------------------------------------------------------------------------- +//! esegue il taglio di una curva con un piano +EGK_EXPORT bool CutCurveWithPlane( const ICurve* pCrv, const Plane3d& Plane, bool bSaveOn, ICURVEPOVECTOR& vCrvRes) ; diff --git a/EMkMachiningGeoConst.h b/EMkMachiningGeoConst.h index efefd9b..c473081 100644 --- a/EMkMachiningGeoConst.h +++ b/EMkMachiningGeoConst.h @@ -124,7 +124,9 @@ static std::string KEY_PREVIEWSHOW = "PreviewShow" ; // Chiavi info in entità di CL e DBL per riferimenti reciproci static std::string KEY_DBL_MAIN = "Main" ; static std::string KEY_CL_DOUBLE = "Double" ; - +// Chiavi info per versore utensile e versore movimento +static std::string KEY_TOOL_DIR = "TDIR" ; +static std::string KEY_TOOL_MOVE = "TMOVE" ; //----------------- Costanti posizione per preview utensile in lavorazione ------ enum MchToolShow { MCH_TPM_CURR = 0, MCH_TPM_BEFORE = -1,