Is there anyone who is familiar with Airpak3.0 model file format
I want to develop a application that can convert the dxf file to airpak2.1 airpak3.0 model file using C++.And I find that airpak2.1 airpak3.0 model file is a TEXT file,which is organized as a certain format.But I can not understand it.Is there anyone that is familiar with it,or is there any information about it?
Below is a sample for Airpak3.0 model file
#@ Airpak 3.0.16 model file
object domain room.1
current_genus default
shape body_shape shape_hexa
setval point1 {-500 -440 0} point2 {460 425 400} diff {960 865 400} volume_flag {2} diff_flag {0}
end shape
current_stype hexa
creation_order 1
grid_priority 0
end object
object block block.1
current_stype polygon
block_type hollow
shape body_shape shape_polygon
setval nverts 28
setval volume_flag {0} split_flag {0} changes {0} nverts {28} plane {2} height {97.8} vert1 {-200.7 -98.8 0} vert2 {-201.2 -105.3 0} vert3 {-197.4 -105.6 0} vert4 {-197.3 -104.8 0} vert5 {-190.7 -105.2 0} vert6 {-190.9 -110.1 0} vert7 {-195.4 -109.8 0} vert8 {-196.3 -122.1 0} vert9 {-189.5 -122.6 0} vert10 {-189.2 -120.4 0} vert11 {-179.3 -121 0} vert12 {-178.3 -107.4 0} vert13 {-169.2 -108.1 0} vert14 {-170.2 -121.6 0} vert15 {-160.1 -122.2 0} vert16 {-160.3 -124.8 0} vert17 {-153.6 -125.3 0} vert18 {-152.7 -112.9 0} vert19 {-157.1 -112.6 0} vert20 {-156.9 -107.8 0} vert21 {-150 -108.3 0} vert22 {-150.1 -109.1 0} vert23 {-146.3 -109.4 0} vert24 {-145.8 -102.9 0} vert25 {-147.9 -102.7 0} vert26 {-147.7 -100.5 0} vert27 {-198.5 -96.8 0} vert28 {-198.6 -99 0}
end shape
grid_priority 2
creation_order 1
current_genus default
end object
object opening opening.1
xvecf 1
current_stype quad
shape body_shape shape_quad
setval point1 {460 425 400} point2 {460 -440 0} diff {0 -865 -400} volume_flag {0} split_flag {16} plate_flag {0} diff_flag {0} plane {0} iradius {0} thickness {0}
end shape
grid_priority 24
zvecf 0
free_magnitude 1.0
creation_order 24
current_genus free
yvecf 0
end object
turb_dissipation_face_profile_on 1
free_vely_on 1
shape body_shape shape_quad
setval point1 {-500 425 0} point2 {460 425 400} diff {960 0 400} volume_flag {0} split_flag {16} plate_flag {0} diff_flag {0} plane {1} iradius {0} thickness {0}
end shape
ymagn_vec 1.0
yanglef 1.0
grid_priority 27
zvecf 0
free_magnitude 1.0
xanglef 1.0
creation_order 27
free_velx_on 1
yanglef_face_profile {-20.0 425 9.6974411471244 -2.5171325553033 -20.0 425 21.177469195823 -2.9890543093044 -20.0 425 34.981345427928 -3.3379939487908 -20.0 425 51.894137479488 -3.6405545142577 -20.0 425 73.099415204678 -3.92556860457 -20.0 425 100.46885212817 -4.2100614026508 -20.0 425 137.14732936919 -4.5084030113338 -20.0 425 188.85740260858 -4.8371660468896 -20.0 425 267.22089069566 -5.2209916983201 -20.0 425 400.0 -5.6084892574471}
advanced_turb 1
current_genus free
xanglef_face_profile_on 1
yvecf 1.0
turb_dissipation_face_profile {-20.0 425 9.6974411471244 0.052736147359764 -20.0 425 21.177469195823 0.024148574157684 -20.0 425 34.981345427928 0.0146193829623 -20.0 425 51.894137479488 0.0098547872685914 -20.0 425 73.099415204678 0.0069960297755523 -20.0 425 100.46885212817 0.0050901913828475 -20.0 425 137.14732936919 0.0037288781903345 -20.0 425 188.85740260858 0.0027078932479407 -20.0 425 267.22089069566 0.0019137938056266 -20.0 425 400.0 0.0013821775279659}
end object