This is my notepad where i collect the useful snippets of OpenSCAD code that i use over and over. Some better curated than others, some formatted for clarity some for efficiency.
Thursday, June 15, 2017
Perimeter Of A Irregular Polygon By Points
function Perimeter_Of_A_Irregular_Polygon_By_Points(points, i=1) =
let(
Side = (norm(points[i]-points[i-1])))
i<len(points)?Side
No comments:
Post a Comment