Editing Polygonal Shaped PCB Design Objects

Now reading version 24. For the latest, read: Editing Polygonal Shaped PCB Design Objects for version 25
 

Perhaps the most versatile object shape in Altium Designer is the polygonal object. There are a number of polygonal-shaped objects including:

  • Region – region objects are used to create polygonal-shaped copper regions, polygon cutouts, board cutouts, and cavity definitions.
  • Polygon Pour – polygon pours can be created from region objects or tracks and arcs. When created from regions, each isolated section of copper is a region object.
  • Extruded 3D Body – the plan view of an extruded 3D Body is defined as a polygonal shape.
  • Board Shape – a board shape or board outline is a closed polygon that defines the boundary, or extents, of the board.
  • Room – a room is a primitive design object. It is a region that assists in the placement of components.
  • Custom Shape Pad – when a pad is defined as a custom shape pad, its shape can be interactively edited in the design space as a polygonal object.

The editing behavior of polygonal-shaped design objects is consistent across all objects.

Placement Modes

While placing a polygonal-shaped object, there are five available corner modes, four of which also have corner direction sub-modes. During placement:

  • Press Shift+Spacebar to cycle through the five available corner modes: 45 degree, 45 degree with arc, 90 degree, 90 degree with arc, and Any Angle.
  • Press Spacebar to toggle between the two corner direction sub-modes.
  • When in either of the arc corner modes, hold the  or  keys to shrink or grow the arc. Hold the Shift key as you press to accelerate arc resizing.
  • Press the 1 shortcut key to toggle between placing two edges per click, or one edge per click. In this second mode the dashed edge is referred to as the look-ahead segment (as shown in the last image in the set below).
  • Press the Backspace key to remove the last vertex.

Press Shift+Spacebar to cycle through the five available corner modes, press the 1 shortcut to toggle placement between two edges or one edge.


Press Shift+Spacebar to cycle through the five available corner modes, press the 1 shortcut to toggle placement between two edges or one edge.

Editing a Polygonal Object

Click once on a polygonal object to select it. This puts the polygonal object into edit mode. The outer shape of the polygonal object is defined by a series of edges. Each edge is represented by an end vertex at each end, shown as a solid white square, and a center vertex in the middle, shown as a hollow white square. Each end vertex represents the location where two edges meet.

Combining Selected Polygon Pours

Two or more polygon pour objects can be combined by performing the following sequence of actions:

  1. Place new (or drag existing polygon pours) so that they are overlapping each other as required.
  2. Select all polygon pours that are to be combined.
  3. Right-click over one of the pours in the selection then choose the Polygon Actions » Combine Selected Polygons command from the context menu.
The new polygon properties are copied from the first selected polygon in each colliding group.

Combining two existing polygon pours to make a single polygon pour.
Combining two existing polygon pours to make a single polygon pour.

Subtracting Selected Polygon Pours

One or more polygon pour objects can be subtracted from another 'base' polygon pour by performing the following sequence of actions:

  1. Place new, or drag existing polygon pours so that they are overlapping the required base polygon pour -  this is the pour from which to be 'subtracted'.
  2. Select the base polygon pour, right-click then choose the Polygon Actions » Subtract Polygons From Selected command from the context menu.
  3. Select the polygons to be subtracted.
  4. Right-click or press Esc to complete the process.

Subtracting an existing polygon pour from an existing 'base' polygon pour.
Subtracting an existing polygon pour from an existing 'base' polygon pour.

Subtracting polygons allows you to more easily create cutouts within polygon pours. Subtracting a polygon pour that is completely within the area of the base polygon will result in that pour becoming a polygon pour cutout region object.

Modify Polygon Border

In addition to the vertex editing, the Modify Polygon Border command allows you to easily change the shape of polygon pours and regions. The command is performed by selecting the desired polygon, right-clicking on it then selecting Polygon Actions » Modify Polygon Border. Once the command is launched, the cursor becomes a crosshair. Each time you click, a new vertex is added. As during polygon placement, the Shift+Spacebar keys can be used to change corner shapes.

Modifying a polygon border.Modifying a polygon border.

  • After modifying a polygon pour, you will need to repour that polygon, for the modification to take effect. Region modifications take effect immediately.
  • To delete a vertex, click and hold on the vertex as if you were going to move it then press the Delete key.

Modify Board Shape

Similar to the Modify Polygon Border command, the Modify Board Shape command allows you to easily change the shape of the board. The command is accessed in Board Planning Mode (View » Board Planning Mode) by clicking Design » Modify Board Shape. Once the command is launched, the cursor becomes a crosshair. Each time you click, a new vertex is added. The Shift+Spacebar keys can be used to change corner shapes.

Modify Region Border

