Tenon.from_plane_and_beam
- classmethod Tenon.from_plane_and_beam(plane, beam, start_y=0.0, start_depth=0.0, rotation=0.0, length_limited_top=True, length_limited_bottom=True, length=80.0, width=40.0, height=40.0, shape='automatic', shape_radius=20.0, chamfer=False, ref_side_index=0)[source]
Create a Tenon instance from a cutting plane and the beam it should cut. This could be the ref_side of the cross beam of a Joint and the main beam.
- Parameters:
- plane
Plane
orFrame
The cutting plane.
- beam
Beam
The beam that is cut by this instance.
- start_yfloat, optional
The start y-coordinate of the cut in parametric space of the reference side. Default is 0.0.
- start_depthfloat, optional
The start depth of the tenon, which is an offset along the normal of the reference side. Default is 50.0.
- rotationfloat, optional
The angle of rotation of the tenon. Default is 0.0.
- length_limited_topbool, optional
Whether the top length of the tenon is limited. Default is True.
- length_limited_bottombool, optional
Whether the bottom length of the tenon is limited. Default is True.
- lengthfloat, optional
The length of the tenon. Default is 80.0.
- widthfloat, optional
The width of the bottom edge of the tenon. Default is 40.0.
- heightfloat, optional
The height of the tenon. Related to the dovetail tool and can be defined using the DovetailTenon.define_dovetail_tool() method. Default is 28.0.
- shapestr, optional
The shape of the tenon. Default is ‘automatic’.
- shape_radiusfloat, optional
The radius of the shape of the tenon. Related to the dovetail tool and can be defined using the DovetailTenon.define_dovetail_tool() method. Default is 20.0.
- chamferbool, optional
Whether the edges of the tenon are chamfered. Default is False.
- ref_side_indexint, optional
The reference side index of the beam to be cut. Default is 0 (i.e. RS1).
- plane
- Returns: