Skip to content

Latest commit

 

History

History
36 lines (29 loc) · 793 Bytes

File metadata and controls

36 lines (29 loc) · 793 Bytes

OffsetPolyClosed

Description

Offsets a polyline or polygon, then uses the original geometry to construct a closed profile.

FUNCTION OffsetPolyClosed(
				obj           : HANDLE;
				offset        : REAL;
				smoothCorners : BOOLEAN): HANDLE;
def vs.OffsetPolyClosed(obj, offset, smoothCorners):
    return HANDLE

Parameters

Name Type Description
obj HANDLE
offset REAL
smoothCorners BOOLEAN

Remarks

'''Notes:''' (ptr - 2020 apr 10) The offset is always in mm. So please convert your document units to mm:

result = vs.OffsetPolyClosed(obj, offset /vs.GetPrefReal(152)*25.4, smoothCorners)

Version

Availability: from Vectorworks 2018

Category