How do I create a custom move on each layer using gcode or other method.
 
Avisos
Vaciar todo

How do I create a custom move on each layer using gcode or other method.  

  RSS
Jeffsy
(@jeffsy)
New Member
How do I create a custom move on each layer using gcode or other method.

Hi,
How can I code some custom moves at the end of each layer?
On each layer completion I would like an absolute move of Z=100mm, then X =200mm (for example) then return to the next layer.
Thanks for your help.

Respondido : 05/09/2022 5:01 pm
Diem
 Diem
(@diem)
Illustrious Member

Printer Settings > Custom G-code > Before layer change G-code    and   After layer change G-code

Cheerio,

Respondido : 05/09/2022 5:29 pm
Jeffsy
(@jeffsy)
New Member
Topic starter answered:
RE: How do I create a custom move on each layer using gcode or other method.

Hi Diem,

Any chance of listing the the code using my example co ordinates?

thanks

Respondido : 05/09/2022 5:54 pm
JoanTabb
(@joantabb)
Veteran Member Moderator
RE: How do I create a custom move on each layer using gcode or other method.

do you seriously want to move to X200 Z100 after every layer, 

Z travel is vertical, and SLOW...

the print will take ages

G1 X200 Z100   should do the job for you... 

regards Joan

I try to make safe suggestions,You should understand the context and ensure you are happy that they are safe before attempting to apply my suggestions, what you do, is YOUR responsibility. Location Halifax UK

Respondido : 05/09/2022 6:49 pm
Neophyl
(@neophyl)
Illustrious Member
RE: How do I create a custom move on each layer using gcode or other method.

As you are posting in the MK3 forum then can we assume you are using a MK3 printer ?
If so then normal 'in print' moves will already be set to absolute positioning.  If you dont know enough to work it out yourself then you really shouldnt be touching the custom gcode areas as you can damage things by improperly adding gcode.

However its your printer so you can do what you want.

After layer 

G1 Z100 ; moves extruder to height 100
G1 X200 ; moves extruder to x=200

Thats it.  Its all thats needed to go to that same position on every layer.  It will go back to the next layer position as that will be the next gcode and its already in absolute mode.  I would presume its for some kind of camera setup.  Hope you don't forget to leave it in though and ever print something above 100mm high.

Respondido : 05/09/2022 6:53 pm
Compartir: