import rhinoscriptsyntax as rs allobjs = rs.AllObjects #draw a closed curve in Rhino rs.Command("_Curve Degree=2 0,0,0 70,0,0 80,20,0 20,20,0 10,30,0 10,100,0 -10,90,0 -10,20,0 Close _Enter") crv = rs.FirstObject(select=True) #extrude the curve rs.Command("_ExtrudeCrv Solid=No 300 _Enter") srf = rs.FirstObject(select=True) #create contourlines in z-direction and extrude them (floor plates) rs.Command("Contour 0,0,0 0,0,1 30 _Enter") rs.Command("_ExtrudeCrv Solid=Yes 3 _Enter") #create contourlines in x-direction and use the pipe command (verticle support) rs.SelectObject(srf) rs.Command("Contour 0,0,0 1,0,0 2 _Enter") rs.Command("Pipe 0.2 _Enter")