In addition to the vertex editing, the Modify Region Border command allows you to easily change the shape of regions. The command is run by selecting the desired region, right-clicking on it then selecting Polygon Actions » Modify Polygon Border. Once the command is launched, the cursor becomes a crosshair. Each time you click, a new vertex is added. The Shift+Spacebar keys can be used to change corner shapes.

Vertex Definition and Management

When editing polygons, there are three editing modes available as outlined in the paragraphs below. The current mode can be changed while dragging a vertex by pressing the Shift+Spacebar keys to cycle through the modes. Feedback about where the cursor is on the board and which editing mode is currently active can be viewed on the Status bar and in the Heads-Up display.

Vertex Editing Modes

Break Mode

In this mode, click and drag on the center vertex to break that edge into two edges. The cursor displays a double-arrow indicating the Break mode. Note that the mouse cursor has four arrowheads that indicate that you can drag this vertex in all four directions.

Breaking an arc into two arcs.  Breaking an arc into two arcs.

Breaking a straight edge into two straight edges.  Breaking a straight edge into two straight edges.

Incurvate (Arc) Mode

In this mode, click and drag on the center vertex to incurvate, or arc, that edge. Note that the mouse cursor has two arrowheads indicating that you can drag this vertex in two directions.

Arcing an arc edge into a larger or smaller arc. 
Arcing an arc edge into a larger or smaller arc.

Arcing a straight edge.
Arcing a straight edge.

Move Mode

In this mode, click and drag on the center vertex to move that edge, maintaining the edge length. Note that the mouse cursor has four arrowheads, indicating that you can drag this vertex in all four directions.

Moving an arc while maintaining its length. 
Moving an arc while maintaining its length.

Moving a straight edge while maintaining its length. 
Moving a straight edge while maintaining its length.

Corner Vertex Behavior

The three editing modes are also available when moving a corner vertex  (use Shift+Spacebar to change modes):

  • Moving Vertex mode - freely move the end vertex, maintaining it as an end vertex.
  • Miter to Segment mode - creates a new straight edge, with the moving end vertex becoming the center vertex for that edge.
  • Miter to Arc mode - creates a new curved edge, with the moving end vertex becoming the center vertex for that edge.

The first image shows the mouse hovering over the corner vertex; the second image shows the vertex moving in Moving Vertex mode.
The first image shows the mouse hovering over the corner vertex; the second image shows the vertex moving in Moving Vertex mode.

The first image shows the vertex moving in Mitering to Arc mode; the second image shows the vertex moving in Mitering to Segment mode.
The first image shows the vertex moving in Mitering to Arc mode; the second image shows the vertex moving in Mitering to Segment mode.

Sliding an Edge

When you hover over an edge, that edge displays as a thick white line. Click+drag on the edge to slide it, shrink or grow the moving edge to maintain the position of adjoining edges.

Sliding the arc edge while maintaining the size and position of adjoining edges.
Sliding the arc edge while maintaining the size and position of adjoining edges.

Sliding the straight edge while maintaining the size and position of adjoining edges.
Sliding the straight edge while maintaining the size and position of adjoining edges.

Adding or Deleting a Vertex

You can interactively add a vertex or delete a vertex using the following techniques:

  • To add a vertex, hold Ctrl then position the cursor along the edge — the new vertex displays under the cursor — click and move the cursor slightly to insert the new vertex.
  • To delete a vertex, click and hold on the vertex as if you were going to move it, then press the Delete key.

Ctrl, hover, then click to add a vertex (first image), or click & hold on an existing vertex and use the Delete key to remove that vertex (second image).
Ctrl, hover, then click to add a vertex (first image), or click & hold on an existing vertex and use the Delete key to remove that vertex (second image).

Alignment Guides

As you move a vertex around, green alignment guides appear. These appear at useful locations, for example, when the vertex location will result in the new edge aligning with an existing edge or when an arc chord aligns with the adjacent edge. There is a slight stickiness when the guidelines appear, making it easy to maintain that vertex position.

First image - using the guideline to remove an arc (incurvate mode). Second image - using the guidelines to align a new arc to existing edges. 
First image - using the guideline to remove an arc (incurvate mode). Second image - using the guidelines to align a new arc to existing edges.

First image - using the guidelines to help align the breaking edge with existing edges. Second image - using the guidelines to align the new vertex location to existing vertices. 
First image - using the guidelines to help align the breaking edge with existing edges. Second image - using the guidelines to align the new vertex location to existing vertices.

If required during vertex movement, guidelines can be disabled by holding Shift.

Preventing Self-Intersections

This feature is available when the PCB.PreventSelfIntersections option is enabled in the Advanced Settings dialog.

When placing or editing a polygon-shaped object and a self-intersection of its contour occurs, a warning opens to alert you to this fact. You can Proceed with the current shape or Revert to the last non-intersecting vertex.

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Note

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.

Content