Jump to content

Recommended Posts

Posted

Is there any Command / Lisp / Parametric way of obtaining a "prospective" ellipse from a set of 5 points?

 

5 Point Ellipse.png

 

I found a similar question here, but no solution. :geek:

Posted

What are the (x,y) coordinates of the 5 points?

Posted

P1 (0.6504, 0.1714), P2 (0.6722, 0.1834), P3 (0.7011, 0.2022), P4 (0.7408, 0.2338 ), P5 (0.7977, 0.2927)

 

I'm fiddling with the Geometric Constraints option but haven't gone far enough! :oops:

Posted

The dimensions in (parenthesis) are for reference only.

I was able to easily find the geometric solution in Autodesk Inventor. (I thought I would have to have beyond 4 decimal places, but only if the major and minor axis had to be a known value.)

I will have to experiment in AutoCAD to see if I can get AutoCAD to solve the problem.

 

5pt ellipse.jpg

 

Oops, I realized I made a mistake in the y-coordinate of P5.

This is the beauty of parametric geometry constraints - I only had to edit the dimension to correct the solution.

 

5pt ellipse rev1.jpg

Posted (edited)
Here is my solution: 5-Point Ellipse

 

I've loaded the LISP but am unable to call it? I tried entering test but it doesn't work! Am I doing something wrong? :unsure:

 

I will have to experiment in AutoCAD to see if I can get AutoCAD to solve the problem.

 

Any luck?

Edited by fahim108
Added quotes!
Posted
I've loaded the LISP but am unable to call it? I tried entering test but it doesn't work! Am I doing something wrong? :unsure:

 

Have you downloaded & loaded the 5PointEllipse.lsp program (from the download link found at the top of the page), before saving & loading the short example program at the bottom of the page?

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