Skip to main content
Solved

Surface by cloud points


Luca.cellerino

Hi,

in order to verify a system, I would like to create a freeform surface from a cloud of (parametric) points in order to subsequently apply a merit function and obtain an optimization.

Is it possible?

 

Thanks

Best answer by David

Hi Luca,

OpticStudio provides a number of freeform surfaces. One of these is a Grid Sag Surface. There is an article on it here.

In the article you will see that a data file is used to define the surface sag. It requires z values on a regular xy grid. A tool such as Mathematica, Matlab, or Python could be used to create a file of the required format, reinterpolating the data if necessary. 

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

2 replies

David
Luminary
Forum|alt.badge.img+4
  • Luminary
  • 336 replies
  • Answer
  • April 27, 2022

Hi Luca,

OpticStudio provides a number of freeform surfaces. One of these is a Grid Sag Surface. There is an article on it here.

In the article you will see that a data file is used to define the surface sag. It requires z values on a regular xy grid. A tool such as Mathematica, Matlab, or Python could be used to create a file of the required format, reinterpolating the data if necessary. 


Allie
Zemax Staff
Forum|alt.badge.img+2
  • Zemax Staff
  • 341 replies
  • May 5, 2022

Hi Luca,

I was going through a few posts from April and came across this one. In addition to David’s suggestion, I wanted to let you know that the TrueFreeForm surface may perform the steps you’re after. You can read more about it here: Using the TrueFreeForm surface​ for grid based freeform optimization – Knowledgebase (zemax.com)

Note: This surface type is only available to Premium subscription license-holders. If you want to give it a try, email sales@zemax.com and they may be able to set you up with a temporary trial. 


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