Skip to content

PyCNC-Web: A web interface for the Nikolay PyCNC and changes in the code to add a new axis supporting a Laser Diode so that the machine works as a cutter/engraver.

Notifications You must be signed in to change notification settings

eirasys/PyCNC-with-WEB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

PyCNC-Web

PyCNC with Web interface Original version by Nikolay-Kha/PyCNC

This cloned version is being transformed to support web interface to control a multiaxis CNC machine. In order to be used as a Laser Cutter/Engraver the code will support a new axis to control a Laser diode.

Required: Install WebIOPi follow instructions http://webiopi.trouch.com/INSTALL.html

Configure the WebIOPi server /etc/webiopi/config, correct the folder to where you have installed PyCNC Web myscript = /home/pi/Desktop/PyCNC/PyCNC-master/cnc/script.py
doc-root = /home/pi/Desktop/PyCNC/PyCNC-master/htdocs

In the /PyCNC-master/htdocs folder you will find the web site files accessible in the browser address: http://raspberrypi:8000/

The script.py is the python code that makes the interface with the web. GPIO 25 has a Led connected to test web commands.

Note: Append those paths with the correct folders inside the script.py so that python can import code. This one was tricky to find.

sys.path.append('/home/pi/Desktop/PyCNC/PyCNC-master')
sys.path.append('/home/pi/Desktop/PyCNC/PyCNC-master/cnc/hal_raspberry')

About

PyCNC-Web: A web interface for the Nikolay PyCNC and changes in the code to add a new axis supporting a Laser Diode so that the machine works as a cutter/engraver.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published