joints

compas_wood.joinery.joints(list_of_polylines, search_type=0)[source]

Get joints as: a) element pairs, b) joint areas, c) joint types.

Parameters
  • list_of_polylines (list[Polyline]) – list of polylines that represents the timber elements

  • search_type (int) – 0: side-to-side, 1: cross, 2: both

Returns

tuple – list[list[int]] element_pairs, list[Polyline] joint_areas list[int] joint_types