Image Sampler on Spiral Lines

Hi,

I am trying to make a pattern for CNC cutting using image sampler on spiral lines.
From a test that I made, it looks like the value for the image is not correct with the value for the point. See image below:

I have searched for this topic, but couldn’t find it.
Attached is the gh file.

I would really appreciate your help!

Cheers!
Z2019.11.20_spiral test.gh (1.6 MB)

Hi,
Image sampler expects points with X and Y coordinates between 0.0 and 1.0. You could change it inside image sampler but I usual keep it default.

Instead of fixing your code I’ve made my own example:

spiral_image_sampler.gh (286.8 KB)

1 Like


2019.11.20_spiral test_re.gh (1.6 MB)

2 Likes

Hi Lukas,

I got it! Thanks for your help!

Cheers!

Hi @HS_Kim,

Thanks for your help! Finally can’t wait do some experiments with CNC tomorrow!

thank mate!

1 Like

some fun test with the script!

2 Likes

awesome, how are you animating this in grasshopper?

Hi @michelchabaneix,

I just used timer and connect to item list to select the mesh.

see attached:
2019.11.22_spiralraster.gh (1.1 MB)

1 Like