Commit graph

279 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
Chow Loong Jin 8b0a49d467
Merge pull request #73 from crteensy/master
add bearing model 6808
2020-03-29 23:10:24 +08:00
Chow Loong Jin e2fa115889
Merge pull request #71 from Illusion65/cleanup 2020-03-29 23:09:26 +08:00
Doug Hawkins bfa9799a17 Update Cubic_Array() to remove 'center' from children(), remove extra indent tabs, and shorten for loop. 2020-03-28 23:13:00 -06:00
crteensy 44667c59fd add bearing model 6808 2020-03-28 20:36:57 +01:00
Doug Hawkins 488b1ee54e Simplify Cubic_Array() in array.scad by parameterizing 'center'. 2020-03-26 14:04:49 -06:00
Doug ea5f62b3f5
Update array.scad to use children() instead of children([0-$children-1])
Co-Authored-By: Chow Loong Jin <hyperair@debian.org>
2020-03-26 13:15:33 -06:00
Doug 210fb5cbbd
Update array.scad
Co-Authored-By: Chow Loong Jin <hyperair@debian.org>
2020-03-26 13:09:50 -06:00
Rodrigo Rivas Costa f6f4fd5d8d Add rack() module to involute_gears. 2020-03-26 11:47:29 +01:00
Doug Hawkins 9ee6a3897f Changed internal references for reg_polygon() to regular_polygon() & confirmed no other refs in MCAD files. 2020-03-25 21:58:38 -06:00
Doug Hawkins ca485087cd Fix deprecated assign() and refactor test_polyholes() module. 2020-03-25 21:45:31 -06:00
Doug Hawkins 60aa3794d2 Fixed module typo: linear_exturde_flat_option() 2020-03-25 21:35:15 -06:00
Doug Hawkins 87cf713d25 Cleaned up and documented modules, so they all work as I think they should. Also made modules work on all childen, rather than only the first. Check spin() particulary, as I changed it the most. 2020-03-25 21:19:37 -06:00
Doug Hawkins 87d5815003 Update libraries to fix deprecated child() & assign() calls. 2020-03-25 21:19:37 -06:00
Doug Hawkins ad7fbd6809 Updated to remove deprecated child() in array.scad; readability; fixed error in test code: no $center parm for sphere(). 2020-03-25 20:33:58 -06:00
Doug Hawkins 2bd10b4206 Updated to remove deprecated child() & assign(). Did not fully test module fromTo (didn't take time to fully understand), but no load/run errors. 2020-03-25 17:24:18 -06:00
Doug Hawkins df6741eae6 Updated to remove deprecated child(). Also altered local_scale() in transformations.scad to operate on all children. 2020-03-25 17:05:04 -06:00
Doug Hawkins 71837805b3 Fixed deprecated child() reference. Also altered helix() in screw.scad to use all children, not just the first child. 2020-03-25 17:01:12 -06:00
Chow Loong Jin b21ef47a55
Merge pull request #62 from RyanBalfanz/patch-5
Use children() instead of child()
2019-08-17 14:57:57 +08:00
Ryan Balfanz 6512d6f92b
Use children() instead of child()
> DEPRECATED: child() will be removed in future releases. Use children() instead.
2019-08-15 13:41:13 -07:00
Chow Loong Jin 5a773f96cb
Merge pull request #48 from MichaelPFrey/master
fixed typo in README.markdown
2019-07-23 23:24:27 +08:00
Chow Loong Jin 837d5c7f52 Merge remote-tracking branch 'origin/pr/11' 2019-07-23 22:55:02 +08:00
Chow Loong Jin 41c9bc8c8c Fix up thickness of stepper motor round extrusion 2019-07-23 22:54:02 +08:00
Chow Loong Jin b73db09ee5 Ensure that no 3d objects show up in gear(..., flat=true) 2019-07-23 22:36:02 +08:00
Chow Loong Jin 8db030f4ca Merge remote-tracking branch 'origin/pr/10' 2019-07-23 22:30:33 +08:00
Chow Loong Jin 7a0e555029 Merge remote-tracking branch 'origin/pr/20' 2019-07-23 22:28:19 +08:00
Chow Loong Jin 22194aa222 Merge remote-tracking branch 'origin/pr/8' 2019-07-23 22:14:32 +08:00
Chow Loong Jin 770fc39e45 Merge remote-tracking branch 'origin/pr/7' 2019-07-23 22:10:34 +08:00
Chow Loong Jin 2bb9d6b63a Re-add COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS variable
Re-add COURSE_METRIC_BOLT_MAJOR_THREAD_DIAMETERS as a copy of
COARSE_THREAD_METRIC_BOLT_MAJOR_DIAMETERS to maintain compatibility with old
designs that used the data from the variable with the wrong name.
2019-07-23 21:57:56 +08:00
Chow Loong Jin 4a71170f4b Merge bubbapizza/master into master (#6) 2019-07-23 21:55:29 +08:00
Chow Loong Jin 889200a79c Merge ArthurGibbs/fixShapes into master (#5) 2019-07-23 21:41:55 +08:00
Chow Loong Jin f0ba386837
Merge pull request #42 from rockstorm101/extend-hexagon
regular_shapes: Extend hexagon module
2019-06-14 01:03:19 +08:00
Chow Loong Jin 2a2dcf9cb6
Merge pull request #47 from dvanderfaeillie/patch-1
Fixed spelling of height
2019-06-14 00:57:21 +08:00
Chow Loong Jin a7be3d6236
Merge pull request #53 from RyanBalfanz/patch-4
Fix misspelled local variable in egg() module
2019-04-04 15:23:51 +08:00
Chow Loong Jin 618991ad25
Merge pull request #52 from RyanBalfanz/patch-3
Fix typo in comment
2019-04-04 15:23:32 +08:00
Ryan Balfanz 37c55b67b5
Fix misspelled local variable in egg() module 2019-04-03 21:13:36 -07:00
Ryan Balfanz 70ec2ce406
Fix typo in comment 2019-04-03 21:12:39 -07:00
Michael Frey 9200f3a583
fixed typo in README.markdown 2019-01-06 11:30:12 +01:00
dvanderfaeillie 5ed966f4e3
Fixed spelling of height
Changed `Hight` to `Height`
2019-01-04 17:08:54 +01:00
Chow Loong Jin 5246f78d34
Merge pull request #46 from MichaelPFrey/master
circle does not have a center parameter
2018-12-21 12:48:25 +08:00
Michael Frey 1532fb1032
circle does not have a center parameter 2018-12-20 22:46:06 +01:00
Rock Storm 0b34bf6834 regular_shapes: Simplify hexagon modules
- Alleviate the hexagon_prism module by letting 'hexagon' do the
selection between the inputs.

 - Aggregate input selection to avoid overwriting other inputs.
2018-10-18 18:55:32 +01:00
Chow Loong Jin 2989901425
Merge pull request #41 from rockstorm101/deprecate-shapes
shapes: Add deprecation warning
2018-10-08 12:26:56 +08:00
Rock Storm 852e53bef5 shapes: Make deprecation module name less generic 2018-10-07 17:42:44 +01:00
Chow Loong Jin 842f6bcb29
Merge pull request #44 from rockstorm101/standardize
regular_shapes: rename reg_polygon
2018-10-05 11:34:20 +08:00
Rock Storm b7ee9ac16f shapes: use 'DEPRECATED' instead of 'WARNING' 2018-10-04 19:04:09 +01:00
Rock Storm 5ae3d5d549 regular_shapes: rename reg_polygon
Rename 'reg_polygon' to 'regular_polygon' to be consistent with the rest
of OpenSCAD function names.
2018-10-04 18:55:54 +01:00
Chow Loong Jin cd134456c1
Merge pull request #43 from rockstorm101/fix-reg-polygon
regular_shapes: Avoid the circle trick
2018-10-03 12:25:40 +08:00
Rock Storm 2e4d6b4037 regular_shapes: Avoid the circle trick
As is stated in the very own manual of OpenSCAD [1], generating polygons
using the circle function is a trick that should be avoided.

 [1]
https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/2D_Primitives#regular_polygon
2018-10-02 18:46:04 +01:00
Rock Storm 23dc11bc5f regular_shapes: Extend hexagon module
Allow the hexagon to be defined by the distance between sides,
which is also the diameter of the inscribed circle.
2018-09-30 19:49:08 +01:00