Create+Wing+Segment

Click here to return to top level Genair page.

In [30]: //=Wing(//)
 * !-- Begin process by creating a wing segment based on a given airfoil**

In [32]: T1 = nurbs.tb.make_linear_curve(Point(y=////),Point(y=////))
 * !-- Define tragectory curve:**
 * !-- Construct a linear Curve based on two three-dimensional space**
 * !-- points.**

In [34]: //.orient(T1)
 * !-- Define twist for the wing segment:**

In [115]: sc1 = geom.wing.BSplineFunctionCreator1(end=(//,//)).fit
 * !-- Create a scaling function to taper wing segment**

In [36]: //.fit(K=5, scs=(sc1,None,sc1))
 * !-- Sweep airfoil along tragectory curve "T1" and apply scaling function for taper**