Gap in lines when running Scanning Offset Adjustment test

I’ve been trying to correct an issue I am having when engraving on a tumbler. Lines are being left in the engrave area. I have adjusted speed, power, overscan, scan angle and LPI all to no avail!

I have posted some pictures and asked for help in the Xtool Facebook sites hoping someone would be able to lead me in the right direction. Some kind folks offered their opinions and I happily tried them out, still to no avail.

Then I decided to try turning off bi-directional fill and that seemed to do the trick. I did some more tests, changed speeds, power, LPI etc. and everything was still working the way it should, lines in the engrave area were gone. However, as soon as I turned bi-directional fill back on, the lines were back.

I did some research within this forum and came across the Lightburn tutorial for testing the Scanning Offset Adjustment. I ran the test and there is a gap between the lines. Problem is, I can’t find any information on how to fix this gap. As far as I can tell, the test is designed for the ends of the lines not being even, nothing about if there is a gap between the lines.

I’m not sure if this is the cause of my original problem but either way, I don’t think the gap should be there.

Xtool D1 Pro 2.0 20W
Firmware Version 30.33.001.01 B3
Lightburn 1.6.03

New Project

New Project (1)

I suggest when you have strange issues like this, look at it in the preview… this is basically a machine emulator. If the skipped areas are in the preview it’s an artwork issue.

It appears to do two lines then skip a line… I can’t tell you anything about your firmware, but it’s always possible. I don’t have one of these, which limits what I can do in this area.

When you watch this in the preview, notice where the lines start and end.


To me, it sounds like a firmware issue, as I don’t know how to I could re-create this in Lightburn, from a users perspective.

Do you have anything set in the offset scan adjustment? If so a screenshot would be nice.

I didn’t think offset scan adjustment is used when scanning in a single direction.

:smile_cat:

Jack thank you for your response.

I do not have anything set in the offset scan adjustment. I simply ran the test according to how lightburn suggested thinking that that could be the root cause of my issue. The preview does not show the skipped areas and watching the playback it appears to work as it should and definitely does not look like what is pictured with the skipped areas.

Here is a copy of the code (I did stop and restart the engrave)

