Jump to content
Developer Wiki and Function Reference Links ×

Hiding Locus in Vectorscript


Recommended Posts

Hi All,

In 2D I am drawing a curved segment and then Duplicating and Flipping the segment around a Locus. Once segment has been Duplicated and Flipped is there a way of either hiding or getting rid of the Locus pt. such that it doesn't appear?

It really needs to be part of the script, or alternativel is there a way of Mirroring the segment around 0,0 without the need of Locui?

Here is the script extract:

Procedure DrawCurve2D;

BEGIN

FillPat(0);

BeginGroup;

BEGIN

Arc(-2000-62.5,62.5,2000+62.5,-2000-62.5-2000,30,30);

Arc(-2000+62.5,-62.5,2000-62.5,-2000+62.5-2000,30,30);

END;

Rotate3D(#90d,#0d,#0d);

DSelectAll;

MoveTo (0,62.5);

LineTo (0,-62.5);

RotatePoint (0, -2000, -(90-30));

DSelectAll;

MoveTo (0,62.5);

LineTo (0,-62.5);

RotatePoint (0, -2000, -(90-30-30));

DSelectAll;

EndGroup;

Duplicate(0,0);

Locus(0, 0);

FlipHor;

END;

RUN (DrawCurve2D);

Cheers,

Joshua

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...