mbhatt1 / pyoptools

Automatically exported from code.google.com/p/pyoptools
Other
0 stars 0 forks source link

Descentered optics #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Right now in the pyoptools it is not possible to create an optical element 
where the surface is not centered with the shape. The easiest possibility, is 
to define an offset for the shapes, but this means that the origin of the 
Surface instance will not be centered at the shapes origin, so defining new 
components might be difficult. 
Maybe the best way is to change all the Surface classes and subclasses, so the 
Surface is composed by an geometrical definition (Plane, Spherical, ......) and 
a an aperture shape (Rectangular, Circular, ....) this way we will have the 
possibility to make a coordinate system change from the geometrical definition 
to the surface to the Surface instance and simplify all from the point of view 
of the user.  

Original issue reported on code.google.com by ramezqui...@gmail.com on 26 Feb 2012 at 4:44

GoogleCodeExporter commented 8 years ago

Original comment by ramezqui...@gmail.com on 2 Jul 2012 at 10:34