Help with Surface Division by fixed length

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.

NUDO_CURV_SIMPLE_V1.gh (22.9 KB)

50x20 cm what? panel?

An example for grid spacing. The thing is to be able to work with fixed measures in the grid and not with U and V values

NUDO_CURV_SIMPLE_V2.gh (71.2 KB)
Plugin: Flexibility

2 Likes

?
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 specific spacing 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)

1 Like

Please give it a try with PanelingTools,


ptPanel.gh (12.6 KB)
https://www.food4rhino.com/en/app/panelingtools-rhino-and-grasshopper

1 Like

Thank you all, didn’t expect to have answers so quickly, I’m going to try these methods and update.