Waiting for connection…
ok
ok
[xTool D1Pro:ver 40.33.001.01 B3]
Homing
ok
start_home x
left limit trigged
start_home y
<MPos:0.000000,0.000000,0.000000
M28
ok
$0=1
$1=0.03
$2=0
$3=0
$4=0
$5=0
$6=0
$10=255
$11=0.0
$12=0.0
$13=0
$20=0
$21=1
$22=1
$23=0
$24=25.0
$25=3000.0
$26=250
$27=1.0
$30=1000
$31=0.1
$32=1
$100=100
$101=100
$102=0
$110=24000
$111=6000
$112=6000
$120=2500.000000
$121=300.000000
$122=300
$130=432.000
$131=406
$132=0
ok
Project loaded in 4 milliseconds
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
ok
<MPos:0.000000,0.000000,0.000000,0.000000
Starting stream
Stream completed in 0:00
ok
<MPos:0.000000,0.000000,0.000000,0.000000
<MPos:0.000000,0.000000,0.000000,0.000000
ok
Starting stream
Stream completed in 0:00
ok
<MPos:-0.090000,0.000000,0.000000,0.000000
ok
<MPos:-2.260000,0.000000,0.000000,0.000000
Starting stream
Stream completed in 0:00
<MPos:-12.230000,0.000000,0.000000,0.000000
ok
<MPos:-17.050000,0.000000,0.000000,0.000000
ok
ok
<MPos:-22.170000,0.000000,0.000000,0.000000
<MPos:-27.580000,0.000000,0.000000,0.000000
ok
ok
<MPos:-32.770000,0.000000,0.000000,0.000000
<MPos:-37.640000,0.000000,0.000000,0.000000
ok
ok
<MPos:-43.050000,0.000000,0.000000,0.000000
ok
<MPos:-48.160000,0.000000,0.000000,0.000000
ok
<MPos:-53.250000,0.000000,0.000000,0.000000
ok
<MPos:-58.250000,0.000000,0.000000,0.000000
<MPos:-63.190000,0.000000,0.000000,0.000000
ok
ok
<MPos:-66.270000,0.000000,0.000000,0.000000
<MPos:-62.180000,0.000000,0.000000,0.000000
ok
<MPos:-51.850000,0.000000,0.000000,0.000000
ok
<MPos:-41.790000,0.000000,0.000000,0.000000
ok
<MPos:-31.720000,0.000000,0.000000,0.000000
ok
<MPos:-21.150000,0.000000,0.000000,0.000000
ok
ok
<MPos:-8.730000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.220000,0.000000,0.000000
ok
<MPos:0.000000,2.910000,0.000000,0.000000
<MPos:0.000000,10.600000,0.000000,0.000000
ok
<MPos:0.000000,18.930000,0.000000,0.000000
ok
<MPos:0.000000,26.660000,0.000000,0.000000
ok
ok
<MPos:0.000000,29.420000,0.000000,0.000000
<MPos:-7.310000,29.780000,0.000000,0.000000
ok
<MPos:-16.590000,29.780000,0.000000,0.000000
ok
<MPos:-28.960000,29.780000,0.000000,0.000000
ok
<MPos:-38.350000,29.780000,0.000000,0.000000
ok
<MPos:-47.730000,29.780000,0.000000,0.000000
ok
ok
<MPos:-60.060000,29.780000,0.000000,0.000000
<MPos:-66.640000,29.150000,0.000000,0.000000
ok
<MPos:-66.640000,25.810000,0.000000,0.000000
ok
<MPos:-66.640000,17.180000,0.000000,0.000000
ok
ok
<MPos:-66.640000,9.180000,0.000000,0.000000
ok
<MPos:-66.640000,2.120000,0.000000,0.000000
ok
<MPos:-66.640000,0.050000,0.000000,0.000000
<MPos:-63.970000,0.000000,0.000000,0.000000
ok
ok
<MPos:-59.500000,0.000000,0.000000,0.000000
<MPos:-53.270000,0.000000,0.000000,0.000000
ok
ok
<MPos:-48.670000,0.000000,0.000000,0.000000
<MPos:-42.400000,0.000000,0.000000,0.000000
ok
<MPos:-37.650000,0.000000,0.000000,0.000000
ok
ok
<MPos:-31.330000,0.000000,0.000000,0.000000
ok
<MPos:-26.610000,0.000000,0.000000,0.000000
<MPos:-20.360000,0.000000,0.000000,0.000000
ok
ok
<MPos:-15.690000,0.000000,0.000000,0.000000
<MPos:-11.000000,0.000000,0.000000,0.000000
ok
<MPos:-4.660000,0.000000,0.000000,0.000000
ok
<MPos:-0.960000,0.000000,0.000000,0.000000
ok
ok
<MPos:-0.820000,0.000000,0.000000,0.000000
<MPos:-5.890000,0.000000,0.000000,0.000000
ok
<MPos:-10.660000,0.000000,0.000000,0.000000
ok
ok
<MPos:-17.000000,0.000000,0.000000,0.000000
<MPos:-21.740000,0.000000,0.000000,0.000000
ok
ok
<MPos:-26.460000,0.000000,0.000000,0.000000
<MPos:-32.810000,0.000000,0.000000,0.000000
ok
<MPos:-37.530000,0.000000,0.000000,0.000000
ok
ok
<MPos:-43.780000,0.000000,0.000000,0.000000
<MPos:-48.390000,0.000000,0.000000,0.000000
ok
ok
<MPos:-54.670000,0.000000,0.000000,0.000000
<MPos:-60.840000,0.000000,0.000000,0.000000
ok
<MPos:-64.990000,0.000000,0.000000,0.000000
ok
<MPos:-64.900000,0.000000,0.000000,0.000000
ok
ok
<MPos:-55.550000,0.000000,0.000000,0.000000
Starting stream
Stream completed in 0:00
<MPos:-35.490000,0.000000,0.000000,0.000000
ok
ok
<MPos:-22.880000,0.000000,0.000000,0.000000
<MPos:-10.350000,0.000000,0.000000,0.000000
ok
<MPos:-1.190000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,1.250000,0.000000,0.000000
ok
<MPos:0.000000,7.180000,0.000000,0.000000
ok
<MPos:0.000000,14.770000,0.000000,0.000000
ok
ok
<MPos:0.000000,24.410000,0.000000,0.000000
<MPos:0.000000,28.450000,0.000000,0.000000
ok
ok
<MPos:-2.840000,29.780000,0.000000,0.000000
<MPos:-15.330000,29.780000,0.000000,0.000000
ok
ok
<MPos:-24.830000,29.780000,0.000000,0.000000
ok
<MPos:-37.460000,29.780000,0.000000,0.000000
<MPos:-46.740000,29.780000,0.000000,0.000000
ok
<MPos:-59.410000,29.780000,0.000000,0.000000
ok
ok
<MPos:-66.640000,29.740000,0.000000,0.000000
<MPos:-66.640000,27.490000,0.000000,0.000000
ok
ok
<MPos:-66.640000,20.380000,0.000000,0.000000
ok
<MPos:-66.640000,9.740000,0.000000,0.000000
<MPos:-66.640000,3.830000,0.000000,0.000000
ok
<MPos:-66.640000,0.130000,0.000000,0.000000
ok
<MPos:-65.360000,0.000000,0.000000,0.000000
ok
ok
<MPos:-59.870000,0.000000,0.000000,0.000000
ok
<MPos:-55.190000,0.000000,0.000000,0.000000
<MPos:-50.500000,0.000000,0.000000,0.000000
ok
ok
<MPos:-44.330000,0.000000,0.000000,0.000000
ok
<MPos:-39.640000,0.000000,0.000000,0.000000
ok
<MPos:-33.410000,0.000000,0.000000,0.000000
ok
<MPos:-28.750000,0.000000,0.000000,0.000000
<MPos:-22.460000,0.000000,0.000000,0.000000
ok
ok
<MPos:-16.250000,0.000000,0.000000,0.000000
ok
<MPos:-11.520000,0.000000,0.000000,0.000000
<MPos:-5.220000,0.000000,0.000000,0.000000
ok
<MPos:-1.290000,0.000000,0.000000,0.000000
ok
ok
<MPos:-0.110000,0.000000,0.000000,0.000000
ok
<MPos:-3.000000,0.000000,0.000000,0.000000
<MPos:-7.580000,0.000000,0.000000,0.000000
ok
<MPos:-12.530000,0.000000,0.000000,0.000000
ok
<MPos:-17.560000,0.000000,0.000000,0.000000
ok
<MPos:-22.750000,0.000000,0.000000,0.000000
ok
<MPos:-27.860000,0.000000,0.000000,0.000000
ok
<MPos:-32.970000,0.000000,0.000000,0.000000
ok
ok
[MSG:Pgm End]
<MPos:0.000000,0.000000,0.000000,0.000000
ok
Starting stream
Layer C00
Job halted
Stream completed in 0:14
ok
ok
ok
ok
ok
ok
ok
ok
ok
[MSG:Pgm End]
ok
ok
<MPos:0.000000,0.000000,0.000000,0.000000
Starting stream
Stream completed in 0:00
ok
[MSG:Pgm End]
<MPos:0.000000,0.000000,0.000000,0.000000
ok
Starting stream
Layer C00
Job halted
Stream completed in 0:15
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
[MSG:Pgm End]
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
Starting stream
Stream completed in 0:00
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.000000,0.000000,0.000000
Starting stream
Stream completed in 0:00
ok
<MPos:-0.010000,0.000000,0.000000,0.000000
ok
<MPos:-0.110000,0.000000,0.000000,0.000000
Starting stream
Stream completed in 0:00
ok
<MPos:-7.410000,0.000000,0.000000,0.000000
<MPos:-12.520000,0.000000,0.000000,0.000000
ok
ok
<MPos:-17.550000,0.000000,0.000000,0.000000
ok
<MPos:-22.800000,0.000000,0.000000,0.000000
<MPos:-27.970000,0.000000,0.000000,0.000000
ok
<MPos:-32.810000,0.000000,0.000000,0.000000
ok
<MPos:-38.150000,0.000000,0.000000,0.000000
ok
<MPos:-43.110000,0.000000,0.000000,0.000000
ok
ok
<MPos:-48.120000,0.000000,0.000000,0.000000
<MPos:-53.400000,0.000000,0.000000,0.000000
ok
<MPos:-58.370000,0.000000,0.000000,0.000000
ok
<MPos:-63.530000,0.000000,0.000000,0.000000
ok
ok
<MPos:-66.380000,0.000000,0.000000,0.000000
<MPos:-65.430000,0.000000,0.000000,0.000000
ok
ok
<MPos:-61.050000,0.000000,0.000000,0.000000
<MPos:-53.710000,0.000000,0.000000,0.000000
ok
<MPos:-43.220000,0.000000,0.000000,0.000000
ok
<MPos:-33.590000,0.000000,0.000000,0.000000
ok
ok
<MPos:-20.970000,0.000000,0.000000,0.000000
<MPos:-10.340000,0.000000,0.000000,0.000000
ok
ok
<MPos:-4.370000,0.000000,0.000000,0.000000
<MPos:-0.700000,0.000000,0.000000,0.000000
ok
ok
<MPos:0.000000,0.000000,0.590000,0.000000
ok
<MPos:0.000000,0.000000,4.350000,0.000000
<MPos:0.000000,0.000000,10.090000,0.000000
ok
Starting stream
Stream completed in 0:00
ok
<MPos:-1.060000,0.000000,13.510000,0.000000
<MPos:-5.200000,0.000000,13.510000,0.000000
ok
<MPos:-12.890000,0.000000,13.510000,0.000000
ok
ok
<MPos:-22.400000,0.000000,13.510000,0.000000
ok
<MPos:-32.560000,0.000000,13.510000,0.000000
<MPos:-42.630000,0.000000,13.510000,0.000000
ok
<MPos:-53.110000,0.000000,13.510000,0.000000
ok
<MPos:-60.520000,0.000000,13.510000,0.000000
ok
<MPos:-65.290000,0.000000,13.510000,0.000000
ok
ok
<MPos:-66.640000,0.000000,13.350000,0.000000
<MPos:-66.640000,0.000000,10.480000,0.000000
ok
<MPos:-66.640000,0.000000,4.840000,0.000000
ok
Starting stream
Stream completed in 0:00
<MPos:-66.220000,0.000000,0.000000,0.000000
ok
<MPos:-62.910000,0.000000,0.000000,0.000000
ok
<MPos:-57.920000,0.000000,0.000000,0.000000
ok
<MPos:-51.740000,0.000000,0.000000,0.000000
ok
<MPos:-45.570000,0.000000,0.000000,0.000000
ok
ok
<MPos:-41.510000,0.000000,0.000000,0.000000
ok
<MPos:-36.990000,0.000000,0.000000,0.000000
ok
<MPos:-31.780000,0.000000,0.000000,0.000000
<MPos:-26.700000,0.000000,0.000000,0.000000
ok
<MPos:-21.680000,0.000000,0.000000,0.000000
ok
<MPos:-16.720000,0.000000,0.000000,0.000000
ok
ok
<MPos:-11.490000,0.000000,0.000000,0.000000
<MPos:-6.440000,0.000000,0.000000,0.000000
ok
<MPos:-1.940000,0.000000,0.000000,0.000000
ok
<MPos:-0.020000,0.000000,0.000000,0.000000
ok
ok
<MPos:-2.230000,0.000000,0.000000,0.000000
<MPos:-7.030000,0.000000,0.000000,0.000000
ok
<MPos:-12.130000,0.000000,0.000000,0.000000
ok
ok
[MSG:Pgm End]
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.000000,0.000000,0.000000
<MPos:0.000000,0.000000,0.000000,0.000000
ok
Starting stream
Stream completed in 0:00
ok
<MPos:0.000000,0.000000,0.000000,0.000000
ok
Starting stream
<MPos:0.000000,0.000000,0.000000,0.000000
Stream completed in 0:00
<MPos:-2.100000,0.000000,0.000000,0.000000
ok
<MPos:-6.720000,0.000000,0.000000,0.000000
ok
ok
<MPos:-11.900000,0.000000,0.000000,0.000000
<MPos:-16.920000,0.000000,0.000000,0.000000
ok
ok
<MPos:-22.020000,0.000000,0.000000,0.000000
<MPos:-26.920000,0.000000,0.000000,0.000000
ok
ok
<MPos:-32.370000,0.000000,0.000000,0.000000
<MPos:-37.340000,0.000000,0.000000,0.000000
ok
<MPos:-42.360000,0.000000,0.000000,0.000000
ok
<MPos:-47.550000,0.000000,0.000000,0.000000
ok
<MPos:-52.560000,0.000000,0.000000,0.000000
ok
<MPos:-57.580000,0.000000,0.000000,0.000000
ok
<MPos:-62.630000,0.000000,0.000000,0.000000
ok
ok
<MPos:-66.090000,0.000000,0.000000,0.000000
ok
<MPos:-65.870000,0.000000,0.000000,0.000000
ok
<MPos:-61.940000,0.000000,0.000000,0.000000
<MPos:-54.690000,0.000000,0.000000,0.000000
ok
ok
<MPos:-45.560000,0.000000,0.000000,0.000000
<MPos:-35.210000,0.000000,0.000000,0.000000
ok
ok
<MPos:-23.960000,0.000000,0.000000,0.000000
ok
<MPos:-11.560000,0.000000,0.000000,0.000000
<MPos:-4.990000,0.000000,0.000000,0.000000
ok
<MPos:-1.130000,0.000000,0.000000,0.000000
ok
<MPos:0.000000,0.000000,0.230000,0.000000
ok
<MPos:0.000000,0.000000,3.050000,0.000000
ok
<MPos:0.000000,0.000000,8.870000,0.000000
ok
Starting stream
Stream completed in 0:00
<MPos:-0.600000,0.000000,13.510000,0.000000
ok
<MPos:-3.990000,0.000000,13.510000,0.000000
ok
<MPos:-10.610000,0.000000,13.510000,0.000000
ok
<MPos:-20.250000,0.000000,13.510000,0.000000
ok
<MPos:-30.060000,0.000000,13.510000,0.000000
ok
<MPos:-40.280000,0.000000,13.510000,0.000000
ok
<MPos:-51.110000,0.000000,13.510000,0.000000
ok
<MPos:-59.210000,0.000000,13.510000,0.000000
ok
ok
<MPos:-64.450000,0.000000,13.510000,0.000000
<MPos:-66.640000,0.000000,13.510000,0.000000
ok
ok
<MPos:-66.640000,0.000000,11.510000,0.000000
<MPos:-66.640000,0.000000,6.700000,0.000000
ok
Starting stream
Stream completed in 0:00
ok
<MPos:-66.530000,0.000000,0.000000,0.000000
<MPos:-64.020000,0.000000,0.000000,0.000000
ok
<MPos:-58.970000,0.000000,0.000000,0.000000
ok
ok
<MPos:-52.800000,0.000000,0.000000,0.000000
<MPos:-48.090000,0.000000,0.000000,0.000000
ok
ok
<MPos:-41.860000,0.000000,0.000000,0.000000
<MPos:-37.220000,0.000000,0.000000,0.000000
ok
ok
<MPos:-31.040000,0.000000,0.000000,0.000000
ok
<MPos:-24.780000,0.000000,0.000000,0.000000
ok
<MPos:-20.040000,0.000000,0.000000,0.000000
ok
<MPos:-13.810000,0.000000,0.000000,0.000000
<MPos:-9.130000,0.000000,0.000000,0.000000
ok
ok
<MPos:-4.370000,0.000000,0.000000,0.000000
<MPos:-0.270000,0.000000,0.000000,0.000000
ok
<MPos:-1.820000,0.000000,0.000000,0.000000
ok
ok
<MPos:-6.020000,0.000000,0.000000,0.000000
ok
<MPos:-12.310000,0.000000,0.000000,0.000000
<MPos:-17.060000,0.000000,0.000000,0.000000
ok
<MPos:-23.360000,0.000000,0.000000,0.000000
ok
<MPos:-27.950000,0.000000,0.000000,0.000000
ok
ok
<MPos:-34.150000,0.000000,0.000000,0.000000
<MPos:-38.780000,0.000000,0.000000,0.000000
ok
ok
<MPos:-45.080000,0.000000,0.000000,0.000000
<MPos:-49.660000,0.000000,0.000000,0.000000
ok
<MPos:-54.570000,0.000000,0.000000,0.000000
ok
<MPos:-35.730000,0.000000,13.510000,0.000000
ok
Starting stream
Layer C00
Layer C01
Layer 03
Layer 04
M8 N4
Stream completed in 2:14
M8 N4
ok
[MSG:Pgm End]
Project file saved as Tumbler Engrave Test Bi and Uni Directions.
Waiting for connection…

