USER FORUM
(you are viewing a thread; or go back to list of threads)
2D DXF Export howto? (by Oliver)
Hello All,
is there anything I have to observe to get 2D DXF export of a 2D sketch?
I attached the simple SoveSpace file I used for my tests.
PDF and SVG export (File -> Export 2D View) works as expected, but viewing the DXF with DraftSight or Qcad shows only the measures are shown, not the sketch lines.
DraftSight tells me that there is a 3D polyline at 0,0, but doesn't display anything.
Did I miss anything in the docs?
Thanks in advance,
Oliver
is there anything I have to observe to get 2D DXF export of a 2D sketch?
I attached the simple SoveSpace file I used for my tests.
PDF and SVG export (File -> Export 2D View) works as expected, but viewing the DXF with DraftSight or Qcad shows only the measures are shown, not the sketch lines.
DraftSight tells me that there is a 3D polyline at 0,0, but doesn't display anything.
Did I miss anything in the docs?
Thanks in advance,
Oliver
(no subject) (by whitequark)
What's the SolveSpace version (Help → About) ? This is what I get on both 3.0 and 2.3:
(no subject) (by whitequark)
To be more specific: the attached file above has the sketch lines as well as dimensions.
(no subject) (by Oliver)
Hi whitequark,
thanks for the reply. I'm using the latest Windows binary 2.3.
untitled.dxf also doesn't show the sketch lines in DraftSight and Qcad, inkscape yields an error. That's my problem.
Do you know any program handling the dxf correctly?
thanks for the reply. I'm using the latest Windows binary 2.3.
untitled.dxf also doesn't show the sketch lines in DraftSight and Qcad, inkscape yields an error. That's my problem.
Do you know any program handling the dxf correctly?
(no subject) (by whitequark)
Oliver, I'm using librecad to check these files.
(no subject) (by Tristan)
Hello,
I am having a similar difficulty exporting 2d dxf (Export 2d View). I am using SolveSpace 2.3 (which I am hugely enjoying, thank you) on OSX 10.11.6. Attached is an example SolveSpace file from which I then exported the dxf file. In QCAD I could not see lines, only the dimensions. A360 viewer said there was an error and would not load the file.
This is what I did to create the example file
I deleted my old SolveSpace from /Applications
I copied a new SolveSpace from the dmg
In SolveSpace
File->New
select "central point"
New Group->Sketch in New Workplace
draw rectangle (the entire sketch is one rectangle)
File->Save
File->Export 2d View
Quit
Look at dxf in QCAD
I wonder if I have mis-selected option(s) within SolveSpace which has resulted in this effect. I seem to recall previously successfully exporting and importing a dxf file into QCAD with SolveSpace 2.3.
I noticed that with my new install of SolveSpace a previous Group was still present. Is there a global configuration file I could delete and then repeat above?
Kind regards and thanks,
Tristan
I am having a similar difficulty exporting 2d dxf (Export 2d View). I am using SolveSpace 2.3 (which I am hugely enjoying, thank you) on OSX 10.11.6. Attached is an example SolveSpace file from which I then exported the dxf file. In QCAD I could not see lines, only the dimensions. A360 viewer said there was an error and would not load the file.
This is what I did to create the example file
I deleted my old SolveSpace from /Applications
I copied a new SolveSpace from the dmg
In SolveSpace
File->New
select "central point"
New Group->Sketch in New Workplace
draw rectangle (the entire sketch is one rectangle)
File->Save
File->Export 2d View
Quit
Look at dxf in QCAD
I wonder if I have mis-selected option(s) within SolveSpace which has resulted in this effect. I seem to recall previously successfully exporting and importing a dxf file into QCAD with SolveSpace 2.3.
I noticed that with my new install of SolveSpace a previous Group was still present. Is there a global configuration file I could delete and then repeat above?
Kind regards and thanks,
Tristan
(no subject) (by whitequark)
@All: can you try exporting using SolveSpace 2.2?
I have a suspicion as to the nature of the bug, see https://github.com/solvespace/solvespace/issues/187.
I have a suspicion as to the nature of the bug, see https://github.com/solvespace/solvespace/issues/187.
(no subject) (by Tristan)
Hello,
With SolveSpace 2.2 run directly from the dmg (and the file created with 2.3) I can export a dxf which seems to be correct (dimensions and lines) in both QCAD and A360 viewer.
Kind regards,
Tristan
With SolveSpace 2.2 run directly from the dmg (and the file created with 2.3) I can export a dxf which seems to be correct (dimensions and lines) in both QCAD and A360 viewer.
Kind regards,
Tristan
(no subject) (by Oliver)
also under Windows, solvespace 2.2 generates dxf readable in DraftSight, thanks!
BTW: LibreCAD 2.1.3 displays sketch lines from solvespace 2.3.
But LibreCAD has even more quirks than Qcad. I made a screen shot from the example PDF: The measures are crossed by the dimension, ugly.
If one doesn't need "libre" software, the gratis DraftSight is my recommendation.
BTW: LibreCAD 2.1.3 displays sketch lines from solvespace 2.3.
But LibreCAD has even more quirks than Qcad. I made a screen shot from the example PDF: The measures are crossed by the dimension, ugly.
If one doesn't need "libre" software, the gratis DraftSight is my recommendation.
(no subject) (by Oliver)
Sorry, s/PDF/DXF/ in previous post
(no subject) (by whitequark)
Can you verify that the attached file can be read by QCad, DraftSight, AutoCAD?
(no subject) (by Oliver)
The dxf contains a rectangle 41.4 by 58.4 mm� when viewed with Draftsight or Qcad.
(no subject) (by whitequark)
Here is a build of SolveSpace 2.3 with this bug fixed: https://ci.appveyor.com/api/bu...2Fsrc%2FDebug%2Fsolvespace.exe
(no subject) (by whitequark)
... and a macOS build as well.
(no subject) (by Oliver)
great, thanks!
(no subject) (by Tristan)
Hello,
With the new dmg, the exported dxf does not appear to be read correctly by QCAD. I can see the dimensions, but the Y axis seems to have been squashed to length zero, such that the lines appear to lie (only) on the X axis.
With SolveSpace 2.2 the same slvs file (created in stock 2.3) exports a dxf that QCAD reads as I expect.
Kind regards and thanks,
Tristan
With the new dmg, the exported dxf does not appear to be read correctly by QCAD. I can see the dimensions, but the Y axis seems to have been squashed to length zero, such that the lines appear to lie (only) on the X axis.
With SolveSpace 2.2 the same slvs file (created in stock 2.3) exports a dxf that QCAD reads as I expect.
Kind regards and thanks,
Tristan
(no subject) (by EvilSpirit)
Tristan, can you attach slvs and correspondent dxf output? Also, say what version of QCad do you have? I have no such problem with free version of QCad 3.13
(no subject) (by Oliver)
also the Windows 2.3~59d40128 doesn't export as expected (like version 2.2)
But that's no problem for me, I can use Version 2.2
But that's no problem for me, I can use Version 2.2
(no subject) (by whitequark)
@Tristan, are you using the paid QCad version, with the Teigha DXF reader? That appears to have a bug; every other CAD reads SolveSpace's files correctly, and the free QCad version also does.
@Oliver, yes, the export format was changed since version 2.2 to fix another bug (where export of 3D Wireframe was unusable). In 2.2 the LWPOLYLINE entity was used, in 2.3+, POLYLINE is used. In any compliant reader this should make no difference.
What exactly is "not expected" here? You've said that the files are readable.
@Oliver, yes, the export format was changed since version 2.2 to fix another bug (where export of 3D Wireframe was unusable). In 2.2 the LWPOLYLINE entity was used, in 2.3+, POLYLINE is used. In any compliant reader this should make no difference.
What exactly is "not expected" here? You've said that the files are readable.
(no subject) (by Oliver)
The file untitled.dxf you posted yesterday was readable, but I can't reproduce it with 2.3~59d40128.
I attached a zip file in my previous posting: I see no sketch lines in the dxf.
I attached a zip file in my previous posting: I see no sketch lines in the dxf.
(no subject) (by Tristan)
Hello,
QCAD : 3.16.4.0 (3.16.4)
Yes, I was using QCAD with the Teigha DXF reader. After reverting to the free version options, an exported SolveSpace 2.3new dxf was read correctly. Apologies, I was unaware of this distinction.
With https://a360.autodesk.com/viewer/, my dxf from 2.2 loads, but my dxf from 2.3new does not. I have attached the files I used.
Finally, thank you for SolveSpace. It is a joy to use.
kind regards and thanks,
Tristan
QCAD : 3.16.4.0 (3.16.4)
Yes, I was using QCAD with the Teigha DXF reader. After reverting to the free version options, an exported SolveSpace 2.3new dxf was read correctly. Apologies, I was unaware of this distinction.
With https://a360.autodesk.com/viewer/, my dxf from 2.2 loads, but my dxf from 2.3new does not. I have attached the files I used.
Finally, thank you for SolveSpace. It is a joy to use.
kind regards and thanks,
Tristan
DXF Export Status? (by Jonathan)
I'm also trying to do a simple 2D DXF export. This works flawlessly in V2.0, but is broken for us in every build after that. We're using the windows builds on W10-64bit.
To test, draw a rectangle, dimension 2 sides and export 2D dxf. I'm using https://a360.autodesk.com/viewer/ and Solidworks 2012 e-drawings to test.
I've tried the build above (https://ci.appveyor.com/api/bu...2Fsrc%2FDebug%2Fsolvespace.exe) to no avail. The sample files (attached) are from that version.
I don't see this as an issue on the github issues page, so I'm posting here to see if anyone else is experiencing this.
To test, draw a rectangle, dimension 2 sides and export 2D dxf. I'm using https://a360.autodesk.com/viewer/ and Solidworks 2012 e-drawings to test.
I've tried the build above (https://ci.appveyor.com/api/bu...2Fsrc%2FDebug%2Fsolvespace.exe) to no avail. The sample files (attached) are from that version.
I don't see this as an issue on the github issues page, so I'm posting here to see if anyone else is experiencing this.
Post a reply to this comment: