# Creates the geometry around the leading edge of the splitter blade for systems
# with two blades.

Attribute: Geometry=CreatePoint.ccl, leb2, Point Type = LE, Blade Number = 2, \
           Create Alternate Geometry=on, Reference Theta Source=teb2 
Attribute: Geometry=CreatePoint.ccl, leb2 focal point, Point Type = LEFocal, \
           Blade Number = 2, Create Alternate Geometry=on, Reference Theta Source=leb2 
Attribute: Geometry=CreateBladeCurves.ccl, b2, Blade Number = 2, Create Pitch Offset Geometry=no, \
           Create Alternate Geometry=yes, Reference Theta Source=leb2, Blade Label = b2
Attribute: Geometry=Expose.ccl, leading closed b2, Geometry Source = b2, Geometry Reference Name = Leading Closed
Attribute: Geometry=Expose.ccl, low full b2, Geometry Source = b2, Geometry Reference Name = Low Full
Attribute: Geometry=Expose.ccl, high full b2, Geometry Source = b2, Geometry Reference Name = High Full
Attribute: Geometry=Expose.ccl, high b2, Geometry Source= b2, Geometry Reference Name = High 
Attribute: Geometry=Expose.ccl, low b2,  Geometry Source= b2, Geometry Reference Name = Low 
# =================================
#  Pinning Lines for Splitter LE
# =================================
Attribute: Geometry=SplitterProximityGeometry.ccl, b2 proximity, Blade End  = LE, \
           Source Point = leb2, Passage Parameterization Source = main passage, \
           High Blade Curve = high b2, Low Blade Curve = low b2, Main Passage Curve = mpc, \
           Splitter Low Passage Curve = slpc, Splitter High Passage Curve = shpc
#
Attribute: Geometry=Expose.ccl, mpc, Geometry Source = b2 proximity, Geometry Reference Name = Main Passage Curve
Attribute: Geometry=PointOnCurve.ccl, mpc low,    Curve Object = mpc, Location Method = Beginning 
Attribute: Geometry=PointOnCurve.ccl, mpc high,  Curve Object = mpc, Location Method = End
#
Attribute: Geometry=Expose.ccl, slpc, Geometry Source = b2 proximity, Geometry Reference Name = Splitter Low Passage Curve
Attribute: Geometry=PointOnCurve.ccl, slpc low,   Curve Object = slpc, Location Method = Beginning
Attribute: Geometry=PointOnCurve.ccl, slpc high,  Curve Object = slpc, Location Method = End 
#
Attribute: Geometry=Expose.ccl, shpc, Geometry Source = b2 proximity, Geometry Reference Name = Splitter High Passage Curve
Attribute: Geometry=PointOnCurve.ccl, shpc low,  Curve Object = shpc, Location Method = Beginning
Attribute: Geometry=PointOnCurve.ccl, shpc high, Curve Object = shpc, Location Method = End 
# =====================================
# get Passage curve at LEb2 location
#======================================
Attribute: Geometry=PassageCurve.ccl, constLEb2, Passage Curve Type =Constant U From Point, \
           Passage Parameterization Source = main passage, Source Point = leb2 focal point, \
           Passage Curve Direction = Both
# -- we need four points
Attribute: Geometry=ProjectedPoint.ccl, lowpassWS, Source Point = leb2 focal point, \
           Use Pitch Offset Source Point = false, Projection Object = constLEb2, \
           Reprojection Object= low b1, Reprojection Iteration Count=50, Working Space = Transformed
Attribute: Geometry=ProjectedPoint.ccl, lowpassWN, Source Point = leb2 focal point, \
           Use Pitch Offset Source Point = false, Projection Object = constLEb2, \
           Reprojection Object= low b2, Reprojection Iteration Count=50, Working Space = Transformed
#
Attribute: Geometry=ProjectedPoint.ccl, highpassWS, Source Point = leb2 focal point, \
           Use Pitch Offset Source Point = false, Projection Object = constLEb2, \
           Reprojection Object= high b2,   Reprojection Iteration Count=50, Working Space = Transformed
Attribute: Geometry=ProjectedPoint.ccl, highpassWN, Source Point = leb2 focal point, \
           Use Pitch Offset Source Point = false, Projection Object = constLEb2, \
           Reprojection Object= high b1, Use Pitch Offset Reprojection Object = true, \
           Reprojection Iteration Count=50, Working Space = Transformed
