blitzkraft / xyz-tools Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tbirdsaw/xyz-tools
This project forked from tbirdsaw/xyz-tools
From BlitzKraft: --------------- Tested the script successfully on a Raspberry Pi. Now took it upon myself to make it easier to use. Now successfully takes command line arguments. No default values set. Both the file name and the printer selection are required. Usage: [python] uploader.py -f <file name> -p <printer selection> From tbirdsaw: -------------- A collection of scripts to communicate with an XYZPrinter DaVinci under Linux See notes.txt for a braindump. This set of tools was brought about by a few observations of how the XYZWare communicates with the DaVinci Printer. I noticed that the driver was simply a serial port driver, so I loaded up some sniffing software and dumped the communications between the printer and the computer. So far, I've been doing educated guesses and slow slogging through the log file, but it's slowly revealing its secrets. I now know how to get the machine info, and some various details. However, much of what is returned is still unknown to me. If you want to help out, please do! This is horridly messy code that is cobbled together, and I'm no expert programmer. I'm still in the testing stages, but my end goal is a easy to use Python program that can send any Slic3r Gcode (and possibly others) to the DaVinci, thus bypassing the need for the XYZWare and Windows/Mac. File listing: checksum.py - Generates a checksum given a chunk of data. Currently hardcoded to some test files. chunksum.py - Contains all the functions needed to generate proper serial chunks status.py - contains known commands, and some comments on the data coming back uploader.py - Working uploader script! But see caveats below! Currently, uploader will upload any GCode file. However, it must have DOS/Win32 line endings. Also, the filename is hard-coded right now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.