Thingiverse
Triangle Calculator Function for OpenSCAD
door SavageRodent
7
Downloads
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 publiceert ook op
58 extra modellen op 1 andere platforms
Heb je dit model geprint? Inloggen en deel je make!
Log in om een reactie achter te laten
InloggenNog geen reacties – wees de eerste!