Source code for pyleecan.Methods.Machine.Bore.get_surface

from ....Classes.SurfLine import SurfLine


[docs]def get_surface(self): """Returns the bore shape as a Surface object Parameters ---------- self : Bore A Bore object Returns ------- Sbore : Surface Surface object to draw the bore """ line_list = self.get_bore_line() return SurfLine(line_list=line_list, point_ref=0, label="Bore")