I am working on a siding generator script and I have most of it done, but I am having some trouble with one of the features. You can use a plane as a template object, and the script gets its position and rotation and tries to figure out the smallest "x" and "z" values. That way it can place the siding object at that position. It has to use the smallest numbers because the siding builds to the right and up. Here is the .blend file, and here is the addon.
Steps to problem: Install Addon > Select Plane > Add Siding > Click "From Object", note how position is correct. Delete Siding > Rotate Plane 90 degree on z > Add Siding, note how it is not at 0.0 on z
EDIT: the lines in question begin around line 1564