If you want to do a quick design for 3D printing, Tinkercad is pretty easy to use ... It is possible to program and simulate an Arduino in the same tool — which always strikes us as an odd ...
It turns out there is something very similar in the circuit simulator for that purpose. But Codeblocks is for creating new parts for use either on their own or as new parts within Tinkercad.