Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Referencing driven dimentions

saule_karavirssaule_karavirs Member Posts: 5
First off, I have seen many forum posts about using variables to make a know driving dimension adjustable.  That is not my question.

I am trying to design an optical system by modeling light rays passing through the various elements.  I use a formula to model the refracted angle of light based on the angle of incidents of the light ray hitting the optical surface.  The issue is, that angle of incidents is a driven variable.  The shape of the surface is the driving variable and the angle of incidents is driven.  So the angle of incidents cannot be a variable that I make before the sketch.  Because of this, I have to go through and manually take down the angle value at the time of creating the driven dimension so that I can later put it into the formula for the refracted angle.  Is there a way to reference the driven dimension so that it updates automatically as I change surface shape?  In other software, each dimension had a label such as "D1" or "Dx" that can be referenced by any other dimension in the same sketch.  Is there anyway to do that or something similar?

For context on how this works: I do this work in one sketch and when I have the optical system working how I want it, I revolve the sketch and export my parts.

Thankyou for any input.

Best Answers

Answers

Sign In or Register to comment.