Grasshopper

algorithmic modeling for Rhino

During a workshop in Hamburg I briefly attended a couple of months ago, I noticed a lot of people have trouble with basic trigonometry. Figuring out angles and length of triangles. Added two components to help with this (one for right-angle triangles, one for generic triangles). Input all the values you know, and it will compute all possible missing ones.

Views: 1684

Comment

You need to be a member of Grasshopper to add comments!

Comment by Fred Becquelin on August 22, 2014 at 12:19am

I would prefer that my students learn trigonometry! As you said, it's basic after all.

If the man is hungry, better teach him how to fish than serving him a meal...

Comment by David Rutten on August 21, 2014 at 5:20pm

@Taz, if you supply two angles (or one angle in the right triangle case) it can work out the missing angle, but obviously not the edge lengths. If you supply three edge lengths, it can work out the angles. If you supply two edges and the angle in between, it'll also work out how to proceed. It basically applies a bunch of rules for determining edges and angles based on known values, and every time it finds a new value it will keep on trying to grow the list of known values.

It is still somewhat problematic at the moment if too many values are user-specified. I perform some checking to see if the data represents a valid triangle, but there are still plenty of impossible combinations that aren't caught.

Comment by Daniel González Abalde on August 21, 2014 at 4:59pm

Would also be useful a component to the bisector or the inscribed circle.

Comment by taz on August 21, 2014 at 4:45pm

What's the rule?  You need to know 3 pieces of info (general case) about a given triangle to figure out the rest of the missing info?  So 3 inputs required for the component to run?

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service