Continuously straight lines are made
nurbs grid.gh (18.0 KB)
But
I want ‘nurbs curve’ like this
this is example
this is on the very same leitmotiv @diff-arch has shown, using vectors to move grid points instead of scaling the geometries
grid_attractor_Re.gh (13.6 KB)
[be careful bending space-time]
P.S. Adapted to a 3D grid (using interpolated curves instead of NURBs curves, but you can easily change that) , with a switch (blue group) to enable/disable edge damping:
nurbs grid_2021May13a.gh (30.2 KB)
Swapped inputs to Vec2Pt to “squeeze” instead of expand near the attractor point. Also used Nurbs curves instead of IntCrv and added three NetSurf components to get three sets of surfaces from these curves.
[nurbs grid_2021Jun10a]
nurbs grid_2021Jun10a.gh (43.0 KB)
There is a known error in this code… The RecGrid ‘Ex’ and ‘Ey’ inputs must have the same value.
Simple fix: Version ‘C’ (‘Ex’ and ‘Ey’ values can be different) Added CONTRACT/ EXPAND switch (Value List) instead of …
nurbs grid_2021Jun10a.gh (43.0 KB)
There is a known error in this code… The RecGrid ‘Ex’ and ‘Ey’ inputs must have the same value.
Simple fix: Version ‘B’ (‘Ex’ and ‘Ey’ values can be different)
nurbs grid_2021Jun10b.gh (43.1 KB)
1 Like