Image Sampler Issue


I just tried to apply this pattern on the suface (in red in the image below) of the building I designed by image sampler.

The surface is like this, very curvy

And the pattern is supposed to be like this

However, by image sampler, all circles are in the same radius, I do not know why.

Actually, the pattern was made by a script I downloaded online, however, if I apply the surface into the downloaded script directly, it dosen’t work properly somehow.

My own script is like this:

And also I have attached the script I downloaded online.

If someone could help me with this issue, I will really appreciate!

Dimple_halftone_outline.3dm (48.2 KB)
Dimple_Halftone_Shopbot Writer.ghx (480.1 KB)
Surface (1.0 MB)
Prototype 1.3dm (2.0 MB)

Looking at the image, I think the remap component is wrong? Isn’t the source domain supposed to be (0 to 1)?

Hi, David,

Thank you for reply.

I initially did not add remap there. So it got this image, which seems the image in the Image Sampler doesn’t fit the surface properly. This make me very crazy to figure it out.

I don’t have Rhino at my disposal at the moment, but in your latest image there’s no reason to believe the image sampler domain and the surface UV domain are the same.

Is this what you are tying to do?

Surface (1.0 MB)

Hi, Adam,

Thank you for reply. What you did is almost about what I am trying to do. However, the patter seems to be strecthed along the curvy surface. What I am trying to do is like this picture does:

I know the image is not long enough to fit the surface, so is there some way allow the image repeat properly along the surface in order to create this sort of pattern as the picture above shows?

Maybe like this? Although it seems fairly process heavy, so maybe there is a smarter way.

Yes, just this! Thank you!

You are so smart!

One more question, Adam,

I am trying to use boundarySurface to generate circular surfaces, and use them to punch holes on the long curvy surface via command Regin Difference, but it doesn’t work somehow. Is there any other way to punch those small circles on the surface underneath?

Regions are planar, you can’t use them on curved surfaces. Be warned though that no matter what you end up doing, punching a lot of small holes in a surface is a slow operation. One thing you can do is create spheres instead of circles and cut with those instead using the Trim Solid component, but be prepared to wait for it.

1 Like

I think I may have uploaded the wrong file earlier, so here it is again, just in case.

Surface (1.0 MB)

I attempted to pull the curves to the surface (which was reasonably quick, around 20 seconds), and then split the surface using these curves but as Mr Rutten said “slow process”…my laptop couldn’t handle it :confused: