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

A. Craig West acraigwest at gmail.com
Tue May 21 11:37:11 EDT 2019


That is a totally valid case in a linear extrude. If you apply this to a
square, you will get a wedge as a result

On Tue, 21 May 2019, 11:29 Dan Shriver, <tabbydan at gmail.com> wrote:

> your first number in "scale" is zero.  So it is doing a multiplication by
> zero on that.  Not sure what you are expecting
>
> On Tue, May 21, 2019 at 10:22 AM kevfquinn <co at kevquinn.com> wrote:
>
>> I get the warning, "Scaling a 2D object with 0 - removing object" when
>> first
>> running code like this:
>>
>>   linear_extrude(height=10,scale=[0.0,1.0])
>>   square([10.0,10.0],center=true);
>>
>> As far as I can tell, it's correctly generating what I'm expecting and
>> doesn't look like it has removed anything, but am I missing something?
>>
>>
>>
>>
>> --
>> Sent from: http://forum.openscad.org/
>>
>> _______________________________________________
>> OpenSCAD mailing list
>> Discuss at lists.openscad.org
>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>>
> _______________________________________________
> OpenSCAD mailing list
> Discuss at lists.openscad.org
> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscad.org/pipermail/discuss_lists.openscad.org/attachments/20190521/b3a2d128/attachment.html>


More information about the Discuss mailing list