Cannot Make a Rectangle

I don’t know why this rectangle is failed to make. All the points align, the Z levels are the same, but still recognized not a valid input. Could you give me the reason?

The next thing id check is if the points are in the right order. E.g. not that point 3 comes after point 1 causing a self intersecting polygon.

From your screenshot it looks like some may be working and some arent. If so, check the indices you get nulls at and review the related points.

Hi,
here’s a possibility.

The points must be entered in the correct order.

0..(nx-1)*(long+ecartx)..(long+ecartx);
0..(ny-1)*(larg+ecarty)..(larg+ecarty);

Sincerely,
Christian.stan