Expand description
Gear sections and gear solids.
An involute gear is built the way it is cut: its section is the envelope of a
rack cutter rolled round the pitch circle. A rack point q with outward normal
n touches the gear when its normal passes through the pitch point; with the
gear’s tooth 0 centred on +x, the rack’s rolling line on x = r and the rack
displaced by s along +y, that is
s = (q.x - r) n.y / n.x - q.y, gear point = Rot(-s / r) (q.x, q.y + s).The cutter’s straight flank generates the involute; its tip fillet (radius
rho) generates the root fillet, the equidistant of the trochoid traced by
the fillet’s centre, and so the real undercut when the tooth count is small.
Neither curve is rational: each is fitted by a cubic B-spline (C1 Hermite
spans, refined until every span is within the fit bound of the closed form at
its sample parameters), while the tip and root lands are exact circular arcs.
Structs§
- Cycloidal
Disc - A cycloidal-drive disc:
pinshousing pins of diameterpin_diameteron a circle ofpin_circle_diameter, the disc running ateccentricity; the disc has pins − 1 lobes. Its profile is the equidistant (by the pin radius plus half the clearance) of the epitrochoid the pin centres trace relative to it. - Cycloidal
Gear - A cycloidal (clock-style) gear: teeth whose addenda are epicycloids rolled
by a circle of
generating_radiuson the pitch circle and whose dedenda are radial lines (the hypocycloid of a circle of half the mate’s pitch radius). - Gear
Data - Derived data of a generated gear (diameters in model units).
- Gear
Section - A closed gear section in the z = 0 plane, counter-clockwise about +z.
- Geneva
Wheel - An external Geneva wheel of
slotsslots for a driver atcentre_distancewhose pin ofpin_diameterruns on the crank radius a sin(pi / n); the wheel’s radius is a cos(pi / n) (the pin enters the slot tangentially). The rim between slots is cut by the concave locking arc of radiuslock_radius + clearance / 2about the driver’s centre. - Helical
Gear - A helical (or, with
herringbone, double helical) external gear given by its normal-section values;spurcarries them (module = normal module, pressure angle = normal pressure angle, coefficients × normal module). - Rack
- A straight-toothed rack: the basic rack profile of
teethteeth along +x from x = 0, the pitch line on y = 0, teeth pointing +y, extruded along +z. Each end stops in the middle of a tooth space. - Ratchet
- A ratchet wheel:
teethteeth onoutsidediameter,depthdeep. A saw tooth has a locking face (leaningleanback from radial, so a pawl is drawn in under load) and a straight back; a symmetric tooth leans both faces equally (for a reversible pawl). Teeth lock against counter-clockwise turning whenclockwise_locksis false. - Ring
Gear - An internal (ring) gear: involute tooth spaces cut into the inside of a ring. Lengths in model units, angles in radians, coefficients × module.
- Section
Curve - One curve of a gear section with the face role it gives the solid.
- Sprocket
- A roller-chain sprocket (ISO 606 tooth form; ANSI chains are its A series).
- Spur
Gear - An external spur gear generated by a standard rack cutter. Lengths in model units, angles in radians; coefficients are multiples of the module.
- Straight
Spline - A straight-sided spline (ISO 14 form:
teethkeys of widthkey_widthbetween the minor diameterminorand the major diametermajor). - Timing
Pulley - A timing-belt pulley with straight-sided grooves (ISO 5294 Table 2 form; the metric trapezoidal profiles the same way): every curve a line or an arc.
- Worm
- A cylindrical worm with an Archimedean (ZA) thread: straight flanks in the axial section at the axial pressure angle. Lengths in model units.
Enums§
- Hand
- Hand of a helical gear’s teeth.
- Sprocket
Form - Which ISO 606 tooth form a sprocket is cut to.
- Twist
- The turn of a twisted prism’s section along its height:
theta(t)att = z / widthin [0, 1], with an optional crease att = 1/2(a herringbone’s apex).
Constants§
- GEAR_
FIT_ TOLERANCE - The fit bound of every fitted gear curve, as a fraction of the module: the largest distance, at the span sample parameters, between a fitted curve and its closed form.
Functions§
- cycloidal_
disc_ section - The disc’s section, counter-clockwise: one fitted piece per lobe,
LB<k>. - cycloidal_
disc_ solid - A cycloidal disc solid: the section extruded along +z; names
LB<k>,F,B. - cycloidal_
gear_ section - The cycloidal gear’s section, counter-clockwise. Per tooth k:
R<k>/L<k>the radial dedendum flanks,ER<k>/EL<k>the epicycloidal addenda,K<k>the tip land (absent when pointed),G<k>the root land. - cycloidal_
gear_ solid - A cycloidal gear solid; names as the section’s roles, then
FandB. - cycloidal_
pin_ ring - The pin ring of a cycloidal drive: a ring of
outsidediameter whose bore is the pin circle, withpinspins ofpin_diametercentred on it (half standing into the bore). Exact arcs. Faces:P<k>the pins’ exposed halves,G<k>the bore between pins,OD,F,B. - extrude_
section - Extrude a counter-clockwise gear section along +z.
- geneva_
section - The Geneva wheel section, counter-clockwise; lines and arcs. Slot k on
angle 2 pi k / n. Roles:
SL<k>/SU<k>its sides,SE<k>its end arc,RA<k>/RB<k>the rim arcs either side of the locking arcLA<k>that follows slot k. - geneva_
sizes - Derived Geneva sizes: (crank radius, wheel radius, slot inner centre radius, locking disc radius).
- geneva_
solid - A Geneva wheel solid: the section extruded along +z; names as the
section’s roles, then
FandB. - helical_
solid - A helical or herringbone gear solid; names as
spur_solid. - helical_
transverse - The transverse spur gear a helical gear’s every section is (turned).
- hub_
from_ section - Cut a counter-clockwise section through a cylinder of
outsidediameter andlength: a hub. The section’s faces keep their role names, the cylinder’s areOD,FandB(all inface.name). - rack_
section - The section of a straight rack (exact: lines and arcs), counter-clockwise.
Roles:
G<k>the root land before tooth k (G<teeth>the last one),W<k>/V<k>the root fillets left/right of tooth k,L<k>/R<k>its left (low x) and right flanks,K<k>its tip,BASEthe back face,E0andE1the ends at x = 0 and x = length. - rack_
solid - A rack solid: the section extruded along +z by the face width; names as
rack_section, thenF(z = 0) andB(z = width). - ratchet_
section - The ratchet section, counter-clockwise; straight lines only. Roles per
tooth k (tip k on angle 2 pi k / z):
LK<k>the locking face below its tip,BK<k>the back running up to it. - ratchet_
solid - A ratchet solid: the section extruded along +z; names as the section’s roles, then
FandB. - ring_
section - The inner (toothed) loop of a ring gear, counter-clockwise about +z, and its data.
Roles per tooth space k:
R<k>flank on its clockwise side,V<k>its fillet,G<k>the root land,W<k>,L<k>, thenK<k>the tip land of the ring tooth after the space. - ring_
solid - A ring gear solid: a cylinder of radius root + rim with the toothed loop
cut through it. Its faces carry their role names (
R3,K0, …,ODthe outside,Fat z = 0,Bat z = width) inface.name. - ring_
solid_ helical - A helical (or double helical) ring gear:
gearin the normal section, its transverse section screwed through the blank. Names asring_solid. - sprocket_
section - The section of a roller-chain sprocket, counter-clockwise; every curve is a
circular arc. Tooth k is centred on angle 2 pi k / z (tooth 0 on +x); gap k
follows it. Roles:
A<k>the flank into gap k,S<k>its roller seating,C<k>the flank out of it,K<k>the tip land of the tooth after gap k (absent when the flanks meet below the tip circle). - sprocket_
solid - A sprocket solid: the section extruded along +z by the width; names as
sprocket_section, thenFandB. - spur_
section - The section of an external spur gear, generated by its rack cutter.
- spur_
solid - A spur gear solid: the section extruded along +z by the face width. The face
names (suffixes, in the solid’s face order) are the section curves’ roles,
then
F(the z = 0 face) andB(the z = width face). - straight_
spline_ hub - A spline hub: the shaft’s section (nominal size) cut through a cylinder.
- straight_
spline_ section - The section of a straight-sided spline shaft, counter-clockwise; exact
lines and arcs. Key k is centred on angle 2 pi k / N. Roles:
R<k>/L<k>its flanks,K<k>its top on the major circle,G<k>the root land after it. - straight_
spline_ shaft - A spline shaft: the section extruded along +z by the length; names as the
section’s roles, then
FandB. - timing_
pulley_ section - The pulley section, counter-clockwise. Groove k is centred on angle
2 pi (k + 1/2) / z (tooth k on angle 2 pi k / z). Roles per groove k, in
order:
Q<k>the top corner arc into it,A<k>its first side,U<k>the bottom corner arc,S<k>the bottom,D<k>the other bottom corner arc,C<k>the other side,P<k>the top corner arc out of it,K<k>the land of the next tooth on the outside diameter. - timing_
pulley_ solid - A pulley solid: the section extruded along +z by the width; names as the
section’s roles, then
FandB. - twisted_
prism - A counter-clockwise section (z = 0) carried up to z = width while turning
by
twist: side faces in section order, then the face at z = 0, then the face at z = width (exactly the section turned by the end angle). - worm_
section - The worm’s transverse section (z = 0), counter-clockwise: per start j (its
thread centred on angle 2 pi j / n)
R<j>the flank on its clockwise side,K<j>the thread’s tip,L<j>the other flank,G<j>the root after it. The flanks are Archimedean spirals (fitted), tip and root exact arcs. - worm_
solid - A worm solid: the transverse section screwed along +z by the length (one
lead per turn); names as the section’s roles, then
FandB.