Редактирование объектов полигональной формы
Perhaps the most versatile object shape in Altium Designer are the polygonal objects. 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 - Polygons 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.
Editing a Polygonal Object
Click once on a polygonal object to select it, which then puts the polygonal object into edit mode. The outer shape of the polygonal object is defined by a series of edges: where 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 2 edges meet.
Combining Selected Polygon Pours
Two or more polygon pour objects can be combined by performing the following sequence of actions:
- Place new (or drag existing polygon pours) so that they are overlapping each other as required.
- Select all polygon pours that are to be combined.
- Right-click over one of the pours in the selection then choose the Polygon Actions » Combine Selected Polygons command from the context menu.
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:
- Place new, or drag existing polygon pours so that they are overlapping the required base polygon pour - this is the pour to be 'subtracted from'.
- Select the base polygon pour, right-click, and choose the Polygon Actions » Subtract Polygons from Selected command from the context menu.
- Select the polygons to be subtracted.
- Right-click or press Esc to complete the process. The polygon will need to be repoured afterwards.
Modify Polygon Border
In addition to the improved vertex editing, there is also a new Modify Polygon Border command which allows designers to easily change the shape of polygons. The command is run by right-clicking on the desired polygon and 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.
Modify Board Shape
Similarly to the new modify polygon border command,, there is also a new Modify Board Shape command which allows designers to easily change the shape of their board. The command is accessed in Board Planning mode run by selecting 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 improved vertex editing, there is also a new Modify Region Border command which allows designers to easily change the shape of polygons. The command is run by right-clicking on the desired region and 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 Editing Modes
When editing polygons, there are 3 editing modes available, Miter, Incurvate (arc) and Move. The current mode can be changed while dragging a vertex by pressing the Shift+Spacebar keys to cycle through the 3 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.
Break Mode
In this mode, click and drag on the center vertex to break that edge into 2 edges. The cursor displays a double-arrow, indicating the Break mode. Note that the mouse cursor has 4 arrow heads, indicating that you can drag this vertex in all 4 directions.
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 2 arrow heads, indicating that you can drag this vertex in 2 directions.
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 4 arrow heads, indicating that you can drag this vertex in all 4 directions.
Corner Vertex Behavior
The 3 editing modes are also available when moving a corner vertex.
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, shrinking or growing the moving edge to maintain the 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.
Alignment Guides
As you move a vertex around, green alignment guides will 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.