[OpenSCAD] Rendering problems with QCAD-created DXF file (was Re: CSG rendering broken in latest Mac OS X)

Clifford Wolf clifford at clifford.at
Wed Jan 6 04:09:43 CET 2010


Hi,

On Tue, Jan 05, 2010 at 05:14:58PM -0500, Ethan Dicks wrote:
> On Tue, Jan 5, 2010 at 4:15 PM, Andrew Plumb <andrew at plumb.org> wrote:
> > The DXF import capability is very picky about overlapping lines,
> > duplicate shapes, points, etc.
> 
> I'm sure.  For one of the elements, I do get a warning about "WARING:
> Open paths in dxf_liniear_extrude(file="b3.dxf"..."

The layers "ellipse1" and "ellipse2" both only contain asingle ellipse
entity. When trying to extrude those you should get an error
message like:

	WARNING: Unsupported DXF Entity `ELLIPSE' (1x) in layer `ellipse2' of `b3.dxf'.

A (clean) patch for dxfdata.cc to also support the DXF ELLIPSE entity would
be welcome.

The layer "martini" produces the follwing error messages:

	WARING: Open paths in dxf_liniear_extrude(file = "b3.dxf", layer = "martini"):
	    15.83700  -11.02500 ...   14.21700  -19.26200
	    14.40000  -18.98700 ...   16.00000  -11.00000

Just zoom to the coordinates 15.83700 / -11.02500 and 14.21700 / -19.26200
and you will see that there is a line in your dxf that does not correctly
connect to the other lines of the path.

A pitfall with this is that OpenSCAD caches the results of parsing a DXF
file. So you will see the error message only the first time you compile the
design. When you recompile it there won't be an error message unless the
timestamp and/or size of the DXF file has been changed.

> (speaking of which, there are a number of typos in diagnostic messages)

patches (or simple lists with corrections) are very welcome.  ;-)

yours,
 - clifford

-- 
"I think I left it in the basement. I'll go upstairs and get it."
 - M.C. Escher


More information about the Openscad mailing list