diffCheck.df_joint_detector module

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)#

Bases: object

This class is responsible for detecting joints in a brep

Parameters:

brep (Rhino.Geometry.Brep)

brep: Brep#
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