Im trying to engrave a number on something but i want it to automatically change the number depending on the day of the year. Is there a way that i can do this using a macro?
Instead of attempting this with a macro I’d suggest leveraging Variable Text for this.
More information here:
Hello, i appreciate the links but im not sure if its able to do what im looking for. I want to add a code to a part like this example (xxx-xx) but i want it to change to a different code depending on the day of the year.
Variable text won’t allow for conditional logic meaning you cannot change the value of Y based on the value of X. But you can update X and Y to something else based on the available variable types.
In your case, if your need requires conditional logic I’d suggest using an external application to generate a CSV file and use Variable Text Merge to make that updated data available in LightBurn.
Note that Macros also do not explicitly allow for conditional logic but this is primarily limited by firmware implementations. As far as I know, none of the commonly available firmware (e.g. GRBL) allow for programmability. Other more robust gcode systems could support programmability but none work directly with LightBurn as far as I’m aware. In any case, macros are not currently equipped to modify designs in LightBurn.
You could create a template in a program like Cuttle and then copy and paste the results from Cuttle into LB, or export a SVG from Cuttle and import the SVG into LB.
Cuttle is a web based 2D parametric program, but you pay a subscription to use it. I have been using it for about 2 years.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.