Hi all. I’m running Lightburn 1.2.00. I’m using a Snapmaker 2.0 A350 with the 10W laser. My current workflow is to build my project in Lightburn, export to G-code, use Wifi and Luban to transport the gcode to the device and run directly on the device. This lets me use the in-device autofocus.
Am I doing something wrong with the ‘Run Boundary’ command? I find this really useful when trying to burn a pattern on a specific object. In this type of project, I do the following -
set start from to ‘user origin’ and set my job origin to something useful (either center or bottom left)
transfer to device, set origin to exactly where I want the burn (either the center or bottom left, as above)
this is where the problem begins - theoretically, it shouldn’t matter where my pattern is on the plate in Lightburn? But if my object isn’t centered on 0,0 on lightburn (3/4 out of bounds) then the ‘run boundary’ doesn’t show where the actual laser goes.
So my current workaround is -
in Lightburn->Edit->Settings->‘Ignore out-of-bounds shapes’ if possible - SET OFF
set Lightburn to user origin and set the refence point (center)
orient your design in Lightburn so it is centered on 0,0 (3/4 should be off the build plate ("¯_(ツ)_/¯ "))
set the work origin to the center of where you want the burn
run boundary only works in this mode if the object center is at 0,0 in Lightburn
Obviously this is doable, it’s just ugly having to perfectly position my design at 0,0 in Lightburn. I assume this is some silly Snapmaker bug in ‘run boundary’ to do with the the bounds of the file in the comments in the gcode.
Below is a diff of two identical burns (a 20x20 square, center origin), one of which the run boundary matches the actual burn, and the other where it’s offset.
A proposed fix is, when in user origin mode, can the ‘max and min x and y’ and ‘Bounds’ be autogenerated to be based on the bounding box and centered on ‘0,0’? Rather than having to do this on the plate in Lightburn?
I don’t think user origin means what you think it means. User origin set a relative origin as defined by it’s absolute position. Meaning that it relies on absolute coords to define the origin position. This is why your 0,0 hack works.
User origin defined in LB is unrelated to what I suspect you’re setting origin to on the device. I’m not familiar with Snapmaker functionality on this. If the device can redefine 0,0 position I suspect you could generate gcode out of LightBurn using Absolute Coords and having your design positioned relative to 0,0.
It may be easier to use “current position” in Start from. This will allow you to position your laser as you see fit and then run the job. Job origin will be relevant as to what’s the anchor point of the design relative to your position.
Also, one thing I’m noticing is that you have S Value Max set to 255. I was under the impression that Snapmaker required values from 0-100. Are you getting any power modulation issues?
In this case the symptom would have been essentially that basically all power levels after ~40% would act the same. No increased output levels past that.
Again, I don’t know much about Snapmaker but when I was looking at a different issue that’s how it appeared to be setup.
can confirm, for precise placement of a small pattern on the Snapmaker 2, use ‘current position’. Setting the origin on the Snapmaker console will set the Lightburn ‘Job origin’ to this point.