DovetailTenon.from_plane_and_beam
- classmethod DovetailTenon.from_plane_and_beam(plane, beam, start_y=0.0, start_depth=50.0, rotation=0.0, length=80.0, width=40.0, height=28.0, cone_angle=10.0, flank_angle=15.0, shape='automatic', shape_radius=20.0, ref_side_index=0)[source]
Create a DovetailTenon instance from a cutting surface 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.
- 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.
- cone_anglefloat, optional
The angle of the cone of the tenon. Default is 10.0.
- flank_anglefloat, optional
The angle of the flank of the tenon. Related to the dovetail tool and can be defined using the DovetailTenon.define_dovetail_tool() method. Default is 15.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.
- ref_side_indexint, optional
The reference side index of the beam to be cut. Default is 0 (i.e. RS1).
- plane
- Returns: