Converting object mesh to CAS