Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
0

Cannot compute outward normal for vertices surface

asked 2022-09-08 03:15:55 -0500

updated 2022-09-08 03:25:31 -0500

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'

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2022-09-08 09:48:55 -0500

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

image description

edit flag offensive delete link more

Comments

Thank you for your help

Masoud's avatar Masoud  ( 2022-09-10 01:10:55 -0500 )edit
1

answered 2022-09-08 09:46:06 -0500

updated 2022-09-08 13:20:41 -0500

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.

edit flag offensive delete link more

Comments

Thank you for your help

Masoud's avatar Masoud  ( 2022-09-10 01:10:59 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Careers

Question Tools

1 follower

Stats

Asked: 2022-09-08 03:15:55 -0500

Seen: 76 times

Last updated: Sep 09 '22