chiark / gitweb /
poster-tube-lid: toplevels, fix convexity
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Oct 2017 12:37:33 +0000 (13:37 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sun, 8 Oct 2017 12:37:33 +0000 (13:37 +0100)
Makefile
poster-tube-lid.scad

index cc087661db1c72c5f473ac74de04f7d3453a1724..7ec60a7e5392f8171af77c554e90eba1a1abd716 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ CONFIG=$(PLAY)/slic3r-config.ini
 FILAMENTSPOOL_AUTOS = filamentspool filamentspool-lt filamentspool-sm
 FILAMENTSPOOL_AUTOS += filamentspool-storarm3
 
 FILAMENTSPOOL_AUTOS = filamentspool filamentspool-lt filamentspool-sm
 FILAMENTSPOOL_AUTOS += filamentspool-storarm3
 
-USING_AUTOS ?= $(FILAMENTSPOOL_AUTOS) xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook knifeblock pandemic-counter pattress-boxes-3-cover bike-lipo-box earring-stand bike-stalk-led-mount sewing-table sewing-table-test sewing-table-jig maglite-holder
+USING_AUTOS ?= $(FILAMENTSPOOL_AUTOS) xeno-drivebay-bracket dungeonquest-cone anke-gps-bracket cable-hole-trunking-cover anglepoise-neck crossbar-computer-led-mount wardrobe-hook knifeblock pandemic-counter pattress-boxes-3-cover bike-lipo-box earring-stand bike-stalk-led-mount sewing-table sewing-table-test sewing-table-jig maglite-holder poster-tube-lid
 
 AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m))
 
 
 AUTO_TOPLEVELS := $(foreach m,$(USING_AUTOS),$(shell $(PLAY)/toplevel-find $m))
 
index 58622bcbe98fe8881cdf62baf9de5166092b1cc2..73eec6200265cf055fd0a7011c44bf80b2ebe00f 100644 (file)
@@ -119,7 +119,8 @@ module MainProfile(){
           [ 0,                     -(seal_recess[0] + seal_recess[1]) ],
           [ seal_recess[0],        -(seal_recess[0]) ],
           [ seal_recess[0],        seal_thick        ],
           [ 0,                     -(seal_recess[0] + seal_recess[1]) ],
           [ seal_recess[0],        -(seal_recess[0]) ],
           [ seal_recess[0],        seal_thick        ],
-          ]);
+          ],
+         convexity=10);
 }
 
 module RotateProjectSlice(offset, slice_size, nom_rad, real_rad){
 }
 
 module RotateProjectSlice(offset, slice_size, nom_rad, real_rad){
@@ -155,18 +156,18 @@ module BayonetCutout(){
   RotateProject(bayo_c[0], bayo_i[0], bayo_slice_size,
                main_dia/2 + side_thick, 
                main_dia/2 + rivet_tall)
   RotateProject(bayo_c[0], bayo_i[0], bayo_slice_size,
                main_dia/2 + side_thick, 
                main_dia/2 + rivet_tall)
-    polygon(bayo_polygon);
+    polygon(bayo_polygon, convexity=10);
 }
 
 module ProfilesDemo(){
   translate([-20,0]) MainProfile();
 }
 
 module ProfilesDemo(){
   translate([-20,0]) MainProfile();
-  polygon(bayo_polygon);
+  polygon(bayo_polygon, convexity=10);
 }
 
 module Cover(){ ////toplevel
 }
 
 module Cover(){ ////toplevel
-  difference(){
+  render() difference(){
     union(){
     union(){
-      rotate_extrude()
+      rotate_extrude(convexity=10)
        translate([main_dia/2, 0])
        MainProfile();
       translate([0,0, seal_thick])
        translate([main_dia/2, 0])
        MainProfile();
       translate([0,0, seal_thick])
@@ -222,4 +223,4 @@ module CoverTest(){ ////toplevel
 //MainProfile();
 //Cover();
 //Jig();
 //MainProfile();
 //Cover();
 //Jig();
-render() CoverTest();
+//CoverTest();