render2(exportType != Graphics3D.EXPORT_NOT);
} else {
SymmetryInterface unitcell = viewer.getModelUnitCell(mesh.modelIndex);
if (unitcell != null) {
Point3f vTemp = new Point3f();
Point3i minXYZ = new Point3i();
Point3i maxXYZ = new Point3i((int) mesh.lattice.x,
(int) mesh.lattice.y, (int) mesh.lattice.z);
unitcell.setMinMaxLatticeParameters(minXYZ, maxXYZ);
for (int tx = minXYZ.x; tx < maxXYZ.x; tx++)
for (int ty = minXYZ.y; ty < maxXYZ.y; ty++)
for (int tz = minXYZ.z; tz < maxXYZ.z; tz++) {