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...
New to ''N [*] Layers'' tab - please help me...
- voyt
- Posts: 27
- Joined: 15 Nov 2015, 07:20
- Contact:
New to ''N [*] Layers'' tab - please help me...
euroreprap.eu
- pjr
- Posts: 692
- Joined: 05 May 2015, 10:27
- Location: Kamnik, Slovenia
Re: New to ''N [*] Layers'' tab - please help me...
Well assuming you are using absolute coordinates for XYZ, you could try this: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...
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
***
Peter
- voyt
- Posts: 27
- Joined: 15 Nov 2015, 07:20
- Contact:
Re: New to ''N [*] Layers'' tab - please help me...
I have ''5D - Absolute E'' set.
It is Smoothieware, I'm not sure if X Y Z are absolute. How do I check it? ( )
Thank You very much !
edit: Ah, I see now, the code is perfect.. Thank you once more...
It is Smoothieware, I'm not sure if X Y Z are absolute. How do I check it? ( )
Thank You very much !
edit: Ah, I see now, the code is perfect.. Thank you once more...
euroreprap.eu
- pjr
- Posts: 692
- Joined: 05 May 2015, 10:27
- Location: Kamnik, Slovenia
Re: New to ''N [*] Layers'' tab - please help me...
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
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
- voyt
- Posts: 27
- Joined: 15 Nov 2015, 07:20
- Contact:
Re: New to ''N [*] Layers'' tab - please help me...
!!! 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
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
- pjr
- Posts: 692
- Joined: 05 May 2015, 10:27
- Location: Kamnik, Slovenia
Re: New to ''N [*] Layers'' tab - please help me...
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
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