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,