discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Errors loading dxf files on OpenSCAD - OS X

JL
Jean-Paul Louis
Sun, May 31, 2015 5:08 PM

Hi Developers,

I really love your product. I use the OS X latest available files.

While trying to extrude a profile downloaded from the 8020 website, I get the errors listed below when I load the DXF file:

Compiling design (CSG Products generation)...
WARNING: Unsupported DXF Entity 'POINT' (2) in "../../OpenSCAD/libraries/DXF/25-2525.dxf".
WARNING: Unsupported DXF Entity 'ATTDEF' (11) in "../../OpenSCAD/libraries/DXF/25-2525.dxf".
Geometries in cache: 146

Is that something I should worry about?

Regards,
Jean-Paul
AC9GH

Hi Developers, I really love your product. I use the OS X latest available files. While trying to extrude a profile downloaded from the 8020 website, I get the errors listed below when I load the DXF file: Compiling design (CSG Products generation)... WARNING: Unsupported DXF Entity 'POINT' (2) in "../../OpenSCAD/libraries/DXF/25-2525.dxf". WARNING: Unsupported DXF Entity 'ATTDEF' (11) in "../../OpenSCAD/libraries/DXF/25-2525.dxf". Geometries in cache: 146 Is that something I should worry about? Regards, Jean-Paul AC9GH
B
basile
Tue, Jun 2, 2015 10:39 AM

OpenSCAD is a bit picky about the .dxf files it supports.

Can you share the dxf you are trying to load?


basile

View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12773.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

OpenSCAD is a bit picky about the .dxf files it supports. Can you share the dxf you are trying to load? ----- basile -- View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12773.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JL
Jean-Paul Louis
Wed, Jun 3, 2015 2:08 AM

Hi Basile,

Thanks for your reply. The file attached is one hat I downloaded from the 8020 website. I do not know how it was generated.

Regards,
Jean-Paul
AC9GH

On Jun 2, 2015, at 6:39 AM, basile basile.laderchi@gmail.com wrote:

OpenSCAD is a bit picky about the .dxf files it supports.

Can you share the dxf you are trying to load?


basile

View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12773.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Hi Basile, Thanks for your reply. The file attached is one hat I downloaded from the 8020 website. I do not know how it was generated. Regards, Jean-Paul AC9GH > On Jun 2, 2015, at 6:39 AM, basile <basile.laderchi@gmail.com> wrote: > > OpenSCAD is a bit picky about the .dxf files it supports. > > Can you share the dxf you are trying to load? > > > > ----- > basile > -- > View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12773.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
B
basile
Wed, Jun 3, 2015 6:55 AM

louijp wrote

Hi Basile,

Thanks for your reply. The file attached is one hat I downloaded from the
8020 website. I do not know how it was generated.

Regards,
Jean-Paul
AC9GH

Other that the fact that it has a bit more rough edges on the curves I can
see nothing wrong.

After exporting it as svg from QCAD, importing it into Inkscape, ungrouping,
deleting the blue lines, merging all the paths as one, flattening beziers
with 0.1 and exporting again as dxf all I got better was a little better
curves. (That's apart the fact that the object generated from my dxf was not
centered and smaller than the original)

BTW Importing the original dxf I got the same 2 warnings.


basile

View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12775.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

louijp wrote > Hi Basile, > > Thanks for your reply. The file attached is one hat I downloaded from the > 8020 website. I do not know how it was generated. > > Regards, > Jean-Paul > AC9GH Other that the fact that it has a bit more rough edges on the curves I can see nothing wrong. After exporting it as svg from QCAD, importing it into Inkscape, ungrouping, deleting the blue lines, merging all the paths as one, flattening beziers with 0.1 and exporting again as dxf all I got better was a little better curves. (That's apart the fact that the object generated from my dxf was not centered and smaller than the original) BTW Importing the original dxf I got the same 2 warnings. ----- basile -- View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12775.html Sent from the OpenSCAD mailing list archive at Nabble.com.
JL
Jean-Paul Louis
Wed, Jun 3, 2015 2:33 PM

Hi Basile,
Thank you for looking at it. I can live with the warning since the extrusion works fine.
I was just wondering if some parts of DXF were not processed by OpenSCAD.

When I have some spare time, I will look at the code doing the dxf import.

Best regards,
Jean-Paul
AC9GH

On Jun 2, 2015, at 6:39 AM, basile basile.laderchi@gmail.com wrote:

OpenSCAD is a bit picky about the .dxf files it supports.

Can you share the dxf you are trying to load?


basile

View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12773.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Hi Basile, Thank you for looking at it. I can live with the warning since the extrusion works fine. I was just wondering if some parts of DXF were not processed by OpenSCAD. When I have some spare time, I will look at the code doing the dxf import. Best regards, Jean-Paul AC9GH > On Jun 2, 2015, at 6:39 AM, basile <basile.laderchi@gmail.com> wrote: > > OpenSCAD is a bit picky about the .dxf files it supports. > > Can you share the dxf you are trying to load? > > > > ----- > basile > -- > View this message in context: http://forum.openscad.org/Errors-loading-dxf-files-on-OpenSCAD-OS-X-tp12772p12773.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
TP
Torsten Paul
Wed, Jun 3, 2015 7:25 PM

On 06/03/2015 04:33 PM, Jean-Paul Louis wrote:

When I have some spare time, I will look at the code doing the dxf import.

Currently a handcrafted importer is used
(https://github.com/openscad/openscad/blob/master/src/dxfdata.cc)
which does not support a number of entities found in DXF files.

The plan is to select an existing library and use that for import
and export of DXF files.
https://github.com/openscad/openscad/wiki/Project%3A-Improve-DXF-import-and-export

As far as I know, nobody is currently working on this, so ideas,
pointers to more libs to select from or any other help would be
very welcome :-).

ciao,
Torsten.

On 06/03/2015 04:33 PM, Jean-Paul Louis wrote: > When I have some spare time, I will look at the code doing the dxf import. > Currently a handcrafted importer is used (https://github.com/openscad/openscad/blob/master/src/dxfdata.cc) which does not support a number of entities found in DXF files. The plan is to select an existing library and use that for import and export of DXF files. https://github.com/openscad/openscad/wiki/Project%3A-Improve-DXF-import-and-export As far as I know, nobody is currently working on this, so ideas, pointers to more libs to select from or any other help would be very welcome :-). ciao, Torsten.