Installation
Install the package from a clone of the repository. The clone also gives you the configs and meshes in hardware/.
Requirements
Section titled “Requirements”- Python 3.11 or later.
- The package installs
numpyandmanifold3d.manifold3ddoes the solid modelling. - MuJoCo is optional. You need it only to load the generated model.
The web editor needs no installation. See The web editor.
Install with uv
Section titled “Install with uv”git clone https://github.com/asEmbodiedAISyst/asFinger.gitcd asFingeruv syncuv run asfinger --helpuv sync creates .venv and installs the package together with the development tools (pytest, ruff, MuJoCo).
Install with pip
Section titled “Install with pip”git clone https://github.com/asEmbodiedAISyst/asFinger.gitcd asFingerpython3 -m pip install .asfinger --helpTo load the generated model in MuJoCo, also run python3 -m pip install mujoco.
The project is named asFinger. The Python import name is lowercase:
import asfingerThe command is asfinger. python -m asfinger does the same.
Check the installation
Section titled “Check the installation”asfinger frames hardware/configs/iphone17pro_default.jsonThe command prints one line for each frame of the default tool. The first line is:
F_robot pos=[0.0, 0.0, 0.0] z=[0.0, 0.0, 1.0] module