Update squarepart.py

twist offset added to squarepart