Skip to content

Duplicate paths on single line font in DXF export #520

Description

@timdiacon

I'm using a single line font to create text objects which are then engraved on a CNC machine. I'm getting an issue where the paths of the font are duplicated in the exported DXF file.

I have two versions of the font. The first uses beziers as below

Screenshot 2022-02-08 at 10 51 16

Screenshot 2022-02-08 at 11 01 56

The second image above is a screen shot from a CAD application where I have offset the duplicate lines. You will see each individual bezier occurs twice in the file. I have also selected every other path in the duplicates which then appear red and you can see there are a lot more beziers than in the original font (i have tried experimenting with the bezier accuracy option but it doesn't seem to effect the output), this is a minor point but lead me to try using a version of the font which is just comprised of straight lines as below

Screenshot 2022-02-08 at 10 51 50

Again each individual line is duplicated in the export as shown below however this time the straight lines match those of the font

Screenshot 2022-02-08 at 11 03 49

The duplication is a big issue as when the DXF is imported into out toolpathing application it treats the duplicate lines as an object which needs to be closed and preventing us from then joining them together into a single line.

I think this duplication is a bug caused by single line fonts not being closed fills like more regular fonts.

As a side note I've also tried using captions instead but we get problems where these are not parsed correctly in the toolpathing application and get strangely rotated. We can't also measure the size and then position captions as accurately as we can text objects so we really want to try and fix this duplication. If we manually open up the DXF and remove the duplicates and resave it is imported perfectly into the tool pathing application as a series of open vectors which can then be joined together.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions