Quickstart
Prerequisites
- Miniconda: Download and install Miniconda for your operating system.
- Godot: Download and install the latest stable version of Godot.
Installation
- Clone the Winder repository:
git clone https://github.com/aotenjo-xyz/winder.git
- Navigate to the project directory:
cd winder
- Create a new conda environment and install the required dependencies:
conda env create -f scripts/environment.yml
Quickstart
- Activate the conda environment:
conda activate winding
- Run the winding script in simulation mode:
export PYTHONPATH=$PWD
python scripts/main.py -s - Open a new terminal, activate the conda environment, and run the websocket server to communicate with Godot:
conda activate winding
export PYTHONPATH=$PWD
python scripts/ws.py - Open Godot and import the project:
- Open Godot and click on "Import".
- Select the
winder/simulation
directory you cloned earlier. - Click "Import & Edit".
- Run the simulation:
- In Godot, click on the "Play" button (triangle icon) at the top right corner to start the simulation.
- You should see the winding machine simulation in action.
- Enter
g
in the terminal runningmain.py
to start the winding process in the simulation.