Calculate the normal for the 'facet normal' in STL file format
Asked Answered
H

1

6

So I have my STL code and I have been putting the normal as 0 0 0 for each triangle, as you can imagine this means that only certain software can utilise the code.

What is the method for working out the normal

i.e. the vector maths

Hookup answered 6/11, 2013 at 11:50 Comment(0)
A
2

You should take vertices of the outer loop and calculate surface normal as described here.

Asti answered 6/11, 2013 at 22:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.