Chamfer

Function Description

In the Gallery control of the Feature Editing group on the Edit Data tab, the function to generate a chamfer is provided. A chamfer is similar to a fillet, both connecting two objects. A fillet connects with a smooth arc, while a chamfer connects with a flat angle.

Extend or trim the adjacent endpoints of two line segments, ultimately connecting them to form a chamfer. As shown in the figure below, when both chamfer distances are 0, the two lines will be trimmed or extended until they intersect. When both chamfer distances are not 0, the two line segments will be extended according to the specified distances, and then the two lines will be connected.

  • The Chamfer button is only available when two line segments are selected in an editable layer, meaning this function only works for the selected two line segments.
  • The objects involved in generating a chamfer must be simple line objects, and their extensions must have exactly one intersection point. If the two lines are parallel or on the same line, the operation will not succeed.
  • After the operation, the source lines may be extended or trimmed, but the attributes will not change.
  • Chamfer distance parameter description: When generating a chamfer, there are strict restrictions on the two distance parameters. The value range of the distance parameters is from the intersection point of the two lines to their farthest endpoints. If the parameters exceed this length, the application will give an error prompt.
  • Although chamfer operations can be performed on intersecting lines, they have no obvious practical significance, so this situation is not detailed here.

Function Entry

  • Edit Data tab -> Feature Editing group -> Line editing -> Endpoint editing -> Chamfer

Operation Instructions

  1. Set the layer of the line segments to generate a chamfer as the current editable layer.
  2. Select two line segment objects simultaneously in the layer (non-parallel lines).
  3. In the Line editing drop-down menu on the Edit Data tab, click the Chamfer button in the Endpoint editing group, and the Chamfer Settings dialog box will pop up. In the pop-up dialog, enter the distances to the first line and the second line respectively. By default, the distances to the first line and the second line are both 0, in which case the two lines will be directly connected at the intersection.
  4. Set whether to trim the source object. Checking this item means that after the operation, the source object will be trimmed; otherwise, the original object will be retained.
  5. In the map, the preview effect of generating the chamfer will be displayed in real time. Click the OK button to perform the chamfer generation operation according to the user's settings.

Parameter description

Chamfer Distance for the First Line: After the first line is trimmed or extended, the distance from the intersection point of the extensions of the two lines to the nearest endpoint of the first line. As shown in the figure below on the right, the chamfer distance for the first line is 100.

Chamfer Distance for the Second Line: After the second line is trimmed or extended, the distance from the intersection point of the extensions of the two lines to the nearest endpoint of the second line. As shown in the figure below on the right, the chamfer distance for the second line is 50.

  • 1 represents the first line, 2 represents the second line, and 3 represents the newly generated chamfer line.
  • The first line is trimmed, and the second line is extended.
Notes:
  • Valid Range Description for Distance

    The minimum value of the distance is 0; the maximum value is the distance from the intersection point of the two lines to their respective farthest endpoints. If the operation is performed with a value greater than this, the output window will prompt: The input distance value is too large, chamfer failed!

    If the distance is 0, the chamfer line will have some special changes, as shown in the table below with illustrations and explanations.

    Chamfer Distance for the First Line Chamfer Distance for the Second Line
    Illustration
    Description
    0 Non-zero The first line is extended to the intersection point of the two lines. The second line is trimmed. The newly generated chamfer line is located on the extension line of the first line in the result, with a length equal to the chamfer distance of the first line.
    Non-zero 0 The first line is trimmed. The second line is extended to the intersection point of the two lines. The newly generated chamfer line is located on the extension line of the second line in the result, with a length equal to the chamfer distance of the second line.
    0 0 The first line and the second line are extended to the intersection point of the two lines. The newly generated chamfer line is located at the intersection point, which is a dummy line with a length of 0.
  • Direction Description

    After the operation, the direction of the source lines will change, as shown in the figure below with illustrations and explanations.

    • 1 represents the first line, 2 represents the second line, and 3 represents the newly generated chamfer line.
    • The direction of the newly generated chamfer line is from the first line to the second line.
    • The direction of the first line changes to be opposite to that of the newly generated chamfer line.
    • The direction of the second line changes to be the same as that of the newly generated chamfer line.