EgtInterface 1.6h3 :
- EgtExplodeSurface per trimesh e Region - Count invece di Nbr - normale a regione e conteggio chunk.
This commit is contained in:
+14
-7
@@ -28,16 +28,23 @@ __stdcall EgtInvertSurface( int nId)
|
||||
return ( ExeInvertSurface( vIds) ? TRUE : FALSE) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtExplodeSurface( int nId, int* pnCount)
|
||||
{
|
||||
return ExeExplodeSurface( nId, pnCount) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtExtractSurfFrChunkLoops( int nId, int nChunk, int nDestGrpId, int* pnCount)
|
||||
{
|
||||
return ExeExtractSurfFrChunkLoops( nId, nChunk, nDestGrpId, pnCount) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtExtractSurfTmFacetLoops( int nId, int nFacet, int nDestGrpId, int* pnCount)
|
||||
{
|
||||
return ExeExtractSurfTmFacetLoops( nId, nFacet, nDestGrpId, pnCount) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtExplodeSurfTm( int nId, int* pnCount)
|
||||
{
|
||||
return ExeExplodeSurfTm( nId, pnCount) ;
|
||||
}
|
||||
|
||||
@@ -70,9 +70,9 @@ __stdcall EgtIsSelectedObj( int nId)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetSelectedObjNbr( void)
|
||||
__stdcall EgtGetSelectedObjCount( void)
|
||||
{
|
||||
return ExeGetSelectedObjNbr() ;
|
||||
return ExeGetSelectedObjCount() ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
@@ -63,9 +63,9 @@ __stdcall EgtResetCurrPartLayer( void)
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetPartNbr( BOOL bOnlyVisible)
|
||||
__stdcall EgtGetPartCount( BOOL bOnlyVisible)
|
||||
{
|
||||
return ExeGetPartNbr( ( bOnlyVisible != FALSE)) ;
|
||||
return ExeGetPartCount( ( bOnlyVisible != FALSE)) ;
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
|
||||
+23
-3
@@ -315,10 +315,30 @@ __stdcall EgtCurveCompoCenter( int nId, int nSimpCrv, int nRefId, double ptCen[3
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtSurfTmFacetNbr( int nId)
|
||||
BOOL
|
||||
__stdcall EgtSurfFrNormVersor( int nId, int nRefId, double vtNorm[3])
|
||||
{
|
||||
return ExeSurfTmFacetNbr( nId) ;
|
||||
// recupero il vettore normale
|
||||
Vector3d vtTmp ;
|
||||
if ( ! ExeSurfFrNormVersor( nId, nRefId, vtTmp))
|
||||
return FALSE ;
|
||||
// lo assegno
|
||||
VEC_FROM_3D( vtNorm, vtTmp)
|
||||
return TRUE ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtSurfFrChunkCount( int nId)
|
||||
{
|
||||
return ExeSurfFrChunkCount( nId) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtSurfTmFacetCount( int nId)
|
||||
{
|
||||
return ExeSurfTmFacetCount( nId) ;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------
|
||||
|
||||
+2
-2
@@ -29,9 +29,9 @@ __stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir)
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
int
|
||||
__stdcall EgtGetMachGroupNbr( void)
|
||||
__stdcall EgtGetMachGroupCount( void)
|
||||
{
|
||||
return ExeGetMachGroupNbr() ;
|
||||
return ExeGetMachGroupCount() ;
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user