Hi everyone. I’m a new Grasshopper user for an academic project we’re developing at my university.
I need to create a grid of points on a simple curved surface with specific dimensions. All the components I’ve used work with equal spacing along the U and V. I know I can work with the code by dividing the U and V by the length of my surface so I can define specific spacings, but I need something more dynamic that allows me to create the grid based on, for example, 50x20cm and change the values independently of the dimensions of the surface itself.
The rest of the code you see is to be able to enumerate the points and be able to generate things between them.
?
That’s not true? You divide U and V directions separately, so their spacings are different along each direction. So, are you saying you want to divide each of these directions with a specificspacing between points (for example divide U every 50 and divide V every 20) or are you saying you want to divide each of these directions with different lengths (for example divide the U direction 50, 20, 50, 20…). LoL - sorry for not understanding - I’m not as smart as Quan Li haha. Also your image shows “20” drawn on one direction and “20” on the other - not sure how it (image) relates to your question.
Dividing by the length is not a problem, but the dimensions of U and V must be multiples of the required segment.
Otherwise the length of the segments will be different, even if slightly different from that required.
To build the solid arch I used a component from the Pufferfish plugin, but you can also proceed with another method. NUDO_CURV_SIMPLE_V1 a.gh (27.0 KB)