它来自切片器,以及我们之前设置的自定义启动 G 代码(我们在两个示例的导出 gcode 中都看到了 PRINT_START 之后的参数名称)。 然而,在我们实际使用这些变量之前,我们必须从传递给 PRINT_START 宏的参数中提取它们。这些参数保存在 klipper 维护的集合中,称为 。请注意,在新宏的开头,我们看到了另一个新符号,也是大...
{% set km = printer["gcode_macro _km_globals"] %} {% set bed_overshoot = (BED + (km.start_bed_heat_overshoot if BED else 0.0), printer.configfile.settings.heater_bed.max_temp ) | min %}INIT_LAYER_GCODE LAYERS="{LAYERS}" ...
SET_GCODE_VARIABLE MACRO=_km_globals VARIABLE=start_z_tilt_adjust_at_temp VALUE="{ 1 if printer.z_tilt is defined else 0}" {% set toolhead = printer.toolhead %} SET_GCODE_VARIABLE MACRO=_km_globals VARIABLE=print_min VALUE="{ ...
If you open the gcode file after postprocessing, you should find references to_USE_INFILL_SQV,_USE_NORMAL_SQV, and other macro commands. Credits Thanks to RomRider who make the klipper-FastGyroidInfill post-processing script which this script is heavily based on. All of the original code is...
Heatbed Soak Macro for Klipper 3D Printers It is well known that the print bed on 3D Printers can continue to flex and move even after the thermister reports that the print bed has reached its target temperature. This issue becomes more prevalent the larger a print bed is. This movement ...
3DPrint.com Macro Analyst Matt Kremenetsky provided in-depth coverage of the increased push for AM adoption worldwide, with a particular focus on government initiatives. Leading the charge was the U.S. military, which will spend a total of $300 million directly on AM in 2023. This is accor...
{% set km = printer["gcode_macro _km_globals"] %} {% set toolhead = printer.toolhead %} {% set max_x = toolhead.axis_maximum.x %} {% set max_y = toolhead.axis_maximum.y %} {% set max_x = km.print_max[0] %} {% set max_y = km.print_max[1] %} {% set max_...
您可以在 https://www.klipper3d.org/G-Codes.html 和搜索中阅读有关这些宏的更多信息 另请注意,第三行包含对 PRINT_START 的调用,以及 PRINT_START 后的几个值。PRINT_START后面的选项是参数,这些参数允许将信息从切片器传递到打印机本身的PRINT_START宏中。