Name Last Update
flaskapp Loading commit data...
svggen Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
README.md Loading commit data...
requirements.txt Loading commit data...
runserver.sh Loading commit data...
setup.py Loading commit data...
vstart.sh Loading commit data...

Requirements

  • virtualenv
  • pip
  • bash

To install and/or run

From a bash shell, run:

$ ./vstart.sh

If this is your first time running it (if the folder ENV/ doesn't exist), the script will create a virtualenv in the folder ENV/, then install the required packages from requirements.txt.

Regardless, it will then start a bash shell in this virtualenv, from which you can use roco.

Running RoCo

Example scripts are in the tests/ folder. For a simple paper structure, try running Gripper_Test.py in the paper/ folder. If you are running a headless display, instead run it as a pytest module:

$ cd tests
$ python -m pytest paper/Gripper_Test.py

For a simple wooden structure, try running Stool_Test.py in the wood/ folder.

Manufacturing files will be generated in the output/ directory.

Webapp

Start the webapp:

$ cd flaskapp
$ python app.py

Then view the app by going to http://localhost:5000 from a webbrowser.