Commit ab5a9750 authored by Frederik Zahle's avatar Frederik Zahle

fix bladecap missing file

parent 3d41b31e
Pipeline #19739 failed with stage
in 3 minutes and 41 seconds
......@@ -314,6 +314,9 @@ class BladeMesher(object):
if self.ni_root > 0:
if self.root_type in ['cylinder', 'nacelle', 'cap']:
self.root.tip_con = self.main_section.surface[:, self.ni_root-1, :]
self.root.Proot = np.array([self.pf['x'][0],
self.pf['y'][0],
self.pf['z'][0]])
self.root.update()
self.tip.main_section = self.main_section.surface
self.tip.update()
......@@ -384,4 +387,3 @@ class BladeMesher(object):
self.dist = np.array([[s, ds, index]])
self.dist = self.dist[np.argsort(self.dist[:,0]),:]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment