// Lips library // Copyright Algot Runeman, 2019 // This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. // This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. // You should have received a copy of the GNU General Public License along with this program. If not, see .// lips module lips(){ hull(){ translate([-1.3,0,0]) sphere(1.5); translate([-5,-1,0]) sphere(1); } hull(){ translate([1.3,0,0]) sphere(1.5); translate([5,-1,0]) sphere(1); } hull(){ translate([-4,-2,0]) sphere(1); translate([0,-2.5,0]) sphere(1.5); translate([4,-2,0]) sphere(1); } } // lips open $fn=30; module lips_open(){ hull(){ translate([-1.2,0,0]) sphere(1.5); translate([-5,-1,0]) sphere(1); } hull(){ translate([1.3,0,0]) sphere(1.5); translate([5,-1,0]) sphere(1); } hull(){ translate([-5,-2,0]) sphere(1); translate([0,-4.5,0]) sphere(1.5); } hull(){ translate([0,-4.5,0]) sphere(1.5); translate([5,-2,0]) sphere(1); } } lips_open(); // lips with tongue $fn=30; module lips_tongue(){ translate([0,-2,1]) rotate([110,0,0]) hull(){ rotate_extrude(convexity = 10) translate([2, 0, 0]) circle(r = 1, $fn = 100); } hull(){ translate([-1.2,0,0]) sphere(1.5); translate([-5,-1,0]) sphere(1); } hull(){ translate([1.3,0,0]) sphere(1.5); translate([5,-1,0]) sphere(1); } hull(){ translate([-5,-2,0]) sphere(1); translate([0,-4.5,0]) sphere(1.5); } hull(){ translate([0,-4.5,0]) sphere(1.5); translate([5,-2,0]) sphere(1); } } lips_tongue();