How does lacing work in Design Script?

and two links about advanced lacing: