Beispiel #1
0
 def __init__(self, name = "", samples = 0, use_spline = False):
     Contour.__init__(self)
     self.name = ""
     self.description = ""
     # parametric representation of the airfoil dist along surface
     # vs. x and vs. y
     self.parax = []
     self.paray = []
     self.nosedist = 0.0
     if ( name != "" ):
         self.load(name, samples, use_spline)
Beispiel #2
0
 def __init__(self, name="", samples=0, use_spline=False):
     Contour.__init__(self)
     self.name = ""
     self.description = ""
     # parametric representation of the airfoil dist along surface
     # vs. x and vs. y
     self.parax = []
     self.paray = []
     self.nosedist = 0.0
     if (name != ""):
         self.load(name, samples, use_spline)
Beispiel #3
0
 def __init__(self, name="", samples=0, use_spline=False):
     Contour.__init__(self)
     # locate airfoils data path relative to top level script
     datapath = os.path.split(os.path.abspath(sys.argv[0]))[0] + "/data"
     self.datapath = datapath
     self.name = ""
     self.description = ""
     # parametric representation of the airfoil dist along surface
     # vs. x and vs. y
     self.parax = []
     self.paray = []
     self.nosedist = 0.0
     if (name != ""):
         self.load(name, samples, use_spline)
Beispiel #4
0
 def __init__(self, name = "", samples = 0, use_spline = False):
     Contour.__init__(self)
     # locate airfoils data path relative to top level script
     datapath = os.path.split(os.path.abspath(sys.argv[0]))[0] + "/data"
     self.datapath = datapath
     self.name = ""
     self.description = ""
     # parametric representation of the airfoil dist along surface
     # vs. x and vs. y
     self.parax = []
     self.paray = []
     self.nosedist = 0.0
     if ( name != "" ):
         self.load(name, samples, use_spline)