EgtExecutor 2.4a4 :

- aggiunta gestione import formato OBJ (Alias-Wavefront).
This commit is contained in:
DarioS
2022-01-14 11:42:19 +01:00
parent 35e4f73a8f
commit a06fef3b0c
2 changed files with 7 additions and 4 deletions
+7 -4
View File
@@ -67,6 +67,8 @@ ExeGetFileType( const string& sFilePath)
return FT_STL ;
else if ( sFileExt == "3MF")
return FT_3MF ;
else if ( sFileExt == "OBJ")
return FT_OBJ ;
else if ( sFileExt == "CNC" || sFileExt == "XPI" || sFileExt == "MPF" || sFileExt == "ISO" || sFileExt == "EIA")
return FT_CNC ;
else if ( sFileExt == "HED" || sFileExt == "ENT" || sFileExt == "ENS")
@@ -379,10 +381,11 @@ ExeAdvancedImport( const string& sFilePath, double dToler)
VERIFY_CTX_GEOMDB( pGseCtx, false)
// verifico che il formato sia supportato
int nFileType = ExeGetFileType( sFilePath) ;
if ( nFileType != FT_IGES &&
nFileType != FT_STEP &&
nFileType != FT_ACIS &&
nFileType != FT_PARASOLID &&
if ( nFileType != FT_OBJ &&
nFileType != FT_IGES &&
nFileType != FT_STEP &&
nFileType != FT_ACIS &&
nFileType != FT_PARASOLID &&
nFileType != FT_JT &&
nFileType != FT_VRML &&
nFileType != FT_C3D) {
BIN
View File
Binary file not shown.