Drilling.from_line_and_beam
- classmethod Drilling.from_line_and_beam(line, diameter, beam)[source]
Construct a drilling processing 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.
- diameterfloat
The diameter of the drilling.
- lengthfloat
The length (depth?) of the drilling.
- beam
compas_timber.elements.Beam
The beam to drill.
- line
- Returns:
compas_timber.fabrication.Drilling
The constructed drilling processing.