Home Search

DriveWorks Pro 22
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 circle 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.