Equations and distance mates in an assembly
Equations and distance mates in an assembly
(OP)
Hi,
I have a situation that is easily described. Consider a flat bar that is centered in the middle of another flat bar along the long dimension. I have various configurations varying the length of the longer bar.
I want the position of the smaller bar to always be in the center of the longer one. All very simple but I can not see how to get distance mates to use eqautions eg.
LongBAR_length (LB_l)
ShortBAR_length (SB+l)
D1 (distance mate) = distance of end of SB from end LB
Eqation -> Dimension1 = (LB+l - SB_l) / 2
D1 = Dimension1
This must be possible but I have no idea how to do it...
Charlie
I have a situation that is easily described. Consider a flat bar that is centered in the middle of another flat bar along the long dimension. I have various configurations varying the length of the longer bar.
I want the position of the smaller bar to always be in the center of the longer one. All very simple but I can not see how to get distance mates to use eqautions eg.
LongBAR_length (LB_l)
ShortBAR_length (SB+l)
D1 (distance mate) = distance of end of SB from end LB
Eqation -> Dimension1 = (LB+l - SB_l) / 2
D1 = Dimension1
This must be possible but I have no idea how to do it...
Charlie






RE: Equations and distance mates in an assembly
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: Equations and distance mates in an assembly
Ken
RE: Equations and distance mates in an assembly
RE: Equations and distance mates in an assembly
"D1@Distance1" = ("D1@Sketch1@Part2.Part"-"D1@Sketch1@Part1.Part")/2
"D1@Distance1" is the distance mate dimension
"D1@Sketch1@Part2.Part" is the length dimension of the long bar
"D1@Sketch1@Part1.Part" is the length dimension of the short bar.
RE: Equations and distance mates in an assembly
When creating the Equation, simply clicking on the dimensions in the graphics area will insert them into the Equations input area. To get the distance mate dimension to show in the graphics area, double-click the mate.
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: Equations and distance mates in an assembly
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091
RE: Equations and distance mates in an assembly
RE: Equations and distance mates in an assembly
Sorry for not coming back on this thread and thanks for all the comments (I've been away). I still can't get a distance mate to use equations. If I try an equation name in the distance value box solid works says 'no'. Is there a specific method. I can use equations in a part but not in mates in assemblies....
I'll look into width mates........
Charles
RE: Equations and distance mates in an assembly
RE: Equations and distance mates in an assembly
Helpful SW websites FAQ559-520
How to get answers to your SW questions FAQ559-1091