Commit graph

12 commits

Author SHA1 Message Date
Chow Loong Jin 9fd97fa52d Merge pull request #72 from rodrigorc/master
This PR adds a rack() module to the involute_gears() module. It is basically a
section of the rim of a gear of infinite teeth.

It has a subset or the gear() arguments:

 - number_of_teeth: will affect the length of the rack.
   circular_pitch or diametral_pitch: must match that of the gear.
 - pressure_angle: must match that of the gear.
 - rim_thickness: there is no disk or hub so this is the only thickness.
 - rim_width: width of the flat ribbon behind the teeth.
 - clearance
 - flat

The other ones do not make much sense for a rack.

A rack and a gear will match if they have the same pitch and pressure angle. The
origin point or a rack is set to the middle point of the "pitch line", so to
align it with a gear, just move it to the pitch circle of the gear.

I've added a small rack to the test_gears() module, but feel free to change of
remove it if it is not appropriate.
2020-03-29 23:18:54 +08:00
Rodrigo Rivas Costa f6f4fd5d8d Add rack() module to involute_gears. 2020-03-26 11:47:29 +01:00
Doug Hawkins 60aa3794d2 Fixed module typo: linear_exturde_flat_option() 2020-03-25 21:35:15 -06:00
Doug Hawkins 87d5815003 Update libraries to fix deprecated child() & assign() calls. 2020-03-25 21:19:37 -06:00
Chow Loong Jin b73db09ee5 Ensure that no 3d objects show up in gear(..., flat=true) 2019-07-23 22:36:02 +08:00
Marius Kintel f32906ae90 Fixed orientation issue 2011-12-30 14:29:04 +01:00
Timothy Schmidt 9c1d8c4ce8 Randome bits of syntax that openscad doesn't treat as errors 2011-01-21 03:40:36 -05:00
Elmom b0ea4d7369 fixed tests 2010-10-06 15:51:19 +03:00
Elmo 823f5074df Corrections spotted by tests 2010-08-23 15:51:25 +03:00
Elmom fcf6ba699b incorporated 2D export to involute_gears, by Amp 2010-08-15 12:58:20 +03:00
Elmom d9078fcc76 Added testing infra using py.test. Catches parse errors already, but stl compiling tests fail 2010-07-26 21:03:44 +03:00
Elmom 6dffc908fd Added involute_gears.scad from http://www.thingiverse.com/thing:3575 2010-07-25 18:08:15 +03:00