Drilling.from_line_and_element

classmethod Drilling.from_line_and_element(line, element, diameter)[source]

Construct a drilling process from a line and diameter.

# TODO: change this to point + vector instead of line. line is too fragile, it can be flipped and cause issues. # TODO: make a from point alt. constructor that takes a point and a reference side and makes a straight drilling through.

Parameters:
linecompas.geometry.Line

The line on which the drilling is to be made.

elementcompas_timber.elements.Element

The element to drill.

diameterfloat

The diameter of the drilling.

Returns:
compas_timber.fabrication.Drilling

The constructed drilling processing.