Commit graph

15 commits

Author SHA1 Message Date
gizmoplex 2a126e526a In the gear module, set rim_thickness, rim_width, hub_thickness, hub_diameter, and bore_diameter default values to undef and
then added code to calculate default values based on a percentage of the root circle radius.  This helps generate a valid
gear when the only parameter specified is the pitch (diametral or circular).
2015-12-05 18:57:18 -05:00
gizmoplex 2d1a97c307 In gear module, change default for clearance to 'undef'. 2015-12-05 17:57:25 -05:00
gizmoplex 6474be3183 Change gear module to use 'undef' as default value for circular_pitch and diametral_pitch parameters. This seems to make
more sense than using 'false'.
2015-12-05 17:53:29 -05:00
gizmoplex 526aa67e1c Renamed linear_exturde_flat_option module to linear_extrude_flat_option (corrected spelling of 'extrude'). 2015-12-05 17:21:31 -05:00
gizmoplex 68bde2d7d7 Updated gear module to calculate the default clearance as .25/diametral_pitch (.25 * circular_pitch / PI). 2015-12-05 14:09:32 -05:00
gizmoplex f918e6d8c4 Updated linear_extrude_flat_option to used children() instead of the depracated child() module. 2015-12-05 13:45:14 -05:00
gizmoplex a5fb4d884b Updated gear module to correct calculations for circular_pitch and diametral_pitch. 2015-12-05 13:41:25 -05:00
gizmoplex 73909f3a0f Updated gear module to correctly display error message when neither circular_pitch or diametral_pitch parameters are
specified.  Previous method of testing for false value did not work because circular_pitch is reassigned and becomes undef
when diametral_pitch is false.
2015-12-05 13:30:33 -05: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