Solved

Polygon objects

  • 12 February 2021
  • 8 replies
  • 35 views

Hi,


Is there a way I can find the mass of a polygon object?


Thanks


Richard

icon

Best answer by Csilla Timar-Fulep 12 February 2021, 13:22

View original

8 replies

Userlevel 4
Badge +2

Hi Richard,


Thanks for your question here!


While it is possible to estimate element volumes in the sequential mode of OpticStudio, currently there is no volume/mass calculator available for non-sequential objects. If you are able to export the object to a CAD file and open it in a CAD program, such as SolidWorks or Creo, that is probably the easiest way to obtain the volume or mass of a particular element. Apologies for the inconvenience.


Best,


Csilla

Thanks Csilla, I'll give that a try

Userlevel 2
Badge

Hi Csilla,


I followed your previous answer mentioning about non-sequential mode in which we have no option to calculate masses in OS.


In sequential mode I am particularly asking, How can we find the total mass of the lens system in our OS layout? 


 


Best Regards.

Userlevel 2
Badge

As per my above question, I figured out how to calculate my lens layout mass/volume data in OS environment, in sequential mode.


Using report ribbon in the analyze menu, the 'Presciption Data' OS does the work for you, it is seen on the very below in the prescription data text.



I hope this indormation will be helpful for anyone who needs the mass/volume data in any lens layout in sequential mode.

Userlevel 4
Badge +2

Hi Önder,


Thanks for your posts here on the forums!


Yes, you are correct, in sequential mode, you may find the volume and mass information in the Prescription Data under Analyze...Reports.


Also, you may pull this data to the Merit Function using the TMAS optimization operand and optimize for it if needed.



Best,


Csilla

Userlevel 2
Badge

That hint is awesome, thank you Csilla,


Best wishes.

Userlevel 2
Badge

Last but not the least, calculation of volume is also available in OS. As I figured out, there is an operand for this purpose; VOLU. After giving it a try I startled. 

Userlevel 3
Badge +1

Check out this website on tetrahedral shoelace methods for calculating the volume of irregular polyhedra.  It only gives good results on faceted, non-curved polyhedra.

https://ysjournal.com/tetrahedral-shoelace-method-calculating-volume-of-irregular-solids/

Reply