Wings 3D Development Forum
dxf plugin - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: dxf plugin (/showthread.php?tid=3044)

Pages: 1 2


RE: dxf plugin - micheus - 11-18-2021

I took a look at the sample files you shared at Post #4

Images like this will not be imported to Wings3D anyway without a error be reported:
[Image: dxf1.png]

It's composed of segment of lines with non contiguous regions.
Wings3D would require the file to contain closed shapes (polygons) in order to get something to work with.

I did a test with a 3D object converter app I have and it displayed a couple of information about polygons resulting in bad objects (precisely 592) because it tries to build closed shapes from all those segments it found. The result is this:



RE: dxf plugin - GRUMP - 11-19-2021

Sorry to bring this up again, I appreciate you are busy I hadn't seen the second page until today.
This is a poor example and was only used as a test from png to svg import.
There are ways to do this which of course I do when necessary but it does mean using other tools.
https://drive.google.com/file/d/1V6VClqfjFWbTYCHz54mpbp8eqcavGCgf/view?usp=sharing
It would be a useful addition to be able to import dxf files as ungrouped lines and arcs like the plugin Inkscape uses, nothing complex as all the 3D building can be done in Wings3D.
https://drive.google.com/file/d/1jWbYkDmrmQlkdx2YUOkH7NKxrIzWEqM3/view?usp=sharing


Edited due to incorrect links


RE: dxf plugin - skvamme - 12-25-2021

You may want to try my HTML-vector-graphics. It can convert DXF to very simple SVG. https://github.com/skvamme/HTML-vector-graphics


RE: dxf plugin - GRUMP - 12-26-2021

Thanks for the comment but creating SVG does not import DXF into Wings3d.


RE: dxf plugin - skvamme - 12-27-2021

Sorry, reading your question again I can now see that you want to import DXF directly and not have to use the intermediate step of SVG. The DXF file format is pretty simple, someone familiar with Wings3d-plugins could probably do it easily.


RE: dxf plugin - GRUMP - 12-27-2021

That is rather what I was hoping for but it hasn't happened as yet.
I have had little to no success importing any form of picture, there is little point in converting to SVG as that will not work either.


RE: dxf plugin - skvamme - 12-27-2021

Yes I agree, a DXF plugin is sure better than taking a 3D DXF, making it a 2D SVG and then import it into Wings3d. (In AutoCAD, DXF files are 3D).