AndyEveritt / DuetPython

Python utilities for Duet RepRap based printers, including D3+Pi

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DuetPython

Python utilities for Duet RepRap based 3D printers, including D3+Pi

find_nozzle.py

  • Uses OpenCV machine vision to find circles in a camera view.
  • Assumes USB camera. Could be changed for PiCam.
  • Requires: OpenCV.
  • Runs on: Whatever machine owns the camera
  • Must run in terminal on graphic console (or VNC)

getCoordsDemo.py

  • Returns a JSON object with coordinates of axis of a Duet printer
  • Auto-senses RRF2 vs RRF3 printers.
  • Runs on: Any machine that can reach the printer via the network.
  • Does not support Duet passwords at this time.

installOpenCV.sh

  • Installs openCV on the Pi system image provided by Duet
  • Invoke via: bash installOpenCV.sh
  • Runs for about an hour (depending on type of Pi and internet speed)
  • You MAY need to enlarge your swap file during the install.

toolAlignImageDuet.py

  • Creates G10 commands for tool-to-tool alignment on a multi-tool printer.
  • Uses the human being for image alignment.
  • Interfaces to printer to fetch XY (using getCoord from above)
  • Requires: OpenCV.
  • Runs on: Whatever machine owns the camera and can reach the printer via the network.
  • Must run in terminal on graphic console (or VNC)

toolAlignImage.py

  • Creates G10 commands for tool-to-tool alignment on a multi-tool printer.
  • Uses the human being for image alignment.
  • Uses the Human Bieng to enter XY coordinates.
  • Requires: OpenCV.
  • Runs on: Whatever machine owns the camera
  • Should work for ANY toolchanging printer.
  • Must run in terminal on graphic console (or VNC)

videoOnly.py

  • Creates a video window with a green circle to assist in tool alignment
  • All other actions are up to the user
  • Should work for ANY toolchanging printer

About

Python utilities for Duet RepRap based printers, including D3+Pi


Languages

Language:Python 74.4%Language:Shell 25.6%