How to write this in both Parameters and in iLogic

How to write this in both Parameters and in iLogic

chris
Advisor Advisor
442 Views
6 Replies
Message 1 of 7

How to write this in both Parameters and in iLogic

chris
Advisor
Advisor

I know the OD and the Angle, I just need to solve for "X".

I'd like to see how to write this in Parameters as well as in iLogic.

 

chris_0-1714175409158.png

 

 

0 Likes
443 Views
6 Replies
Replies (6)
Message 2 of 7

chris
Advisor
Advisor

Okay, I think I have the "parameters" part figured out, but for some reason, I have to multiply the finished equation by 0.6685 to get it to match the gap measurement...? weird but whatever, it working.

 

The reason for this is so that with this rolled plate reducer template the user can adjust the roll angle gap to match the desired weld gap. But I'd still like to know how to write this in iLogic.

 

 

 

chris_0-1714181714371.png

 

 

 

0 Likes
Message 3 of 7

chris
Advisor
Advisor

Can someone explain why this equation is working if I type the angle "number" but not the Angle Parameter name? (this is to solve for the Arc Length)

chris_2-1714183401886.png

 

0 Likes
Message 4 of 7

J_Pfeifer_
Advocate
Advocate

Did you ever try to implement the equation inside the dimension box itself? Or did you attempt to use LOD from within the FX parameters? 

 

 Strange behavior I just tested on a small part in house here. Typing the parameter name into the FX window seems to have no effect. Typing it into the dimension box specifically it has no problem. Make sure you have the checkbox "key" selected, then you can either type the value name or click the arrow -> list parameters -> LOD

0 Likes
Message 5 of 7

Frederick_Law
Mentor
Mentor

IV default unit for angle is rad.

Spell out all units in the equation.

Don't cheat with ul.

0 Likes
Message 6 of 7

J-Camper
Advisor
Advisor

@chris,

 

not sure why you think you need that weird multiplier.  your WG value is not the correct chord length for the parameters in the image.  see images below where the equation and sketch give the same value:
values from your messagevalues from your messagewider angle for claritywider angle for clarity

0 Likes
Message 7 of 7

J-Camper
Advisor
Advisor

@chris,

I did not fully read this message about actually wanting arc length instead of chord length.  Your equation in the first image post was chord length [D * sin(θ/2)].  Arc length equation [radian θ: R * θ  | degrees θ: R * (θ * PI / 180 deg)] does need the parameter to be in radians:

 

both equationsboth equations

 

if you set the parameter type of angle to be radians then you can simplify the arc length equation to "diameter / 2 rad * angle"

0 Likes