Skip to main content

Polylines

Polylines
This is a free plugin!
A set of tools for working with polylines

Call options

  • ModPlus floating menu or palette
  • AutoCAD ribbon
  • Command line: _mpPlinesEdit

Icon

mpPlinesEdit_32x32 mpPlinesEdit_16x16 mpPlinesEdit_32x32_dark mpPlinesEdit_16x16_dark

Related news and articles


Using

The plugin consists of the following commands:


mpPl-3Dto2D – convert 3D polyline to LW

mpPlinesEdit/mpPl-3Dto2D_32x32 mpPlinesEdit/mpPl-3Dto2D_16x16 mpPlinesEdit/mpPl-3Dto2D_32x32_dark mpPlinesEdit/mpPl-3Dto2D_16x16_dark

Create copies of selected 3D polylines as LW-polylines (2D) with transfer to level 0.0.

Select 3D polylines: – select one or more 3D polylines to create 2D copies. Selected polylines will be deleted.


mpPl-VxMatchRemove – deleting matching polyline vertices

mpPlinesEdit/mpPl-VxMatchRemove_32x32 mpPlinesEdit/mpPl-VxMatchRemove_16x16 mpPlinesEdit/mpPl-VxMatchRemove_32x32_dark mpPlinesEdit/mpPl-VxMatchRemove_16x16_dark

Deleting adjacent vertices of selected polylines that have the same coordinates.

Select polylines: – select one or more polylines. The plugin works with all kinds of polyline (3D, 2D, LW).


mpPl-VxCollin – removing vertices that lie on a straight line

mpPlinesEdit/mpPl-VxCollin_32x32 mpPlinesEdit/mpPl-VxCollin_16x16 mpPlinesEdit/mpPl-VxCollin_32x32_dark mpPlinesEdit/mpPl-VxCollin_16x16_dark

Deleting adjacent vertices of selected polyline, which lie on a straight line. It is possible to set tolerance for deviation from the straight or angular tolerance.

Select polylines or: [Tolerances]: – select one or more polylines. The plugin works with all kinds of polyline (3D, 2D, LW).

Tolerances:

2

In this window you can specify the tolerance for the maximum deviation from the straight and angular tolerance. The default value is 0.0. The plugin works with checking for both conditions (i.e. if at least one condition is suitable, then the vertex will be deleted).


mpPl-ObjectToVx – placing an object at the vertices of a polyline

mpPlinesEdit/mpPl-ObjectToVx_32x32 mpPlinesEdit/mpPl-ObjectToVx_16x16 mpPlinesEdit/mpPl-ObjectToVx_32x32_dark mpPlinesEdit/mpPl-ObjectToVx_16x16_dark

Place the selected object in the vertices of the polyline. It is possible to rotate the object along the polyline segment. Blocks can be placed both on the geometric center, and on the insertion point.

Select polyline: – select one polyline. The plugin works with a simple ("light") polyline (LW).

Select an object to place: – select any one drawing object.

Next, the plugin settings window appears:

3

Exclude endpoints – exception of the first and last vertices of the polyline.

Copy blocks – option to snap blocks to the vertices of the polyline: at the geometric center or at the insertion point.

Rotate – option to rotate the object at the top of the polyline.


mpPl-Arc2Line – replacing an arc segment with linear

mpPlinesEdit/mpPl-Arc2Line_32x32 mpPlinesEdit/mpPl-Arc2Line_16x16 mpPlinesEdit/mpPl-Arc2Line_32x32_dark mpPlinesEdit/mpPl-Arc2Line_16x16_dark

Replacing the specified arc segment of the polyline with a linear one (replacing the arc with a segment).

Select an arc segment of the polyline: – select a polyline segment that is an arc. The plugin works with a simple ("light") polyline (LW).

The plugin works cyclically until the user interrupts. When you hover over the arc segment of the polyline, auxiliary geometry for previewing the result is built.


mpPl-Line2Arc – replacing an linear segment with arc

mpPlinesEdit/mpPl-Line2Arc_32x32 mpPlinesEdit/mpPl-Line2Arc_16x16 mpPlinesEdit/mpPl-Line2Arc_32x32_dark mpPlinesEdit/mpPl-Line2Arc_16x16_dark

