EgtInterface 1.6h3 :

- EgtExplodeSurface per trimesh e Region
- Count invece di Nbr
- normale a regione e conteggio chunk.
This commit is contained in:
Dario Sassi
2015-08-18 07:40:36 +00:00
parent a0f4898de2
commit 8d01a7ad93
6 changed files with 43 additions and 16 deletions
+14 -7
View File
@@ -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) ;
}
+2 -2
View File
@@ -70,9 +70,9 @@ __stdcall EgtIsSelectedObj( int nId)
//-----------------------------------------------------------------------------
int
__stdcall EgtGetSelectedObjNbr( void)
__stdcall EgtGetSelectedObjCount( void)
{
return ExeGetSelectedObjNbr() ;
return ExeGetSelectedObjCount() ;
}
//-----------------------------------------------------------------------------
+2 -2
View File
@@ -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
View File
@@ -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
View File
@@ -29,9 +29,9 @@ __stdcall EgtInitMachMgr( const wchar_t* wsMachinesDir)
//-----------------------------------------------------------------------------
int
__stdcall EgtGetMachGroupNbr( void)
__stdcall EgtGetMachGroupCount( void)
{
return ExeGetMachGroupNbr() ;
return ExeGetMachGroupCount() ;
}
//-----------------------------------------------------------------------------
BIN
View File
Binary file not shown.