refactor Csg transform nodes, add Cpp codee generation