Window Frame Generator

Is there a script/plugin to generate detailed window frames with custom division etc based on rectangular splines?

Thanks in advance.