If you find one, let me know as well. I have been looking for a decent one for a while and I'm not clever enough to code one (yet!). It has been requested before - do a search for NANAWALL.
The way I approch it at the moment is to use the sliding door frame with the original panels turned off. I then create my custom panels using slabs and save them as dumb library parts. Not ideal, but it gets the job done. You will have to add the required 2d lines manually too.