Talk:OpenSCAD User Manual/2D Primitives

The 'polygon' and 'polyhedron' commands are conflated between the headings and the example text on this page, and the two don't appear to be the same.

This code give me a square as expected:

polygon (points = 0, 0], [100, 0], [100, 100], [0, 100,             paths = 0, 1, 2, 3);

This code give me nothing:

polyhedron (points = 0, 0], [100, 0], [100, 100], [0, 100,                paths = 0, 1, 2, 3);

The polygon command on the other hand seems to work even to create the genus 1 figure in the example.