Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Available in TurboCAD Pro and Platinum only

...

You can use the Calculator Palette to assign constraints to dimensions, making them dependent on other dimensions or values.

  1. Start with the same shape used to demonstrate Auto Dimension (see Auto Dimension), and apply Auto Constraints.
    Image Removed Image Added
  2. Add one more constraint: make the fillet and the circle Concentric.
    Image Removed Image Added
  3. In the Inspector Bar, make sure Auto Add Constraints is active. With this active, all dimensions you create will be placed as variables in the Calculator Palette. Otherwise, dimensions will be created but they cannot be constrained, or used as constraints for other dimensions.
    Image Removed Image Added
    The dimension types that can be constrained are Orthogonal, Parallel, Distance, Angular, Radius, and Diameter.
  4. Apply Auto Dimension, and you should get the following four dimensions:
    Image Removed Image Added
  5. Make sure the Calculator Palette is open (see Calculator Palette - Variables Palette). The four dimensions you created are listed here, with a variable name assigned to each.
    Image Removed Image Added
  6. Select one of the dimensions, and the corresponding item is highlighted in the list.
    Image Removed Image Added
    Image Removed
    Image Added

    Note: The dimension's variable can also be seen and edited in the Format page of its Properties.
  7. Click the variable for the hole radius dimension, and change its name to something meaningful, like "HoleRad." Avoid using spaces in variable names.
    Image Removed Image Added
  8. Change the remaining variable names.
    Image Removed Image Added
  9. One way to constrain a dimension is to base it on another dimension. For the fillet radius, click inside the Formula field and enter a formula that makes the fillet radius a set amount (0.5" in this example) larger than the hole radius.
    Image Removed Image Added
  10. Press Enter and the fillet radius updates based on the current value of the hole radius. The drawing updates as well.
    Image Removed Image Added
    Image Removed
    Image Added
  11. You can also constrain dimensions to have an exact value, such as the value below for "Length." Width can also be constrained to be a constant factor (such as 1/2) of the length.
    Image Removed Image Added
    Image Removed
    Image Added
  12. You can also define a new variable independent of any of the current dimensions. "PinRad" is the radius of the pin that fits in the hole, and is assigned a numerical value.
    Image Removed Image Added
  13. Once "PinRad" is defined, the hole radius can be made to a set amount larger than the pin.
    Image Removed Image Added
    Image Removed
    Image Added
  14. If "PinRad" is updated, then both "HoleRad" and "FilletRad" are automatically updated.
    Image Removed Image Added
    Image Removed
    Image Added
  15. You can also constrain new dimensions, as long as Auto Add Constraints is active. Create another circle, and inside this circle add a point (see Point). Make the point and the circle Concentric.
    Image Removed Image Added

    Note: The point is added because a circle's center point is not identified as an object; a physical point must be placed there.
  16. Add a Radius dimension to the new circle, and its variable appears in the constraint list.
    Image Removed Image Added
    Image Removed
    Image Added
  17. If you try placing an Equal Radius constraint on the two cir AnchorXy2D121362Xy2D121362clescircles, you will receive an error message:
    Image Removed Image Added
  18. When you click OK, the problem dimensions are indicated.
    Image Removed Image Added
    This occurs because the second circle is considered to already have a set radius, once it is dimensioned. So constraining it to be equal to the first circle is contradictory. You could have assigned the Equal Radius constraint before assigning the dimension.
  19. Undo, and use a dimensional constraint to set the radius, making it equal to "HoleRad."
    Image Removed Image Added
    Image Removed
    Image Added