Text doesn't maintain formatting in a dxf imported for laser cutting

Text doesn't maintain formatting in a dxf imported for laser cutting

forsyth_sandy
Explorer Explorer
1,155 Views
5 Replies
Message 1 of 6

Text doesn't maintain formatting in a dxf imported for laser cutting

forsyth_sandy
Explorer
Explorer

I was presenting a course on laser cutting at a local Makerspace. One of the students created a file of a simple frame with text enclosed. The laser cutter software is called Lightburn and doesn't read dwg files. This isn't a new problem and the known solution is to save the Autocad file as a dxf,  which Lightburn recognises. So the student saved the file as a dxf and imported it to Lightburn. When opened, the text had lost all its formatting. I know this should normally go to a Lightburn forum, but my wife commented that she was told about this problem "years ago" and that it had something to do with text boxes. Can anybody help? I've attached the dxf and an svg of the Lightburn files.

0 Likes
Accepted solutions (2)
1,156 Views
5 Replies
Replies (5)
Message 2 of 6

Patchy
Mentor
Mentor

I'm lost on the "text boxes"

Have you tried Stripmtext then txtexp?

Try.JPG

0 Likes
Message 3 of 6

dmfrazier
Advisor
Advisor

When I opened the DXF in AutoCAD, I was able to "force" the text to display in (what I assume is) the desired font (Baskerville Old face) by changing it to a different font and then changing it back.

I would suggest to the student that s/he should create a new text style that directly specifies the desired font to use, rather than using the MText editor to "over-ride" the font specified by the Standard text style .

0 Likes
Message 4 of 6

cadffm
Consultant
Consultant

The problem is the program you import the dwg/dxf file.

If the program can not handle internal MText formats,

you have to go around.

 

The first thing I can see in your picture: The program understand "end of paragraph" (what is an ENTER),

but not the automatic linebreak (you used from line 2 to 3 and from 3 to 4).

Check the MText content in your properties palette (and compare it with my file)

CADffm_0-1676321744176.png

 

It looks centered, so this is also okay for this program too,

but the font "Baskerville" is also set as internal format -

you have to create a STYLE with this font and your MText should refere to this style!

 

My windows don't have "Baskerville", just a "Baskerville old face", so I can not set up this style for you.

 

 

Test it again with my file,

Open the file, start STYLE and set "Baskerville" as font for my "Baskereville" style.

Save your edited version by another name and try it again in Lightburn with this file.

 

Sebastian

0 Likes
Message 5 of 6

forsyth_sandy
Explorer
Explorer
Accepted solution

I managed to sort out the issue with a workaround. I've attached a file showing what I did. 

Message 6 of 6

cadffm
Consultant
Consultant
Accepted solution

Using TEXT instead MText protects against the use of internal formatting, good way.

 

For the future, just one thing: For MText, your program consider the orientation, you can test it also with Text objects!

 

In you file alle Texts are justify LEFT, it would be easier to adjust the text in the middle by using CENTER!

Select Text object and change it in properties palette or use command JUSTIFYTEXT [F1]

 

 

Compare perfect centered (green) to yours (red)

CADffm_0-1676394514393.png

 

 

 

Sebastian

0 Likes