On July 23rd 2024 the Agents had fun plotting with the xArm6
- install the xArm API:
https://github.com/xArm-Developer/xArm-Python-SDK/tree/master
- Plug in ethernet cable and configure the wired connection in your OS
settings:
- Choose IPV4, configure manually:
- IP addresss: 192.168.1.12
- Subnet mask: 255.255.255.0
- default gateway: 192.168.1.1
- DNS server: 192.168.1.1
- install vpype: https://vpype.readthedocs.io/en/latest/install.html
- install the gcode plugin: https://github.com/plottertools/vpype-gcode
- also install
matplotlib
andnumpy
- generate example csv:
vpype --config gwriteConfig.toml rect 0mm 0mm 10mm 10mm gwrite -p custom commands.csv
- run the script:
python3 arm_plot.py
To instead generate from an svg:
vpype --config gwriteConfig.toml read -q 1mm examples/floral.svg show gwrite -p custom commands.csv