Commit graph

316 commits

Author SHA1 Message Date
Tom Whitwell 2e11114708 Fix issues in profiles.scad
* profile_tslot_generic was missing parameter 'core'
* `circle` does not have a parameter 'center'
2021-10-23 23:50:47 +01:00
Chow Loong Jin 9d88138aed
Merge pull request #91 from skeptonomicon/master
fixed rack, fixed test_gears, and added spoked gears
2021-07-24 12:41:01 +08:00
skeptonomicon 6f0ca2a57e enabled circles and spokes on same gear, added option for entered hub and centered gear body, fixed additional test cases, improved test_gears to check more features 2021-07-20 22:48:37 -04:00
skeptonomicon 28fbdac168 fixed rack, fixed test_gears, and added spoked gears 2021-07-19 08:48:24 -04:00
Hans Loeblich 4b4caeb5da
Merge pull request #88 from sm108x/fix-list-issues
Fix issues with len() giving errors
2021-06-13 15:24:15 -05:00
Chow Loong Jin 7a9942cf85
Merge pull request #89 from kshepherd2013/add-extra-bearings
Added extra bearing definitions
2021-06-05 22:32:32 +08:00
kshepherd2013 c32a63c914 Added extra bearing definitions 2021-06-05 13:07:57 +01:00
Steve Martina b88fc567ba Fix issues with len() giving errors 2021-06-04 15:15:07 +02:00
Chow Loong Jin bd761409f7
Merge pull request #86 from dimo414/master
Swap deprecated assign() calls for let()
2021-05-16 15:19:08 +08:00
Michael Diamond f957022442 Swap deprecated assign() calls for let(); https://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Conditional_and_Iterator_Functions#Assign_Statement 2021-05-15 12:00:11 -07:00
Chow Loong Jin a700b7e8cb
Merge pull request #85 from allaboutmikey/allaboutmikey-patch-1
Update bearing.scad to add centering.
2021-04-23 13:39:48 +08:00
allaboutmikey 049ed8b577
Update bearing.scad to add centering.
Added center parameter like built in objects have. Set it to false by default so that existing code will run unaffected.
2021-04-22 17:13:56 +10:00
Dyana Wu 1ea402208c Clean up 2Dshapes whitespace and typos 2020-10-09 12:56:06 +08:00
Dyana Wu 3557ecb1ac Merge PR #35 2020-10-09 12:53:00 +08:00
Dyana Wu 9156d95f48 Merge PR #29 from gizmoplex/master into master 2020-10-09 12:51:27 +08:00
Dyana Wu b29ff393e9 Merge PR #18 from 'AlbanetcSr/master' into master 2020-10-09 11:49:06 +08:00
Dyana Wu 07f4e22a25 Merge PR #66 from 'thehans/master' into master 2020-10-09 11:47:43 +08:00
Dyana Wu 59d97520c7 Merge PR #74 from 'olivier-boesch/master' into master 2020-10-09 11:46:01 +08:00
Olivier Boesch 117a3e79bd
Added TowerPro SG90 Servo
features:
* screws
* cables output
* axle
2020-09-09 21:43:30 +02:00
Chow Loong Jin 830ce58e41 Merge pull request #70 from lordofhyphens/polyhole-centering
@nophead 's polyhole function could use a little more love and attention to make
it act a little more like cylinder.

This PR adds the center and r parameters, defaulting them to existing behavior
if they aren't specified.
2020-03-29 23:23:34 +08:00
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
Joseph Lenox bf2d04c279 Preserve original argument ordering 2020-01-04 21:48:38 -06:00
Joseph Lenox f70e19e206 Also accept radius or diameter for our polyholes. 2020-01-04 21:46:08 -06:00
Joseph Lenox 4d67b1a725 Support center attribute so that polyhole behaves a bit more like cylinder() 2020-01-04 21:37:38 -06:00
Hans Loeblich e08302349e More efficient and flexible implementation for roundedBox/roundedCube. 2019-11-10 18:37:57 -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