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.
Monday, July 3, 2017
Area Of A Prism By Sides Height
function Area_Of_A_Prism_By_Sides_Height(A,B,C,H)=let(s=(a+b+c)/2)
2*sqrt(abs(s*(s-a)*(s-b)*(s-c)))+A*H+B*H+C*H;
No comments:
Post a Comment