Age | Commit message (Collapse) | Author |
|
|
|
on a profile of the PMT model (see build_pmt() in solids/pmts.py). triangle intersection now allows one of the two coefficients multiplying the vectors which span the triangle to float slightly negative (up to -EPSILON; EPSILON is defined in src/intersect.h) in order to eliminate rays passing through the line between two triangles. cleaned up a lot of unused code. pulled duplicate code in view() and render() into functions in view.py. in order to allow view.py and render.py to search pre-defined geometries, solids, meshes, etc. without requiring them to be pre-built, pre-defined geometries, solids, meshes, etc. should be returned by a function tagged by the decorator @buildable(identifier) defined in view.py, where identifier is a string used to identify the object as an argument to either view.py or render.py. optical materials and surfaces are now defined in optics.py. added an image directory to save cool screenshots.
|
|
|
|
behind the PMT equator to save memory.
Note: To repair a PMT produced by Sketchup, run Netfabb, start repair
mode, and run the "Remove degenerate faces" action, and apply repair.
Now you can export the part and OpenSCAD will be happy.
|
|
sketchup.
|
|
the 12" hamamatsu and sno pmts. ratdb.py is able to parse ratdb files. chromaticity.py provides a function to map wavelength -> rgb color. lbne detector model now includes an outer black cylinder and pmts with a glass layer and photocathode/reflective surfaces.
|
|
scattering, reflection, and refraction
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|