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 2 years ago

updated 2 years ago

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'

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
1

answered 2 years ago

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

image description

Preview: (hide)
link

Comments

Thank you for your help

Masoud's avatar Masoud  ( 2 years ago )
1

answered 2 years ago

updated 2 years ago

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.

Preview: (hide)
link

Comments

Thank you for your help

Masoud's avatar Masoud  ( 2 years ago )

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 2 years ago

Seen: 127 times

Last updated: Sep 09 '22