From f5a328b72ebb643b51cae41a991c934da712f0e5 Mon Sep 17 00:00:00 2001 From: Anthony LaTorre Date: Tue, 19 Jul 2011 15:09:50 -0400 Subject: removed STL pmt models; pmt models are now built by calling rotate_extrude() 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. --- solids/__init__.py | 2 -- 1 file changed, 2 deletions(-) delete mode 100644 solids/__init__.py (limited to 'solids/__init__.py') diff --git a/solids/__init__.py b/solids/__init__.py deleted file mode 100644 index f4c5812..0000000 --- a/solids/__init__.py +++ /dev/null @@ -1,2 +0,0 @@ -from r11708 import r11708 -from r11708_cut import r11708_cut -- cgit