pyleecan.Functions.Geometry.cut_lines_between_angle module

cut_lines_between_angles(line_list, begin_angle, end_angle)[source]

Cut a list of lines between two angles Assume that the lines draw a closed surface centered on O Constraint: end_angle - begin_angle < pi (first cut remove half the lines)

Parameters:
  • line_list ([Line]) – list of line to cut

  • begin_angle (float) – Begin angle of the cut [rad]

  • end_angle (float) – End angle of the cut [rad]

Returns:

cut_lines – Cut lines between the two angles

Return type:

[Line]