algorithmic modeling for Rhino
Hi All,
I have created a script that populates 2d on surfaces as well as randomly around the edge of the surface. I want to evaluate distances between all of these points and basically create lines between points whose distance is below a particular value. I ran the point list into both a and b of the "distance" button and grafted b. That gave me all of the distances between each.
So the next step is to create the lines and I am a bit lost on the way to do this. Let me know if this is unclear or not. Thanks
Tags:
Do note there may be many duplicate lines, and they depart from the surface when the points exist on different faces...
The wrapping will definitely be useful for my project. In my original script I had the outer edge of the surfaces have x amount of points. This helped define the rectangle further. Will this script be able to add that in? I am not on the school computers right now to test it real fast. What is the best way of adding these extra points to the frame?
Thanks again for all of your help!
Yeah sure, I recommend getting the wireframe or edges of the brep so you only have single lines, then dividing those lines either by count or by length. This will give you an initial population of points which can be fed into the [Populate] component as a 'pre-existing population', which prevents other points from getting too close to them. Once you've added your random points, merge it all into a single list and do whatever happens now with the points.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by