FreeContour.from_polyline_and_element

classmethod FreeContour.from_polyline_and_element(polyline, element, depth=None, interior=False, tool_position=None, ref_side_index=None, **kwargs)[source]

Construct a Contour processing from a polyline and element.

Parameters:
polylinelist of compas.geometry.Point

The polyline of the contour.

elementcompas_timber.elements.Beam or compas_timber.elements.Plate

The element.

depthfloat, optional

The depth of the contour. Default is the thickness of the element.

interiorbool, optional

If True, the contour is an interior contour. Default is False.

tool_positionBTLx.AlignmentType, optional

The position of the tool. Default is “left”.

ref_side_indexint, optional

The reference side index. If none is given, the function will try to find the reference side index based on the polyline and element.