Jump to content
Developer Wiki and Function Reference Links ×

Offset command


Recommended Posts

Sorry...I didn't understand.

Apparantly there is an undocumented function that has been used successfully by some:

OffsetPoly

Declaration

FUNCTION OffsetPoly (h: HANDLE; dist: REAL; repeat: INTEGER; a: BOOLEAN; b: BOOLEAN, accuracy: INTEGER; c: REAL;): HANDLE;

Description

Currently Undocumented Function, Given a handle to a polyline draws a offset Polyline with distance dist and returns a handle to the new polyline.

The following info is incomplete

Parameters

h Handle to the polyline to offset from

dist distance of offset

repeat number of repeat offsets

a unknown, has something to do with accuracy

b unknown, has something to do with Polyline or Polygon creation

accuracy increases the number of vertices

c unknown

Function Result to new offset poly or a group containing the offset polys.

Example

NewPathHd:= OffsetPoly(LNewObj, dist, number, FALSE, TRUE, 50, 1);

Comment

"FALSE, TRUE, 50, 1" are the "experimentally verified recommended" values.

A plugin using this function: Frame

This MIGHT work on your object. This info comes from

http://vcor.net/wiki/index.php/Main_Page

Search for 'Offest' or 'Frame' and you can see an example of it in use. Failing this you're probably going to have to write your own.

Maybe this will help

Charles

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...