Jump to content

Quick calculator - vector - need help


Recommended Posts

Hi,

I want to use the quick calculator to draw a circle on a line in X units from an END point using the VEC variable, I used for example 5*vec1(end,end) but the circle is 5 units from the origin (and parallel the line ) and not from the end point :( as you can see in the image capture:

 

9uvldt.jpg

 

What is the correct method?

Thank you ;)

Link to comment
Share on other sites

Try the following for the expression:

 

5*vec1(end,end)+vec([0,0,0],end)

 

This will prompt you to click 3 endpoints. The first two will be used to define a unit vector in the direction from 1 to 2, and the third endpoint will be used to note the point from where the vector with a magnitude of 5 will be measured from. Vec1 defines a unit vector whereas vec defines a position vector between two points.

~Lee

Link to comment
Share on other sites

1st Have a look at this http://www.cadtutor.net/forum/showthread.php?92643-Enter-a-Donut-at-two-ends-of-a-line.-Please-Help!-Appreciated!&highlight=DONUT may be usefull

 

2nd Also maybe a macro that uses the UCS to set direction draw a circle on end then move and drag with mouse ortho n then just type 5.

 

3rd use a lisp pick end all done

Link to comment
Share on other sites

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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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...