aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD Delmar Davis <don@suspectdevices.com>2024-09-01 21:08:58 -0700
committerD Delmar Davis <don@suspectdevices.com>2024-09-01 21:08:58 -0700
commitbc20bd728b00201c7bd2c06035fc9b870033efd8 (patch)
treeafd56894cae7467a9b36a74bd6f06d16bc981f71
parent1c5b4aa1dd51e163af4012ad8e4b69f72b2be2ca (diff)
add a front to it.
-rw-r--r--zero_oclock.scad73
1 files changed, 61 insertions, 12 deletions
diff --git a/zero_oclock.scad b/zero_oclock.scad
index 136036e..3dc6d13 100644
--- a/zero_oclock.scad
+++ b/zero_oclock.scad
@@ -1,30 +1,79 @@
$fa = 1;
$fs = 0.4;
-bheight = 5.0;
+bheight = 2.8;
theight = 40.0;
-difference(){
- scale([1.12,1.12,1]) {
+module part_1() {
+ difference(){
+ union() {
+ linear_extrude(theight){
+ polygon(points=[[-8.0,0.0],[-40.0,-52.0],[40.0,-52],[8.0,0.0]]);
+ }
+ linear_extrude(theight){
+ circle($fn = 0, $fa = 12, $fs = 2, r = 30.00);
+ }
+ }
+
+
+ translate([0,0,bheight]) {
+
union() {
linear_extrude(theight){
- polygon(points=[[-5.0,0.0],[-50.0,-50.0],[50.0,-50],[5.0,0.0]]);
+ polygon(points=[[-6.0,0.0],[-36.0,-50.0],[36.0,-50],[5.0,0.0]]);
}
linear_extrude(theight){
- circle($fn = 0, $fa = 12, $fs = 2, r = 25.00);
+ circle($fn = 0, $fa = 12, $fs = 2, r = 28.00);
}
}
}
-
- translate([0,0,bheight]) {
+ }
+}
+module part_2() {
+ union(){
+ difference(){
+ union(){
+ translate([0,0,bheight]) {
- union() {
- linear_extrude(theight){
- polygon(points=[[-5.0,0.0],[-50.0,-50.0],[50.0,-50],[5.0,0.0]]);
+ union() {
+ linear_extrude(bheight){
+ polygon(points=[[-8.0,0.0],[-40.0,-52.0],[40.0,-52],[8.0,0.0]]);
+ }
+ linear_extrude(bheight){
+ circle($fn = 0, $fa = 12, $fs = 2, r = 30.00);
+ }
+ }
+
+ }
+ union() {
+ linear_extrude(bheight){
+ polygon(points=[[-6.0,0.0],[-36.0,-50.0],[36.0,-50],[5.0,0.0]]);
+ }
+ linear_extrude(bheight){
+ circle($fn = 0, $fa = 12, $fs = 2, r = 28.00);
+ }
+ }
+
}
- linear_extrude(theight){
- circle($fn = 0, $fa = 12, $fs = 2, r = 25.00);
+ translate([0,0,-(bheight/2.0)]) {
+ linear_extrude(bheight*3.0){
+ circle($fn = 0, $fa = 12, $fs = 2, r = 26.00);
+ }
}
+
}
+
+ translate([0.0,-45.5,(bheight*2.0)+5.0]) {
+ difference(){
+ cube(13,10,10,center=true);
+ rotate([90,0,0]) {
+ cylinder(r=3,h=20,center=true);
+ }
+ }
+
+ }
}
}
+
+// part_1()
+part_2(); \ No newline at end of file