Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Close

AutoCAD 2010/2011/2012

- Autodesk Community
- >
- AutoCAD
- >
- AutoCAD 2010/2011/2012
- >
- Re: Does anyone know the formula (s) used for maki...

Topic Options

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

05-16-2012 08:09 AM in reply to:
norm77

My other tactic that I'm trying (no success yet): make an ellipse in CAD. PLot to DWF. Since a DWF is an ascii file (of some form, I think), and I've seen postings somewhere for DWF readers to see the background text of the file, open the DWF in such a viewer to see what exactly is stored for the ellipse in the DWF. But, opening a DWF from notepad is just junk & my web searches for "DWF to TXT" conversion weren't successful last night. Maybe this approach would work...

C3D 2011

Intel Xeon E5630@2.53Ghz

NVIDA Quadro NVS420 Dual Monitor

12GB Ram / Win7 Professional 64bit SP1

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

05-16-2012 12:06 PM in reply to:
thepworth

DXF is the ascii version of a drawing file. Use saveas command and select DXF in the file type box.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

05-16-2012 12:21 PM in reply to:
M_Hensley

M_Hensley wrote:DXF is the ascii version of a drawing file. Use saveas command and select DXF in the file type box.

How can I get a formula out of a dxf?

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

05-16-2012 12:29 PM in reply to:
norm77

You cant. I was replying to thepworth who wanted to study a drawing in ascii.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

05-16-2012 12:31 PM in reply to:
M_Hensley

Thanks!

Looking at line by line in the ASCII, I don't see enough to extract the parametrics

C3D 2011

Intel Xeon E5630@2.53Ghz

NVIDA Quadro NVS420 Dual Monitor

12GB Ram / Win7 Professional 64bit SP1

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

05-16-2012 01:20 PM in reply to:
hayalexj

hayalexj wrote:Fine, to do it the hard way for no good reason you calculate the eccentricity and use that to calculate the first angle, JBJC.

I'm not *trying* to do anything the hard way (believe me!). I can't program 3 point arcs (start, mid, end). Can you show me how to calculate the radius for an arc using the start, mid, and end points? Because, yes the trammel of archimedes can get those points (really nicely in fact), but I can't see how to get a radius (or center point) out of that information.

The only thing that I can think of is ((arc cord / 2) x (arc cord / 2) + (arc height x arc height)) / (arc height x 2), but the problem is that all of these calculations are on angles to start with, which then means very very complex....help!

In regards to the JBJC angle - the trammel of archimedes can't give that information because as shown in my picture that I posted the center is outside of the pellipse. So I don't know how you meant for me to be able to calculate that amount, but I'm all ears.

-Norm

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

06-01-2012 03:36 PM in reply to:
norm77

I've been in the process of writing a vba program and I needed to be able to programmatically draw the arcs to approximate the ellipse the same way that autoCAD does. I searched and searched and couldn't find anything that says how autoCAD comes up with the approximation that it does. I found this post in my search.

After a lot of messing with the problem I finally figured out how autoCAD does it. So if anyone is still interested in this I've attached a drawing file (it's a 2007 version) that shows the math and geometry behind autoCAD's pellipse =1 ellipse approximation.

Hope this helps someone besides me.

Let me know if you have any questions.

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

06-04-2012 05:44 AM in reply to:
corey.downum

I have tried this (just to confirm), and it works! HA! Well done! I now see the next step that I couldn't figure out before (circles used for P-2 and P-4). The P-2 point can also be found from the mid point of a line created from P-7 at half the angle P-3, P-7, P-1 and extended to line P-3, P-1 (but using a 3point circle is a bit quicker). Thanks!!

-Norm

- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content

06-07-2012 09:47 AM in reply to:
thepworth

Glad I could help.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements

Start with some of our most frequented solutions to get help installing your software.

Upgrading to a 2015 product? Make sure to check these out 1st!

- Privacy | Legal Notices & Trademarks | Report Noncompliance | Site map | © Copyright 2014 Autodesk Inc. All rights reserved

Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. Please see the Autodesk Creative Commons FAQ for more information.