Trouble creating DXF code for an ellipse
Trouble creating DXF code for an ellipse
(OP)
This thread referred to a problem with creating an ellipse with DXF code. There was no resolution to this problem.
I am a new DXF programmer and I am encountering the same problem. Are there any suggestions as to how to solve thsi problem?
thread555-173361: trouble getting DXF code right for ellipse
0
SECTION
2
ENTITIES
0
ELLIPSE
8
0
10
629.4185943561319
20
564.6465625762273
30
0.0
11
0.0
21
-182.0310286257299
31
0.0
210
0.0
220
0.0
230
1.0
40
0.3696612519921331
41
0.0
42
6.283185307179586
0
ENDSEC
0
EOF
I am a new DXF programmer and I am encountering the same problem. Are there any suggestions as to how to solve thsi problem?
thread555-173361: trouble getting DXF code right for ellipse
0
SECTION
2
ENTITIES
0
ELLIPSE
8
0
10
629.4185943561319
20
564.6465625762273
30
0.0
11
0.0
21
-182.0310286257299
31
0.0
210
0.0
220
0.0
230
1.0
40
0.3696612519921331
41
0.0
42
6.283185307179586
0
ENDSEC
0
EOF





RE: Trouble creating DXF code for an ellipse
No ACAD available??
RE: Trouble creating DXF code for an ellipse
Seriously, somehow they're treated differently inside AutoCAD from any other curve, and the internal conversions that should allow manipulation just like any other curve are either incomplete or buggy... and have been for decades.
Mike Halloran
Pembroke Pines, FL, USA
RE: Trouble creating DXF code for an ellipse
The ARC does not accurately represent the actual geometry which is a 2:1 ellipse shape. I want to use the ELLIPSE command instead of the ARC command. I've read the DXF documentation several times but had no luck with generating the correct syntax in the DXF file to generate an ellipse. I get an error message "Undefined group code 10 for object" when I open the DXF file in AutoCad.
RE: Trouble creating DXF code for an ellipse
(or were you the one at another site who said you're using LT version so that's not an option...)
RE: Trouble creating DXF code for an ellipse
Another approach would be to have Excel create the AutoCAD commands to draw the ellipse, either with a script file, or as a series of commands you could paste into the command line.
RE: Trouble creating DXF code for an ellipse
You've got an extra|missing CR|LF or a leading or trailing space that AutoCAD can't parse correctly.
Mike Halloran
Pembroke Pines, FL, USA
RE: Trouble creating DXF code for an ellipse