From 6857a197897989acbeb9596b81f49c1e489efe73 Mon Sep 17 00:00:00 2001 From: Riccardo Elitropi Date: Thu, 14 May 2026 15:29:47 +0200 Subject: [PATCH] Include : - In EGkCalcPocketing aggiunto parametro a CalcPocketing per ToolCompensation - om EMkMachiningGeoConst aggiunta Info "TRC". --- EGkCalcPocketing.h | 21 +++++++++++---------- EMkMachiningGeoConst.h | 2 ++ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/EGkCalcPocketing.h b/EGkCalcPocketing.h index 8d882bf..d31e8d5 100644 --- a/EGkCalcPocketing.h +++ b/EGkCalcPocketing.h @@ -31,7 +31,7 @@ EGK_EXPORT bool CalcPocketing( const ISurfFlatRegion* pSfr, double dRad, double bool bConventionalMilling, bool bAllowZigZagOneWayBorders, bool bCalcFeed, const Point3d& ptEndPrec, const ISurfFlatRegion* pSfrLimit, bool bAllOffs, double dMaxOptSize, int nLiType, double dLiTang, double dLiElev, int nLoType, double dLoTang, - bool bPolishing, double dEpicyclesRad, double dEpicyclesDist, ICRVCOMPOPOVECTOR& vCrv) ; + bool bPolishing, double dEpicyclesRad, double dEpicyclesDist, bool bContour, ICRVCOMPOPOVECTOR& vCrv) ; EGK_EXPORT bool IsPocketingHole( const ISurfFlatRegion* pSfr, double dRad, double dRadialOffs, double dStep, int nType, int nLiType, double dLiTang, double dRatioSfrTool) ; EGK_EXPORT bool CalcSmoothCurve( ICurveComposite* pCrv, double dRightLen, double dLeftLen, bool bAsParam) ; @@ -57,31 +57,32 @@ enum { // Definizione di curva invalida enum { - TEMP_PROP_INVALID = - 1 + TEMP_PROP_INVALID = -1 } ; // Definizione curva di raccordo per smussi enum { - TEMP_PROP_SMOOTH = - 2 + TEMP_PROP_SMOOTH = -2 } ; // Definizione tipo di curva per casi speciali enum { - TEMP_PROP_SINGLE_CURVE = - 3, - TEMP_PROP_OPT_TRAPEZOID = - 4, - TEMP_PROP_BORDER_CURVE = - 5, - TEMP_PROP_OPT_CIRCLE = - 9 + TEMP_PROP_SINGLE_CURVE = -3, + TEMP_PROP_OPT_TRAPEZOID = -4, + TEMP_PROP_BORDER_CURVE = -5, + TEMP_PROP_OPT_CIRCLE = -9, + TEMP_PROP_CONTOUR_BORDER = -10 } ; // Definizione tipo di curva per entrate da fuori enum { - TEMP_PROP_OUT_START = - 6 + TEMP_PROP_OUT_START = -6 } ; // Definizione di curva attiva/non attiva enum { - TEMP_PROP_CURVE_ACTIVE = - 7, - TEMP_PROP_CURVE_INACTIVE = - 8 + TEMP_PROP_CURVE_ACTIVE = -7, + TEMP_PROP_CURVE_INACTIVE = -8 } ; // Definizione tipo LeadIn diff --git a/EMkMachiningGeoConst.h b/EMkMachiningGeoConst.h index 0f6abea..d421ffc 100644 --- a/EMkMachiningGeoConst.h +++ b/EMkMachiningGeoConst.h @@ -124,6 +124,8 @@ 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 entità CamData da eseguire in compensazione utensile +static std::string KEY_TRC = "TRC" ; // Tool Radius Compensation //----------------- Costanti posizione per preview utensile in lavorazione ------ enum MchToolShow { MCH_TPM_CURR = 0,