Skip to content

Commit

Permalink
Merge pull request #59 from smartin015/rc
Browse files Browse the repository at this point in the history
Merge v1.6.0 into master
  • Loading branch information
smartin015 authored May 4, 2022
2 parents a7ddaa8 + 33d67a7 commit 88e1307
Show file tree
Hide file tree
Showing 29 changed files with 1,129 additions and 497 deletions.
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ include README.md
recursive-include continuousprint/templates *
recursive-include continuousprint/translations *
recursive-include continuousprint/static *
recursive-include continuousprint/data *
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ WARNING: Your printer must have a method of clearing the bed automatically, with

See https://smartin015.github.io/continuousprint/ for all documentation on installation, setup, queueing strategies, and development.

See also [here](https://octo-plugin-stats2-a6l7lv6h7-smartin015.vercel.app/) for adoption stats.
See also [here](https://octo-plugin-stats2.vercel.app/) for adoption stats.
204 changes: 114 additions & 90 deletions continuousprint/__init__.py

Large diffs are not rendered by default.

64 changes: 64 additions & 0 deletions continuousprint/data/gcode_scripts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
GScript:
- name: "Sweep Gantry"
description: >
This script example assumes a box style printer with a vertical Z axis and a 200mm x 235mm XY build area.
It uses the printer's extruder to push the part off the build plate."
version: 0.0.1
gcode: |
M17 ;enable steppers
G91 ; Set relative for lift
G0 Z10 ; lift z by 10
G90 ;back to absolute positioning
M190 R25 ; set bed to 25 and wait for cooldown
G0 X200 Y235 ;move to back corner
G0 X110 Y235 ;move to mid bed aft
G0 Z1 ;come down to 1MM from bed
G0 Y0 ;wipe forward
G0 Y235 ;wipe aft
G28 ; home
- name: "Advance Belt Short"
description: >
This script works with a belt printer (specifically, a Creality CR-30). The belt is advanced to move
the print out of the way before starting another print.
version: 0.0.1
gcode: |
M17 ; enable steppers
G91 ; Set relative for lift
G21 ; Set units to mm
G0 Z10 ; advance bed (Z) by 10mm
G90 ; back to absolute positioning
M104 S0; Set Hot-end to 0C (off)
M140 S0; Set bed to 0C (off)
- name: "Pause"
description: >
Use this script if you want to remove the print yourself but use the queue to keep track of your
prints. It uses an @ Command to tell OctoPrint to pause the print. The printer will stay paused
until you press "Resume" on the OctoPrint UI.
version: 0.0.1
gcode: |
M18 ; disable steppers
M104 T0 S0 ; extruder heater off
M140 S0 ; heated bed heater off
@pause ; wait for user input
- name: "Generic Off"
description: >
This is a generic "heaters and motors off" script which should be compatible with most printers.
version: 0.0.1
gcode: |
M18 ; disable steppers
M104 T0 S0 ; extruder heater off
M140 S0 ; heated bed heater off
M300 S880 P300 ; beep to show its finished
- name: "Advance Belt Long"
description: >
The same idea as "Advance Belt Short", but with a longer advancement to roll off all completed prints.
version: 0.0.1
gcode: |
M17 ; enable steppers
G91 ; Set relative for lift
G21 ; Set units to mm
G0 Z300 ; advance bed (Z) to roll off all parts
M18 ; Disable steppers
G90 ; back to absolute positioning
M104 S0; Set Hot-end to 0C (off)
M140 S0; Set bed to 0C (off)
34 changes: 34 additions & 0 deletions continuousprint/data/printer_profiles.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
PrinterProfile:
- name: "Generic"
make: "Generic"
model: "Generic"
width: 150
depth: 150
height: 150
formFactor: "rectangular"
selfClearing: false
defaults:
clearBed: "Pause"
finished: "Generic Off"
- name: "Creality CR30"
make: "Creality"
model: "CR30"
width: 200
depth: 1000
height: 200
formFactor: "rectangular"
selfClearing: true
defaults:
clearBed: "Advance Belt Short"
finished: "Advance Belt Long"
- name: "Monoprice Mini Delta V2"
make: "Monoprice"
model: "Mini Delta V2"
width: 110
depth: 110
height: 120
formFactor: "circular"
selfClearing: false
defaults:
clearBed: "Pause"
finished: "Generic Off"
Loading

0 comments on commit 88e1307

Please sign in to comment.