Source code for pyleecan.Methods.Slot.HoleM51.comp_width

# -*- coding: utf-8 -*-

from numpy import sin


[docs]def comp_width(self): """Compute the width of the Hole (cf schematics) Parameters ---------- self : HoleM51 A HoleM51 object Returns ------- Whole: float Width of the Hole (cf schematics) [m] """ Rext = self.get_Rext() return 2 * sin(self.W1 / 2) * (Rext - self.H1)