maycuz / snapmakerlightburnhost Goto Github PK
View Code? Open in Web Editor NEWSnapmaker 2.0 10W laser camera in LightBurn
License: GNU General Public License v3.0
Snapmaker 2.0 10W laser camera in LightBurn
License: GNU General Public License v3.0
Hey this is great, thanks for putting it out there! (Found it via the snapmaker forum)
About 6months ago I started using the API via browser and postman to do measurements of thickness over existing objects not in a centered spot. It was really helpful with awkward to position items, I'd just tape them down and do a measurement then adjust x/y position and re-measure without untaping object.
All the code seems to use fixed positions for image or measurement capture, and in my experience with the API snapmaker have changed the default position a couple of times. I think it's settled down since 4.4 so probably not important for image capture.
I don't really care that much, more of an observation, as it seems like people are using it happily, but I thought I'd mention the main advantage to me was measuring the height of not-flat objects, e.g. imagine the back of a spoon, where I sampled a few positions and then tried a flat engrave, and later messing with the gcode to do z-altering while engraving.
What I'm imagining is if lightburn can give you the position to get a thickness measurement from, therefore ensuring accuracy, but also allowing different height working layers in the lightburn project more easily if the user is foolish enough to try such things.
On a related but side note, I was very curious to try depth mapping an entire object, along with using the camera at different positions to build up a 3d image plus "accurate" depth data.
Hi,
thanks for making this project/solution available. (I like Lightburn very much).
I have a Snapmaker 2.0 A250 with the 10W laser, and LightBurn 1.0.04, in case that is important for troubleshooting.
At Step 5 in the usage, should it be "standard lens" or "fisheye lens"?
I have tried both, and the images look the same, but the scores are different.
When I capture an image, with DirectShow SoftCam, it appears that the camera is not seeing my entire buildplate (screenshot pasted below).
The entire left edge is out of view (at least 10mm is missing).
It also seems that the camera is not "square"/parallel with the y-axis so the photo is slightly rotated.
There also seems to be a lot of "non-buildplate" in the camera image.
Is it possible to modify/adjust the position of the tool when it captures the image?
If capture position is not adjustable, can you provide guidance on where to place the calibration card?
Such as when Lightburn asks for "center" (image 1), should the card be placed in the middle of the buildplate
or in the middle of the image-space?
(I do not know what I will do about the image for the upper right corner if I have to use the image-space as the frame of reference... the Z-axis rail is in that space.)
Thanks for any assistance that you can provide.
Chris
Hey! great work around for getting camera to work and it does...but I cant get it to be accurate. I have ran the calibration multiple times. I have tried fish lens and normal lens...still unsure which one was more accurate. when i run the frame settings co-ords they are not correct and well off the bed.
any help would be great! all functions work when typing in commands. the image updates perfect.
here is my config
"basePositionX": 232.0,
"basePositionY": 178.0,
"basePositionZ": 290.0,
Is this the problem? i just used the mentioned values.
thanks!
I would assume it would but I've only used glowforge so don't know much about Lightburn yet.
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.