w = 2500.mm
d = 2000.mm
h = 1000.mm
pts = [[0,0,h-40.mm], [w,0,h-40.mm], [w,d,h-40.mm], [0,d,h-40.mm]]
base = container.add_face pts
h = -h if base.normal.dot(Z_AXIS) < 0.0
base.pushpull 40.mm
Thats the main code for the base of the table. Sadly I have no clue how I can change the material or color of it. I googled a lot but somehow I didnt find anything really useful for a ruby newbie like me
Thanks for your help!
gogcam