Home > 04 Polygons and Solids > Editing a Polygon

image\SHORTCUT.gif Back to the Main Topic

Editing a Polygon

This function helps to edit the shape of a polygon.

\pedit

 

You can choose any of the following operations to edit a polygon:

Add a vertex

Remove a segment

Join segments

Shift vertices

Remove vertices

Reverse the direction

Convert a segment to arc or change an arc

Close a polygon

Dynamic editing

After choosing any one of the options provided in the menu, you must indicate the polygon on which you wish to apply the changes.

image\ebx_1712504276.gif IMPORTANT:

In certain options, the vertices of the polygon are displayed temporarily as points. You can set their size using the command: \pntsiz.

If you fail to end the edit polygon operation correctly, these points will remain on the screen. You can simply erase them by using the command to delete the help lines (\hdel)

Add a vertex

image\ebx_-909825728.gif

image\ebx_1207493518.gif

Indicate the polygon.

Indicate the segment on which to insert a new vertex.

Click on the position where the new vertex should appear.

Remove a segment

image\ebx_-1063430853.gif

image\ebx_-810627458.gif

Indicate the polygon.

Indicate the segment to erase.

Join segments

image\ebx_-1063430853.gif

image\ebx_-190376821.gif

Indicate the polygon.

Indicate the line or the polygon to join.

image\ebx_1693072387.gif NOTE: You can join lines or polygons. The element to be joined should have minimum one vertex in common with the indicated polygon.

Shift vertices

image\ebx_1896719219.gif

image\ebx_-705745246.gif

Indicate the polygon.

Indicate successively all the vertices to shift. Make sure that the handles of the polygon displayed in the form of dotted cross is indicated correctly. Then, press "Enter" to continue.

Define the vector of displacement between the two points.

Remove vertices

image\ebx_-1499060466.gif

image\ebx_-1797110350.gif

Indicate the polygon.

Indicate successively all the vertices you wish to remove. Make sure that the handles of the polygon displayed in the form of dotted cross, are indicated correctly. Then, press "Enter" to continue.

Reverse the direction

image\ebx_-2061497025.gif

image\ebx_1147076678.gif

Indicate the polygon.

image\ebx_1693072387.gif NOTE: This function can be used when you want to join two polygons using the (\sol2s)command. See chapter 4-22 of volume 1.

Convert a segment to arc or change an arc

image\ebx_1167788918.gif

image\ebx_-2014991946.gif

image\ebx_94190455.gif

image\ebx_-277950203.gif

Indicate the polygon.

Indicate the segment or arc to convert.

Indicate the position point of the arc.

Close a polygon

image\ebx_-810627458.gif

image\ebx_-190376821.gif

Indicate the polygon.

Dynamic editing

This function provides an intuitive and visual solution for real-time rotating, shifting and twisting of a polygon by pulling the control handles.

image\ebx_1712504276.gif IMPORTANT: This command functions only on the polygons that are exactly parallel to the XY plane.

When you choose this option, different types of handles having different functions appear on the angles and edges of the polygon. Move the mouse cursor on these handles and "click drag" to see the changes. The different handles and their functions are as explained below:

HANDLE

ACTION

DESCRIPTION

image\ebx_-1618174404.gif

image\ebx_339123832.gif

The red handles on the right and left of the boundary box of the polygon can be used to stretch the entire polygon along the X axis

image\ebx_239049415.gif

image\ebx_1066200303.gif

The red handles above and below the boundary box of the polygon can be used to stretch the entire polygon along the Y axis

image\ebx_-301322237.gif

image\ebx_1680624226.gif

The red handles at the four corners of the boundary box of the polygon can be used to stretch the entire polygon along the X and Y axis simultaneously

image\ebx_798467211.gif

image\ebx_1996705490.gif

The smaller circular handle in the center of the boundary box of the polygon can be used to move the entire polygon

image\ebx_1007894.gif

image\ebx_1936029204.gif

The larger circular handle in the center of the boundary box of the polygon can be used to rotate the entire polygon

image\ebx_340745412.gif

image\ebx_1239499821.gif

When you take the cursor on a segment of the polygon, a new handle is displayed in its center. This handle can be used to stretch the segment orthogonally on the plane of the polygon

image\ebx_-1614659200.gif

image\ebx_-1130988432.gif

The green handles at every point of the polygon can be used to move these points

When you are satisfied with the result, press ESC to exit the command.

image\ebx_1693072387.gif NOTE: When you move a handle, you can use the snap mouse button to catch an existing point in the model.