Home Search

DriveWorks Pro 23
PolygonCreateThickLine

Send Feedback

PolygonCreateThickLine

Returns a new polygon by creating the outline of a given series of points.

This function is intended to be used with the DriveWorks 3D Extrusion entity.

Syntax

PolygonCreateThickLine(Points,Radius)

Where:

Points: The points to create a line around.

Radius: The radius of the line in millimeters.

Examples

Example 1

Rule (Fill Paths)

PolygonCreateThickLine({"0|0","10|20","20|0","30|20","40|0","50|20","60|0"},2)

Result

{"1.788854|-0.8944272","10|18","20|-2","30|18","40|-2","50|18","58.21115|-0.8944272","61.78885|0.8944272","50|22","40|2","30|22","20|2","10|22","-1.788854|0.8944272"}

The line is created around the given points.

See Also

The following Polygon functions are also available:

PolygonCombine - Combines two or more polygons.

PolygonCreateArc - Returns a new arc polygon.

PolygonCreateBox - Returns a new box polygon.

PolygonCreateCircle - Returns a new circular polygon.

PolygonCreateRoundedBox - Returns a new rounded box polygon.

PolygonCreateThickLine - Returns a new polygon by creating the outline of a given series of points.

PolygonCreateUniformThickLine - Returns a new polygon by creating a uniform outline of a given series of points.

PolygonFromPoints - Returns a new polygon created from the given list of points.

PolygonRotate- Returns a copy of the given polygon rotated around its local origin.

PolygonScale - Returns a copy of the given polygon scaled along the X and Y axes.

PolygonSpline - Creates a polygon that forms a cardinal spline path along the given polygon's points.

PolygonTranslate - Returns a copy of the given polygon translated along the X and Y axes.