From 236a0625f4bdb104a5a615000672fea30e773ee9 Mon Sep 17 00:00:00 2001 From: DarioS Date: Sun, 19 Dec 2021 18:42:27 +0100 Subject: [PATCH] Include : - aggiornamento prototipi. --- ENsAutoNester.h | 3 +++ EXeExecutor.h | 2 ++ 2 files changed, 5 insertions(+) diff --git a/ENsAutoNester.h b/ENsAutoNester.h index b0867c7..a4d2748 100644 --- a/ENsAutoNester.h +++ b/ENsAutoNester.h @@ -24,6 +24,7 @@ #define ENS_EXPORT __declspec( dllimport) #endif +class Point3d ; class PolyArc ; //----------------------------------------------------------------------------- @@ -53,6 +54,8 @@ class __declspec( novtable) IAutoNester virtual bool AddAnotherOutlineToPart( int nPartId, const PolyArc& AnotherOutline) = 0 ; virtual bool AddToolOutlineToPart( int nPartId, const PolyArc& ToolOutline) = 0 ; virtual bool SetRestrictedZoneToPart( int nPartId, int nRzConstrId) = 0 ; + virtual bool SetStripYconstraintToPart( int nPartId, const Point3d& ptRef, double dStripStart, double dStripRepeat) = 0 ; + virtual bool SetStripXconstraintToPart( int nPartId, const Point3d& ptRef, double dStripStart, double dStripRepeat) = 0 ; virtual bool SetInterpartGap( double dGap) = 0 ; virtual bool SetReportFile( const std::string& sReportFile) = 0 ; virtual bool Compute( bool bMinimizeOnXvsY, int nMaxTime) = 0 ; diff --git a/EXeExecutor.h b/EXeExecutor.h index e0891a3..57bd822 100644 --- a/EXeExecutor.h +++ b/EXeExecutor.h @@ -791,6 +791,8 @@ EXE_EXPORT bool ExeAutoNestAddHoleToPart( int nPartId, int nHoleId) ; EXE_EXPORT bool ExeAutoNestAddAnotherOutlineToPart( int nPartId, int nAnotherOutlineId) ; EXE_EXPORT bool ExeAutoNestAddToolOutlineToPart( int nPartId, int nToolOutlineId) ; EXE_EXPORT bool ExeAutoNestSetRestrictedZoneToPart( int nPartId, int nRzConstrId) ; +EXE_EXPORT bool ExeAutoNestSetStripYconstraintToPart( int nPartId, const Point3d& ptRef, double dStripStart, double dStripRepeat) ; +EXE_EXPORT bool ExeAutoNestSetStripXconstraintToPart( int nPartId, const Point3d& ptRef, double dStripStart, double dStripRepeat) ; EXE_EXPORT bool ExeAutoNestSetInterpartGap( double dGap) ; EXE_EXPORT bool ExeAutoNestSetReportFile( const std::string& sReportFile) ; EXE_EXPORT bool ExeAutoNestCompute( bool bMinimizeOnXvsY, int nMaxTime) ;