Prechádzať zdrojové kódy

small changes to the windscreen design

Fernando Pablo Lopez-Lezcano 9 rokov pred
rodič
commit
90a3a08f9a
1 zmenil súbory, kde vykonal 6 pridanie a 6 odobranie
  1. 6 6
      SpHEAR_windscreen.scad

+ 6 - 6
SpHEAR_windscreen.scad

@@ -73,10 +73,10 @@ module sphear_windscreen_inset_frame(sides, height, radius, iradius, beam_radius
             render() {
                 hull() {
                     translate([iradius, 0, 0]) {
-                        scale([xscale, yscale, 1.0]) cylinder(r = beam_radius, h = thin_mint, $fn = facets);
+                        scale([xscale, yscale, 1.0]) cylinder(r = beam_radius, h = thin_mint, $fn = facets / 2);
                     }
                     rotate([0, 0, inc/2 * t]) translate([radius, 0, height]) {
-                        cylinder(r = beam_radius, h = thin_mint, $fn = facets);
+                        cylinder(r = beam_radius, h = thin_mint, $fn = facets / 2);
                     }
                 }
             }
@@ -183,17 +183,17 @@ module sphear_windscreen_round_mount(height, radius, wradius, wall) {
 
 module sphear_windscreen_thread_cover(height, radius, wall) {
     difference() {
-        cylinder(r = radius + wall, h = height, $fn = facets);
+        cylinder(r = radius + 2 * wall, h = height, $fn = facets);
         metric_thread(diameter = radius * 2 + windscreen_thread_fit, pitch = windscreen_thread_pitch,
-                length = height, angle = windscreen_thread_angle, internal = true);
+                length = height + thin_mint, angle = windscreen_thread_angle, internal = true);
     }
     // smooth transition to flare
     *translate([0, 0, height/2]) {
         difference() {
             translate([0, 0, height/2]) {
-                cylinder(r2 = radius - windscreen_thread_depth/2, r1 = radius + wall, h = height/3, $fn = facets);
+                cylinder(r2 = radius - windscreen_thread_depth/2, r1 = radius + 2 * wall, h = height/3, $fn = facets);
             }
-            cylinder(r2 = radius - windscreen_thread_depth, r1 = radius, h = height, $fn = facets);
+            cylinder(r2 = radius - windscreen_thread_depth, r1 = radius + wall, h = height, $fn = facets);
         }
     }
 }