3-phase rectifiers require quite specific code with very tight timing characteristics. Typically it has to be re-written for each and every rectifier it is used on.
Just kidding. 3-phase rectifiers are just a collection of six diodes. WTF are you actually trying to accomplish, cause what you said makes no sense.
And do keep in mind we are not some sort of code repository to pass out code. We will help find examples, but mostly we will help you write your own code.