Well I frowned at it :-)

We're pretty much beginners here - so be gentle with us :-)

Okay i copied and pasted the script - weird how the formatting just doesn't survive a copy and paste.

Hate the colours - why ?????
And are the plugs in duplo blocks really as long as that ?

Looks really weird.

Now that's better :-)
duploblock-mono.JPG
But the really weird thing is that you used a cube command with no square brackets. And it worked.

cube (32,32,20);

That should save some time.

Also curious about this odd habit of putting modules before the module script.

I tend to put modules at the start of the script to get the bulk out of the way and then use them in the script as a normal command.

I've noticed a couple of times this habit of putting them at the end of the script. Just seems back to front to me.