[Merged] Draft importAirfoil

Merged, abandoned or rejected pull requests are moved here to clear the main Pull Requests forum.
Post Reply
helo
Posts: 3
Joined: Tue Dec 03, 2013 8:05 pm

[Merged] Draft importAirfoil

Post by helo »

I have modified the Airfoil importer, because it failed importing files from xfoil or this databse.
Therefore I changed the following
  • modified regular expression, now it recognizes exponential notation, e.g. 1.12312E-4
  • made the sorting (upper and lower side) of coordinates more flexible , the file can begin with leading or trailing edge now
I uploaded it here: https://github.com/helo9/FreeCAD_sf_mas ... foilimport
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Draft importAirfoil

Post by NormandC »

Did you previously use the account helo10? memberlist.php?mode=viewprofile&u=917
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Draft importAirfoil

Post by jmaustpc »

helo wrote:I have modified the Airfoil importer, because it failed importing files from xfoil or this databse.
Therefore I changed the following
  • modified regular expression, now it recognizes exponential notation, e.g. 1.12312E-4
  • made the sorting (upper and lower side) of coordinates more flexible , the file can begin with leading or trailing edge now
I uploaded it here: https://github.com/helo9/FreeCAD_sf_mas ... foilimport

those are interesting web sites. Thanks.
the aerofoil database site pops up a window to give you an outline of the aerofoil cross section as the mouse points at one.
airfoildb.jpeg
airfoildb.jpeg (52.84 KiB) Viewed 4351 times
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Draft importAirfoil

Post by yorik »

Great! Your code looks good, I merged it with the master... Thanks for the improvement!
helo
Posts: 3
Joined: Tue Dec 03, 2013 8:05 pm

Re: Draft importAirfoil

Post by helo »

@norman: yes, but I lost the password, and recovery did not work

@yorik: nice ;)
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Draft importAirfoil

Post by NormandC »

Did you read this topic before creating your new account?

Read this if you have trouble logging in to the new forum
Post Reply