From 455bbbcba77d05791eebae3255ce731b6cdb0397 Mon Sep 17 00:00:00 2001 From: Rob Sherwood Date: Tue, 4 Jul 2017 17:25:36 -0700 Subject: [PATCH] Fixed rotation on demo helical gear --- gears.scad | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gears.scad b/gears.scad index 2bc5e02..9e4e657 100644 --- a/gears.scad +++ b/gears.scad @@ -153,12 +153,13 @@ module test_gears() module demo_3d_gears() { //double helical gear - // (helics don't line up perfectly - for display purposes only ;) translate([50,0]) { linear_extrude(height = 10, center = true, convexity = 10, twist = -45) gear(number_of_teeth=17,diametral_pitch=1); - translate([0,0,10]) linear_extrude(height = 10, center = true, convexity = 10, twist = 45) + translate([0,0,10]) + rotate([0,180,180/17]) + linear_extrude(height = 10, center = true, convexity = 10, twist = 45) gear(number_of_teeth=17,diametral_pitch=1); }