Workpiece preset in the CAD model

Application

The datum of the drawing in the CAD file is not always located in a manner that lets you use it as a workpiece preset. Therefore, the control provides a function with which you can shift the workpiece preset to a suitable location by clicking an element. You can also define the orientation of the coordinate system.

Description of function

  • When you select the Preset icon, the control displays the following information in the list view window:
  • Distance between the defined preset and the drawing datum
  • Orientation of the coordinate system with respect to the drawing

The control displays values not equal to 0 in orange.

CAD_Viewer_BezugspunktSetzen
Workpiece preset in the CAD model
  • You can position the preset at the following locations:
  • By direct input of numerical values into the List View window
  • For straight lines:
    • Starting point
    • Midpoint
    • End point
  • For circular arcs:
    • Starting point
    • Center point
    • End point
  • For full circles:
    • At the quadrant transitions
    • At the center
  • At the intersection between:
    • Two straight lines, even if the point of intersection is actually on the extension of one of the lines
    • Straight line and circular arc
    • Straight line and full circle
    • Two circles (regardless of whether a circular arc or a full circle)

If you have set a workpiece preset, the control displays the Preset icon in the menu bar with a yellow quadrant.

The preset and optional orientation are inserted in the NC program as a comment starting with origin.

4 ;orgin = X... Y... Z...

5 ;orgin_plane_spatial = SPA... SPB... SPC...

You can save the information on the workpiece preset and workpiece datum to a file or to the clipboard without having to resort to CAD Import (software option 42).

 
Tip

The control maintains the contents of the clipboard only as long as CAD-Viewer is open.

You can change the preset even after you have selected the contour. The control does not calculate the actual contour data until you save the selected contour in a contour program.

Setting the workpiece preset or workpiece datum and aligning the coordinate system

 
Tip
  • The following instructions apply to the use of a mouse. You can also perform these steps with touch gestures.
  • Common gestures for the touchscreen

  • The following contents also apply to the workpiece datum. In this case, start by selecting the Datum icon.

Setting the workpiece preset or workpiece datum on an individual element

  1. To set the workpiece preset on an individual element:
Origin

  1. Select Preset

  1. Position the cursor on the desired element
  2. If you are using a mouse, the control for the element displays selectable presets using gray icons.

  1. Click the icon at the desired position
  2. The control sets the workpiece preset to the selected position. The control turns the icon green.

  1. Align the coordinate system, if required

Setting the workpiece preset or workpiece datum at the intersection of two elements

You can set the workpiece preset at intersection points of straight lines, full circles and arcs.

  1. To set the workpiece preset at the intersection of two elements:
Origin

  1. Select Preset

  1. Click on the first element
  2. The control highlights the element in color.
  3. Click on the second element
  4. The control sets the workpiece preset at the intersection of the two elements. The control marks the workpiece preset with a green icon.

  1. Align the coordinate system, if required
 
Tip
  • If there are several possible intersections, the control selects the intersection nearest the mouse-click on the second element.
  • If two elements do not intersect directly, the control automatically calculates the intersection of their extensions.
  • If the control cannot calculate an intersection, it deselects the previously selected element.

Aligning the coordinate system

  • The following conditions must be met in order to orient the coordinate system:
  • Preset has been defined
  • There are elements next to the preset that can be used for the desired orientation
  1. To align the coordinate system:
  2. Select an element in the positive direction of the X axis
  3. The control aligns the X axis.
  4. The control changes the angle C in the list view window.
  5. Select an element in the positive direction of the Y axis
  6. The control aligns the Y and Z axes.
  7. The control changes the angles A and C in the list view window.