OctoPrint / OctoPrint/OctoPrint

[Request] Use M211 gcode to set bed size automatically.

Open
#2,273 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

request
Dominant language
Python
Stars
9.1k
Forks
1.7k
Avg merge
2d 5h
Merged PRs (30d)
4

Description

I have read the FAQ.

Marlin firmware (and maybe others) is able to report the size of the printer from firmware:

Send: M211
Recv: echo:Soft endstops: On   Min: X0.00 Y0.00 Z0.00  Max: X230.00 Y290.00 Z340.00
Recv: ok

Perhaps have a button in the printer configuration that, when pressed, would send M211 to the printer, get the min and max, and automatically fill in the bed size and shape?

If you like the idea and need help with it or want me to do it, let me know. If you think that you won't add such a feature, let me know and I'll drop it.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the printer configuration and communication paths described in the issue, then review how responses to printer commands are handled. The feature would send M211, parse the reported minimum and maximum coordinates, and fill in the bed size and shape through a configuration button. No source files or tests are named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.