Slicer Discord
Triangle Calculator Function for OpenSCAD – 3D printable model from Thingiverse Thingiverse

Triangle Calculator Function for OpenSCAD

7 Downloads
2 Likes
0 Makes
Go to Model
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
Source
Thingiverse
What you need to print this: Beginner Low confidence
Single piece
Supports 1/3
Assembly 0/3
Settings 1/3
Bed size 0/3
Post-process 0/3
Printer
FDM / FFF
File format
STL
Material
Software
Cura, PrusaSlicer, or similar
Same designer, more platforms

SavageRodent also publishes on

58 additional models across 1 more platforms

Verified by matching model titles across platforms.
No ratings yet
No comments yet – be the first!
Feed Blog Slicer Cost Calculator Image Search Submit Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Add to Collection