[OpenSCAD] WARNING: Scaling a 2D object with 0 - removing object

kevfquinn co at kevquinn.com
Tue May 21 13:24:46 EDT 2019

Ah; so what's probably happening is it has the five non-zero-area faces that
it's happy with, and is just warning that it computed a sixth zero-area face
on the top, which it discarded.

Which all sounds eminently sensible - in general it wouldn't be able to tell
the difference between an intentionally zero-area face and an accidentally
zero-area face, and coding in special exemptions to the warning would be the
wrong thing to do.

In which case the 0.0 scale is fine for the end of an extrusion, no need to
approximate in the source code to avoid the warning.

RayBellis wrote
> On 21/05/2019 17:32, A. Craig West wrote:
>> It is by far the simplest way to generate wedges and cubes, though,
>> and there is no actual 1D or 2D object, they are just a vertex or edge
>> of the final 3D object, which are both valid.
> They might _look_ like just a vertex or edge, but unless OpenSCAD has 
> smarts I don't know about, aren't they actually four vertices (or two 
> edges) occupying the same location(s).
> Specifying e.g. 0.001 as the scale factor should produce something 
> that's physically identical, but without the degeneration to 2D or 1D.
> Ray
> _______________________________________________
> OpenSCAD mailing list

> Discuss at .openscad

> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Sent from: http://forum.openscad.org/

More information about the Discuss mailing list