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.
Friday, June 16, 2017
Area Of A Triangle By Sides
Description here
Usage:
function Area_Of_A_Triangle_By_Sides(a,b,c)=
let(s=(a+b+c)/2) sqrt(abs(s*(s-a)*(s-b)*(s-c)));
No comments:
Post a Comment