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.
how to calculate a second radius
stefan_bruder
Member Posts: 2 ✭
I need to sketch two radius one 200 mm and one 150 mm
first i create a variable radius (=200)
in the first raius i add "#radius" as dimension
in the second I try "#radius-50" , but this doesn't work, ( "#radius/2" works OK)?
what I am doing wrong
first i create a variable radius (=200)
in the first raius i add "#radius" as dimension
in the second I try "#radius-50" , but this doesn't work, ( "#radius/2" works OK)?
what I am doing wrong
0
Answers
-
Units. When adding or subtracting, the units on both sides of the equation must either both be defined or both be undefined. Thus, 2 in + 3 ft works, as does 2 + 3, but 2 in + 5 does not because the 2 has length units while the 5 is unitless. In your case, #radius - 50 mm will work properly. For more info, see "Using parameter expressions" here.Software Developer at Epic Systems
FRC Design Mentor - Team 1306 BadgerBots1
