Tutorial SolidWorks
Mathematical expressions that define relationships between parameters and or dimensions are called equations.
Equation requires feature dimensions. Utilise the Show Feature
Dimension option in the Annotations folder under Feature
Manager.
1
Tutorial SolidWorks
Each dimension has a unique variable name. The names are used as equation variables. The default names are based on the
Sketch, Feature or Part.
It is good practice to change the default names into something meaningful.
Name within the part : D1@Sketch3
2
Tutorial SolidWorks
An important part of capturing design intent is making sure that the objects you build are the right size and are positioned correctly in the assembly. Dimensions, that is, the size of the things, can be controlled by equations.
Algebraic equations can be used to control dimensions inside an assembly. There is some difference between dimension names at the assembly level and it also include the name of the part in which the dimension resides.
Name for the assembly: D1@Sketch3@somepart.sldprt
3
Tutorial SolidWorks
To add equations in an assembly, you must search through parts, then the features within that part to find the dimension you want.
4
Tutorial SolidWorks
•
Use Extruded Boss feature to create a triangle wedge. Rename the two line features as horizontal and vertical.
•
Create relationship between these two features using equation so that they are equal and length of 100.
•
Depth of the Wedge can be taken as 20.
5
Tutorial SolidWorks
•
Use Extruded Cut feature to create a hole inside solid wedge. The diameter of the hole is
10. Rename this feature as Diameter_Wedge.
•
Use equations so that centre of the hole is at ¼ distance of the length of the either horizonal or vertical line length from the point where both lines meet at a point.
6
Tutorial SolidWorks
Rod
•
Use Extruded Cut feature to create a rod of length 100 and diameter 10. Rename the diameter feature as Diameter_Rod.
7
Tutorial SolidWorks
Assembly Wedge-Rod
•
Use assembly mate features so that rod travels inside the wedge hole.
•
Use equation to create a assembly relationship
Diameter_Wedge=Diameter_Rod.
•
Now change the diameter of the rod in part and see whether corresponding change is observed in hole in the assembly to accommodate the new rod diameter.
8
Tutorial SolidWorks
Defining the line length with an equation 9
Tutorial SolidWorks
Setting a dimension with an equation
10
Tutorial SolidWorks
Defining and citing a global variable
11