These are the instructions for developing on docker. We have only tested on Ubuntu and Windows
Make sure you have installed docker. You can install docker here for windows or here for linux.
Now make sure docker is started.
Now build the container image and start the container. Make sure you are in this directories root directory. These commands use the current directory as the containers file system so any changes you make to the files on your host machine will be mirrored in the container. These commands also allow the containers display to be forwarded to your host machine so that you can see it.
If you are on linux...
sudo docker build -t onshape-to-robot .
sudo docker run -it -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix -v $(pwd):/workspace --net=host onshape-to-robot
If you are on Windows...
docker build -t onshape-to-robot .
docker run -it -e DISPLAY=host.docker.internal:0.0 -v ${PWD}:/workspace --net=host onshape-to-robot
python3 setup.py install
First you will need your config.json.
Next run:
onshape-to-robot [directory containing config.json]