construct mxene

Hi,

1. I want to construct mxene like Ti3C2. How can I do it?

2. And how can I insert vaccum space 30 A° and interlayer interaction between 2 layer?

3. In my initial attempt, I used cif file, but when I import the cif fil in to material studio software, the structure was messed up. Why?