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

jiangtao_ma at yahoo.com jiangtao_ma at yahoo.com
Wed Apr 6 11:32:01 CDT 2011


Author: janehu
Date: 2011-04-06 11:32:00 -0500 (Wed, 06 Apr 2011)
New Revision: 4716

Modified:
   cgm/branches/merge-cubit12/test/stitch.name_occ
   cgm/branches/merge-cubit12/test/unite1.occ
   cgm/branches/merge-cubit12/test/unite4.occ
Log:
Updated new format for brep file's attributes. This change removed separator between different data in the attributes, and should be more readable. New format is:
CGM_ATTRIB (length of attribute name) attibute_name (number of string attributes) <length of first string attribute> <first string> <length of second string attribute> <second string>... (number of int attributes) <first int> <seconde int>... (number of double attributes) <first double> <second double>...
where < > are optional arguments.

Modified: cgm/branches/merge-cubit12/test/stitch.name_occ
===================================================================
--- cgm/branches/merge-cubit12/test/stitch.name_occ	2011-04-06 04:17:50 UTC (rev 4715)
+++ cgm/branches/merge-cubit12/test/stitch.name_occ	2011-04-06 16:32:00 UTC (rev 4716)
@@ -810,7 +810,7 @@
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face1* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 5 face1 0 0
 *
 *
 *
@@ -826,13 +826,13 @@
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face2* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 5 face2 0 0 
 *
 *
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face16* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 6 face16 0 0
 *
 *
 *
@@ -846,30 +846,30 @@
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face3* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 5 face3 0 0 
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face4* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 5 face4 0 0
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face5* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 5 face5 0 0
 *
 *
 *
-CGM_ATTRIB ENTITY_NAME* face6* * *
+CGM_ATTRIB 11 ENTITY_NAME 1 5 face6 0 0
 *


More information about the cgma-dev mailing list