Lap.from_plane_and_beam
- classmethod Lap.from_plane_and_beam(plane, beam, length, depth, is_pocket=False, ref_side_index=0)[source]
Create a Lap instance from a plane and a beam. The lap is defined by the plane given and a plane parallel to that at a distance defined by the length and a given depth. This method is used to create pocket cuts.
- Parameters:
- plane
Plane
The plane that defines the lap.
- beam
Beam
The beam that the Lap instance is applied to.
- lengthfloat
The length of the lap.
- depthfloat
The depth of the lap.
- is_pocketbool, optional
If True, the lap is a pocket cut. Default is False
- ref_side_indexint, optional
The reference side index of the main_beam to be cut. Default is 0 (i.e. RS1).
- plane
- Returns: