diffCheck.df_joint_detector module#

The joint detector is detecting all the joints, transforming in diffCheck.df_geometries.DFBeams and then assembling them in diffCheck.df_geometries.DFAssembly.

class diffCheck.df_joint_detector.JointDetector(brep, is_roundwood)#

Bases: object

This class is responsible for detecting joints in a brep

Parameters:
  • brep (Rhino.Geometry.Brep)

  • is_roundwood (bool)

brep: Brep#
is_roundwood: bool#
run()#

Run the joint detector. We use a dictionary to store the faces of the cuts based wethear they are cuts or holes. - for cuts: If it is a cut we return the face, and the id of the joint the faces belongs to. - for sides: If it is a face from the sides, we return the face and None.

Returns:

a list of faces from joins and faces