Skip to main content
Solved

How do I rotate an NSC Polygon Object about its center

  • September 20, 2022
  • 3 replies
  • 213 views

Forum|alt.badge.img+2

I’ve inserted a Polygon Object in my non-sequential system to use it as a rotating polygon mirror. I would like to rotate this object about its center axis (which currently points along the Y direction) .  Changing its Tilt About Y parameter rotates the polygon about its first face changing the X-Y position of the polygon too .  Is there a way to rotate instead about the center of the polygon so that it spins on its axis  ?

[Mod note: moved to more appropriate forum for OS-related discussions.] 

Best answer by yuan.chen

Hi Lenore,

You can introduce a dummy object and set its coordinate as the center axis. Then set the polygon object to rotate around this object.

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

3 replies

yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • 275 replies
  • Answer
  • September 21, 2022

Hi Lenore,

You can introduce a dummy object and set its coordinate as the center axis. Then set the polygon object to rotate around this object.


Forum|alt.badge.img+2
  • Author
  • Single Emitter
  • 1 reply
  • September 21, 2022

Hi Yuan!  Thanks for the reply.  How do I set it up so that the polygon rotates about the dummy object ?  Thanks again!


yuan.chen
Zemax Staff
Forum|alt.badge.img+3
  • Zemax Staff
  • 275 replies
  • September 22, 2022

Hi Lenore,

There is a setting called Ref Object. You can use it to put the polygon. The second null object can add more flexibility to rotate. You can find the sample file attached.

 


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