Forming of sandwich panels on a reconfigurable mould