pyleecan.Methods.Geometry.Surface.split_line module

split_line(self, Z1, Z2, is_join=False, prop_dict_join=None)[source]

Cut the Surface in two part according to a line defined by two complex “Above” is in the coordinate system with Z1 in 0 and Z2 on the X>0 axis

Parameters:
  • self (Surface) – An Surface object

  • Z1 (complex) – First point of the cutting Line

  • Z2 (complex) – Second point of the cutting Line

  • is_join (bool) – True to join the split_list with Segment on the cutting line

  • prop_dict_join (dict) – Property dict to set on the join line

Returns:

top_surf, bot_surf – The two part of the Surface (one can be None if the line doesn’t cut the surface)

Return type:

SurfLine

join_surf_line(split_list, prop_dict_join)[source]

Join the surface to make sur the the surface is closed