This week we cried with OpenScad

This week we attempted not to cry. We failed.

This is the story of our misery. Please scroll to the bottom for the lessons learned.

height = 10;
sides = 7;

points = [ for (i = [0:sides]) point(height, 360 * i / sides)];

function point(rad, angle) = [height * cos(angle), height * sin(angle)];

polygon(points);

Authors: