Thingiverse
Triangle Calculator Function for OpenSCAD
par SavageRodent
7
Téléchargements
2
Likes
0
Makes
Triangle Calculator
The “trical” function is heavily based on the module triangle_solver by lar3ry, https://www.thingiverse.com/thing:4859001
WHAT DOSE IT DO?
The trical() function takes three known pieces of information about a triangle and uses them to calculate the remaining sides and angles.
The function returns a vector containing six numbers, these are the three internal angles and the lengths of the three sides.
[angle_A, angle_B, angle_C, side_a, side_b, side_c]
This function makes it quick and easy to perform trigonometry calculations. The returned data can be used for things such as position, rotating and scaling of the component parts of whatever you're designing.
HOW TO USE IT:
Input three known pieces of information about the triangle, at least one of which must be a side.
Input values don't have to be labelled, but if they're not, you must put them in order, with the unknown values input as "0" or "undef".
trical(C=90, a=3, b=4); valid input
The “trical” function is heavily based on the module triangle_solver by lar3ry, https://www.thingiverse.com/thing:4859001
WHAT DOSE IT DO?
The trical() function takes three known pieces of information about a triangle and uses them to calculate the remaining sides and angles.
The function returns a vector containing six numbers, these are the three internal angles and the lengths of the three sides.
[angle_A, angle_B, angle_C, side_a, side_b, side_c]
This function makes it quick and easy to perform trigonometry calculations. The returned data can be used for things such as position, rotating and scaling of the component parts of whatever you're designing.
HOW TO USE IT:
Input three known pieces of information about the triangle, at least one of which must be a side.
Input values don't have to be labelled, but if they're not, you must put them in order, with the unknown values input as "0" or "undef".
trical(C=90, a=3, b=4); valid input
SavageRodent publie également sur
58 modèles supplémentaires sur 1 autres plateformes
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 !