Releases: droans/klipper_extras
v0.3
As always, please report all feedback including any issues or suggestions.
New utility functions have been added!
update_gcode_variable
: Update the G-Code variable for any macro. Allows for you to pass non-text values, such as booleans, lists, dictionaries, etc.update_dict
: Update the value of a key inside a dictionary. Also works with nested dictionaries if a list, tuple, or set is passed for thekey
.call_macro
: Call any macro without using the default G-Code interpreter. This allows for you to pass any type of param to the macro.
Added new Python installer to replace the Shell installer.
This new installer will attempt to determine the Python version and proper directories by reaching out to Moonraker at http://localhost:80
. You can manually set this to a different URL or provide the information yourself. You will also be prompted on if you would like the updater to be added to your Moonraker config and if you would like to replace any of the modules if they already exist in your Klipper extras directory. This code should be much easier to read than Shell and is built to work with both Python 2 and Python 3 for either the installer or Klipper.
Issue templates have also been created to make it easier for suggestions and bugs to be reported by users.
Please note: Since Python 3 is now the recommendation for new Klipper installs, Python 2 is now considered deprecated for this project. Support will end prior to v1.0.
What's Changed
- Add [delayed_extended] gcode section and updated install script by @GadgetAngel in #11
- Add Python Install Script by @droans in #23
Full Changelog: v0.2...v0.3
Extended_template from shell_install branch
shell_install branch Initial release
v0.2
This is production ready and has been tested on my machine since I began this project.
Please report any bugs you may find along with any suggestions you have.
Major:
- Added default functions and modules to be used in extended_macros
- No longer requiring
path
be defined or a config.yaml be created as users can utilize extended_macro with just the defaults - Using a
requirements.txt
file so that install of required Python modules is easier
Minor:
- Documentation Update
- Code reorganization
- Add loader for defaults
- Adjusted requirements for loaders
v0.1
Please use the readme files to understand what is going on.
- No more stumbling around looking for the files.
- Helper config object -
[extended_template]
to define the config YAML file - Generated examples
- Generated readme files and instructions.
- Slight restructuring
Please report any bugs, issues, or suggestions.