Devide surface non rectangular

Hi, Everyone
I have a non-rectangular surface. How to devide surface by rectangular as image ? please help me with dynamo or algorithms.
Very thanks and sorry my English.

grid.dyn (18.9 KB)

1 Like

Many thanks for Vikram

1 Like

Hi Vikram again,
Today i have a floor but this floor rotate with a angle. I try with your idea but not get result. You can help me devide this floor as image. #Vikram_Subbaiah

Anyone help me, this is very helpful.Thanks for yours help.

@trantuan.hcmut Seems to work for me without any changes to the previous definition
grid.dyn (21.6 KB)

1 Like

@Vikram_Subbaiah: i try your node but not receive result. When i replace your surface by select face in model, surface.pointatparameter only get 1 point instead 4 point.

And in case, you don’t know angle of rotate geometry, only select surface. I try orientation bounding box with element ( intersec with surface but not success.

Change the lacing on that node to Longest

But result does not match,which i wish.

I hope a solution in the future.

@trantuan.hcmut Please share a file with the element whose face you are selecting

Ok, I send my file. Many thanks!
Project1.rvt (1.2 MB)

@trantuan.hcmut Here is a solution. A little too complicated, but the best I could come up with, for now.
grid.dyn (35.7 KB)

1 Like

It worked great.

How about something like this: