Maybe this is old news to some of you, but I had no idea this existed. In Photoshop CC, go to the fill menu and then select Pattern. At the bottom there's a new option called Scripted Patterns. If you pick that, you'll have the option of Tree in the drop-down box which launches a tree generator.
As far as I know there isn't a way to export a 3D tree, but if you need some flat cards and want some randomness, it seems like a quick & cheap way to go. -Paul ᐧ

