Merge pull request #31 from capveg/master

Fixed rotation on demo helical gear
This commit is contained in:
Chow Loong Jin 2018-02-23 03:13:55 +08:00 committed by GitHub
commit 0e57f5500a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
}