On 16 Feb 2013 , at 6:40 PM, Dan Newman wrote:
>
> On 16 Feb 2013 , at 6:23 PM, Alex Huff wrote:
>
>> I posted a new topic on this but perhaps it belongs here. I downloaded your profiles for slic3r, selected "sailfish" from the gcode flavor menu (because i just upgraded to 7.1) and used repg to export the xg3. I got some weird results (see pics). It looks like the y shifted each layer. Has anyone else experienced this? Should I not select sailfish from the gcode flavor menu?
>
> Not too sure why you are raising this in yet-another-thread. Honestly, this isn't
> even a makerbot-operators topic and you should post it in the Sailfish forum,
jetty-f...@groups.google.com.
>
> That said, do you know what the "Sailfish" selection does in slic3r? If you do not know what
> it does, then try not selecting it. It's a new option, no one seems to know what it does,
> and slic3r is known to work with Sailfish without it. Stands to reason that you
> might want to try not selecting it…. Sailfish runs on Makerbots. Stick to a "makerbot"
> profile/selection in slic3r.
So, I played around with some gcode with G92 E0.0 commands in it. Sailfish handles
them just fine as previously tested by various slic3r and KISSlicer users. The
real issue is that RepG may not handle them fine. When connected over USB, there's
the problem I mentioned previously. However, I generated some s3g/x3g with RepG
(no bot connected) and saw that it can have issues there too. RepG tries to track
the current coordinates and fill in the missing ones from the G92 command. And,
I'll see it be off by 1 about half the time,
150: Move to (-681,-714,28,0,-1) dda_rate: 5552 (relative: 18) distance: 0.518652 feedrateX64: 4608
151: Extended Machine position set as (-682,-715,28,0,0)
So the actual position was (x,y,z) = (-681, 714, 28). But then it told
the bot that the position is (-682, -715, 28). That's off by one in both
X and Y. So, now the subsequent printing will be shifted in X and Y by 1.
If that happens again in the same direction in another layer, then it will
shift again. It's easy to see how this will cumulatively skew the entire
print. I saw at least half the G92 commands I put in have this defect.
It's probably a rounding error of some sort: in producing the coordinate
to move to, RepG is doing one sort of calculation with a resulting roundoff
error. But in producing the machine position, it's doing a different calc
with it's own roundoff. (Roundoff as you convert from millimeters to integer
steps.) My guess is that they are accidentally accumulating into the Extended
Machine position the roundoff error left over from the move-to position.
But, that's just a hunch.
At any rate this is a RepG bug which RepG 40 - Sailfish has inherited from
RepG 40. It's not a Sailfish firmware bug -- the problem is in the s3g/x3g
generated by RepG.
Dan