fritzw / xtm1_toolkit Goto Github PK
View Code? Open in Web Editor NEWTools to control the xTool M1 laser cutter / blade cutter
License: MIT License
Tools to control the xTool M1 laser cutter / blade cutter
License: MIT License
Hi I was working on a very similar project for the LaserBox Pro and somehow happened upon your work here. LightBurn supports networked grbl controllers now, meaning your app could take real time input from LightBurn, translate, and forward the gcode over the HTTP interface.
Copied conversation from pull request:
jadatkins commented 38 minutes ago
In your code comments you state that the correct Z value for a material of thickness 0 is 17, but you also say that empirically you found it to be closer to 19. What made you think it was 17? When I perform a "score" using xTool Creative Space and set the material as 3mm basswood plywood, in Wireshark I can see that it is setting a Z height of 17. This makes me think that the value for a material of thickness 0 would be 20. Is it possible you got mixed up somehow?
fritzw commented 28 minutes ago
I thought, that the G-code from the XCS software was cutting at Z=17 for a material thickness of zero, that's where I got this value from. Also, the maximum material thickness I can set in XCS is 16. However, i may have made a mistake somewhere (seems likely, since the focus was that far off for me).
jadatkins commented 23 minutes ago
Here's a capture I made scoring a short line on 3mm plywood. The Z value of 17 is set at the start when all the other defaults are set, and then it doesn't get set again.
GRBL has some additional commands like $I or ? and some other idiosyncracies.
Currently, m1control.py
is very hacky and fragile. It can only run a single lambda function for each command line argument. There is also no way to specify the laser cutter IP address or usb connection.
Parse arguments with argparse and improve user feedback.
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.