Tutorial-How to import points to solidworks from a text file !


As you want to export airfoil coordinates to the SolidWorks hence the coordinate database for airfoils usually come in 2D (in two column only has X & Y) and it's a tedious job to put 0 into the third column, Little changes to above procedure is needed (you can do it using matlab software or excel but I prefer this)
a database for airfoils coordinate comes below:
http://www.ae.illinois.edu/m-selig/ads/coord_database.html#N
-
Step 1:
As you see the coordinates I take from the above site has no third column (it's normal as it's 2D). I choose "naca2415" for instance.
be careful it has usually headings include airfoil name above the file, delete it! -
Step 2:
As before!
open a new part
tool--> macro --> new
choose a name for it! -
Step 3:
little changes to program above as below (or you can download .swp that i upload)
you can also read the point from ".dat" files -
Step 4:
Pay Attention to notes in step 4 (above)!
Save the macro and run it from SolidWorks as Above(Steps 5, 6 & 7) !
the result is shown below