Grasshopper

algorithmic modeling for Rhino

Hi,

I'm trying to create a series of perforations using the image sampler tool. I have used this to create a pattern already (over a flat surface) using 2 hole sizes (16mm and 22mm) and a triangular grid of 45mm. I now want to edit the properties in grasshopper so I can work with a triangular grid of 4.5mm and two hole sizes of 1.6mm and 2.2mm.

I've tried simply adjusting the grid size and hole sizes in grasshopper but am getting no differentiation between the holes. Instead the whole panel is covered in one size hole. What am I doing wrong?

I've attached some screenshots.

Views: 2127

Attachments:

Replies to This Discussion

without even going into the pitfalls of using [Image Sampler] for the first time I think your problem is the Source Domain for [Remap] you should pass the data trough [Bounds] to get the min and max of the domain.

A couple of years old now but the advice still stands for getting to know the [Image Sampler]:

I find the best way to use the image sampler first time around is to:

1) insert a Picture Frame of your chosen image into Rhino.

2) Reference Surface from Rhino.

3) Reparameterise the Referenced Surface.

4) Use the SDivide Component to generate you Points.

5) Use the UV output of the SDivide component

6) Have the Image sampler Domain as 0 to 1.

This approach allows you to apply your "Manipulation" directly to the SDivide points so that you can see what is happening in the Rhino Document on top of your chosen image.. This quickly highlights any irregular or unexpected behaviour.

I tried it with the bounds but get nothing shown in preview. I replaced the remap with bounds...

Like This:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service