1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- /*
- * Copyright (c) 2022 - 2023 Thomas Buck (thomas@xythobuz.de)
- * Philipp Schönberger (mail@phschoen.de)
- *
- * 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.
- *
- * See <http://www.gnu.org/licenses/>.
- */
-
- module usb_c()
- {
- // todo
- color("gray")
- translate([-19.8/2,0,0])
- cube([19.8,1.6,6.6]);
-
- translate([-9.2/2,0.01,1.6])
- cube([9.2,14.5,3.3]);
- translate([-12.6/2,0.01,1.6])
- cube([12.6,3.5,3.3]);
- for(i=[-1,1])
- translate([i*15.75/2,0,6.6/2])
- rotate([-90,0,0])
- cylinder($fn=32,d=1.8,h=1.6+5);
- }
-
- module usb_c_cutout()
- {
- // todo
- color("gray")
- translate([-19.8/2,-20,0])
- cube([19.8,1.6+20,6.6]);
-
- translate([-9.2/2,0.01,1.6])
- cube([9.2,14.5,3.3]);
- translate([-12.6/2,0.01,1.6])
- cube([12.6,3.5,3.3]);
- for(i=[-1,1])
- translate([i*15.75/2,0,6.6/2])
- rotate([-90,0,0])
- cylinder($fn=32,d=1.8,h=1.6+5);
- }
|