Hi,
I've just installed FreeCAD which supports a data format called "open
cad format" *.oca
In FreeCADs web-page
http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Manual
, there is a link to
http://groups.google.com/group/open_cad_format -
this group. So I assume that FreeCAD is using the data format
presented here.
I drew two cubes and a cylinder in FreeCAD, saved the drawing in the
OCA format and yielded to following result:
#oca file generated from FreeCAD
# edges
# faces
A1=S(POL P(-8.0 -4.89842541529e-16 10.0) P(-8.0 -4.89842541529e-16
0.0) P(-8.0 -4.89842541529e-16 10.0))
A2=S(POL P(-8.0 -4.89842541529e-16 10.0) P(-8.0 -4.89842541529e-16
10.0))
A3=S(POL P(-8.0 -4.89842541529e-16 0.0) P(-8.0 -4.89842541529e-16
0.0))
A4=S(POL P(0.0 0.0 100.0) P(0.0 0.0 0.0) P(0.0 100.0 100.0) P(0.0
100.0 0.0) P(0.0 0.0 100.0))
A5=S(POL P(100.0 0.0 100.0) P(100.0 0.0 0.0) P(100.0 100.0 100.0) P
(100.0 100.0 0.0) P(100.0 0.0 100.0))
A6=S(POL P(100.0 0.0 0.0) P(0.0 0.0 0.0) P(100.0 0.0 100.0) P(0.0 0.0
100.0) P(100.0 0.0 0.0))
A7=S(POL P(100.0 100.0 0.0) P(0.0 100.0 0.0) P(100.0 100.0 100.0) P
(0.0 100.0 100.0) P(100.0 100.0 0.0))
A8=S(POL P(0.0 100.0 0.0) P(0.0 0.0 0.0) P(100.0 100.0 0.0) P(100.0
0.0 0.0) P(0.0 100.0 0.0))
A9=S(POL P(0.0 100.0 100.0) P(0.0 0.0 100.0) P(100.0 100.0 100.0) P
(100.0 0.0 100.0) P(0.0 100.0 100.0))
A10=S(POL P(100.0 0.0 110.0) P(100.0 0.0 10.0) P(100.0 100.0 110.0) P
(100.0 100.0 10.0) P(100.0 0.0 110.0))
A11=S(POL P(200.0 0.0 110.0) P(200.0 0.0 10.0) P(200.0 100.0 110.0) P
(200.0 100.0 10.0) P(200.0 0.0 110.0))
A12=S(POL P(200.0 0.0 10.0) P(100.0 0.0 10.0) P(200.0 0.0 110.0) P
(100.0 0.0 110.0) P(200.0 0.0 10.0))
A13=S(POL P(200.0 100.0 10.0) P(100.0 100.0 10.0) P(200.0 100.0 110.0)
P(100.0 100.0 110.0) P(200.0 100.0 10.0))
A14=S(POL P(100.0 100.0 10.0) P(100.0 0.0 10.0) P(200.0 100.0 10.0) P
(200.0 0.0 10.0) P(100.0 100.0 10.0))
A15=S(POL P(100.0 100.0 110.0) P(100.0 0.0 110.0) P(200.0 100.0 110.0)
P(200.0 0.0 110.0) P(100.0 100.0 110.0))
While I admit that there are pretty much similarities to the format
discussed in this group, it is finally quite different. Particularly
the statement "S(POL ... )" but also the way the cylinder is specified
(A1 to A3) is quite cryptic to me.
Is there a comprehensive summary of the format available?
Thx for help
Josef