I want to produce the effect of such regular round holes as in the picture. I am a novice, and I have tried many times and still can’t solve it.
round hole on surface.3dm (1.4 MB)
round hole on surface.gh (10.5 KB)
Hi @zfq947254420 ,
Here’s (I believe?) what you are after (This depicts 1000 holes, which is about a 5 second calculation time on my hardware)
If you want the density of the image you shared you will need to increase your point cloud number substantially, and be patient while it computes the result I suppose.
Perhaps there is a more efficient means via boolean operations or even baking the circle cuts to Rhino and booleaning it in Rhino instead of GH but this will get you started at least…
Also, next time you can just right click on your input surface and choose “internalise data” and this will embed it into your GH file so you don’t need to share the Rhino file as well.
Graph Space:
Model Space:
Let me know if you have any questions,
Thanks!
Thank you very much Michael Vollrath for your answer. I mainly want to make the layout of the round holes in the picture with density relationship
Ahh I see, one method would be to utilize attractor points so that the smaller circles increase density around the larger circles.
Depending on randomness and other desired inputs there are quite a few different ways to approach it.
I’m out of time for now but I’ll take a look and try and update the definition later today or tomorrow morning.
Really? Really big thanks to Michael Vollrath for taking your precious time to answer for me.
Hi @zfq947254420 ,
Here’s an updated script where the larger holes act as “attractor points”:
I tested with Solid Trim and the result took 3.5 minutes vs the split surface method at around 9 seconds for 200 large points and 1000 small points.
You can increase the density as you see fit, I would recommend disabling the Surface Split component and previewing just the circles being pulled to the surface prior to the Split Surface component and adjust the density to what you like with the sliders, then enable the component to actually split the surface. (just to save you the time of waiting 10 seconds or a minute or whatever time it takes for the density you choose)
The “Model Space” example you see below is 200 attractor points with 10,000 attracted points and took 30s to compute the trim computation on my hardware. Depending on the density you want to you can of course reduce or increase the count as needed.
There is a “Pull Strength” slider in the second function that will let you adjust the pseudo-magnetic pull force.
Graph Space:
Model Space:
Magnetic Visualization:
I think this gets you closer to what you are after? You’ll need to play around to get the density of the original picture you shared as that to me looks to be about 10s of thousands of points (though hard to say)
Let me know your thoughts,
Thanks!
Many thanks to Michael Walrath for his answer
You’re welcome!
Sorry to bother Michael Walrath again, I have a new problem, I think it’s the position of the hole, to make it look like an ocean wave, like in the picture below. I thought about doing it in grayscale, but it didn’t work out very well. Do you have a better solution?
@zfq947254420 not a bother at all but I would recommend starting this as a new post to help better and for others to help potentially.
Please go ahead and start a new post and I’ll try to reply there, thanks!