OptionalcenterThe point the polygon is centered on.
OptionaldirectionThe normal of the plane the polygon lies in; the default lays it flat on the ground.
OptionalnrHow many corners, and so how many equal sides, the polygon has.
OptionalradiusThe distance from the center to each corner, in model units.
OptionalextrusionHow far the polygon grows along its plane normal, in model units.
OptionalextrusionHow far the polygon grows against its plane normal, in model units.
A regular polygon and the extrusion lengths for
shapes.solid.createNGonSolid; at least one length must be above 0.