2.8. Others
2.8.1. Input and output
There are several formats available for I/O.
1output_curve(x, y, fname='curve.dat', ID=0)
2
3output_foil(x, yu, yl, fname='airfoil.dat', ID=0, info=False)
4
5output_plot3d(X, Y, Z, fname, scale=1.0)
6
7xs, ys = read_curves(fname='curve.dat')
8
9data, name_var, titles = read_tecplot(fname='tecplot.dat')
10
11xyz, iLine0_new = read_block_plot3d(lines, iLine0, ni, nj, nk)
2.8.2. Format transformation
Plot3D format to IGES format.
1output_plot3d(X, Y, Z, 'name.xyz', scale=1.0)
2
3plot3d_to_igs(fname='name')