Boolean list using Plane and Vector


#1

I cant figure out how to make a boolean list when comparing Planes.Normal with a Vector.ByCoordinates, does someone have an idea?

  • as a comparison the last “watch” shows how the list shoud be (it is done manually)

Snap000094


#2

Hi Erik,

The “==” operator can only process strings, numbers and Boolean values. You’ll need to use the built in “Equals” node when dealing with geometry objects.

However you’ll be much better off using the “Geometry.IsAlmostEqualTo” node (there’s a version just for vectors too) because that will take into account the problem of vector coordinates being represented with floating point numbers.

2015-04-22_12-19-49


#3

thanks a lot, that solved it :slight_smile: