[MOAB-dev] r2718 - MOAB/trunk
kraftche at cae.wisc.edu
kraftche at cae.wisc.edu
Tue Mar 17 06:59:46 CDT 2009
Author: kraftche
Date: 2009-03-17 06:59:46 -0500 (Tue, 17 Mar 2009)
New Revision: 2718
Modified:
MOAB/trunk/MBReaderWriterSet.cpp
Log:
o Add missing terminator list for suffix list for ReadCGM
(fixes nightly test failures)
o Split MBReaderWriterSet::register_factory call for ReadCGM into
separate calls for different file types, such that the type name
for ACIS files is "ACIS" and for STEP is "STEP", rather than all
having the type "CGM".
o Add missing ReadCGM file suffixes: sab, iges, igs
Modified: MOAB/trunk/MBReaderWriterSet.cpp
===================================================================
--- MOAB/trunk/MBReaderWriterSet.cpp 2009-03-16 17:38:53 UTC (rev 2717)
+++ MOAB/trunk/MBReaderWriterSet.cpp 2009-03-17 11:59:46 UTC (rev 2718)
@@ -82,8 +82,14 @@
register_factory( Tqdcfr::factory, NULL, "Cubit", "cub", "CUBIT" );
#ifdef CGM
- const char* cgm_sufxs[] = {"stp", "step", "brep", "occ", "sat" };
- register_factory( ReadCGM::factory, NULL, "CGM", cgm_sufxs, "CGM");
+ const char* acis_sufxs[] = { "sat", "sab", NULL };
+ const char* occ_sufxs[] = { "brep", "occ", NULL };
+ const char* step_sufxs[] = { "step", "stp", NULL };
+ const char* iges_sufxs[] = { "iges", "igs", NULL };
+ register_factory( ReadCGM::factory, NULL, "ACIS solid model", acis_sufxs, "ACIS");
+ register_factory( ReadCGM::factory, NULL, "OpenCascade solid model", occ_sufxs, "OCC");
+ register_factory( ReadCGM::factory, NULL, "STEP B-Rep exchange", step_sufxs, "STEP");
+ register_factory( ReadCGM::factory, NULL, "IGES B-Rep exchange", iges_sufxs, "IGES");
#endif
#ifdef NETCDF_FILE
More information about the moab-dev
mailing list