Skip to main content
Solved

Change model glass index by ZPL in NS mode

  • November 19, 2021
  • 1 reply
  • 245 views

In Non-Sequential mode, is there a way to change the refractive index value of a model glass whithin ZPL? It seems that SETNSCPROPERTY doesn’t allow this, but only to change a glass chosing from the library.

 

Thank you

Iari

Best answer by David.Nguyen

Hi Iari,

 

The Model Glass is a solve. You can recognize it by the letter M it puts in the cell right to the Material parameter. Therefore, the keyword you want to use is SOLVETYPE. Now, for a NSC model glass its syntax is a bit more complex, but should be as follow:

SOLVETYPE 1, NSC_MATM_#, indx, v_d, dPgF

Replace the # character in NSC_MATM_# by your non-sequential object number. Indx is the index of refraction, v_d is the Abbe number, dPgF is what it is (the number 1 is just here for compatibility with sequential systems and should be left as it is in pure non-sequential systems).

Let me know if this works for you.

Take care,

 

David

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

1 reply

David.Nguyen
Luminary
Forum|alt.badge.img+2
  • Luminary
  • 1089 replies
  • Answer
  • November 19, 2021

Hi Iari,

 

The Model Glass is a solve. You can recognize it by the letter M it puts in the cell right to the Material parameter. Therefore, the keyword you want to use is SOLVETYPE. Now, for a NSC model glass its syntax is a bit more complex, but should be as follow:

SOLVETYPE 1, NSC_MATM_#, indx, v_d, dPgF

Replace the # character in NSC_MATM_# by your non-sequential object number. Indx is the index of refraction, v_d is the Abbe number, dPgF is what it is (the number 1 is just here for compatibility with sequential systems and should be left as it is in pure non-sequential systems).

Let me know if this works for you.

Take care,

 

David


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