pyleecan.Methods.Geometry.Segment.split_line module

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

Cut the Segment 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

  • self (Segment) – An Segment 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 if there is more that one remaining parts

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


top_split_list, bot_split_list – Both part of the Segment (1 or 2 segment depending on cutting point)

Return type:

([Segment], [Segment])