1 (edited by MeshMoth 2014-03-10 09:07:15)

Topic: Using Motor Steps Instead Of MM For Z Axis

Hi Guys, was just wondering if there's a way for slic3r (or any other program) to specify Z movement with steps instead of MM.

I have a moire effect on my prints and i'm guessing it's the microns of difference from each layer to the next. Its a repeating pattern so im guessing its either the Z screw or layers being slightly different... or both. I figure if i can specify the layer height by the amount of steps, each layer will always be the same height instead of having wonky layers...

I know you can fiddle with the firmware and calculate all the maths but I figure this way might be easier.

Just a thought. Thanks.

Edit:

Just thought of something else if the answer is no to the above question.

How may steps does it take for the z axis motor to do a complete circle?

If i make 1 step = 1mm (for example) and it takes 100 steps to make a complete circle i can just specify slic3r to use 100 MM layers...

...Am I making things more complicated than they really are?

2 (edited by adrian 2014-03-10 10:51:24)

Re: Using Motor Steps Instead Of MM For Z Axis

... in short... yes smile
To recycle an analogy I used elsewhere... Stop trying to figure out how to use a spoon as a screwdriver.... big_smile

Just fix the root cause... don't circumnavigate the globe to just come to the same issue from a different direction wink

3

Re: Using Motor Steps Instead Of MM For Z Axis

MeshMoth wrote:

Hi Guys, was just wondering if there's a way for slic3r (or any other program) to specify Z movement with steps instead of MM.

For step-based layers, you don't need to change how slic3r works, you just need to set your layer height to a value so that the math works out the way you want.  The stepper motor has 200 full steps per rotation, with each full step subdivided into 16 microsteps, yielding 3200 microsteps per rotation.  For the default 18tpi z-rod, the firmware is set to 2268 steps per mm, so if you use a layer height of .299824, you should have 680 steps/layer no roundoff at the microstep level, or with a height of .303351 (688 steps/layer), the stepper motor will always fall on a full step (or at least the same microstep) for even more consistent results.

That being said, I don't think the moire effect you are seeing is likely caused by the z-axis movement, as any effect would be orders of magnitude too small and would only in one dimension. Roundoff or microstepping is often blamed (mistakenly IMHO) as a cause for banding effects, but moire effects are commonly associated with the granularity in the movement of the extruder motor.  I'd try adjusting the output voltage on your controller board on the line going to the extruder motor, tweaking it while sending extrude or retract commands until the motor runs smoothly.  I did this on mine and that removed the moire effects I was seeing.

4

Re: Using Motor Steps Instead Of MM For Z Axis

Thanks for the great help guys, makes perfect sense!

5

Re: Using Motor Steps Instead Of MM For Z Axis

tealvince wrote:

I'd try adjusting the output voltage on your controller board on the line going to the extruder motor, tweaking it while sending extrude or retract commands until the motor runs smoothly.  I did this on mine and that removed the moire effects I was seeing.

+1 for that - I did this to mine and saw instant improvement. Aim for as high as you can before it starts making the 'tak-tak-tak' noise. smile

SD3. Mk2b + glass, heated enclosure, GT2 belts, direct drive y shaft, linear bearings, bowden-feed E3D v5 w/ 0.9° stepper
Smoothieboard via Octoprint on RPi