Files
bambuddy/backend
maziggy aa6723c608 Take the layer height from the plate that actually printed
The archive card, the library file details and the slice dialog all read
    the layer height from a 3MF's project_settings.config. That records the
    project's settings and can still describe an earlier process or another
    plate; the plate's own G-code - what the printer executes - was never
    consulted for it, because the parser read the first 4KB, enough for the
    layer count in the header block but not for the config block that carries
    layer_height 14-25KB in. A print running at 0.08 on the H2C archived as
    0.2 with the layer count from the same file correct beside it.

    The plate G-code now wins wherever the two disagree, and the plate that
    was printed is the one read - the header parse used to take the first
    gcode entry in the zip regardless of which plate the archive was for.
    Source 3MFs, which carry no G-code, keep the project value as before.

    ---

    Stop carrying a file's layer height over the preset you picked

    Bambuddy carries a designer's process deviations across a re-slice
    (#2622) and pre-ticked every one that was not machine-coupled.
    layer_height is one MakerWorld projects routinely carry, so picking
    "0.08mm High Quality" for a file whose designer had moved layer height to
    0.2 sliced at 0.2 while the dropdown still read 0.08 - the same 0.2 the
    settings panel showed, tagged "from file".

    Layer height and first layer height are now classified preset_defining
    and treated like the machine-coupled keys: offered, never pre-selected.
    The flag travels on DesignOverride so the modal and the backend agree,
    and the panel's badge names the conflict and shows the preset's own value
    next to the file's, so ticking one is a deliberate choice.
2026-08-19 09:32:31 +02:00
..