A box at last
The MDF templates did their job. The mains cabinet is now cut in three-quarter-inch plywood and screwed together into a box, and I have started laying out what goes inside it. One end panel has a router mistake in it that I am keeping on purpose. Next stop is the boat, to find out whether it fits.

Last week ended with one piece of MDF and a hole that two panels passed through. Today ended with a box.
I was able to nip out to the boat very briefly on Monday and measure the rail and the fiddle, which were the dimensions I was missing. That is why I am hoping this might be a good fit.
Templates, then the real thing
The whole point of doing it in MDF first was that mistakes cost almost nothing. Once the MDF pieces had been proved against the two Blue Sea units, they stopped being rehearsals and became templates, and the router followed them into three-quarter-inch ply.
The box
The first photograph is the cabinet put together: backing, floor and both ends, held on small brackets for now. Nothing is glued. It has to go to the boat and come back before anything is permanent, and then it all comes apart again to be painted.
With a box to work in, I have started laying out the inside. The blue unit is the Victron meter, which will keep track of the power the boat is using and report it to the Cerbo.
The long black strip is for the live wires. The 8097 only switches the live, so each switched live comes from the back of the panel to this strip, and the wire to the device it powers is picked off the other end. The panel lifts out, so the wires coming off it need slack to let it come away whole. The strip means only those short tails need it. The runs out to the devices do not have to be incredibly long.
Neutral and earth do not go through the panel at all. They go to the dual busbar under the black cover: one side for earth, one for neutral. The cover is a nice touch. It stops anything that gets dropped from landing across the bars and making a connection it shouldn't.
None of it is screwed down yet. It is a layout, and the dry fit may still move things around.
A mistake I am keeping
There is a mistake in the right-hand end panel. The notch at the back is there so that the rail behind the panel can carry straight through, with the wiring running behind it, and the inside corner of that notch should be square.
I was using the router to trim those edges clean, and I forgot to set a stop at the end of the horizontal run. The bit carried on and ate into the vertical edge, and left a sort of U shape chipped out of the corner.
If the notch turns out to be in exactly the right place, that panel gets recut, because the right-hand side is the one you see from outside. If it isn't, I may end up trimming the notch a little further and the chip disappears with it. Honestly, I suspect I will be recutting it.
But the notch is not really the question. The question is whether any of the other dimensions are too big or too short. If I cut a new panel the same size as this one, without the chip, and any of those dimensions are short, I would have to cut it a third time. If this one turns out short, I simply note by how much and make the next one a little taller, wider or deeper, and all will be well. It does the job of telling me whether the box fits just as well as a perfect panel would.
Most of the fit matters less than it sounds. The right-hand side will be seen, so that has to be good. The top of the box, from the front, will not be. The only thing anyone will see up there is the filler strip, and once I know where that has to sit I can adjust it.
The door, still in one piece

The second photograph is what will become the face of the cabinet. It is still one piece. It has to be cut along its length so that the strip across the top becomes the fixed filler and only the bottom part, with the two units in it, is the door that lifts out.
It doesn't need cutting yet, and I haven't decided where it sits. It might mount flush with the box, or slightly higher to make up for a cut that is slightly off. Better to find that out at the fitting.
The plan is to cut it with a thin-kerf blade and let the kerf be the gap, so that the door pulls out cleanly with exactly that much clearance all along the top. That means the cut has to be very straight and very accurate the first time, and I have neither a table saw nor a track saw. My friend has both, so I will be waiting for a suitable moment to borrow his table saw and make that cut exactly where it needs to be.
Waiting for the fitting also covers the case where I have it grossly wrong and need a new front panel. I don't think so. I think that one is going to be pretty good. But who knows?
Next
The box goes to the boat for a dry fit. It might be perfect. More likely it needs a little trimming here and there, and that is the point of taking it out there before any glue or paint goes on.
Paint or flowcoat
After the fitting, the next decision is how to finish it.
Paint is the obvious answer. It is certainly doable and it would be a very serviceable finish. But paint is not as hard-wearing, and it chips more easily.
The alternative is flowcoat, which would give the cabinet much more of the strength and durability that the rest of the fibreglass on the boat has. It is quite a bit more effort, and it is another skill I have yet to exercise. It is also one I probably need, so maybe this is a good place to learn it.
Of course, I could try both. The inside of the cabinet could be flowcoated, to keep it sealed and clean and white. If the flowcoat isn't great, it doesn't matter, because it is on the inside of a cupboard that no one should be opening. If it turns out well, maybe I will be bold enough to flowcoat the parts you can see. And if I'm not, I can always fall back to paint for those.