[cgma-dev] r4722 - cgm/branches/merge-cubit12/test

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Thu Apr 7 10:35:12 CDT 2011


Author: janehu
Date: 2011-04-07 10:35:11 -0500 (Thu, 07 Apr 2011)
New Revision: 4722

Modified:
   cgm/branches/merge-cubit12/test/r_w.cpp
   cgm/branches/merge-cubit12/test/unite1.occ
   cgm/branches/merge-cubit12/test/unite4.occ
Log:
Added some comments on the testcase; Changed for testing on string with space case.

Modified: cgm/branches/merge-cubit12/test/r_w.cpp
===================================================================
--- cgm/branches/merge-cubit12/test/r_w.cpp	2011-04-06 19:49:20 UTC (rev 4721)
+++ cgm/branches/merge-cubit12/test/r_w.cpp	2011-04-07 15:35:11 UTC (rev 4722)
@@ -333,6 +333,9 @@
                                  num_ents_exported, cubit_version);
 
   assert(num_ents_exported == 1);
+  //name attributes in unite2.occ is 
+  //CGM_ATTRIB 11 ENTITY_NAME 2 8 volume B 8 volume_B 0 0
+  //so it changed to volume_B, and code needs use the second name attrib.
   bodies.clean_out();
   gti->bodies(bodies);
   //delete all entities
@@ -363,6 +366,7 @@
   rsl = CubitCompat_export_solid_model(ref_entity_list, filename, filetype,
                                  num_ents_exported, cubit_version);
   assert(num_ents_exported == 1);
+  //CGM_ATTRIB 11 ENTITY_NAME 2 8 volume A 8 volume_A 0 0 in unite3.occ
 
   bodies.clean_out();
   gti->bodies(bodies);
@@ -391,6 +395,8 @@
                                  num_ents_exported, cubit_version);
 
   assert(num_ents_exported == 1);
+  //CGM_ATTRIB 11 ENTITY_NAME 1 7 volumeA 0 0 in unite5.occ
+ 
   bodies.clean_out();
   gti->bodies(bodies);
   //delete all entities
@@ -421,6 +427,8 @@
                                  num_ents_exported, cubit_version);
   assert(num_ents_exported == 1);
  
+  //CGM_ATTRIB 11 ENTITY_NAME 1 7 volumeB 0 0 in unite6.occ
+
   bodies.clean_out();
   gti->bodies(bodies);
   //delete all entities

Modified: cgm/branches/merge-cubit12/test/unite1.occ
===================================================================
--- cgm/branches/merge-cubit12/test/unite1.occ	2011-04-06 19:49:20 UTC (rev 4721)
+++ cgm/branches/merge-cubit12/test/unite1.occ	2011-04-07 15:35:11 UTC (rev 4722)
@@ -594,7 +594,7 @@
 *
 *
 *
-CGM_ATTRIB 11 ENTITY_NAME 1 7 volumeB 0 0
+CGM_ATTRIB 11 ENTITY_NAME 1 8 volume B 0 0


More information about the cgma-dev mailing list