Text DXF import error backslash character

Odd new behavior.

Latest V7. When importing or opening a DXF file, any text labels that have a backslash in them are missing detail. Forward slashes work OK

For example the text XYZ\0123 comes in as XYZ
Whereas XYZ/0123 comes in fine.

This is a bit of a pest since a design software that I use inserts backslashes in labels.

Cheers, Steve

can you share a simple file that demonstrates this and post a screenshot of how it looks in your source software?
I tried to reproduce, but what I can see it only removes the \ and not the remainder

This can be reproduced using Rhino by exporting a document containing a single Text “Hello \ World”. The \ disappears when Rhino imports.

An example file is attached
brokenSlash.dxf (158.0 KB)

Hi David -

Just to make sure, as Gijs said, it’s only the backslash that is missing, right? That is, not as was originally reported where “XYZ\0123” imports as “XYZ”?
The missing backslash is reported as RH-75608 File IO: Backslash in DXF text does not import
-wim

I’ll look at the bugtrack and see if there’s something I can do but ‘\’ is usually treated as an escape character. like \n for newline and \t for tab. You might try, in the meantime, seeing if using “\\” works.

Tim

Hi Tim,
Yes, I’ve got rid of any back slashes in labels now, so I’m not too worried about this.
Thanks for looking at it though.

Steve

Hi Wim,

Yeah it is now only the \ which is being lost, following text still imports.
Earlier in the year I did see the following text lost but that has been resolved.
I can confirm that replacing "" with "\ " (no quotes) will import a single slash.

We encounter this problem fairly frequently with customers who laser cut groups of panels numbered 1\3 2\3 3\3 and so on.

@tim & @wim please see also mcneel.myjetbrains.com/youtrack/issue/RH-74120