.. _onshape_to_robot: Onshape to Robot Descriptions ============================== This is a command-line tool that allows you to convert Onshape robots to URDF and MJCF files for simulation and deployment. The tool is built on top of the `onshape_to_robot `__ package. Obtain the API key and secret key from the `Onshape developer portal `__. We recommend storing your API key and secret in environment variables, and you can add something like this to your `.bashrc`: :: export ONSHAPE_API=https://cad.onshape.com export ONSHAPE_ACCESS_KEY=Your_Access_Key export ONSHAPE_SECRET_KEY=Your_Secret_Key Read the `config doc `__ first if you have any issues. Run the following script and follow the instructions: :: python toddlerbot/descriptions/onshape_to_robot.py --robot Please carefully read the terminal messages printed from this script.