Vehicles: a calipers_front part goes before the named caliper #234

Manually merged
github merged 1 commit from gh-pr/234/head into gh-pr/234/base 2026-11-26 20:20:15 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-25 02:25 UTC · original
holdmysocks:claude/front-calipers → master · +20 −8 · 1 files · 1 commits · merged 2026-11-25 03:05 UTC

What

44 configurations on 12 vehicles give the front caliper two ways: a caliper model named in the part list, and a part in the slot calipers_front. The export and the viewer took the named one and never used the part; the code marked that as not confirmed.

Now the axle's own part goes before the named caliper, on the front as it already did on the rear:

  • front: calipers_front part, else the named caliper
  • rear: calipers_rear part, else none on a drum, else the named caliper, else the front's

Why this way round:

  • 1,900 configurations name a caliper and give the rear another one through calipers_rear. The part has to go before the name there, or it would do nothing.
  • The calipers_front part is one shared part (a 2-pot caliper) on 266 configurations. 204 of them have rear drums and name no caliper at all: the part is how those get front calipers. The 28 that also name a different caliper have the same front discs and rear drums.

One function in sixng-core (brake_axles), used by both the export and the viewer. No file format change.

Checked

  • Survey of all 4,063 configurations: 44 with both, 16 of them naming the same model (no change), 28 another one (named: 1-pot stock 17, 2-pot stock 6, 4-pot 5). All 28 have front discs, rear drums and no rear caliper part.
  • Exports of four of the 28 (three vehicles, one configuration naming a 4-pot): the front wheels now carry the 2-pot caliper, the rear drums none. Nothing left out.
  • Exports of four others (front part only; named + rear part; all three with the same model twice): the brake pieces are what the old rule gives too. No before-and-after export was compared.
  • Unit tests for both new cases; workspace tests pass.

Not decoded / not done

  • Not confirmed in the game: the rule follows from how the rear part is used, not from a reference picture. The models differ little (a 1-pot or 2-pot stock caliper against the 2-pot one), so a wrong choice would be hard to see.
  • Not looked at in the viewer; it calls the same function.
  • 13 configurations have a caliper on an axle with drums by their data (a front drum with a named caliper or a front caliper part). They are fitted as before; whether the game draws a caliper there is not known.
**@⁠holdmysocks** on GitHub · 2026-11-25 02:25 UTC · [original](https://github.com/holdmysocks/SixNG/pull/234) `holdmysocks:claude/front-calipers` → `master` · +20 −8 · 1 files · 1 commits · merged 2026-11-25 03:05 UTC ## What 44 configurations on 12 vehicles give the front caliper two ways: a caliper model named in the part list, and a part in the slot `calipers_front`. The export and the viewer took the named one and never used the part; the code marked that as not confirmed. Now the axle's own part goes before the named caliper, on the front as it already did on the rear: - front: `calipers_front` part, else the named caliper - rear: `calipers_rear` part, else none on a drum, else the named caliper, else the front's Why this way round: - 1,900 configurations name a caliper and give the rear another one through `calipers_rear`. The part has to go before the name there, or it would do nothing. - The `calipers_front` part is one shared part (a 2-pot caliper) on 266 configurations. 204 of them have rear drums and name no caliper at all: the part is how those get front calipers. The 28 that also name a different caliper have the same front discs and rear drums. One function in sixng-core (`brake_axles`), used by both the export and the viewer. No file format change. ## Checked - Survey of all 4,063 configurations: 44 with both, 16 of them naming the same model (no change), 28 another one (named: 1-pot stock 17, 2-pot stock 6, 4-pot 5). All 28 have front discs, rear drums and no rear caliper part. - Exports of four of the 28 (three vehicles, one configuration naming a 4-pot): the front wheels now carry the 2-pot caliper, the rear drums none. Nothing left out. - Exports of four others (front part only; named + rear part; all three with the same model twice): the brake pieces are what the old rule gives too. No before-and-after export was compared. - Unit tests for both new cases; workspace tests pass. ## Not decoded / not done - Not confirmed in the game: the rule follows from how the rear part is used, not from a reference picture. The models differ little (a 1-pot or 2-pot stock caliper against the 2-pot one), so a wrong choice would be hard to see. - Not looked at in the viewer; it calls the same function. - 13 configurations have a caliper on an axle with drums by their data (a front drum with a named caliper or a front caliper part). They are fitted as before; whether the game draws a caliper there is not known.
44 configurations give the front caliper both by model name and by a
part in the calipers_front slot. The axle's own part is now taken, as
calipers_rear already is on the rear axle. Not confirmed in the game.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:20:13 +00:00
github manually merged commit 0f46c7bd50 into gh-pr/234/base 2026-11-26 20:20:15 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.