# has variables opening (in/out), openingU (IN/OUT), 
#               bladeEnd (le/te), bladeEndU (LE/TE), bladeNumber ()


# Inlet / Ooutlet opening
Attribute: Geometry=CreatePoint.ccl, [opening] constant theta, Reference Theta Source=[bladeEnd]b[bladeNumber], \
                    Point Type = Object and Curve Key, Geometry Object = /GEOMETRY/[openingU]LET, \
                    Geometry Key = constant theta extended, Set Theta To Reference Theta = on, \
                    Create Alternate Geometry = yes
# Inlet or Outlet

Attribute: Geometry=CreateCurve.ccl, [opening] ext, Create Pitch Offset Geometry=off, Source Point=[opening] constant theta, Curve Type = Rotation,\
                    Geometry Object = /GEOMETRY/[openingU]LET, Geometry Key = extended full, Create Alternate Geometry = yes
#
#   Two points LE/TE projected to Inlet/Outlet 
#
Attribute: Geometry=ProjectedPoint.ccl, [opening] [bladeEnd]b[bladeNumber] proj, Source Point = [bladeEnd]b[bladeNumber], \
                    Projection Object = [opening] ext, Create Pitch Offset Geometry = off, \
                    Reprojection Object=[position] closed b[bladeNumber], Working Space = Transformed
                    
                    
Attribute: Geometry=ProjectedPoint.ccl, [bladeEnd]b[bladeNumber] proj, Source Point = [opening] [bladeEnd]b[bladeNumber] proj, \
                    Projection Object = [position] closed b[bladeNumber], Create Pitch Offset Geometry = off, \                                        
                    Working Space = Transformed


Attribute: Geometry=TranslatedPoint.ccl,[opening] [bladeEnd]b[bladeNumber] proj p,  Source Point=[opening] [bladeEnd]b[bladeNumber] proj ,  Pitch Multiple= 1
Attribute: Geometry=TranslatedPoint.ccl,[bladeEnd]b[bladeNumber] proj p,            Source Point= [bladeEnd]b[bladeNumber] proj,  Pitch Multiple= 1


# Curve
Attribute: Geometry=CurveFromPoints.ccl, [opening] to [bladeEnd]b[bladeNumber] proj, \
                    Point List = [bladeEnd]b[bladeNumber] proj$ [opening] [bladeEnd]b[bladeNumber] proj, Create Pitch Offset Geometry = off
                    
Attribute: Geometry=TranslatedCurve.ccl, [opening] to [bladeEnd]b[bladeNumber] proj p, Geometry Source = [opening] to [bladeEnd]b[bladeNumber] proj, Create Alternate Geometry=no, Pitch Multiple =1
#                    
                    
                    
