output normal direction of wall

Submitted by shokeyi on Sun, 08/18/2013 - 18:19

Hi everyone,
According to the dump code, it could output the stl style of wall with the normal direction. However, I want to call it in the source code. Does anyone know how to modify the code? I found the "dump_mesh_stl.cpp" source code has the definition of the "surfaceNorm". Is it to call this code to obtain it?
Thanks.

ckloss's picture

ckloss | Fri, 08/30/2013 - 15:06

Hi shokeyi,

the STL standard already contains the surface normals in the file.
I's a matter of the viewer if you can access this data or not.

Cheers
Christoph

shokeyi | Wed, 09/04/2013 - 00:06

Yeah, I wanna to import the dump data to source code. In addition, is it possible for the "fix move/mesh" command used in a loop condition? I tried to rotate wall with origin point and axis defined by variable command, and it gives an error as "Fix move/mesh (id c102): only one reference point allowed (fix_move_mesh.cpp:221)". I do not know why this happened. Thanks.

ckloss's picture

ckloss | Thu, 09/19/2013 - 21:00

>>In addition, is it possible for the "fix move/mesh" command used in a loop condition?
Yes, with unfixing the old one and issuing a fresh fix it should work

Cheers
Christoph