Home
Reply
rln
Contributor
rln
Posts: 28

View and validation of ACIS-SAT files

Hello folks,

 

For CAD Exchanger (http://www.cadexchanger.com), we are currently developing an export to ACIS-SAT format. Topological and some geometrical entities are already supported and are written to the SAT file. However to test quality of produced files we would like to verify them via some 3rd party tools. The bare minimum is correct viewing; measurements (dimensions, mass, etc) and/or validity checks would be a good bonus.

Are there good tools available (preferrably free) ?

 

Thank you for your help,

Roman

 

rln
Contributor
rln
Posts: 28

Re: View and validation of ACIS-SAT files

As an example, I am currently stuck with the following simple file that CAD Exchanger produces. It is a planar triangular face built on vertices {0,0,0}; {1,0,0}; {0,2,0}.

My importer can successfully read it back but other 3rd party tools cannot read it, and I cannot figure out why :-(

 

Could someone help either verify this file and suggest what can be a root-cause ? Help from Spatial employees would be especially appreciated.

 

Thank you in advance,

Roman

 

 

 

400 0 1 0
37 CAD Exchanger  (www.cadexchanger.com) 8 ACIS 4.0 24 Fri Aug 14 19:00:02 2009
1 1e-007 1e-012
-0 body $-1 $1 $-1 $-1 #
-1 lump $-1 $-1 $2 $0 #
-2 shell $-1 $-1 $-1 $3 $-1 $1 #
-3 face $-1 $-1 $4 $2 $-1 $17 forward single #
-4 loop $-1 $-1 $5 $3 #
-5 coedge $-1 $6 $7 $-1 $10 forward $4 $-1 #
-6 coedge $-1 $7 $5 $-1 $9 forward $4 $-1 #
-7 coedge $-1 $5 $6 $-1 $8 forward $4 $-1 #
-8 edge $-1 $11 $13 $7 $14 forward #
-9 edge $-1 $12 $11 $6 $18 forward #
-10 edge $-1 $13 $12 $5 $15 forward #
-11 vertex $-1 $8 $16 #
-12 vertex $-1 $9 $20 #
-13 vertex $-1 $8 $19 #
-14 straight-curve $-1 0 2 0 0 -1 0 I I #
-15 straight-curve $-1 0 0 0 1 0 0 I I #
-16 point $-1 0 2 0 #
-17 plane-surface $-1 0 0 0 0 0 1 1 0 -0 forward_v I I I I #
-18 straight-curve $-1 1 0 0 -0.447214 0.894427 0 I I #
-19 point $-1 0 0 0 #
-20 point $-1 1 0 0 #
End–of–ACIS–data

rln
Contributor
rln
Posts: 28

Re: View and validation of ACIS-SAT files

Got it !

Dashes ("-") in the "End–of–ACIS–data" string were encoded as 0x96 chars not as 0x2D. This caused failures in 3rd party viewers. The formatter is now fixed and everything works fine !

Roman