Rotary mode is broken in many ways

Software: LB 1.6.03 (also observed at least some of the same issues on 1.6.00)
Windows 10, 64 bit
Xtool D1 with RA2 rotary tool in “chuck” setup

There’s something wacky with the rotary mode. I have the exact same setup, config, etc. and I get two different outputs, randomly.

In both cases below, the “mirror output to rotary” is enabled. You can see this in the Laser tool box where it says “(Mirror output)” but clearly one of them isn’t mirrored and the other is.

What’s the difference? I went into the rotary setup, turned mirror off, then turned it back on.

vs.

How did I get into the quirky state? I’m not entirely sure but I think it has something to do with switching from fill mode to line mode or vice versa, sometimes. I can’t consistently reproduce it (except, of course, when I’m cutting something valuable for a customer and then it randomly happens to destroy the product by printing backwards).

I’ve seen a number of other wacky things as well. The green “job position” box moves to a random spot sometimes. Rather than be on a corner or in the middle, it will appear in some odd place like part way down a side. You can see this in the second image above where the green square is part way down the left side. Not on the top left corner where it should be (note the “job origin” setting remains top left corner).

No amount of clicking on the various job origin buttons will get it to return to the proper place. The only way to get it back to the right spot is to turn off “enable rotary” and turn it back on. This restores the proper position.

When it’s in this “confused” state, it is well and truly messed up. For example, with nothing selected in Lightburn, if you do a control-shift-A / Window | Frame selection it displays the following:

Note that it’s not showing the actual objects, it’s showing the bottom half of the canvas space. Again, it seems as though it is confused because of the “mirror output to rotary”. If you select the objects (control-a) and do frame selection again, it positions the viewport correctly.

Likewise, turning “enable rotary” off immediately restores the green “job origin” square to the correct position and then “frame selection” (with nothing selected) correctly frames the objects in the viewport.

In addition I see odd behavior on the rotary itself. It seems to lose track of where “home” is (where the job started) after I run a job. And it’s off by a different amount depending on whether the job is “fill” or “line” mode.

Both of these jobs started with the alignment lasers exactly on top of the black lines you see drawn on the paper. You can see that the “line” job was off by significantly more than the “fill” job.

“Fill” mode job:

“Line” mode job:

Before you ask …
Yes, I have the circumference of the object set correctly.
Yes, it works fine in “frame” mode (it returns to the drawn crosshairs).
Yes, I reset the crosshair laser back to the black lines between jobs

I also randomly see it just go to the opposite side of the object (rotate in the opposite direction) as though the “mirror output” were being ignored. Again, the fix is to go into rotary setup and turn off, and then back on, “mirror output”.

At this point I can’t trust the rotary tool to do the right thing. I’ve destroyed several customer items so far and it’s cost me a fair bit to replace them (not to mention looking incompetent to the customer). I can’t even trust the aluminum foil and paper pretest because the software randomly does the wrong thing. It might cut the paper correctly, then cut the actual item backwards.

I don’t think this has anything to do with the Xtool or the RA2. I think it is a bug in lightburn itself. I have 2 machines, one I use for design, the other I use to control the laser. I see the same odd behavior on BOTH machines. Obviously the actual laser issues I only see on the laser itself, but they seem to be symptoms of the software issues.

Thoughts? Help? Suggestions? More tests you want me to run?

The green origin dot moving to the wrong place makes sense - LightBurn is computing the position of that dot as though the content of the workspace was vertically mirrored. If you turn on “Mirror Output to Rotary” and drag your shapes around, you’ll see the green origin dot updating in real time as though it was flipped. I can “fix” that, but it’s purely a visual thing.

The “Frame selection” bug is for the same reason - The system is computing the bounds of the job that will be sent to the laser, and framing that in the viewport. I’ll update that code.

For the rotary bug, I need to dig a little - I’ve been poking at this for 20 mins or so and I can’t figure out a way to make it not mirror the output. I’ve tried loading files, creating a new file, running the job, etc, and nothing seems to change it. Have you noticed anything that consistently makes it happen?

2 Likes

Ok, I think I’ve figured out why this is happening.

Are you enabling your rotary on the main LightBurn window, shown here?

image

If so, I think that’s why. There’s code that triggers when you click that button that sets up the rotary settings (including the mirror check), but then it calls a function to turn off Print & Cut and Cylinder Correction, and that function clears the output flip.

I’ve just fixed this and it will be in the next update. If you ONLY use the Laser Tools > Rotary Setup window, that one always does things in the correct order.

6 Likes

I think you are on to something.

If I go into the rotary setup and exit (changing nothing, click cancel or press escape to exit), I see the job origin square move to the odd spot. I think this means that it’s ACTUALLY in mirror mode (preview would seem to confirm it is reversed).

Clicking any of the job origin controls moves the green origin box to a different “odd” spot, but not the correct spot relative to the selection (so not the actual top left corner, etc.). Again, I think this means that mirroring is actually active.

From this point, turning off the “enable rotary” in the laser pane (the one shown in your graphic above), doesn’t change the position of the job origin square. However, having turned off “enable rotary”, clicking any of the job origin control moves the job origin box to the correct spot (actual top left corner, etc.).

From this same condition (having gone into rotary setup and exited; with the job origin square in the “wrong” place; and having then turned off “enable rotary” in the laser pane), if you turn enable rotary back on via the laser pane it moves the job origin square to the “correct” spot (meaning where it would be if mirroring were NOT active).

So, here’s what I see …

Starting with rotary NOT enabled and turning on “enable rotary” in the laser pane produces NON-MIRRORED output.

Simply entering the rotary setup and then exiting by clicking cancel, making no changes:

Now produces what I assume is actually mirrored output:

Turning “enable rotary” off in the laser pane doesn’t restore the job origin square to the correct place.

But pretty much any action that recalculates the job origin does restore it to the top left corner. For example, repositioning the view, clicking anywhere in the canvas, etc. Pretty much any action you do restores the job origin to the right place.

I think the whole issue is the code that’s handling the “Enable Rotary” button in the Laser Window.

And yes, you’re right that the job origin displaying incorrectly means that the mirroring is active. I’ve fixed the “Zoom to selection” function, but I’m probably going to leave the origin dot as is for now.

1 Like

From looking through the forum posts this seems to have been a problem that’s repeatedly been “fixed” over the last 2-3 years.

For the moment (and the foreseeable future) I’ve simply rotated my chuck (RA2) so it’s on the opposite side and disabled “mirror output”. This consistently produces the correct output.

Until I’m completely confident that all the “mirror output” issues are fixed, I’ll continue with this workaround. I can’t afford the cost of ruined materials and the lack of customer confidence at this point.

Thanks for addressing this (again). Hopefully this is the last time this bug rears it’s ugly head. I know you’ve spent a bunch of time chasing it. I’m sure other customers have spent time trying to determine what’s happening and trying various solutions. I know I’ve spent the last 3 full days trying to figure out how to get my rotary chuck to consistently work correctly. I hope that’s all behind us.

Earlier I had completely lost confidence in all rotary work (both chuck and roller) even though I hadn’t seen problems on the roller setting. I’m now confident that this is 100% related to the “mirror output” setting and thus I’m willing to continue using the roller and the chuck (reversed).

I’ve looked through the code and found all the places that the “output flip” is cleared, and I’m reasonably confident that this is the last one. I do appreciate you providing the detailed info and hopefully this one is finally resolved.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.