MeanderHalf

Contents

MeanderHalf#

zeroheliumkit.src.geometries.MeanderHalf(length: float = 100, radius: float = 50, direction: float = None, num_segments: int = 100, input_radius: float = None, output_radius: float = None, mirror: str = None) LineString[source]#

Returns a 1D half Meander line.

Parameters:
  • length (float) – length of the straight section

  • radius (float) – radius of the round section

  • direction (float) – rotates the meander by given value in the end

  • num_segments (int, optional) – number of segments in round section. Defaults to 100

Example

>>> MeanderHalf(10, 5, 45, 50)