1

Topic: G code modification for home axes

Could this be a sticky for all Gcode mods to Repetier, Slic3r, Skeinforge and like? I know there are a few around here and google groups, it would be nice to just repost all those in one place.

Grand Rapids, Michigan
SD2 with Sanguinololu board, glass bed mod, E3d_v5 bowden version hotend (currently direct drive), Lawsy Mk5 jigsaw replacement, octopi printserver, drv8825(tiny troubles)

2 (edited by IanJohnson 2012-08-24 00:34:15)

Re: G code modification for home axes

Here is the correct start.gcode

G21
G91
G1 X200 F3000
G1 Y200 F3000
G1 X-82 Y-76 F3000
G1 Z-200 F500
G1 Z5 F500
G1 Z-10 F250
G90
G92 X0 Y0 Z0 E0


Here is how you get Pronterface to show the print in the middle of the display

In pronterface,
goto "settings"
"options"
in the "build_dimensions" box type this
150x150x150-75-75+0

This creates the correct table size, and allows for the axis offset so x0 & y0 are in the middle.

If you want to try Repetier, use this start.gcode-

G21
G91
G28
G92 E0

3

Re: G code modification for home axes

Thanks!!

Grand Rapids, Michigan
SD2 with Sanguinololu board, glass bed mod, E3d_v5 bowden version hotend (currently direct drive), Lawsy Mk5 jigsaw replacement, octopi printserver, drv8825(tiny troubles)

4

Re: G code modification for home axes

Here is a config file for Slic3r which contains a Printer Settings preset for Repetier Host.

Post's attachments

Slic3r_9_Solidoodle 2.ini 2.09 kb, 1487 downloads since 2012-08-22 

You don't have the permssions to download the attachments of this post.

5

Re: G code modification for home axes

Good work Ian.

Former Solidoodle employee, no longer associated with the company.

6

Re: G code modification for home axes

Maybe I'm missing this somewhere, but is there an updated end code for repetier/slic3r that sends the print head to the back of the build area than the front?

7

Re: G code modification for home axes

I don't remember seeing any XY movement in the end code, but you can add G28 Y or G28 X to home to Y or X.  Also remember that gcodes have to be in caps or it won't be read.

8

Re: G code modification for home axes

This is an old thread. There is an improved version of the g-code here:

http://www.soliforum.com/topic/231/impr … end-gcode/

Watch the video to see how it works.