Files
SoftFever 3143363b63 Name printer model ids after their vendor and model, and check them in CI (#18146)
* Give every printer model its own model id

Several printer models shared a model id with another model, and the three
Cubicon xCeler models had none, so printer connections, OrcaSonar and OrcaCloud
could take a printer for the wrong model. Each model now has an id of its own,
and models already in use with a connected printer keep theirs.

* Fail profile checks when a printer model id is missing or shared

Profile checks now fail when a printer model has no model id, uses one that
another model in any bundle already has (ignoring case), or uses characters
that printers and services cannot carry. The profile authoring guide gives
the rule and how to choose a new id.

* Name every printer model id after its vendor and model

Printer model ids were a mix of hand-picked codes, some shared between models
or as vague as "v1", so a printer could be taken for a different model. Every
printer model outside Bambu Lab now has a readable id made from its vendor and
model name, such as prusa-prusa-mk4s, while Bambu Lab models keep the codes
their printers report. A printer added through a printer agent before this
change has to be added again.

* Fail profile checks on a printer model id its name does not give

Profile checks now fail when a printer model outside Bambu Lab has no id, a
hand-written one, or one another model shares, and generate-id writes the
right id for new models. The profile authoring guide describes the rule.

* Explain printer model id failures, including what a rename costs

When a printer model's id is missing or doesn't match its vendor and model
name, the profile check now gives the id to paste or the command that writes
it. When the mismatch comes from renaming a model, it also warns that printers
users added with the old id must be added again.
2026-12-04 19:37:13 +08:00

13 lines
383 B
JSON

{
"type": "machine_model",
"name": "Geeetech M1",
"model_id": "geeetech-geeetech-m1",
"nozzle_diameter": "0.4;0.2;0.6;0.8",
"machine_tech": "FFF",
"family": "Geeetech",
"bed_model": "105x105.stl",
"bed_texture": "Geeetech_buildplate_texture.svg",
"hotend_model": "",
"default_materials": "Generic PLA @System;Generic PLA @System;Generic PETG @System;Generic TPU @System"
}