Thingiverse
Triangle Solver by lar3ry
by Thingiverse
Last crawled date: 4 years, 7 months ago
Triangle solver is an OpenSCAD file that will draw a triangle and return return complete specifications for it, if you pass it two angles and one side, or two sides and one angle.
The file is intended to be used as a library, but can be used stand-alone if you comment out the examples.
I included the BOSL2 library for three reasons:
I like it. A LOT. It's my favourite library. For an idea of how versatile it is, see the Wiki at: https://github.com/revarbat/BOSL2/wiki
There is a function called "in_list()" that makes it a lot easier to find something in a list
I chose to use the BOSL2 "turtle" commands to draw the triangle
The file is intended to be used as a library, but can be used stand-alone if you comment out the examples.
I included the BOSL2 library for three reasons:
I like it. A LOT. It's my favourite library. For an idea of how versatile it is, see the Wiki at: https://github.com/revarbat/BOSL2/wiki
There is a function called "in_list()" that makes it a lot easier to find something in a list
I chose to use the BOSL2 "turtle" commands to draw the triangle
