Giter Site home page Giter Site logo

henrytriplette / penplotter-webserver Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 7.0 996 KB

Pen Plotter Webserver for RPI0

Python 28.44% HTML 41.64% JavaScript 14.29% Sass 7.12% CSS 7.65% Shell 0.87%
raspberry-pi hpgl-plotters pen-plotter pen-plotters plotter-art hpgl python3

penplotter-webserver's Introduction

WebPlot - A Web interface for Pen Plotters

Python webservice to simplify working with pen plotters:

  • Supported plotters: Graphtec MP4200, HP7475a
  • Created for Raspberry Pi.
  • Upload *.SVG and *.HPGL files.
  • Convert *.SVG into *.HPGL files using vpype
  • Telegram notification on print end
  • Poweroff your plotter on print end using a Tasmota-enabled Sonoff controller

Image of WebPlot - A Web interface for Pen Plotter

Installation

An install script is included. From the home directory, run:

curl -O https://raw.githubusercontent.com/henrytriplette/penplotter-webserver/main/install.sh
chmod +x install.sh

Then run it:

./install.sh

Raspberry Pi will reboot once installation is completed.

Usage

After install, open a browser and reach for:

http://{{your Raspberry Pi address}}:5000

Optional: Configure options in config.ini using the web interface to set:

  • Tasmota device IP.
  • Telegram Chat ID for notifications.

ToDO

  • Fix Mobile UI

  • Add plotter name to toolbar

  • Add defaults to configuration file

  • Stop print via UI?

  • List current printing filename

  • More plotter options?

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

penplotter-webserver's People

Contributors

evitiello avatar henrytriplette avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

penplotter-webserver's Issues

Cancel plot?

Is there an option to pause / cancel current plot?

Is it possible to show a HPGL Preview?

Hello,

is it possible to generate a preview with hp2xx or so? I know whats to do in Linux but not in this Webfrontend. Can you help me to display a image? Generation can be done direct after generate hpgl.

BR rsp

Server doesn't load

Hi!
After running the install on a RPI400, which seemed to go fine (the device rebooted by itself), I'm unable to connect to the website - it just doesn't respond on port 5000. Is there any way to debug this? Does it generate logs anywhere (I was unable to find any)?

User must be pi

Hello,

for documentation: You should start it as user PI in his root folder. The startscript links to ~pi.

BR rsp

svg conversion fails silently

Hi-

Installed on a fresh Pi Zero W with all updates applied. Uploading an SVG works fine. Clicking on convert look like it work, as an "exported" message pops up and the status windows states the svg has been deleted, but the hpgl file does not show up in the file uploaded window.

Any suggestion on how to debug this?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.