[OpenSCAD] Problem with skin()

jltbel at aol.com jltbel at aol.com
Sun Jan 14 16:50:23 EST 2018


Thanks, that works.  From this fix, I gather that when you are defining a 2D polygon to be extruded to 3D, the points have to be defined in a CCW manner (i.e. the right hand rule wrt the z-axis).  linear_extrude must have some way of fixing that, as it doesn't seem to care whether the points are CW or CCW.



-----Original Message-----
From: Parkinbot <rudolf at parkinbot.com>
To: discuss <discuss at lists.openscad.org>
Sent: Sun, Jan 14, 2018 2:27 am
Subject: Re: [OpenSCAD] Problem with skin()

It turns pink because you polygon is defined in wrong order. skin() expects 

airfoil_inch = reverse([ [0.00,0.00], [.031,.084], [.062,.123], [.125,.176],
[.250,.243],
                 [.375,.290], [.500,.324], [.625,.349], [.750,.366],
[1.00,.375],
                 [1.25,.343], [1.50,.285], [1.75,.208], [2.00,.126],
[2.25,0.00] ]);




--
Sent from: http://forum.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/20180114/1bbd1d54/attachment-0002.html>


More information about the Discuss mailing list