From 962eb979a5342acebb95049ab8aed0f83118f858 Mon Sep 17 00:00:00 2001 From: DarioS Date: Mon, 10 Jan 2022 18:35:36 +0100 Subject: [PATCH] EgtInterface 2.4a2 : - aggiunti prototipi EgtGetMachiningStartPoint e EgtGetMachiningEndPoint. --- API_MachMgr.cpp | 26 ++++++++++++++++++++++++++ EgtInterface.rc | Bin 11718 -> 11718 bytes 2 files changed, 26 insertions(+) diff --git a/API_MachMgr.cpp b/API_MachMgr.cpp index 6ccf5c8..dd90469 100644 --- a/API_MachMgr.cpp +++ b/API_MachMgr.cpp @@ -1751,6 +1751,32 @@ __stdcall EgtIsMachiningEmpty( void) return ( ExeIsMachiningEmpty() ? TRUE : FALSE) ; } +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetMachiningStartPoint( double ptP[3]) +{ + // recupero il punto + Point3d ptStart ; + if ( ! ExeGetMachiningStartPoint( ptStart)) + return FALSE ; + // ritorno il punto + VEC_FROM_3D( ptP, ptStart) + return TRUE ; +} + +//----------------------------------------------------------------------------- +BOOL +__stdcall EgtGetMachiningEndPoint( double ptP[3]) +{ + // recupero il punto + Point3d ptEnd ; + if ( ! ExeGetMachiningEndPoint( ptEnd)) + return FALSE ; + // ritorno il punto + VEC_FROM_3D( ptP, ptEnd) + return TRUE ; +} + //----------------------------------------------------------------------------- BOOL __stdcall EgtApplyAllMachinings( BOOL bRecalc, BOOL bStopOnFirstErr, wchar_t*& wsErrList) diff --git a/EgtInterface.rc b/EgtInterface.rc index 2abcf1b073d364c78838737364833b1bdfa7f3c4..3916477f49a925590ccdd8ca69c38cbb309a8434 100644 GIT binary patch delta 111 zcmX>WeJpyzFE&P_%^&$rGEF|hS;uHJ`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o07g?Nt^fc4 delta 111 zcmX>WeJpyzFE&QQ%^&$rGEF|hS;uHN`Jtfh<^rw;7OzIAO+TQQ4Xt~E@c}o07PdfrT_o{