Automatic Sliding Gate Design