diff options
Diffstat (limited to 'chroma/pmt.py')
-rw-r--r-- | chroma/pmt.py | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/chroma/pmt.py b/chroma/pmt.py index 6ebf120..6f9e0df 100644 --- a/chroma/pmt.py +++ b/chroma/pmt.py @@ -34,8 +34,6 @@ def build_pmt_shell(filename, outer_material, nsteps=16): # so that the mesh is closed profile[0,0] = 0.0 profile[-1,0] = 0.0 - # convert mm -> m - profile /= 1000.0 return Solid(rotate_extrude(profile[:,0], profile[:,1], nsteps), glass, outer_material, color=0xeeffffff) @@ -52,8 +50,6 @@ def build_pmt(filename, glass_thickness, outer_material, glass, # so that the mesh is closed profile[0,0] = 0.0 profile[-1,0] = 0.0 - # convert mm -> m - profile /= 1000.0 offset_profile = offset(profile, -glass_thickness) @@ -80,9 +76,6 @@ def build_light_collector_from_file(filename, outer_material, surface, nsteps=48): profile = read_csv(filename) - # Convert mm to m - profile /= 1000.0 - mesh = rotate_extrude(profile[:,0], profile[:,1], nsteps) solid = Solid(mesh, outer_material, outer_material, surface=surface) return solid |