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.
Tuesday, July 25, 2017
Area Of A Circle Segment By Height
function Area_Of_A_Circle_Segment_By_Height(r,h)=
(r*r)*acos((r-h)/r)*((2*PI)/360)-(r-h)*sqrt((2*r*h)-(h*h));
No comments:
Post a Comment