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

A. Craig West acraigwest at gmail.com
Tue May 21 12:32:59 EDT 2019


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.

On Tue, May 21, 2019 at 12:25 PM <openscad at ray.bellis.me.uk> wrote:
>
>
>
> On 21/05/2019 17:10, Dan Shriver wrote:
>
> > I get the warning in my old version of OpenScad too.  But it also
> > renders a wedge (suggesting the warning, at least in my version,
> > happens every time there is multiplication by zero; but that it does
> > not necessarily really remove the object).  If both arguments are
> > zero it renders a pyramid.
>
> The "scale" value is causing the original square to be turned into a
> degenerate line in the [0, 1] case or a point for [0, 0].
>
> For a system that's intended for modelling 3D, I'm not entirely
> surprised that it's complaining about the resulting 2D and 1D "objects".
>
> Ray
>
>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org



More information about the Discuss mailing list