Smooth dxf export?

So I have a sketch that was derived from breaking up text. I need to export it to a dxf with smooth curves, but this happens when I try. Any Ideas?

SolidworksImport export
Answers 9
RE
RE 2015-07-21 Best Answer

Hi Vincent,

Double-check your output settings for DXFs

File > Save as > Choose DXF as the File Type > Options.

I reckon that you might have the splines being exported as polylines rather than splines

SW text is usually treated as a spline, rather than lines and arcs

Otherwise, does it still look the same after exported? Something like DraftSight would do as a free viewer

Hope that this helps!

Richard

comment imagecomment image
SF
SF 2015-07-21

These are the settings that generated that picture, and yes it looks the same way after importing it into Illustrator.

comment imagecomment image
RE
RE 2015-07-21

Hmm interesting, I have come across two possible solutions in the Knowledgebase

The first suggest increasing you Image Quality (Tools > Options > Document Properties > Image Quality > Shaded and Draft Quality HLR/HLV Resolution)

This works as the DXF is almost like a screenshot. That being said, your sketch curves look decent anyway.

The other suggestion is editing the dxf in a text editor and increasing a certain value (S-067738)

1     Open the DFX file with a text editor

2     Search the word “VPORT”

3     Below the second VPORT word, about “ViewportTableRecord”, imagine to create groups, everyone in two rows.

4     The first row with “40” indicates the Viewport Height

5     Change the second parameter with a value, more little than the actual.

When you open the changed DXF, probably it needs a Fit View, but the entities should have now a better graphical representation, similar when a ”regen / rebuild” process has been run.

SF
SF 2015-07-21

Neither of those seemed to work for me. Do you mind giving it a shot? https://drive.google.com/open?id=0B6G5vvc-u3ebS3I1NTBkRHRKRWc I undid all the steps I used to try and make the curves smooth.

CD
CD 2015-07-22

I've had varied results with this issue, and Richard's suggestion does help the quality somewhat. Unfortunately the spline output is not consistent. There are often breaks, with line segments in between spline curve sections where there should just be one smooth curve.

I have also created a SolidWorks drawing with sketch visibility toggled on, and printing to a PDF. Sometimes this can produce better results than exporting DXF/DWG. (Don't ask me why)

I'd love to hear from anyone that has a method to get good results consistently.

Then there's the consideration for arcs, which many 2d CNC processes require (waterjet, laser, engraving, etc). Unfortunately SolidWorks does not have a way to generate arcs from splines.

RE
RE 2015-07-22

Hi Vincent,

Please find the file in the link below

I exploded your blocks and used a split line command onto a boss extrude, then exporting the DXF

I am not sure why this would give a different result!

Dropbox - RR Logo 1.4.3 Surrounding Text.DXF

CD
CD 2015-07-23

I made a SolidWorks drawing file from your SolidWorks part file by going to New ... and choosing Drawing.

Then I saved it as a DXF, and printed to a PDF file for comparison.

Curiously, the DXF actually has arcs in it where there are splines in the text in your SolidWorks sketch. I went into your sketch and created an arc on top the spline curve for comparison, and the spline curve is fairly close to the arc in shape, however, its certainly not an exact match.

So I don't know why splines are being converted to arcs in this case. I did choose "Export all splines as splines" in the export dialog.

SF
SF 2015-07-23

Thanks for the help. One of the things I was considering was: making splines work in manufacturing | RockSolid Perspective

CD
CD 2015-07-23

That is a good method but unfortunately is  very time consuming if there are lots of splines.

I'm still puzzled by getting a DXF with arcs in it from SolidWorks export, where there were splines originally. I'm still using v2013 for all my work, and used v2014 since your file was in that format. Perhaps this is a new function.

I'm pretty sure I tested the DXF/DWG export in 2014 a while back, and did not get this result, so I guess I'll need to investigate it further when I have the time.

The PDF file is still consistent with what I get with 2013, some splines are broken, and just convert to line segment, while others are broken in to shorter curves, with line segment(s) in between.