Product help with community knowledge

### Page statistics

74792 views4 edit(s)9538 characters(s) Page last modified 08:50, 18 Jul 2011 by ted.saufley

# Create the Part from Scratch in Autodesk Inventor

In this section, we apply horizontal and vertical constraints to constrain the shape to the X,Y, Z coordinates 0, 0, 0. We then add dimensions, create named parameters and use equations.

Constraining the rectangle centered about 0, 0, 0 makes it easy to constrain (locate) the part within an assembly. Because the Origin Work Planes pass through the middle of the part it is easy to use these planes to align the components in an assembly. Constraining a sketch to the origin also makes the sketch behavior predictable when you add driving dimensions. It also applies two constraints to the sketch by defining the Cartesian XY location.

Adding relationships between dimensions reduces the amount of edits, especially in complex parts. You can also add mathematical formulas to dimensions. A link is provided in the exercise to the operators that can be used in equations.

1. Click the Autodesk Inventor icon to start a new part. Select New to open the New File dialog box.
2. Click the metric tab to start a new metric part. Scroll down through the dialog box and select Standard (mm).ipt .

If your sketch settings match the recommendations listed previously, you see an X axis, a Y axis, and a point at 0,0,0.

3. Click Sketch tabDraw panel Rectangle. Select Rectangle Two Point from the drop-down menu, or select Two Point Rectangle from the marking menu. Sketch a rectangle approximately centered about 0,0.
4. Apply a Horizontal constraint between the origin and the midpoint of a vertical line. Hover your cursor near the midpoint of the vertical line to display and select the midpoint.
5. Apply a Vertical constraint between the origin and the midpoint of a horizontal line. Hover your cursor near the midpoint of the horizontal line to display and select the midpoint.

If the logic of these picks seems confusing, imagine the axis between the two points you are picking.

6. On the ribbon, click Sketch tab Constrain panel Dimension, or select General Dimension from the marking menu.
7. Place a horizontal dimension.
8. In the Edit Dimension dialog box, enter the equation Width=49mm to define a new variable named Width with an initial value of 49 mm.
9. Place a vertical dimension. Highlight the value in the Edit Dimension dialog box. Instead of entering a number, pick the horizontal dimension value. The variable name of the first dimension (Width) appears in the dialog box. Click the check mark to link the current dimension to the first dimension.

The vertical dimension displays as fx:49. The display means that a formula is in effect for the vertical dimension and the current value is 49.

10. Right-click and select Done [ESC] from the marking menu to exit the Dimension command.

You have created another equation!

11. To see the entire equation, right click in a blank area of the graphics window. Choose Dimension Display from the overflow menu, and then choose Expression. Notice the variable names and formulas appear. Each dimension is assigned a variable based on the order of creation. d0 is the first value assigned because 0 is the first integer. In this example, d0 was renamed Width and is a “driving” dimension. The second dimension retains the original variable name d1 and is “driven” by the dimension named Width.
NoteThe order of creation has no impact on which dimension can be the controlling dimension.
NoteThe marking menu appears near the area of the screen on which you right-click. Use this technique to control where a marking menu appears.