CS_CityScoPy
CS_CityScoPy copied to clipboard
MIT CityScope Scanner: Scans binary tagged grids and send to cityIO server
CityScoPy
A tool for scanning interactions with a tangible LEGO grid and networking MIT CityScope Projects in Python. Documentation: https://cityscope.media.mit.edu/UI/CityScoPy
Example
Basic example:
- create a new CityScope project on the CityScope Editor and name it
test - Go to this new project on CityScopeJS Web App and make sure it is running (a map and 3d grid should be visible)
- keep the project open on the browser and open a new terminal window
- Go to the CS_CityScoPy folder on your system [after cloning, and installing dependenices]
- to set up the table type:
python cityscopy.py --cityscopy setup --table_name test - to scan the table grid type:
python cityscopy.py --cityscopy scan --table_name test
- to set up the table type:
- If all goes well, you should see updates on
GEOGRIDDATAin cityIO - Go back to the CityScopeJS Web App and see if the grid updates based on the scan