# Creates the geometry for the passage on one side of a splitter blade.

# has variables bladeNumber (1, 2), passageLabel (low, high), northBladeNumber(1, 2),
#               northPOFlag (true, false), passageSuffix (L, H)

Attribute: Geometry=CreatePoint.ccl, teb[bladeNumber],  Point Type = TE, Blade Number = [bladeNumber], \
           Create Pitch Offset Geometry=yes, Create Alternate Geometry=yes, Compute Reference Theta=on
Attribute: Geometry=CreatePoint.ccl, te2b[bladeNumber], Point Type = TE2, Blade Number = [bladeNumber], \
           Create Pitch Offset Geometry=yes, Create Alternate Geometry=yes, Reference Theta Source=teb[bladeNumber]

# ========================================
#  Passage parametrization, low &  passage 
# ========================================
Attribute: Geometry=PassageParameterization.ccl, [passageLabel] passage, SW Point=[passageLabel]passWS, \
           NW Point=[passageLabel]passWN, SE Point=te2b[bladeNumber], \
           NE Point=teb[northBladeNumber], Use Pitch Offset NE Point=[northPOFlag], \
           W Curve=constLEb2, E Curve=te focal [passageLabel], \
           S Curve=high b[bladeNumber], N Curve=low b[northBladeNumber], Use Pitch Offset N Curve=[northPOFlag]

# ==========================
# focal curves, end points
# ==========================
Attribute: Geometry=PassageCurve.ccl, te pass focal[passageSuffix], Passage Curve Type = TE Pinning Line, \
           Passage Parameterization Source = [passageLabel] passage, Pinning Line Model =Cutoff
Attribute: Geometry=PointOnCurve.ccl, te pass focal[passageSuffix] low,   Curve Object = te pass focal[passageSuffix], Location Method = Beginning
Attribute: Geometry=PointOnCurve.ccl, te pass focal[passageSuffix] high,  Curve Object = te pass focal[passageSuffix], Location Method = End
