diff options
author | Marius Peter <blendoit@gmail.com> | 2019-06-29 14:34:48 -0700 |
---|---|---|
committer | Marius Peter <blendoit@gmail.com> | 2019-06-29 14:34:48 -0700 |
commit | 7887854ad2ba3fa81defe8641171d25405bdd370 (patch) | |
tree | c19b86e3a483b3d6ec4e9c3b3d88575e9f6ed612 /creator.py | |
parent | 8a48e962ab9f89233aabd682e88a608f83a61e43 (diff) |
try block for info printing
Diffstat (limited to 'creator.py')
-rw-r--r-- | creator.py | 11 |
1 files changed, 1 insertions, 10 deletions
@@ -50,6 +50,7 @@ class Coordinates: So, all component classes inherit from class Coordinates. """ + # Defaults chord = 100 semi_span = 200 @@ -130,8 +131,6 @@ class Airfoil(Coordinates): def __init__(self): # Run 'Coordinates' super class init method with same chord & 1/2 span. super().__init__() - self.chord = Coordinates.chord - self.semi_span = Coordinates.semi_span # NACA number self.naca_num = int() # Mean camber line @@ -244,10 +243,6 @@ class Spar(Coordinates): self.thickness = float() self.z_start = [] self.z_end = [] - self.dx = float() - self.dz = float() - self.dP_x = float() - self.dP_z = float() def add_coord(self, airfoil, x_loc_percent): """ @@ -307,10 +302,6 @@ class Stringer(Coordinates): self.z_start = [] self.z_end = [] self.area = float() - # self.dx = float() - # self.dz = float() - # self.dP_x = float() - # self.dP_z = float() def add_coord(self, airfoil, stringer_u_1, stringer_u_2, |