Grasshopper

algorithmic modeling for Rhino

Hi,

let´s say I want to pick points from point list that are between 5 to 10 on Z axis. Anyone help please?

Thanks a lot!

Views: 591

Replies to This Discussion

already did it... was pretty easy actually... just make a brep and test whether the Point is inside of it.

in a big definition using that component can weight a lot... maybe

and you could "miss" some point at the sides if your brep is not wide/depth enough.

just use deconstruc point componet, and test:

(1) if Z value is bigger than 5;

(2) if Z value is smaller than 10;

Do a boolean "AND" function between 1 and 2 and use the resulting boolean to "dispatch" your list of points

or even easier construct a domain "5-10" and use the component "Includes" to know wich Z values are inside that domain (this give you a list of booleans again) and then dispatch...

This should, i think, be lightier than using a brep object ... for the cpu...

thanks a lot! I actually tried the first way trying to connect larger and bigger to Cull :D didn´t work of course.... didnt know of Include component... thanks, very helpful

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service