Dearest Community, I´m having a problem with the equality component.
or this one:
I´m trying to follow the tutorial on think parametric.com and I get stuck at the point where we want to filter out the Points on the edges of the surface. Why isn´t the Equality component setting index 2 on true...
confused greetings and good morning (well it´s lunchtime already)
Flo
The Definition so far..:
Honeycomb%20on%20Surface%20Tut%20from%20parametric%20thinking.gh
p.s. flattening the distances doesn´t help
p.p.s: as you can see the point aren´t projected on the edges correctly. I tried to fix this for hours with several experiments wich all worked only this one doesn´t. Why? No Comprende...
Solution to Problem : decoding the Distance values through an Integegers Component...
Danny Boyes
Whilst GH is displaying 0.0 for the benefit of the panel the value it is actual storing in memory is probably 0.00000000000001 because of the way a computer handles floating point maths.
The value you supply as a comparison is a string (or text) representing the number 0.0 GH will convert this to a number being 0. The answers you have derived to compare this to have all been subject to calculations and therefore carry "floating point errors" which is why when you ask a computer to add the numbers 0.1 and 0.2 together it gives you the answer 0.30000000000004
You will need to either use the Similarity component which has a tolerance setting allowing you to account for floating point errors or you can do it with Subtracting your two comparison values together and seeing if the absolute value of the answer is less than 0.0000001
Nov 4, 2014
Florian von Wey-Lübeck
p.s. Floating point Math is something I have heard about in the context of computers using always too many decimal places and therefor being slower than they had to be but that I would ever touch that topic is something I wouldn´t have expected this morning. Well. thank you again
@Valentin. Thanks for the advice, but since the Values in List A and The Value I want them to be compared with are at my screen absolutely identical, I wonder why it didn´t work. But I didn´t knew that function with rounding, so I learned something. Thanks again
Nov 4, 2014
Michael Dubby
Craft supplies and tools are essential for anyone who enjoys DIY projects or artistic endeavors. Whether you're into knitting, painting, scrapbooking, or woodworking, having the right tools can make all the difference in achieving a polished result. For those looking to find quality materials, a good resource is a website that offers a variety of products. A website dedicated to craft supplies allows you to browse different categories, compare prices, and discover new tools and materials. From brushes to fabrics, scissors to adhesives, a well-curated website can be the perfect place to fuel your creativity.
Apr 8, 2025