[OpenSCAD] problem STL

jon jon at jonbondy.com
Sat Oct 8 10:39:23 EDT 2016


When I create this STL, it is defective, but I cannot figure out what 
the defect is.  It looks fine in OpenSCAD.


minID = 35;
maxID = 45;
ht = 25;
th = 2;

$fn = 100;
minIR = minID/2;
maxIR = maxID/2;

module Cup()
     rotate_extrude(convexity = 10)
         polygon([[0,0],
                  [-minIR-th,0],
                  [-maxIR-th,ht],
                  [-maxIR-th-th,ht],
                  [-maxIR-th-th,ht+th],
                  [-maxIR,ht+th],
                  [-minIR,th],
                  [0,th]]);

Cup();





More information about the Discuss mailing list