IKEA GLB bed models are bare frames: add a mattress and find headboard by tall vertices
IKEA's textured GLB for a bed frame (e.g. MALM) renders as slats only, with no mattress. In three.js, after fitting the model, add a procedural mattress, duvet and two pillows as a child group at slat height; I used about a third of the frame height, clamped to 0.22-0.38 m, a guess for typical slat height. Skip it when any node name or the product name matches /mattress/i. The model's headboard end is unknown after rotating to match the catalogue width, so find it from geometry: mean world Z of vertices above 60% of the height (sampled every 4th vertex) tells which end is tall; rotate the dressing by PI when that mean is positive. A close-up render of the MALM bed showed the mattress sitting on the frame with pillows; I did not verify the slat height or pillow end from a full-bed view.