Edit Polyline

images/download/attachments/191398468/CmdEditPolyline.svg

This command allows to modify a polyline manually.

Requirements

Select one polyline and launch the command. You also can double click on a polyline or launch this command through the treeview if the current polyline representation mode is not inspection (otherwise, it will launch Edit Colors).

images/download/thumbnails/191398468/editpolyline1.png

Red balls will be displayed on vertices.

Small blue balls will be displayed on segments.

These balls are displayed according to the current zoom factor.

images/download/thumbnails/191398468/editpolyline4.png

Select vertices:

  • Click red balls individually (with CTRL key to add to the current selection).

  • Make a rectangular selection with SHIFT key.

You can:

  • Drag and drop them.

  • Press DEL to remove them.

  • Vertices can be selected even if they are not displayed (due to the current zoom factor).

  • Press V to switch on/off snapping when making a drag and drop.

images/download/thumbnails/191398468/editpolyline2.png

images/download/thumbnails/191398468/editpolyline3.png

  1. Keep the mouse on a ball to display options, then choose one:

    1. images/download/attachments/191398468/NewPoint.svg : add new segments:

      1. DEL: undo the last created segment,

      2. ESC: cancel the new segments and exit the option,

      3. ENTER: validate the new segments and exit the option.

    2. images/download/attachments/191398468/NewPointPerpendicular.svg : add new perpendicular segments. Select the current mode with SPACE:

      1. Free mode: give a point to define each segment length.

        1. DEL: undo the last created segment,

        2. ESC: cancel the new segments and exit the option,

        3. ENTER: validate the new segments and exit the option.

      2. Junction mode: add a new perpendicular segment, extend it to another polyline, then merge both polylines. Hover the polyline to join, to visualize possible combinations in magenta.

      3. Intersection mode: add a new perpendicular segment and extend it to another clicked polyline. Both polylines will not be merged.

    3. images/download/attachments/191398468/ExtendShorten.svg : extend or shorten the segment. Select the current mode with SPACE:

      1. Free mode: give a point to define the new segment length.

      2. Junction mode: extend the segment to another polyline , then merge both polylines. Hover the polyline to join, to visualize possible combinations in magenta.

      3. Intersection mode: extend the segment to another polyline. Both polylines will not be merged. Hover the other polyline to visualize the result in magenta.

    4. images/download/attachments/191398468/GripAddArcVertex.svg : add or insert a discretized arc.

      1. blue ball to insert a discretized arc: give an intermediary point and define the maximal deviation allowed.

      2. red ball to extend with a discretized arc:

        1. 3 points arc: give an intermediary point and the extremity, then define the maximal deviation allowed.

        2. tangent arc: give the extremity and define the maximal deviation allowed. The created arc will be tangent to the previous segment.

      3. Maximal deviation allowed

        • the value will be highlighted in orange if more than 100 vertices will be inserted.

        • the value will be highlighted in red

          • if negative

          • if higher than the current deviation: in such case, only one vertex will be added on the given point (like "Insert a new vertex" mode).

    5. images/download/attachments/191398468/NewVertex.svg : insert a new vertex.

  2. Repeat with another option.


Press ESC to invalidate the whole edition session or ENTER to validate and exit the edition command.

Notes

New vertices will be added in the current polyline best plane, unless all current vertices are aligned (screen direction will be used instead).