Skip to content

Instantly share code, notes, and snippets.

@hyperair
Created July 2, 2015 16:40
Show Gist options
  • Select an option

  • Save hyperair/5be3c69b9d768b423c88 to your computer and use it in GitHub Desktop.

Select an option

Save hyperair/5be3c69b9d768b423c88 to your computer and use it in GitHub Desktop.
- name: Delta levelling 2
type: section
children:
- name: Level X tower
type: commands
commands:
- G90
- G28
- G1 F8000 F8000 X-77.9423 Y-45 Z0
- name: Level Y tower
type: commands
commands:
- G90
- G28
- G1 F8000 X77.9423 Y-45 Z0
- name: Level Z tower
type: commands
commands:
- G90
- G28
- G1 F8000 X0 Y90 Z0
- name: Adjust X endstop and relevel
type: parametric_commands
input:
- name: X offset
parameter: x_offset
- name: Stop at height
parameter: height
default: 0
commands:
- M666 X%(x_offset)s
- G90
- G28
- G1 F8000 F8000 X-77.9423 Y-45 Z%(height)s
- name: Adjust Y endstop and relevel
type: parametric_commands
input:
- name: Y offset
parameter: y_offset
- name: Stop at height
parameter: height
default: 0
commands:
- M666 Y%(y_offset)s
- G90
- G28
- G1 F8000 F8000 X77.9423 Y-45 Z%(height)s
- name: Adjust Z endstop and relevel
type: parametric_commands
input:
- name: Z offset
parameter: z_offset
- name: Stop at height
parameter: height
default: 0
commands:
- M666 Z%(z_offset)s
- G90
- G28
- G1 F8000 F8000 X0 Y90 Z%(height)s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment