add objMesh and macros