FredsFactory / FreeCAD_AirPlaneDesign

FreeCAD WorkBench Air Plane Design
GNU Lesser General Public License v2.1
79 stars 14 forks source link

Implement optional use of BSpline #17

Closed adrianinsaval closed 4 years ago

adrianinsaval commented 4 years ago

Hi! This pull request implements the usage of Part.BSplineCurve for the airfoils, making them smoother. This behavior is controlled trough the useBSpline boolean that defaults to True in the functions, a GUI method of stablishing this value has to be implemented (a checkbox for example, with it's corresponding property).

I have tested making ribs from: naca2412.dat, eppler205.dat, naca 4 and 5 digits. I also tested changing the choord length after creation, changing the dat file, changing naca digits, and switching from naca to dat file and vice-versa. Also tested generating the default panel. All seems to work. wing

adrianinsaval commented 4 years ago

Freecad forum post

FredsFactory commented 4 years ago

Thanks a lot. I will integrate the option in the gui during the week. Frédéric