[OpenSCAD] DXF for cut and engrave

Torsten Paul Torsten.Paul at gmx.de
Sat Oct 26 09:39:22 EDT 2019

On 26.10.19 10:53, Parkinbot wrote:
> square([100, 0]);
> square([0, 100]);
> it passes F5 and F6 without any warning or error. But> when trying to export it you get an

This produces pretty much what is written... nothing, no
geometry as both are closed polygons with zero area so
the Clipper processing removes them.
I'm don't know if there's an easy way to warn about this,
but it should be doable as line numbers are now passed
down into the processing.

> So, does it make sense in terms of 2D export to enforce
> something like a 2D manifoldness?

I'm not sure what you mean. It might be possible to have
some checks/warning at export time like in 3D case, but
the challenge of implementing those primitives is probably
more a clear definition of where they are allowed and how
to get more guaranties which then allows further operations
to be applied.

Pretty much like extrude does 2D->3D there would be
operations that do Open-2D -> Solid-2D and only after
that the CSG operations would be able to produce sensible

All that is probably not hugely complicated but still
requires some dedication to work out the details.


More information about the Discuss mailing list