Skip to main content
Solved

How to use a ZRD file in Catia ?

  • November 24, 2021
  • 3 replies
  • 172 views

Forum|alt.badge.img

Hi,

 

I wonder how is it possible to export the result of a ray trace performed in NSC mode, a ZRD file, into something readable in Catia ? 

 

Thank you,

Best regards,

Nicolas

Best answer by Jeff.Wilde

You can save an NSC layout with rays in CAD format, and then import into your CAD package.  Here’s a good Knowledgebase article for SolidWorks and Autodesk Inventor:  How to show exported rays in SolidWorks and Autodesk Inventor.

View original
Did this topic help you find an answer to your question?

3 replies

Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • 490 replies
  • Answer
  • November 24, 2021

You can save an NSC layout with rays in CAD format, and then import into your CAD package.  Here’s a good Knowledgebase article for SolidWorks and Autodesk Inventor:  How to show exported rays in SolidWorks and Autodesk Inventor.


Forum|alt.badge.img

Hi Jeff,

The thing here is that I use Ray Trace Control and  launch about 10e8 rays (#Analysis Rays in the NSC Editor) with it. I then obtain a zrd.file. This is this file/result I wan to look at in Catia. I do not want to use #Layout Rays in the NSC Editor, it is limited to 20k rays and it is not enough for my need.

Do you have a solution for this ? I hope my case is now a bit clarify,

Best regards,

Nicolas


Jeff.Wilde
Luminary
Forum|alt.badge.img+3
  • Luminary
  • 490 replies
  • December 1, 2021

Hi Nicolas,

Can you explain why you need to pass so many rays into your CAD program?  10^8 source rays is a *huge* number, especially if you are also using ray splitting and scattering.  The ZRD file will be massive.  Typically, one only passes enough rays into a CAD layout to provide adequate visualization of the beam path. 

The ZRD file is used internally by OpticStudio to allow for ray filtering operations.  For external use, the ZRD file would have to be parsed in order to extract all of the various ray segments.  As far as I know, this isn’t something that is done inside CAD software -- but could be done with some effort using C++, or by simply using the built-in conversion tool for Matlab:

Jeff 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings