Thingiverse
Triangle Solver
par lar3ry
7
Téléchargements
4
Likes
0
Makes
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.
In the first version< I used the BODL2 library for these reasons:
I included the BOSL2 library for three reasons:
1. 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
2. There is a function called "in_list()" that makes it a lot easier to find something in a list
3. I chose to use the BOSL2 "turtle" commands to draw the triangle
However, one fellow asked if I could write it without using an external library. I thought that was a good idea, so here it is. Version 2, entitled triangle_solver2.scad.
The file is intended to be used as a library, but can be used stand-alone if you comment out the examples.
In the first version< I used the BODL2 library for these reasons:
I included the BOSL2 library for three reasons:
1. 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
2. There is a function called "in_list()" that makes it a lot easier to find something in a list
3. I chose to use the BOSL2 "turtle" commands to draw the triangle
However, one fellow asked if I could write it without using an external library. I thought that was a good idea, so here it is. Version 2, entitled triangle_solver2.scad.
Vous avez imprimé ce modèle ? Connectez-vous et partagez votre make !
Connectez-vous pour laisser un commentaire
Se connecterPas encore de commentaires – soyez le premier !