I've built a few, and there's good advice here in this thread so far, but a few things to add:
1) Strength should come from the design, not the material. The roof rack should be as light as possible to maximize actual carrying capacity and, more importantly, to minimize weight up high when not in use. Gussets and braces are the name of the game here.
2) Edges - make sure there are no sharp edges or ridges or places to get caught up on the rack. Even a well fabricated 90 degree corner can be like a scalpel if it catches you the wrong way when getting down off a rack. A slightly raised bit of metal might seem like no problem, till it catches your partner's ring and degloves their finger. The nature of roof racks is that we are almost always interacting with them at some kind of height off the ground, and its often getting down from that height that makes otherwise harmless bits and pieces or design elements much more hazardous.
3) If possible, look for ways to take advantage of professional produced accessories when designing how you attach stuff to the rack (like using T-slot compatible cross bars). That way if you ever want to mount up a specialized Thule carrier (say, for a bike or a kayak or something specialized), you can do so easily.
4) Consider the actual specs of the rig, and know that they are very likely to be "On Road" specs. 300 lbs weight limit on the roof is likely an on-road figure; off road it can be reduced dramatically as the forces are usually a lot more sudden and extreme. So, even if my car can handle a 300 lbs roof load, there may be no sense in designing a rack that can take 300 lbs if my intention is to take my car off road, because the rack mountings are likely only good for 100 lbs in an off road situation, and I can design my rack accordingly. Similarly, often DIY fabricators look to commercial options for inspiration. If one were to look at, say, Rhino Rack and decide that since they use rivets through the roof shell therefore that will be a good enough attachment method for a DIY option,
they may be in for a bad time. (Youtube link to Ronny Dahl's vid on his experience with on vs off-road ratings for his Rhino Rack).