How to extrude skRegularPolygon ?

I made a a sketch, and on that sketch a polygon:
var poly1 = skRegularPolygon(sketch, "polygon1", {
                "center" : pointArray[0],
                "firstVertex" : vector(pointArray[0][0]+(2.5)*millimeter, pointArray[0][1]+(2.5)*millimeter),
                "sides" : 4
        });

I want to extrude this polygon, but the function above returns a map and the opExtrude function needs a face or the edges of the polygon?

Best Answer

Answers