Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.0.11 #195

Merged
merged 31 commits into from
May 18, 2024
Merged

Release v0.0.11 #195

merged 31 commits into from
May 18, 2024

Conversation

julianschill
Copy link
Owner

No description provided.

mlee12382 and others added 30 commits November 30, 2022 17:44
Installation script: new config path and uninstaller
* Better stopping of effects by defining LED

* Added Replace Parameter to SET_LED_EFFECTS command

* Improved STOP_LED_EFFECTS command for certain LEDs

* Updated documentation for new STOP possibilities
* Added homing effect
* Add endstop to simulator
* homing: cycle through palette
* Added documentation for homing effect
* Updated docs for homing effect
* small typo

---------

Co-authored-by: Julian Schill <[email protected]>
* Fix 'stop' klipper service

Klipper was not properly stopped.

---------

Co-authored-by: Julian Schill <[email protected]>
* Allow layer definitions to be processed as templates

This commit adds the ability to process the layer definitions as Jinja2
templates just like any other Klipper macro. All of the normal objects
available to macros are also available to layers.

As an example, the following layer definition:

    [led_effect test1]
    autostart: false
    heater: extruder
    leds:
      neopixel:case_lights
    layers:
      {% set min_temp = printer.configfile.settings.extruder.min_extrude_temp %}
      heater {min_temp} 0 add (1,0,0)

will result in the following layer being defined:

    heater 170.0 0 add (1,0,0)

Layers are then processed as normal.

It is also possible to have layers be re-evaluated when an effect is
enabled. This has the benefit of using the current printer state.
However, it will use CPU cycles to re-compute the layers.

Signed-off-by: Mitko Haralanov <[email protected]>

* Allow passing of effect parameters with SET_LED_EFFECT

This commit adds the ability to pass parameters to the LED effects
through the SET_LED_EFFECT command.

If an effect is defined as `dynamic` (which re-evaluates the layers
template each time the event is activated), the SET_LED_EFFECT
command can now pass parameters to the template just like GCode
macros can.

This mechanism allow for the effect to be changed dynamically. In
fact, it could provide a way for definiting dynamic effects.

Signed-off-by: Mitko Haralanov <[email protected]>

---------

Signed-off-by: Mitko Haralanov <[email protected]>
@julianschill julianschill merged commit e314c36 into master May 18, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants