Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Creating relations between dimensions
gustavo_chelles
Member Posts: 2 PRO
Hi, I would like to create relations between dimensions, something like d2=d1+3, but I don't find the way of doing this. Can anyone give me a tip?
0
Comments
this can be done using variables:
Create a variable named 'd1' (it'll appear in the feature tree)
In a feature or sketch, you can type a formula. type "#" and you'll see a list of parameters you've created (you can even create one there and then).
when you type in a sketch for a dimension "#d1 + 3" it won't work because it can't add numbers to millimeters or inches.
so type "#d1 + 3 mm" and it'll work.
you can also go ahead and create a new variable. name it "d2" and the value can be calculated.
good luck
Any idea if this is going to be addressed? It seems a bit crazy to me that I have to create a variable external to the sketch. Often I will just want to make another dimension half of the referenced one (for example). I would not want the referenced dimension to have a representative variable cluttering up the variables table, which I would generally reserve for significant parameters. I've not used a CAD program that does not allow other dimensions to be referenced within the sketch.
For something as simple as one dimension being half another, I just use construction lines as necessary and set them to be equal.
Simon Gatrall | Product Development Specialist | Open For Work
Yes, or just make a center point line.