First time here? Check our help page!
0

Cannot compute outward normal for vertices surface

Hello When defining the ceiling in C#, the following error is displayed, I do not understand the source of the error, thank you for your guidance.

Cannot compute outward normal for vertices [[7.49582, 4.56265, 3.2004], [1.49582, 4.56265, 3.2004], [7.49582, 1.56265, 3.2004], [1.49582, 1.56265, 3.2004]], surface name = 'Surface 1'

Masoud's avatar
100
Masoud
asked 2022-09-08 03:15:55 -0500, updated 2022-09-08 03:25:31 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

The vertices do not appear correct. They need to be either clockwise or counterclockwise, but yours intersect:

image description

shorowit's avatar
11.8k
shorowit
answered 2022-09-08 09:48:55 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for your help

Masoud's avatar Masoud (2022-09-10 01:10:55 -0500) edit
add a comment see more comments
1

From a bird's eye view, those coordinates (in sequence) draw an inverted letter "Z". You're probably after:

  1. [7.49582, 4.56265, 3.2004]
  2. [1.49582, 4.56265, 3.2004]
  3. [1.49582, 1.56265, 3.2004]
  4. [7.49582, 1.56265, 3.2004]

... i.e. invert coordinates 3 vs 4.

Denis Bourgeois's avatar
2.8k
Denis Bourgeois
answered 2022-09-08 09:46:06 -0500, updated 2022-09-08 13:20:41 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you for your help

Masoud's avatar Masoud (2022-09-10 01:10:59 -0500) edit
add a comment see more comments