Skip to content

Commit

Permalink
Version 4.0.0 RC4 Scripting Improvements
Browse files Browse the repository at this point in the history
So much linting!
  • Loading branch information
rootiest authored Jun 13, 2023
2 parents 094bbf3 + 204416d commit a1a70d8
Show file tree
Hide file tree
Showing 19 changed files with 1,010 additions and 666 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,5 @@
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: master
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_JSCPD: false
2 changes: 1 addition & 1 deletion .github/workflows/opencommit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
# this list of branches is often enough,
# but you may still ignore other public branches
branches-ignore: [master, main]
branches-ignore: [master, main, dev]
paths:
- "src/**"
- "scripts/**"
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
user_profile.cfg
user_config.cfg
logs/*
logs/*
src/**.service
log4bash.sh
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,17 @@

# PrintCFG Klipper Suite

[![GitHub Super-Linter](https://github.com/rootiest/printcfg/workflows/Lint%20Code%20Base/badge.svg)](https://github.com/marketplace/actions/super-linter)

![header](docs/pretty_header.png)

This set of macros is a full suite of features for Klipper.

It is designed to be fully customizable to fit any printer or configuration. All without having to edit or understand the macros themselves. All configuration for the macros is done in the [user_profile.cfg](profiles/default/variables.cfg) file.

[Documentation is available in the Wiki](https://github.com/rootiest/printcfg/wiki)
## Documentation

### [Documentation is available in the Wiki](https://github.com/rootiest/printcfg/wiki)

## Features

Expand Down
26 changes: 14 additions & 12 deletions profiles/hephaestus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,20 @@ To change to this profile, run:

## Features

- 300mm build volume
- Voron TAP probe
- Nozzle brush
- Nevermore Filter
- Exhaust Fan
- Bed fans
- Chamber sensor
- Filament sensor on toolhead (load detection possible)
- Door sensor
- Case lights (125 RGBW LEDs)
- StealthBurner LEDs (rainbow barf + RGBW LEDs)
- Beeper (for notifications)
- 300mm build volume: The printer has a build volume of 300mm.
- Voron TAP probe: The printer uses a Voron TAP probe for bed leveling.
- Nozzle brush: The printer has a nozzle brush attached to it.
- Nevermore Filter: The printer has a Nevermore filter installed.
- Exhaust Fan: The printer has an exhaust fan installed.
- Bed fans: The printer has bed fans installed.
- Chamber sensor: The printer has a chamber sensor installed.
- Filament sensor on toolhead (load detection possible): The printer has a filament sensor installed on the toolhead that can detect when filament is loaded.
- Door sensor: The printer has a door sensor installed.
- Case lights (125 RGBW LEDs): The printer has 125 RGBW LEDs installed for lighting.
- StealthBurner LEDs (rainbow barf + RGBW LEDs): The printer has StealthBurner LEDs installed.
- Beeper (for notifications): The printer has a beeper installed for notifications.
- Sensorless homing: The printer uses sensorless homing.
- Adaptive meshing: The printer uses adaptive meshing.

## Notes

Expand Down
2 changes: 2 additions & 0 deletions profiles/v2tap300/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,5 @@ To change to this profile, run:
- 300mm build volume
- Voron TAP probe
- StealthBurner LEDs
- No Sensorless Homing
- Adaptive Meshing
12 changes: 6 additions & 6 deletions profiles/v2tap300/config.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -265,17 +265,17 @@ gcode:
######## Door Configs ##########
################################

[gcode_button doors]
#[gcode_button left_door]
########## IMPORTANT ###########
## ---------------------------- ##
# Set pin to match your machine: #
pin: !PG15 #
#pin: !PG15 #
## ---------------------------- ##
########## IMPORTANT ###########
press_gcode:
_close_door ; DO NOT CHANGE
release_gcode:
_open_door ; DO NOT CHANGE
#press_gcode:
# _close_door ; DO NOT CHANGE
#release_gcode:
# _open_door ; DO NOT CHANGE

#[gcode_button right_door]
########## IMPORTANT ###########
Expand Down
4 changes: 2 additions & 2 deletions profiles/v2tap300/variables.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ variable_home_travel_speed: 10000
variable_home_z_speed: 1000
variable_home_retract: 10
variable_home_retract_speed: 1200
variable_sensorless_home: True
variable_sensorless_home: False
variable_home_current: 0.7

## Homing Macros
Expand Down Expand Up @@ -388,7 +388,7 @@ variable_telegram_runout: 'TELEGRAM_FILAMENT_RUNOUT'
## Each door must have a name (e.g. variable_door1_name: 'left_door')
## Each door may optionally have custom macros for open and closed (e.g. variable_door1_open: 'M116')

variable_doors: 1 ; Number of doors (0, 1 or 2) (set to 0 to disable)
variable_doors: 0 ; Number of doors (0, 1 or 2) (set to 0 to disable)

variable_door1_name: 'Left' ; Name of first door switch
variable_door1_open: 'M116' ; Custom macro for open door1 (set to 'M116' to disable)
Expand Down
Loading

0 comments on commit a1a70d8

Please sign in to comment.