[ibsimu-forum] Secondary emission off STL surfaces
Status: Beta
Brought to you by:
tvkalvas
|
From: Scott L. - U. S. <sco...@st...> - 2019-04-23 12:00:14
|
Dear Taneli, For years I have been using simple Boolean-defined solid geometries and using your excellent secondary electron emission code example. Part of that code calculates the surface normal at the particle collision location. I have now decided to bite the bullet and use STL imports and the 'save/load geometry' example, including set_surface_collision(true). The problem with STLs is that they are only surfaces, so there are no 'solids' really, meaning geom.surface_normal(loc) doesn't work. Please can you let me know how to modify the secondary emission code to work for STL geometries? Thanks a lot, Scott. |