Circle is not circle in DXF


#1

Hello,

in the attached, the circle is a circle in the object properties details.
Exported to DXF, Standard scheme, it is becomes a spline with several same points like:

40
506.1114640640767

What is wrong with this circle in Rhino?

Thanks,
-C-H-A-R-L-E-S-

CP_NoCircle.3dm (37.9 KB)


#2

Dunno… Here exporting with “Default” scheme and re-importing, it is a circle… Are you sure your export scheme “Standard” hasn’t been modified? (Default can’t be modified, so it must be some other scheme?)

–Mitch


#3

Hi Mitch,

Rhino itself seems to have some optimization when reading DXF.

I read the file with other software, and the circle fails to import.
When I inspect the DXF file, then I see the circle is not written as circle.

Strange is, when I create another circle at the same center in Rhino with the _Circle function, it comes out as circle in DXF.

But in Rhino, I can’t see a difference between the circles.
There must be a difference.
BTW, _Simplify doesn’t help.

Thanks,
-C-H-A-R-L-E-S-


#4

OK, I don’t have any other software to test here… except Illustrator, and there, yes, it definitely is NOT a circle…

–Mitch


(Pascal Golay) #5

Charles, does either of the circles in the attached look correct to you?
TwoCircles.dxf (152.8 KB)

-Pascal


#6

Hi Pascal,

yes, this comes in as 2 circles.
In the DXF, they are CIRCLE, so no wonder…

Again, what’s wrong with the circle in CP_NoCircle.3dm?

Thanks,
-C-H-A-R-L-E-S-


(Pascal Golay) #7

That is what I am trying to determine- no luck yet.

-Pascal


(John Brock) #8

If they were drawn in Rhino as “Deformable” circles, then theyw on’t go out as circles.
Make sure in your named DWG/DXF export scheme, that the “Simplify objects” is selected with an appropriately loosened tolerance.


#9

They were created as circles…
…and the object properties say they are circles.
Not elliptical arcs or other curves.

Do the object properties hide something?
If, how can I find out in Rhino what the object really is?

Thanks,
-C-H-A-R-L-E-S-


(Pascal Golay) #10

Hi Charles, all- What shows that it is a circle because it is a circular curve, but the more geeky ‘List’ command shows that it is not a circle object in Rhino but a NURBS curve that is an exact circle. SimplifyCrv should make a true circle object from this curve it seems to me, but it does not - as far as I can see that is a bug. I don’t know, but I’ll ask, if Export should at least offer the option to simplify these. I don’t know if there is any advantage to leavng these as NURBS curves at all, even within Rhino.

-Pascal


#11

Hi Pascal,[quote=“pascal, post:10, topic:8534”]
SimplifyCrv should make a true circle object from this curve it seems to me, but it does not - as far as I can see that is a bug.
[/quote]

SimplyfyCrv does not often do what it should.

Try the attached.
Explode all.
Join.
SimplyfyCrv a few times.

The several results are different.
Same in V4, but different with other counts.

If this behaviour is considered as bug, then it should be repaired.

-C-H-A-R-L-E-S-


#12

Hi Charles,
I always had the same problem when exporting for CNC. The CNC guys would complain about arcs and cirkles are either splines or polylines with lots of segments. The solution is simple: just set the AutoCAD version in the export options to Release 14 and make sure “Simplify lines & arcs” is checked.

hth, Tobias


#13

Hi Tobias,

I knows this issues very well.
DXF R14 doesn’t help, as I want to export splines as well.

All is fine with the standard scheme, except with those bogus circles.

Thanks,
-C-H-A-R-L-E-S-


(Pascal Golay) #14

Hi Charles- I am not seeing an attachment - can you send me that example directly?

thanks,

-pascal


#15

Grr, forgotten.

CP_SimplyFail.3dm (199.7 KB)


(Pascal Golay) #16

Yeah- this is a combination of ‘true’ arcs (as reported by List) and arc-shaped NURBS curves. The developer agrees with me that these should simplify into true arcs, and that it is a bug that they do not…

Bug: http://mcneel.myjetbrains.com/youtrack/issue/RH-27259

(These are not visible to the public yet)

So there is hope…

thanks,

-Pascal


(Brian Gillespie) #17

This bug (RH-27259) is fixed in Rhino WIP 6.0.16306.09301 - released just now.