-
Hello! Is it possible to model cylindric surfaces (x- or y-aligned as well as rotated around z by a given angle) with rayoptics? Specifically, I am trying to model a system inspired by the Wallin patent US2890622A (two counter-rotating cylindric lenses used to correct the astigmatism found when focusing a spherical lens behind an anamorphoser). Digging through the code I couldn't find anything that pointed me into the right direction so I figured I'd ask before attempting to knit my own. Thanks a lot in advance and have an excellent day! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hello Jan, x and y toroid surfaces are available in the profiles module. You can set the sweep radius to infinity (sweep curvature to 0) and then you have a cylinder. The YToroid can be used as a Y Cylinder by setting To do intermediate angles, I would recommend using gamma rotations on the parts with the cylinder surfaces. The DecenterData is an attribute of the Surface and is specified by the surface offsets and euler angle rotations. A gamma Euler angle rotation can be used to "clock" an element. Hope this helps; feel free to follow up. Mike |
Beta Was this translation helpful? Give feedback.
-
Hi Michael. @mjhoptics I have trouble realize what is the difference between XToroid and YToroid. Initially, I thought it is the orientation of the cylinder. But the raytracing of the XToroid and YToroid lens were the same. I would expect one to work as a lens and another as a glass plate. Or am I missing something? Petro. |
Beta Was this translation helpful? Give feedback.
Hello Jan,
x and y toroid surfaces are available in the profiles module. You can set the sweep radius to infinity (sweep curvature to 0) and then you have a cylinder. The YToroid can be used as a Y Cylinder by setting
cR
to 0. There is a XToroid that can be used similarly.To do intermediate angles, I would recommend using gamma rotations on the parts with the cylinder surfaces. The DecenterData is an attribute of the Surface and is specified by the surface offsets and euler angle rotations. A gamma Euler angle rotation can be used to "clock" an element.
Hope this helps; feel free to follow up. Mike