Duet 3 Zaxis and U axis motion
-
Hi,
As from my previous posts im making a SLS printer, My Z axis moves 0.1mm down in every layer, i want my U axis motor to go up 0.1mm on every layer change, what should i use in layer change script? -
@adhanabal It could be simple, like:
G91 ; use relative moves G1 U0.1 G90 ; use absolute moves
-
@o_lampe thank you
-
@droftarts
Why does the codebox look different after someone replied to my message? I've written three lines of "code" but now it's an unreadable single liner?! -
@o_lampe looks fine to me here
-
@o_lampe looks okay to me, too. What platform and browser are you using?
Ian
-
@o_lampe said in Duet 3 Zaxis and U axis motion:
@droftarts
Why does the codebox look different after someone replied to my message? I've written three lines of "code" but now it's an unreadable single liner?!I've noticed this as well. Reloading the page returns it to normal.
-
@o_lampe Hi it worked fine, i have one small query,
i want this layer change script to happen from 2nd layer, but when i put this code it works from the first layer itself, any idea to avoid it in the first layer?
im using simplyfi3d slicer.
regards -
@adhanabal if S3D allows it, you could try this:
if move.axes[2].userPosition>0.3 G91 ; use relative moves G1 U0.1 G90 ; use absolute moves
where I have assumed that 0.3 is greater than your first layer height but less then your second layer height. S3D may make the first layer height available to you as [first_layer_height] or something similar.