I’m going to go through my old TI-82 calculator and rewrite my most useful little trig tidbits in Rust for everyone to use. The first one I’m going to reiterate will be my chamfer calculator. This is pretty handy if you ever have to measure chamfer diameters in a production environment. You can quickly calculate the greatest diameter of any given print dimension chamfer with this tool. It ought to compile on the latest version of Rust without warning. Should. I’ve hit my Ballmer curve, so I’ll just throw that warning right away.
So, yeah. No comments. If you can’t read it, you shouldn’t bother. It’s supposed to be human-readable, dumbass.
EDIT: Changed the code a bit. Made it better. Don’t judge me.
2015-08-09 12:00 AM