Grasshopper

algorithmic modeling for Rhino

Hey all, 

 

I am importing a number from a spreadsheet.  The script goes into a number module and then into a list but the number module converts all my negative numbers into positive (leaves positive as positive).  What is this about? Is it a bug or am I misusing the module

 

Thanks, 

 

mat

 

Views: 3872

Replies to This Discussion

Without an example I cannot get this to replicate. Unless I run it through an expression like Absolute

Danny, Thank you for taking a look at this problem.  Attached is the problem.  The list is made up of 3 coordinates.  This seems to be the difference between your example.

 

Do you have any ideas?

 

Thank youl

 

 

Do you want this?

Best Regards

DeDackel

Grasshopper is trying to convert a Point to a Number and failing. If you wish to get the X values out of the Point then you can decompose the point.

Hey Danny,

Maybe I missunderstand the question? I thought he was looking for a way to keep the Pt information but turning every neg value into a positive. And not only one value (like X).

Best Regards

DeDackel

Hi DeDackel,

 

from the original post:

The script goes into a number module and then into a list but the number module converts all my negative numbers into positive (leaves positive as positive).  What is this about?

 

its a case of mismatch types points are not numbers

Thanks Danny,

 

my english seems to be not that good :-)

 Best Regards

DeDackel

Wow thank you.  I was really far off!

your english is fine, I have been jaded by scripting and would have expected a nontype into a nontype thrown error.

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