B2S: A Program to Reconstruct Geometrical Information from Computer Aided Design Models (CAD) and Converting into Primitive Mathematical Form

Presently many of the experimental systems are designed using Computer Aided Design (CAD) software. But the physics and mathematical modelling with traditional computational codes require geometrical information in conventional manner. Extracting the geometrical information from a complicated CAD model is non-trivial, tedious and time consuming process. A computer code has been developed to reconstruct the geometrical information from Computer Aided Design (CAD) models. CAD models generally occupy the geometric class called Boundary representation (Brep), thus the present code converts boundary representations (Brep) into Constructive Solid Geometries (CSG). The present code extracts geometric information from CAD models and converts it to primitive mathematical form which can then be readily used in other codes like fluid codes, radiation transport codes. This code can also be used for engineering applications like geometric recognition. The present code acts as a bridge between the modern CAD representation and primitive geometrical representation required by physicists or mathematicians. The code can be made available freely for academic use upon request.