Jump to content
Sign in to follow this  
team

Left or Right edge Wall

Recommended Posts

Hello,

I want to make a round wall in Vectorscript

(that's not the Problem)

at the moment it looks like this:

{I need the center at 0,0, therefore I need the script}

Procedure WallZero;
VAR
X1, Y1, X2, Y2 :Real;


BEGIN

GetPt(X1, Y1);
GetPt(X2, Y2);
RoundWall(0, 0, X1, Y1, X2, Y2);


End;
Run(WallZero);

Now i want to draw it with the left/right edge option,

but I didn't found a function for this...

Can someone help me?

Thanks

M

Share this post


Link to post

Hi M.

If you wanted to draw at 0,0 you could do this by hand by selecting the round wall tool. Press the tab key and enter 0 into the x field, tab and 0 into the y field.

If you want to use a script, you can calculate the radius of the round wall center line with a formula like radius of right edge - 1/2 wall thickness, or radius left edge + 1/2 wall thickness.

If you are getting the parameters by input from the user, like the example script in the documentation for the RoundWall function, you could calculate the coordinate parameters to adjust for the desired edge offset.

I didn't see a left/right edge option in the documentation, either.

hth,

Share this post


Link to post

Dank je well, Gerard.

I tried it by my own (and had a look on your script while doing it).

Its not pretty but works for me.

I will post it soon.

Thanks for help!

Share this post


Link to post

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.

Sign in to follow this  

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...