Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add internal option for gear() #21

Open
wants to merge 177 commits into
base: master
Choose a base branch
from
Open

Add internal option for gear() #21

wants to merge 177 commits into from

Conversation

hyperair
Copy link

This option allows for the generation of internal spur gears. Internal mode
adapts the meanings of several options for use on internal gears:

  • backlash is negated for larger teeth, as we're subtracting the gear from a
    cylinder.
  • clearance is added to the addendum instead of dedendum, which
    pushes out the outer circle instead of pushing in the root circle.
  • rim_width is added to outer_radius in order to get the containing cylinder's
    radius.
  • flat renders the gear shape in 2d, ready for extrusion and subtraction.

diara628 and others added 30 commits August 28, 2010 10:07
… openscad.. hopefully openscad will fix this some day so we can have sliders again?
Minor changes to testing framework (by kintel)
Added 3d_triangle module
hyperair added 30 commits July 24, 2014 11:01
This reduces the amount of code required for drawing the screw, and speeds up
rendering by quite a fair bit, since all our manual faceting happens in 2D.
trapezoidal_thread isn't called directly in most cases, and $fn doesn't seem to
be passed properly from the higher level _thread modules, so use a max (30, ...)
when calculating the number of facets to generate instead.
… 180/PI mm

This lets us specify circular pitch in a much more sane manner when generating
gears, while preserving backward compatibility.
This reverts commit 16128b6.

The commit wrongly used the AC width as the distance between flats instead of
the diameter of a cylinder, resulting in overly huge nut holes.
This simplifies the calculation of the distance between gears.
Thanks to MichaelAtoZ for pointing this out.
If we're calculating gear spacing, there's no need to consider different
circular pitches -- gaers of different circular pitch won't mesh.
This allows stepper.scad to be loaded via use <> instead of include <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.