본문으로 건너뛰기
Skillpedia
기타48k · #5178

marlin-bed-leveling

하는 일

이 도구는 Marlin 펌웨어를 사용하는 3D 프린터의 베드 레벨링을 설정하도록 돕습니다. 출력 베드가 완전히 평평하지 않더라도 출력물의 첫 층이 베드에 잘 붙도록 보장합니다.

사용하는 경우

  • ✓3D 출력물의 첫 층이 베드에 잘 붙지 않을 때.
  • ✓프린터가 「홈 복귀」 후에 베드 레벨링을 켜지 않는 것 같을 때.
  • ✓노즐과 베드를 측정하는 센서 사이의 정확한 거리를 미세 조정할 때.

스킬 링크

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/marlin-bed-leveling/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/marlin-bed-leveling/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Marlin 프린터에서 자동 베드 레벨링을 어떻게 설정하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

프린터 소프트웨어(Marlin)의 설정을 조정해, 베드의 여러 지점에서 정확한 높이를 알 수 있도록 합니다. 이는 베드를 측정하고 그 정보를 저장하는 특정 명령을 보내서 이루어집니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Marlin Bed Leveling: Deterministic Calibration & First-Layer Mesh Engineering

Master Marlin 2.x bed leveling architectures (Unified Bed Leveling UBL, Bilinear ABL, Manual Mesh MBL) to guarantee flawless first-layer adhesion through rigorous G-code phase workflows, probe offset math, and persistent EEPROM compensation.

When to Use This Skill

Activate this skill when:

  • Calibrating, tuning, or troubleshooting automatic bed leveling on Marlin 2.x 3D printers (Ender 3, CR-10, Prusa clones, custom CoreXY / Cartesian machines).
  • The user asks: "How do I set up UBL in Marlin?", "My printer homes with G28 and ignores the mesh", "Calculate BLTouch Z-probe offset", "Generate G26 validation print G-code", or "Edit warped mesh points with M421".
  • Diagnosing first-layer defects: nozzle dragging across PEI sheets, corner detachment, uneven squish, or compensation disabling after homing.
  • Sizing slicer start G-code sequences (Cura, PrusaSlicer, OrcaSlicer, Bambu Studio) with thermal soaking and mesh restoration.

Do NOT use this skill when:

  • Calibrating Klipper or RepRapFirmware printers (different firmware syntax and mesh compensation systems).
  • Fixing gross mechanical skew: loose V-slot rollers, bent Z leadscrews, or wobbly gantry arms (hardware faults cannot be solved by software leveling).
  • Delta printer kinematics setup requiring radius and tower endstop adjustments before mesh probing.

Core Mental Models & Non-Negotiable Rules

  1. The Post-Homing Enable Mandate (G28 Disables Leveling):

    • In Marlin firmware, executing G28 (Home All Axes) automatically DISABLES bed leveling compensation by default (RESTORE_LEVELING_AFTER_G28 is often disabled in vendor firmware).
    • In every print start G-code, the leveling restoration command MUST be issued strictly AFTER G28:
      G28      ; Home all axes (silently turns leveling OFF)
      M420 S1  ; Re-enable bed leveling compensation from EEPROM mesh
      
    • Failing to include M420 S1 (or G29 A for UBL) after G28 causes the printer to execute the entire print with zero leveling compensation.
  2. The 5-Phase UBL Calibration Loop: Unified Bed Leveling (UBL) is a state machine requiring five sequential phases:

    • Phase 1 (Probe Reachable Grid): G29 P1 probes all coordinates physically reachable by the probe offset.
    • Phase 2 (Manual Edge Probing): G29 P2 uses a paper feeler gauge for points the BLTouch cannot reach due to gantry geometry.
    • Phase 3 (Mathematical Extrapolation): G29 P3 T0.0 fills unprobed edge coordinates by extrapolating slopes from adjacent measured points.
    • Phase 4 (Validation & Micro-Tuning): G26 B60 H210 F1.75 prints a single-layer validation test pattern; inspect and edit coordinates with M421 I... J... Q....
    • Phase 5 (Storage & Activation): G29 S1 saves to EEPROM mesh slot 1; G29 A activates UBL; M500 commits to permanent EEPROM storage.
  3. Thermal Equilibrium Pre-Flight Invariant:

    • Aluminum build plates, magnetic stickers, and spring-steel PEI sheets expand and warp non-linearly under thermal expansion.
    • Probing a bed at room temperature (20°C) and then printing at 60°C or 100°C bakes a $0.08\text{--}0.20\text{mm}$ error into every mesh point.
    • Mandatory Pre-Flight: Beds MUST be heated to target operating temperature and soaked for $\ge 5\text{ minutes}$ prior to running G29 probing.
  4. Z-Probe Offset Sign Convention (M851 Z...):

    • For downward-deploying probes (BLTouch, CRTouch, inductive sensors) where the probe trigger point triggers below the nozzle tip: $$\mathbf{Z\text{-}Offset\ is\ strictly\ NEGATIVE}\ (e.g.,\ \text{M851 Z-1.85})$$
    • A positive Z-offset on a downward-deploying probe instructs the firmware that the nozzle is lower than the probe trigger, driving the nozzle directly into the bed on the first move.
    • Adjusting Z-offset with paper gauge:
      • More resistance / tighter squish $\implies$ more negative (e.g., -1.80 $\to$ -1.85).
      • Less resistance / looser gap $\implies$ less negative (e.g., -1.80 $\to$ -1.75).
  5. Mesh Fade Height Geometry (M420 Z...):

    • Leveling compensation must gradually fade out as Z-height increases so top surface layers print geometrically flat rather than conforming to the bed warp.

…

자주 묻는 질문

프린터가 홈 복귀한 뒤 왜 베드 레벨링이 멈추나요?

프린터를 홈 복귀시키는 명령(G28)은 기본적으로 레벨링을 끕니다. 그 뒤에 다시 명령(M420 S1)을 보내 레벨링을 켜야 합니다.

레벨링 전에 베드를 가열해야 하나요?

네, 베드를 출력 온도까지 가열하고 몇 분 기다리는 것이 매우 중요합니다. 금속은 가열되면 팽창하여 베드의 모양이 바뀌기 때문입니다.

Z 프로브 오프셋이란 무엇인가요?

노즐 끝과 레벨링 센서(프로브)가 베드에 닿는 지점 사이의 정확한 거리입니다. BLTouch 같은 센서에는 보통 음수 값을 사용합니다.

상세 정보

작성자의 원본 설명

Calibrates Marlin 2.x 3D printer firmware bed leveling: Unified Bed Leveling (UBL), Bilinear ABL, M420 S1 post-homing, Z-probe offsets, G26 mesh prints, and EEPROM slots. Trigger phrases: marlin bed leveling, ubl calibration, m420 s1, z probe offset, g29 bed level, first layer adhesion.

repo: sickn33/agentic-awesome-skills

인기도

GitHub 스타
48k
순위
#5178
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