#1 Initiale:N import rhinoscriptsyntax as rs allobjs = rs.AllObjects () rs.DeleteObjects (allobjs) hgt = 24 # draw aclosed curve in rhino rs.Command("_Curve Degree=2 0,0,0 0,30,0 10,30,0 20,10,0 20,30,0 30,30,0 30,0,0 20,0,0 10,20,0 10,0,0 Close _Enter") crv = rs.FirstObject (select=True) # extrude the curve rs.Command("ExtrudeCrv Solid=No {} _Enter".format(hgt)) srf = rs.FirstObject (select=True) # use handles to change NURBS shape # create contourlines in Z-direction and extrude them (floor plates) rs.Command ("Contour 0,0,0 0,0,1 3.0 _Enter") rs.Command ("_ExtrudeCrv Solid=Yes 0.3 _Enter") # create contourlines in X-direction and use the pipe command (vertical support) rs.SelectObject(srf) rs.Command ("Contour 0,0,0 1,0,0 2.0 _Enter") rs.Command ("Pipe 0.2 _Enter") rs.DeleteObject (srf)