The outline of the chassis must match the open bottom line of the model. Being the model symmetrical with respect to the longitudinal axis, it’s enough to draw half of the outline, which is easily done by intersecting a plane with half of the locomotive model. For the cabin, only the lower valance is needed.
Once the section is available, some hand working with the “Draft” workbench is needed, basically to downgrade the intersection object into lower level objects: first from a surface to a wire, then a wire into single edges. Once the edges are available, a wire closing the internal profile must be drawn, to be selected together with the the edges making the internal profile to be joined together again into a new “wire”object which will then be upgraded to a surface.
This is the outer surface to be then extruded and cut through for housing the engine and letting the bogies to be connected (the whole object being mirrored to have it complete).