Octoprint and M2 print Bed leveling

General discussion topics
Post Reply
3Dridge
Posts: 3
Joined: Thu Jun 08, 2017 3:36 am

Octoprint and M2 print Bed leveling

Post by 3Dridge » Sun Jun 11, 2017 1:34 pm

I successfully attached a raspberry Pi 3 and installed Octoprint to my M2 (thanks to a forum member)
So, now I can use my iPad to start print files etc. it's great
My question - is there a M2 "plugin" available for octoprint that will let you level the print bed
Thanks

User avatar
zemlin
Posts: 462
Joined: Thu Feb 04, 2016 9:32 pm
Location: Indianapolis, Indiana

Re: Octoprint and M2 print Bed leveling

Post by zemlin » Mon Jun 12, 2017 1:26 pm

I haven't seen a plugin, but I created custom control buttons I use for leveling the bed.
Capture.JPG
I can share the details of the scripts later, if you like. There's not much to it.

3dPrintingMD
Posts: 277
Joined: Fri Oct 02, 2015 5:37 am

Re: Octoprint and M2 print Bed leveling

Post by 3dPrintingMD » Mon Jun 12, 2017 4:08 pm

zemlin wrote:I haven't seen a plugin, but I created custom control buttons I use for leveling the bed.
Capture.JPG
I can share the details of the scripts later, if you like. There's not much to it.
I would love to get more info on this. Hopefully its something I can figure out.
M2 - V4, MIC-6 Build Plate, Astrosyn Damper's(X/Y), Rev. E, Geeetech LCD

S3D - FFF Settings https://forum.simplify3d.com/viewtopic.php?f=8&t=2367
Print Quality Troubleshooting https://www.simplify3d.com/support/prin ... eshooting/

User avatar
zemlin
Posts: 462
Joined: Thu Feb 04, 2016 9:32 pm
Location: Indianapolis, Indiana

Re: Octoprint and M2 print Bed leveling

Post by zemlin » Mon Jun 12, 2017 5:25 pm

Get the Custom Controls Editor plug for Octoprint.
I have a dual extruder, so you might want to tweak the X coordinates - but the leveling screws are all accessible at these points.
I have fixed Z offsets I enter for my various build platforms and I just adjust the hot-end (while cold) with a feeler gauge to get my start height.
Capture.JPG
Capture2.JPG
Center:
G91
G1 Z1
G90
G1 X80 Y125 F3600
G91
G1 Z-1

Left Front:
G91
G1 Z1
G90
G1 X15 Y35 F3600
G91
G1 Z-1

Left Rear:
G91
G1 Z1
G90
G1 X15 Y215 F3600
G91
G1 Z-1

Right Front:
G91
G1 Z1
G90
G1 X160 Y25 F3600
G91
G1 Z-1

Right Rear:
G91
G1 Z1
G90
G1 X160 Y225 F3600
G91
G1 Z-1

mark_tec_wiz
Posts: 1
Joined: Sun Feb 09, 2020 6:41 pm

Re: Octoprint and M2 print Bed leveling

Post by mark_tec_wiz » Sun Feb 09, 2020 7:20 pm

Zemlin

The program that was referenced in this post works like your octoprint scripts. Except it saves the z start point

viewtopic.php?f=7&t=4762&p=38134#p38134

This gcode saves the z start point after reading it and then manually adjusting the number
but I don't know how to get the Z positron after I have run the up and down scripts in octoprint.

Code: Select all

gcode At the terminal, M503.
Look for the Z # that is generated. Write it down.
Subtract .01 - .03 from the number.
M206 ZX.XX
M500 ZX.XX
That will change to the new number, and then save it to memory.
Do you know how to get the final z position using gcode commands then I could save it to memory.

Mark

User avatar
zemlin
Posts: 462
Joined: Thu Feb 04, 2016 9:32 pm
Location: Indianapolis, Indiana

Re: Octoprint and M2 print Bed leveling

Post by zemlin » Wed Mar 04, 2020 5:14 pm

Within the scripting tools, I am not aware of how to interrogate a value and then write an update.

Post Reply