For carbon nanotube it is 2D structure, so it is easier to define the parameters like chiral vector, helicity in the code. For TiO2 how to define the input parameters as slab has finite thickness. I need hints to write the code or free code site to construct TiO2 nanotube.