Files
klipper-macros/macros/bd_pa_create_spoolman_field.sh
T
mangavalkandClaude Opus 5.5 6dbb4ca3fb Initial import of my Klipper macros, modules and scripts
Macros as they run on the printer (Voron 2.4 + AFC Box Turtle +
Blobifier + Beacon + bd_pressure + bdwidth + iHeater), the Klipper
modules they need (xy_drift, bdwidth_status, bdpressure_check), MCU
firmware update scripts, install.sh with Moonraker update manager
support, and READMEs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 13:45:11 +02:00

8 lines
268 B
Bash
Executable File

#!/bin/bash
BASE_URL=$1
FIELD=$2
curl -sf -X POST "${BASE_URL}/api/v1/field/spool/${FIELD}" \
-H "Content-Type: application/json" \
-d "{\"name\": \"Pressure Advance\", \"field_type\": \"float\", \"default_value\": \"0\"}" \
> /tmp/pa_setup_result 2>&1