Polyline.divide_polyline_by_length

Polyline.divide_polyline_by_length(length, strict=True)[source]

Splits a polyline in segments of a given length

length : float

strictbool

If set to False, the remainder segment will be added even if it is smaller than the desired length

Returns

list – list of compas.geometry.Point