User Tools

Site Tools


files

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
files [2012/01/24 18:06]
ramcdona [tsv]
files [2018/04/01 14:41] (current)
Line 9: Line 9:
 VSP uses its own file format for airfoil points. ​ Some example airfoil files are included in the '​airfoils'​ directory of the distribution. ​ The example file representing a NACA 23015 is included below. VSP uses its own file format for airfoil points. ​ Some example airfoil files are included in the '​airfoils'​ directory of the distribution. ​ The example file representing a NACA 23015 is included below.
  
-The file starts out with a simple header. ​ The first line is a comment field, it is unused by VSP.  The second line is the airfoil name which will be displayed in VSP.  The third line is a flag to indicate a symmetrical airfoil. ​ The fourth and fifth lines specify the number of points which define the upper and lower surfaces.+The file starts out with a simple header. ​ The first line is a file-format identifying header which must contain "​AIRFOIL FILE"; otherwise, it is unused by VSP.  The second line is the airfoil name which will be displayed in VSP.  The third line is a flag to indicate a symmetrical airfoil. ​ The fourth and fifth lines specify the number of points which define the upper and lower surfaces.
  
 The surfaces are given as a series of (x, y) pairs. ​ The top surface first, then the bottom surface. ​ Points are specified from leading edge to trailing edge.  There is a blank line between the two sets of points. The surfaces are given as a series of (x, y) pairs. ​ The top surface first, then the bottom surface. ​ Points are specified from leading edge to trailing edge.  There is a blank line between the two sets of points.
Line 114: Line 114:
 Totals,​83.000565,​68.289142,​14.270749,​12.743678 Totals,​83.000565,​68.289142,​14.270749,​12.743678
 </​file>​ </​file>​
 +
 +==== dxf ====
 +
 +[[https://​www.autodesk.com/​techpubs/​autocad/​acadr14/​dxf/​dxf_reference.htm|AutoCAD DXF]] is a drawing format developed by Autodesk for CAD. The feature lines of a vehicle in VSP form the basis for DXF exports. 3D and 2D representations are available. For a 2D drawing, up to 4 views can be laid out in a single DXF. Additional options are available to add color to layers (identified up by geometry), force feature lines at all cross-sections,​ and add projection outlines. ​
 +
 +==== facet ====
 +
 +Similar to the *.tri file format, a Facet file contains the triangulated mesh data for a surface. Two methods are available for exporting a Facet file from VSP.
 +
 +  - Unintersected components (Comp Geom): File->​Export->​Xpatch (.facet)
 +  - Intersected components (CFD Mesh): Analysis->​CFD Mesh->​Output->​.facet
 +
 ==== fel ==== ==== fel ====
  
Line 227: Line 239:
 ==== obj ==== ==== obj ====
  
-Reasonably standardized ​triangulated surface file format.+[[http://​www.martinreddy.net/​gfx/​3d/​OBJ.spec|Wavefront object file]]. ​ VSP can sore a triangulated surface ​in a an OBJ file.  Only vertex '​v'​ and face '​f'​ data is output.
  
 ==== poly ==== ==== poly ====
  
-Surface file used as input for TetGen. +VSP can output a surface mesh in a format appropriate ​for the [[http://​tetgen.berlios.de/​|TetGen]] volume mesher. ​ This file is output in TetGen'​s own [[http://​tetgen.berlios.de/​fformats.poly.html|POLY]] format.
 ==== srf ==== ==== srf ====
  
Line 246: Line 257:
  
 STL files contain a large amount of redundant information. ​ Consequently,​ they can be very large for a given model -- as much as six times the size of other ASCII formats. STL files contain a large amount of redundant information. ​ Consequently,​ they can be very large for a given model -- as much as six times the size of other ASCII formats.
 +
 +==== svg ====
 +
 +[[https://​www.w3.org/​TR/​SVG11/​|SVG]],​ or Scalable Vector Graphics, is an XML-based 2D vector representation of an image. In VSP, an SVG drawing of a vehicle can be exported, which can then be opened using any web browser. Similar to DXF export, options are available to force feature lines at all cross-sections or add projection outlines. Up to four views are supported for an SVG export.
 +
 ==== tga ==== ==== tga ====
  
Line 268: Line 284:
  
 <​file>​ <​file>​
-Name Theo_Area Wet_Area Theo_Vol Wet_Vol Min_Chord Ave_Chord Max_Chord Min_TC_Ratio Avg_TC_Ratio Max_TC_Ratio Ave_Sweep Length Max_Xsec_Area Len_Dia_Ratio +Name   ​Theo_Area ​  ​Wet_Area ​  ​Theo_Vol ​  ​Wet_Vol ​  ​Min_Chord ​  ​Ave_Chord ​  ​Max_Chord ​  ​Min_TC_Ratio ​  ​Avg_TC_Ratio ​  ​Max_TC_Ratio ​  ​Ave_Sweep ​  ​Length ​  ​Max_Xsec_Area ​  ​Len_Dia_Ratio 
-Pod_0 30.309323 28.052179 8.222844 7.930860 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 +Pod_0   ​30.309323 ​  ​28.052179 ​  ​8.222844 ​  ​7.930860 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 
-Ms_Wing_0 26.345621 20.118482 3.023952 2.406409 1.999990 2.999995 4.000000 0.120000 0.120000 0.120000 44.999980 0.000000 0.000000 0.000000 +Ms_Wing_0 ​  ​26.345621 ​  ​20.118482 ​  ​3.023952 ​  ​2.406409 ​  ​1.999990 ​  ​2.999995 ​  ​4.000000 ​  ​0.120000 ​  ​0.120000 ​  ​0.120000 ​  ​44.999980 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000 
-Ms_Wing_0 26.345621 20.118482 3.023952 2.406409 1.999990 2.999995 4.000000 0.120000 0.120000 0.120000 44.999980 0.000000 0.000000 0.000000+Ms_Wing_0 ​  ​26.345621 ​  ​20.118482 ​  ​3.023952 ​  ​2.406409 ​  ​1.999990 ​  ​2.999995 ​  ​4.000000 ​  ​0.120000 ​  ​0.120000 ​  ​0.120000 ​  ​44.999980 ​  ​0.000000 ​  ​0.000000 ​  ​0.000000
 </​file>​ </​file>​
 +Note: in this example the tab characters have been replaced with three spaces to facilitate proper display in various browsers.
 ==== txt ==== ==== txt ====
  
Line 304: Line 320:
  
 Native VSP parametric geometry definition. ​ The VSP file is saved in XML format and can be relatively easily read, parsed, and updated. Native VSP parametric geometry definition. ​ The VSP file is saved in XML format and can be relatively easily read, parsed, and updated.
 +
 +
 +==== x3d ====
 +
 +Model for 3D web.  X3D is an XML successor to VRML.
 +
 +
  
  
files.1327457189.txt.gz · Last modified: 2018/04/01 14:40 (external edit)