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:
- line
compas.geometry.Line
The line on which the drilling is to be made.
- element
compas_timber.elements.Element
The element to drill.
- diameterfloat
The diameter of the drilling.
- line
- Returns:
compas_timber.fabrication.Drilling
The constructed drilling processing.