summaryrefslogtreecommitdiff
path: root/models
AgeCommit message (Collapse)Author
2011-08-17import chroma modules from subpackages with import chroma.module_nameAnthony LaTorre
2011-07-19removed STL pmt models; pmt models are now built by calling rotate_extrude() ↵Anthony LaTorre
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.
2011-07-10added a hybrid monte carlo ray tracing rendering algorithmAnthony LaTorre
2011-06-21Fix PMT models to work with OpenSCAD, add reduced models cut justStan Seibert
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.
2011-06-19reverse the face orientation on all triangles in the stl files exported from ↵Anthony LaTorre
sketchup.
2011-06-17visually tested optics code. added models of the inner and outer meshes for ↵Anthony LaTorre
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.
2011-06-12added some fun models; added some untested code to implement absorption, ↵Anthony LaTorre
scattering, reflection, and refraction
2011-06-06Thin lens with radius of curvature of 5 units, and thickness of 2 units.Stan Seibert
2011-06-01STL models for SNO, 10 inch and 12 inch PMTs in normal and high-resolution.Stan Seibert
2011-05-26cleanupAnthony LaTorre
2011-05-20fixed 12 inch hamamastu pmt meshAnthony LaTorre
2011-05-16added 12 inch hamamatsu pmt modelAnthony LaTorre
2011-05-15added a detector folder to put detector geometriesAnthony LaTorre
2011-05-13add a miniature lbne modelAnthony LaTorre
2011-05-07tie fighterAnthony LaTorre
2011-05-06triangle mesh intersection, stl reader, stl model of a lego minifigureAnthony LaTorre