algorithmic modeling for Rhino
GH Community,
Seeking help for patterning problem i having. Thank you in advance for your help.
I am trying to cull a grid of points with the following pattern:
true
false
false
false
false
The first image (Capture1) shows the pattern in the correct way with the exception that it only has three (3) "false" inputs. When I add the fourth "false" input, the result is the second image (Capture2) which highlights entire rows. This is not the desired result. The pattern I want to see when selected, is the first point (0) green, then four red (1-4) points, then the fifth point (5) green. Any advice would be greatly appreciated. Thank you.
Tags:
Replies are closed for this discussion.
The problem is 'Project'. The vector is wrong so results are lost at that point. Several ways to do this... 'MapToSrf' from flat to curved is one way, so you can still use 'Project'. Otherwise, you need to get the curved grid points to the surface without "anomalies" (because they are really off the edges of the surface).
Something I always need to remind myself is to work at low resolution first!
To that end, I made changes to the code, including the domain output of the 'Image Sampler', restored to the default '0 To 1':
And changed the 'v_dis' slider (the 'du/dv' inputs to 'ptSrfDis') 'Real' with a lower maximum of 20 instead of 100.
Then slowly increase the resolution by reducing the value of the 'v_dis' slider (needs a better name).
After all that, you can 'Pull' circles to surface and 'SrfSplit' to create holes, or whatever.
NOTE: As before, GH will lose the 'Image Sampler' when I save my copy so you'll have to copy/paste from yours, connect and edit that domain.
By the way, I meant "domain input of the 'Image Sampler'"...
These two images work well if you change the 'Image Sampler' from "Color Brightness" to "Alpha channel":
http://spainforum.me/media/aaron-mazze-and-world-map-simple.jpg
http://spainforum.me/media/fileworld-map-black-png-and-world-map-bl...
from Google image search, and here: http://spainforum.me/world-map-black.html/fileworld-map-black-png-a...
extruding the circles yields some whacky results.
Thanks for all your help on this Joseph, I have learned a lot
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by