Replacing the specified linear (or arc) segment of the polyline with an arc. It is possible to construct an arc along a tangent or a point on an arc.

Select the polyline segment: – choosing a polyline segment, both linear and arc. The plugin works with a simple ("light") polyline (LW).


mpPl-AddVertex – dynamically adding a vertex

mpPlinesEdit/mpPl-AddVertex_32x32 mpPlinesEdit/mpPl-AddVertex_16x16 mpPlinesEdit/mpPl-AddVertex_32x32_dark mpPlinesEdit/mpPl-AddVertex_16x16_dark

Dynamically adding a vertex to the specified polyline.

Select polyline: – select the polyline for which you want to add a vertex (s). The plugin works with a simple ("light") polyline (LW).

Specify the point (hold Ctrl to move the vertex forward): – indication of a point in space. A new vertex will be added to this point.


mpPl-Rect3Pt – drawing a rectangle by three points

mpPlinesEdit/mpPl-Rect3Pt_32x32 mpPlinesEdit/mpPl-Rect3Pt_16x16 mpPlinesEdit/mpPl-Rect3Pt_32x32_dark mpPlinesEdit/mpPl-Rect3Pt_16x16_dark

Drawing a rectangle by three points.

Specify first point: – specify the first point of the rectangle.

Specify second point: – specify the second point of the rectangle.

Specify third point: – specify the third point of the rectangle.


mpPl-NoArc – removing Arc Segments from a Polyline

mpPlinesEdit/mpPl-NoArc_32x32 mpPlinesEdit/mpPl-NoArc_16x16 mpPlinesEdit/mpPl-NoArc_32x32_dark mpPlinesEdit/mpPl-NoArc_16x16_dark

Remove polyline arc segments by replacing them with linear segments. There are several options for the plugin: the number of segments, the length of segments, the height of segments (chord deviation), the length of the chord.

4

Work option – the choice of work option. At the same time, the prompt picture will change on the right side, and at the bottom of the picture explanation.

Delete selected polylines – removing the source polyline. When the plugin works, a new polyline is created.

Min. machined arc radius – setting the minimum arc radius to be processed by the plugin.

Accept – go to polyline selection:

Select polylines: –select one or more polylines in which you want to delete arc segments.

Cancel – cancel plugin.


mpPl-MiddleLine – building the middle line

mpPlinesEdit/mpPl-MiddleLine_32x32 mpPlinesEdit/mpPl-MiddleLine_16x16 mpPlinesEdit/mpPl-MiddleLine_32x32_dark mpPlinesEdit/mpPl-MiddleLine_16x16_dark

The construction of a middle line (as polyline) between two specified curves (segments, polylines or splines).

Select first support element (line, polyline or spline): – selection of the first support element.

Select second support element (line, polyline or spline): – the choice of the second support element.

Number of control points <100>: – indication of the number of control points. The larger the quantity, the more accurate the midline. Possible values ​​from 2 to 1000 points.

 Simplify polyline? [Yes/No]: – if Yes is selected, points lying on the same straight line will be removed.


mpPl-MoveVertices – fast moving of vertexes

mpPlinesEdit/mpPl-MoveVertices_32x32 mpPlinesEdit/mpPl-MoveVertices_16x16 mpPlinesEdit/mpPl-MoveVertices_32x32_dark mpPlinesEdit/mpPl-MoveVertices_16x16_dark

Fast moving of vertexes of the specified polyline.

Select polyline: – select the polyline for which you want to move a vertex (s). The plugin works with a simple ("light") polyline (LW).

Specify the point (hold Ctrl to move the vertex forward): – specify the point of the polyline to move.

The plugin works cyclically until the user interrupts.


mpPl-DivideOnIntersection  – split curve at intersection points

mpPlinesEdit/mpPl-DivideOnIntersection_32x32 mpPlinesEdit/mpPl-DivideOnIntersection_16x16 mpPlinesEdit/mpPl-DivideOnIntersection_32x32_dark mpPlinesEdit/mpPl-DivideOnIntersection_16x16_dark

