New to ''N [*] Layers'' tab - please help me...

Discuss general topics that don't suit another sub-forum
Post Reply
User avatar
voyt
Posts: 27
Joined: 15 Nov 2015, 07:20
Contact:

New to ''N [*] Layers'' tab - please help me...

Post by voyt »

I'm in need of executing specific code each 30 layers or so. And I need someone smarter than me to write/show me the code that would make the printhead to:
- go to the specific absolute coordinates (allways the same x=10, y=10), than extrude 15mm of filament at given speed, than simply continue printing)..
Can anyone help me please... :)
euroreprap.eu
User avatar
pjr
Posts: 692
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: New to ''N [*] Layers'' tab - please help me...

Post by pjr »

voyt wrote:I'm in need of executing specific code each 30 layers or so. And I need someone smarter than me to write/show me the code that would make the printhead to:
- go to the specific absolute coordinates (allways the same x=10, y=10), than extrude 15mm of filament at given speed, than simply continue printing)..
Can anyone help me please... :)
Well assuming you are using absolute coordinates for XYZ, you could try this:

Code: Select all

G91    ; Switch to relative
G1 Z0.5 F300   ; Raise Z by half a millimetre
G90    ; Switch back to absolute
G1 X10 Y10 F6000    ; Move to 10, 10 at 100mm/s
M83    ; Switch to relative extruder
G1 E15 F240    ; Extrude 15mm of filament at 4mm/s
G1 X<NEXTX> Y<NEXTY> F6000    ; Move back to part at 100mm/s
G91    ; Switch to relative
G1 Z-0.5 F300    ; Lower Z by half a millimetre
G90    ; Switch back to absolute XYZ
***
If you use relative E, replace *** with M83; if you use Absolute E, then remove ***

Peter
User avatar
voyt
Posts: 27
Joined: 15 Nov 2015, 07:20
Contact:

Re: New to ''N [*] Layers'' tab - please help me...

Post by voyt »

I have ''5D - Absolute E'' set.
It is Smoothieware, I'm not sure if X Y Z are absolute. How do I check it? ( :oops: )

Thank You very much !

edit: Ah, I see now, the code is perfect.. Thank you once more... :)
euroreprap.eu
User avatar
pjr
Posts: 692
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: New to ''N [*] Layers'' tab - please help me...

Post by pjr »

I get the impression that you quite like model railways.

Have a look at mine: https://www.youtube.com/watch?v=U60FKS1vivM&t=473s and https://www.youtube.com/watch?v=YPthzpHISkw&t=76s

Peter
User avatar
voyt
Posts: 27
Joined: 15 Nov 2015, 07:20
Contact:

Re: New to ''N [*] Layers'' tab - please help me...

Post by voyt »

!!! Respect!

And... You are right :)
But I was not in it actually - till I had my own kids. I designed a set for my older son. Everything was printed of ABS, with the help of Kisslicer of course (very good fitting of parts).
The files are now available on the net (paid download).

Some videos are here:
https://www.youtube.com/watch?v=xqnwrq47XhE
https://www.youtube.com/watch?v=jfeBsw7MKG4
euroreprap.eu
User avatar
pjr
Posts: 692
Joined: 05 May 2015, 10:27
Location: Kamnik, Slovenia

Re: New to ''N [*] Layers'' tab - please help me...

Post by pjr »

That's brilliant! Well done!

Wifey loved the modelling of the railways (I did design/electronics/hardware/computing stuff); I persuaded her we needed a 3D printer to be able to print some model buildings, but it never quite worked out. All the buildings she liked were way too large...

Peter
Post Reply