IntraLattice Point/Curve Attractor

Hello everyone,
I hope you are doing good. I want to create a lattice mesh with variable density. I used IntraLattice to create the shown script but unfortunately don’t have full control of the gradient command. Is it possible to plug in a point and/or curve into the ‘gradient string’ that then increasing/decreases the radius of the lattice structure close to the point/curve ? Maybe even with a Graphmapper for optimal control ?

Thank you for your help!


Intralattice Gradient.gh (6.9 KB)

Please give it a try with Dendro


Intralattice Gradient.gh (11.0 KB)

1 Like

Intralattice Gradient Edited v0.gh (103.6 KB)

1 Like

Thank you for your help! I would love to use Dendro but only have access to a MacBook and it won’t run on mac unfortunately. Is there a way to make Dendro work on mac ?

Thank you for this! Its quite interesting how you did this. Is there any way to use a curve as input for the script? I feel like how the lattice responds to the plugged in mesh is quite random on not fully controllable and also limited to only one object.

I found this website dendro/README.md at master · ryein/dendro · GitHub where they describe how to do it I think but I’m not good with coding so I don"t really understand how to do this.

Got it, I think you can give it a try with MultiPipe,


Intralattice Gradient.gh (13.6 KB)

1 Like

Oh thats great thank you so much! Is there a way to add multiple points or even a curve as attractor ?

FYI,

1 Like

Thank you so so much! That helps a lot! I will play around with this script for my projects in the next days. Maybe I will have some more question along the line but for now this is great. I especially like how simple the script still is and the MultiPipe has some great commands like StrutSize and KinkAngle to adjust the final result. Great idea!