build_geometry (method)

@package Methods.Machine.HoleM50.build_geometry HoleM50 build_geometry method @date Created on Thu Dec 17 11:03:07 2015 @copyright (C) 2015-2016 EOMYS ENGINEERING. @author pierre_b

build_geometry(self, alpha=0, delta=0, is_simplified=False)[source]

Compute the curve (Segment) needed to plot the Slot. The ending point of a curve is the starting point of the next curve in the list

Parameters:
  • self (HoleM50) – A HoleM50 object
  • alpha (float) – Angle to rotate the slot (Default value = 0) [rad]
  • delta (complex) – Complex to translate the slot (Default value = 0)
  • is_simplified (bool) – True to avoid line superposition
Returns:

surf_list – List of SurfLine needed to draw the HoleM50

Return type:

list