Started major refactorization of CSG tree formulation for OpenCSG integration