smooth out the cylinders
authordaniel watson <ozzloy@gmail.com>
Wed, 30 Oct 2013 18:06:01 +0000 (11:06 -0700)
committerdaniel watson <ozzloy@gmail.com>
Wed, 30 Oct 2013 18:06:01 +0000 (11:06 -0700)
caster-standoff.scad

index 32b301b98fd14446283b6adbe82de8e308bbbffe..47fb8102db382ac02ba53039d80532fc1b8918fd 100644 (file)
@@ -23,7 +23,7 @@ deck_flange_radius = deck_grid_width * 1.22;
 
 module deck_flange(){
   difference(){
 
 module deck_flange(){
   difference(){
-    cylinder(h = deck_flange_height, r = deck_flange_radius);
+    cylinder(h = deck_flange_height, r = deck_flange_radius, $fn = 50);
     for(ii = [-1, 1]){
       translate([deck_grid_width * ii, 0, -.1])
         cylinder(h = deck_flange_height * 1.1,
     for(ii = [-1, 1]){
       translate([deck_grid_width * ii, 0, -.1])
         cylinder(h = deck_flange_height * 1.1,
@@ -60,11 +60,11 @@ module caster_flange_screws(){
 module caster_flange(){
   side_radius = caster_flange_width / 2 - standoff_radius;
   hull(){
 module caster_flange(){
   side_radius = caster_flange_width / 2 - standoff_radius;
   hull(){
-    cylinder(h = caster_flange_height, r = standoff_radius);
+    cylinder(h = caster_flange_height, r = standoff_radius, $fn = 100);
     translate([standoff_radius, 0, 0])
     translate([standoff_radius, 0, 0])
-      cylinder(h = caster_flange_height, r = side_radius);
+      cylinder(h = caster_flange_height, r = side_radius, $fn = 40);
     translate([-standoff_radius, 0, 0])
     translate([-standoff_radius, 0, 0])
-      cylinder(h = caster_flange_height, r = side_radius);}}
+      cylinder(h = caster_flange_height, r = side_radius, $fn = 40);}}
 
 module nut(size, height){
     width = size/1.75;
 
 module nut(size, height){
     width = size/1.75;
@@ -82,7 +82,7 @@ module _2_screw (){
   thread_radius = 2.17 / 2 - 0.1; // subtract 0.1 to make squeeze fit
   head_height = 1.8;
   head_radius = 4.1 / 2;
   thread_radius = 2.17 / 2 - 0.1; // subtract 0.1 to make squeeze fit
   head_height = 1.8;
   head_radius = 4.1 / 2;
-  cylinder(r = thread_radius, h = screw_height, $fn = 20);
+  cylinder(r = thread_radius, h = screw_length, $fn = 20);
   cylinder(r = head_radius, h = head_height, $fn = 20);}
 
 module caster_standoff_deck_side(){
   cylinder(r = head_radius, h = head_height, $fn = 20);}
 
 module caster_standoff_deck_side(){