{% extends "../base.html" %} {% block content %} {% macro buttonView(name,position,color,gcode,confirmText,cond) %}

{% endmacro %}
{% if buttons %} {% for button in buttons %} {{ buttonView(button.Name,button.Position,button.Color,button.Gcode,button.ConfirmText,button.Condition) }} {% endfor %} {% endif %} {{ buttonView("",0,0,"","","") }}
Name / Color Position / Condition Gcode Confirmation Text Action


It is possible to call a program or a script from shell and use the result as Gcode.
eg. python execute.py

Usable Keywords:
  • [[LayerNumber]]
  • [[LayerThickness]]
  • [[ZLiftDistance]]
  • [[ZSpeed]]
  • [[TotalSolidArea]]
  • [[LargestArea]]
  • [[Delay Seconds]] eg. [[Delay 1.23]]
  • [[Pause]]
  • [[GPIOWaitForLow]] and [[WaitForDoneMessage]]

Supported Math operations:
  • + - * / ** () < >
  • eg. {[[LayerThickness]]-[[ZLiftDistance]]}
Binary support:
  • It is possible to send binary codes using base 16 format.
  • eg. \x00\xff
{% endblock %}