Displacement pillows

Hello all.

I am trying to mimic Michael Pryors displacement pillow script found here:[FORMul[a]RCH]: GH: DISPLACEMENT PILLOWS

This is my attempt at the script

And what my output looks like

Does anybody know what I am doing wrong? I understand this script was written in 2012, so I may need to modify it due to updated components etc.

As always, any help is greatly appreciated!


Pillow_Script.gh (14.3 KB)

Pillow_Script_Plane.3dm (75.1 KB)

1 Like

First off, you should provide full weaving pattern of Weavecomponent.
In this case, there seems to be a problem in the normal vector output of lunchbox diamond grid.
So in order to avoid the Z value of the normal vector become negative, and avoid the problems when generating meshes,I had to add a few for it.

Pillow_Script_re.gh (16.3 KB)

1 Like

HS_Kim, Thank-you very much for helping me out, your script is fantastic!