CAD packages for designing 3D objects can seem daunting. Learn the 4 concepts necessary to build 3D objects from code using openscad.org
When you're done, head over to https://github.com/joewalnes/toybrick to see how to apply this...