Polygon

Polygon (Triangle)

Each point is made of [x,y] parameters.The following makes a triangle shape:

polygon(points=[[0,0],[100,0],[0,100]]);

Extruded Triangle

linear_extrude(height=100)
polygon(points=[[0,0],[100,0],[0,100]]);

Extruded Triangle with a twist!

linear_extrude(height=100, twist=360)
polygon(points=[[0,0],[100,0],[0,100]]);

Quick Note: