I’d like to set up a foot-switch using keyboard shortcuts to test fire, and cycle start my diode laser. The task in hand involves numbering parts 1-88, and as they’re all slightly different they have to be lined up manually before engraving. All the parts are the same thickness, so using an external laser pointer as an aiming spot would be possible, but seems rather clumsy given the ability to fire the diode at low level to aim it is built in!
Leaving the foot switch concept out of the picture, how do you anticipate this alignment procedure to work? I’m trying to understand how you see this working and then working in how a foot switch would assist in that.
I suspect based on your specific needs there may be an easier way of achieving what you’re trying to do. A general description of the numbering job would be helpful as well as a photo of what you’ll be working with as well a screenshot of the design.
I’m numbering piano keys. Attached pic shows a rough practice piece (thus the uneven widths, and different font sizes/power settings I was testing!). Although the keys look similar, all 88 are different widths and angles, so it’s not possible to set up a jig to locate the parts.
My plan was to centre the laser on a pencil line, then mark the part. Foot switches will speed the process up no end, as the mark itself takes about two seconds, so having both hands free to move the keys into position would be ideal. Variable numbering is being used, fed from a CSV file.
Normally a much larger laser would be used, and the whole keyboard including cut lines would be marked out in one go. I’ll be marking they keys is batches of about 11, as that’s about all the space I have in the Ortur to leave a central working area.
You’ve clearly already put some thought into this.
I don’t know if there’s an unpublished shortcut for Fire but I somehow doubt it. And LightBurn now has no provision for scripting multiple actions, any automation, or any API to tap into currently.
So if you wanted to make this happen you’d have to do it externally from LightBurn. There are many UI automation tools that could be leveraged to interface with LightBurn to press Fire. So you have a multi-layer solution:
foot switch hw
signal receiver (from switch); easy if switch acts as a keyboard.
command mapper + sequence manager (equating signal to multiple actions); depending on the final solution. Ex. multiple switches for multiple actions as you’ve indicated; time delayed job start; foot-down for fire, foot-release for job start; multiple switches are probably the easiest to implement but may be a little confusing to operate at times.
UI automation (to interface with LightBurn)
LightBurn setup with variable text and the usual config - assume you’ve already got all this sorted.
If LightBurn did have a keyboard shortcut for Fire then this could be dramatically simplified as long as you were using discrete switches for each function.
Thanks for the link! I’ve given that a try, and it does indeed work. However, I find the framing really difficult to use for this job; a simple stationary spot would be so much easier! I’m dropping Lightburn a message to see if there’s something hidden in the software that isn’t listed in the instructions…