Grasshopper

algorithmic modeling for Rhino

Hi David, hi grasshoppers,

I stumbled upon a bug (and didn't find an earlier report of it) using GH 09.0064:


When I use the expression Floor(S) for the ShiftList Components' S input, it returns unexpected results.
See image or definition.


I tested some more components in the List group, using the Floor and Ceiling expressions, with the same outcome. I didn't check other components btw.

(and I forgot to remove the String Text component, but that doesn't make a difference here)

Kind Regards, Pieter.

Views: 1478

Attachments:

Replies to This Discussion

The S input is of type integer, which means that before the expression is applied, the data is already converted from 0.634 to the nearest integer, which is 1. The Floor() function doesn't do anything if you use it on an integer.

--

David Rutten

david@mcneel.com

Ah, thanks David, I'm seeing it now.
Sorry, that was silly of me ~:
Should I remove my false bug report?

Nah, I'll move it into Discussion.

--

David Rutten

david@mcneel.com

RSS

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