Split curve (segmennt, polyline or spline) at intersection points with other drawing objects.

Select one or more curves (line, polyline, arc, spline, or circle): – selection of one or more curves to be split.

Select objects for intersection calculation or leave the selection empty to calculate for all objects: – select objects intersected by the selected curves. If no objects are selected, the calculation is performed for all available objects.


mpPl-CreateObjectsOnIntersection – сreate objects at intersection points

mpPlinesEdit/mpPl-CreateObjectsOnIntersection_32x32 mpPlinesEdit/mpPl-CreateObjectsOnIntersection_16x16 mpPlinesEdit/mpPl-CreateObjectsOnIntersection_32x32_dark mpPlinesEdit/mpPl-CreateObjectsOnIntersection_16x16_dark

Creates objects at the intersection points of the selected curves with specified objects.

The following types of created objects are supported:

  • Point

5

  • Circle

6

  • Block

7

Select one or more curves (line, polyline, arc, spline, or circle): – select one or more curves at whose intersection points the objects will be created.

Select objects for intersection calculation or leave the selection empty to calculate for all objects: – select objects intersected by the selected curves. If no objects are selected, the calculation is performed for all available objects.


mpPl-CreateRectangleByManyPoints – quadrilateral by points

mpPlinesEdit/mpPl-CreateRectangleByManyPoints_32x32 mpPlinesEdit/mpPl-CreateRectangleByManyPoints_16x16 mpPlinesEdit/mpPl-CreateRectangleByManyPoints_32x32_dark mpPlinesEdit/mpPl-CreateRectangleByManyPoints_16x16_dark

Creates a quadrilateral based on two or more points. The sides of the quadrilateral are aligned according to the current coordinate system. An angular tolerance can be specified, allowing the sides to capture a larger number of points.

Select points or: [TOLerances]: – select two or more points to construct the quadrilateral.

Tolerances:

Enter angular tolerance from 0 to 30 – specify the angular tolerance value. Default value is 0.

ModPlus YouTube
Improved
The interface was migrated to the current version of the ModPlus styling library
New
The command selection window was removed. The commands were moved to a drop-down button on the ribbon
New
A new command "Quadrilateral by points" has been added
New
A new command "Create objects at intersection points" has been added
New
The method of obtaining curves and objects from the user in the command "Split curve at intersection points" has been changed. It is now possible to select multiple polylines, and an additional selection has been added for objects that will be considered when determining intersections. If nothing is selected in the second selection, all objects in the drawing will be considered
New
In the command "Building the middle line", the dialog at the end of execution has been removed. It has been replaced with command-line input with "Yes" set by default
New
A bug has been fixed in the command "Building the middle line" that caused the last point not to be calculated
New
A bug has been fixed in the command "Split curve at intersection points" that caused objects from other Layouts to be considered when calculating intersections
Fix
Fixed an error that occurred when using the Chinese localization
Fix
Fixed a bug that occurred when checking for intersection with some blocks
Fix
Split Curve: Fixed a bug where it was impossible to split some curves, regardless of their length
New
New command "Split curve at intersection points" has been added
New
Added a new command "Fast moving of vertices"
Improved
Removed the ability to set the color of the auxiliary line
Fix
Fixed an error of deleting matching vertices in a closed polyline, where the first and the last vertex coincide
Fix
Fixed a bug where 3D polylines might not be selected
Improved
Preserving global width when dynamically adding a new segment
Improved
Removed the message from the command line that the ModPlus tab was not found, which appeared when loading the plugin before building a tab on the ribbon
Improved
Request data from the user once when processing multiple polylines with the delete arc segments command
FIX
Fixed problem with changing localization in the main window of the plugin when change the language
FIX
ModPlusStyle styling
FIX
Fixed a fatal error while loading AutoCAD 2013-2015 when you add a panel to the ribbon
FIX
Replacement of the main icons of the function with the addition of icons for the dark AutoCAD ribbon design theme
FIX
Changed the mechanism of the construction of the middle line
FIX
Fixed problem entering the distance from the second to the third point in the function the Rectangle by three points
FIX
Added new feature Build the middle line