Grasshopper

algorithmic modeling for Rhino

problem 1 in my lunchbox : I want to assign the curve as attractor in the lunchbox components but there was something wrong , it work in the normal case without ( lunchbox attractor component)

but i need to it through this component, thx

Views: 1474

Replies are closed for this discussion.

Replies to This Discussion

Problem 1 - i think the lunchbox attractor component is in a way not very flexible. It Takes in two reference - source or attractor points & target points & kind of remaps the number values as per your input domain. NOTE it also generates the distances. To make it work perfectly for your curve, its not a good component ( your curve is also outside the rectangle ). Since lot of (attractor) points are coming from the curve lie OUTSIDE the area where you would want . You can input the curve and take lesser no of attractor points from this curve (like 3-4). OR (  You can instead use Closest point ( vector component ) And first isolate the CELLS that are closest to the curve.

Problem 2 - When your using the Panel frame - it takes only planar closed curve as input. the lofted surface generates non planar cells. Hence the error. Most of the errors that are generated in GH are due to SYNTAX error. ie. you have input WRONG info. Wrong info means - incorrect data structure/ incorrect incompatible data. Generelly "reference not set to instant ", error,  is due to incompatible data structure. All components have a specific SYNTAX. if u deviate from this, you would get unexpected errors. Simple checks to check and correct these are - panel component , param viewer. Check PATH is compatible, Check no of DATA items are compatible. This is the basics.

hi,

may i ask why you need it throuch"this" component?

i need it to more understanding and deep knowledge of whats behind the tools To allow me to develop better solutions and best integration with the Lunch Box, thx!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service