Skip to main content
Question

How export sequential lenses with rays to CAD file

  • March 10, 2025
  • 6 replies
  • 169 views

jsung
Ultraviolet

Not sure if this topic was discussed before, but I haven’t found it yet.

Sometimes I need to export lenses to CAD file (STEP or X_T) including ray bundles for each object field. What is proper setting for having rays that can be viewed in program like Solidworks?

For example I tried the setting below, but this STEP file didn’t display field cone rays in SW.

 

 

Regards

JS

6 replies

David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • March 11, 2025

@jsung 

 

There used to be a knowledge base article about it, but I can’t find it anymore. I would have thought it would be in this article, but it only has Autodesk and Creo:

https://support.zemax.com/hc/en-us/articles/11623397624467-How-to-show-exported-rays-in-the-CAD-platform

However, this was previously discussed in this community, such as in the following posts:

There’s also a Youtube video from Opto-Mechademic that shows how to do it:

https://www.youtube.com/watch?v=WLrNWfvVgOE

I hope this helps and take care,

 

David


  • Infrared
  • March 12, 2025

 

@David.Nguyen 

You are correct.

I remember clearly there is a section on how to export rays to Solidworks in this KB article.

Remove this section may due to competitor relation between Ansys ,Dassault  even with Simens.


Yang.Yongtao
Fully Spectral
Forum|alt.badge.img
  • Fully Spectral
  • April 24, 2025

Hi Jsung

 if you use solidworks, try this 

 

YANG

 


Yang.Yongtao
Fully Spectral
Forum|alt.badge.img
  • Fully Spectral
  • April 24, 2025

Hi Jsung

 if you use solidworks, try this 

 

YANG

 

 


Yang.Yongtao
Fully Spectral
Forum|alt.badge.img
  • Fully Spectral
  • April 24, 2025

for your reference

or this may work… I accidently meet the AP242 issue

 


jsung
Ultraviolet
  • Author
  • Ultraviolet
  • April 29, 2025

Yang,

Thanks for your screenshots of SW general settings. I have settings just like those shown above.

What I found is that unchecking the “parasolid library” did trick to show exported rays as mentioned in other KB thread David posted above.

However, if I try to export the ray footprint to 3D file I need to have that “parasolid library” checked. So it seems I can either export rays or footprint to 3D, but not both together.

JS