If it’s not showing in the preview, then you have a machine that’s skipping the line. Might change the interval and see if this effect changes.

I did not really look at all the controller values, but $30, is usually 0. Doubt it’s your problem, but it should be minimum spindle speed, which is zero for a laser.

If you have an error, then posting the output of some of the error messages are fine, but it’s not complaining, so the code is not of any use helping to debug this issue.

I don’t know of anything, off hand, that would cause this… Maybe @misken can suggest a course of action.

Hang in there

:smile_cat:

The bidirectional scanning might use such tiny steps that your mechanics can not handle.
Before going on, a basic note: it seems like you are scanning across the tumbler, which means you are using the y-axis for major movements and and the x-axis does only very tiny steps. This is usually not recommended, try to always scan along the tumbler, such that the rotary has as few movements as possible and the head scans across. In your case, turn the scan angle to 90°. This might already cure it, but still depends on the mechanical setup, of course.

How did you use the offset-test, did you use the rotary as well?

Melvin thank you for responding

You are correct, the picture of the tumbler above was done with the y-axis for major movements and the x-axis for minor movements because the scan angle was set to 90°

As far as the offset test, I followed the directions provided by Lightburn…
Created a box 50mm x 10mm
Set to Fill with bi-directional fill, 5% overscan, 100mm/s, 60% power and .5mm line interval, 0° scan angle

This produced the image above that appears to show a skipped line effect (also a new clearer image included with this reply)

I’ve also done the exact test above but changed the scan angle to 90° and the skipped line effect was gone.

I’m lead to believe that my problem resides with the bi-directional fill and scan angle of 0°

I have included a new image of offset scan test with showing the results of both the 90° test and the 0° test

I have done testing in both LightBurn and XCS and I don’t have this issue with XCS, only LightBurn.

Offset Scan Test

It might be a bug in LightBurn, but as far as I know, xTool firmwares are very different from “common” firmwares and LightBurn supports them only partly. So this might be a bug with the special xTool format and LightBurn. Maybe you can try using the new 1.7 beta release, which should enhance the xTool support drastically. Just to rule out it’s a communication / protocol issue.