You press the button and the tip comes out and stays out. You press again and it hides. The pen's memory is a part that turns one step on every click. It is the same problem the Push-push latch with a heart cam solves, but here the memory is a rotating cam rather than a heart-shaped track. The Parker Jotter, launched in 1954, was one of the pens that made this mechanism popular. Three dimensions decide whether it works: the over-travel, the angular play and the sliding clearance.

Four parts and a turn
Take apart a rotating-cam pen and you will find four parts:
- The barrel. Inside it has n lengthwise ribs and, between them, n channels. The lower end of each rib, the one facing the tip, finishes in a ramp with a notch.
- The rotating cam. A small cylinder with n lugs, and the top face of each lug is a ramp. It is the only part that turns.
- The plunger. Its lugs slide in the channels, so it moves up and down but cannot turn. Its lower end carries a crown of V-shaped teeth.
- The return spring. It surrounds the front section of the refill, between the refill's shoulder and a step inside the nose cone. It pushes the refill up, and with it the cam, which sits on top.
Around the axis, 2n stations alternate: notch, channel, notch, channel… When a cam lug sits in a notch, the cam is held low and the tip is out: the latched position. When it sits in a channel, the spring lifts the cam to the stop and the tip is in the retracted position. From one station to the next is Δ = 360°/(2n). Each click turns the cam one station, so a full cycle takes two clicks. With n = 4 ribs, Δ = 45°.

In the animation, one click goes like this:
- You press. The plunger drives the cam down until its lugs clear the bottom of the ribs. While a lug is between ribs it cannot turn, and the plunger's crown sits half a tooth out of phase with the cam's ramps. As soon as the lug is free, the cam turns three quarters of a station, riding up the flank of a tooth, until it seats at the root of the crown.
- You release. The spring lifts the cam. Its ramps bear on the ramp at the end of the rib and the cam turns the remaining quarter station. When it stops, the lug either drops into a notch (tip out) or enters a channel and rises to the stop (tip in). The next station is always the other kind, so the state alternates.
The click that extends the tip is long and the one that retracts it is short; try it on any pen. From the retracted position the plunger travels the whole stroke plus the over-travel. From the latched position, only the over-travel.
Why it turns: 45° ramps
Push axially on a face inclined at ψ to the axis and it only slides (and the cam only turns) if the force falls outside the friction cone. The condition is ψ < 90° − φ, with φ = atan μ. With μ = 0.3 the face locks up from 73° on. With μ = 0.5, the top of the typical range for dry printed plastic, from 63°; a rough first layer or stringing left on the ramps can push μ higher still. It is the same limit that decides whether a ball detent lets go.
| Ramp ψ (from the axis) | Rise per mm of arc | Lock-up at μ 0.3 (73°) | Lock-up at μ 0.5 (63°) |
|---|---|---|---|
| 30° | 1.73 mm | wide margin | wide margin |
| 45° | 1.00 mm | wide margin | 18° margin |
| 60° | 0.58 mm | 13° margin | 3° margin |
That is why the ramps are 45°. They leave plenty of margin against dry plastic friction (0.3–0.5), and at 45° the cam and plunger print without supports, ramps facing up, and the layer staircase comes out at the angle you designed. At 45° the cam also rises up the ramps exactly as far as it advances along the arc, and that rise sets the over-travel. A ramp closer to the axis (30°) turns with less force but needs more height for the same rotation. One closer to horizontal (60°) shortens the over-travel, but with dry PLA it sits 3° from lock-up. Pressure angle in general is covered in Cams and followers.
The other dimension that decides the click is the angular play. It is the sum of the tangential clearance of the cam lugs in their channels, that of the plunger lugs in theirs (the crown is located with that play) and the rounding the nozzle leaves on the tooth tips. The play decides where each tip lands. A tooth tip aims at the middle of a ramp that spans half a station, so it tolerates up to Δ/4 of error on each side before it lands on the crest; if it lands there, the click fails now and then or slips back. Since the play is shared between both sides, the rule is: total angular play, end to end, < Δ/4. That leaves Δ/8 per side and an equal margin for the rounding of the tips. How play adds up along a chain of parts is set out in Clearances for moving parts.
Worked example: a pen for a G2 refill
The example uses an ISO 12757-2 "G2" refill, the Parker-style format: Ø5.8 × 98 mm. Retailers agree on those dimensions, but the standard is paywalled, so measure yours. Careful: as of late 2026, the Pilot gel refills sold as "G2" are about 110 × 6 mm and are not the same format. A barrel designed for 98 mm will not take them.
The spring is steel, bought or pulled from an old pen. Measure the wire diameter, the outside diameter and the number of coils; Using bought steel springs explains how to get from there to the rate.
The dimensions below belong to this example; they do not copy any commercial pen. The number of ribs and the degrees per click vary from brand to brand.
| Feature | Dimension | Why |
|---|---|---|
| Ribs | n = 4, Δ = 45° | eight stations per turn |
| Tube, outside | Ø15 | 1.2 mm wall with its bore at Ø12.6 (0.10 per side over the sleeve) |
| Rib sleeve, outside | Ø12.4 | 1.2 mm wall over the channel floor |
| Sleeve bore (channel floor) | Ø10.0 | — |
| Rib tips | Ø7.0 | ribs 1.5 mm tall |
| Cam lugs | Ø9.6 | 0.20 per side against Ø10.0 |
| Cam core | Ø6.6 | 0.20 per side against Ø7.0 |
| Refill | Ø5.8 | ISO G2, Parker-style; measure yours |
The 0.20 mm is per side, so 0.40 mm on the diameter. That is a sliding-fit clearance on a modern bedslinger. On an enclosed CoreXY 0.15 per side is enough, and on a legacy bedslinger you will need 0.25–0.30. Your figure comes from Real printed clearances. Holes print small (Why holes print small): the clearance you draw only reaches the part if you compensate for that.
The ramps touch between radii 3.5 and 4.8 mm, so the mean radius is rₘ ≈ 4.15 mm. At that radius a station spans 4.15 × π/4 = 3.26 mm of arc, and half a station 1.63 mm. With a 45° ramp, that half station rises 1.63 mm.
The 0.20 per side in the table is radial; you set the tangential clearance separately, by drawing each lug's width as the channel's arc minus the clearance on both sides. Give 0.20 per side to the cam lugs and 0.20 to the plunger lugs and the play adds up to 0.80 mm: 0.80 / 4.15 = 0.193 rad ≈ 11.0°. The limit is Δ/4 = 11.25°: you are right on the limit, and as soon as the nozzle rounds the tips you start missing clicks. The plunger does not turn, so its lugs only need a locating fit of 0.10 per side. That gives 0.40 + 0.20 = 0.60 mm, or 0.60 / 4.15 ≈ 0.145 rad ≈ 8.3°. That clears the limit comfortably. If you need more, raise rₘ or reduce n: the margin in arc is rₘ·Δ/4 = π·rₘ/(4n), so fewer, larger teeth widen it.
The tip travels 4 mm: 2 mm out of the nose cone when latched and 2 mm inside when retracted. Both clicks end at the same bottom, and the long click sets it: the lug has to leave its channel and go down until its top corner passes below the rib's lowest corner, with margin. The over-travel is measured from the latched position. On each click the cam turns one whole station on 45° ramps, so it rises 3.26 mm up them (three quarters against the crown, one quarter against the rib); add the notch and the margin: over-travel ≥ 3.26 + 1.0 + 0.3 ≈ 4.6 mm. With those two dimensions the long click is 8.6 mm and the short one 4.6 mm. To shorten it you have to shorten the station along the arc (rₘ·Δ), with more ribs or a smaller radius, and that eats the angular-play margin. The notch is 1.0 mm deep, less than the ramp height, and its retaining wall is parallel to the axis. If the notch is deeper than the over-travel can clear, the lug can no longer climb out of it.
The plunger lugs must stay inside their channel for the whole long click: engagement length ≥ 8.6 mm + 1 mm of margin, about 10 mm, measured from the retracted position. If they leave the channel, the plunger turns with the cam.
| Position | Compression from retracted | Spring force (k ≈ 0.3 N/mm) |
|---|---|---|
| Retracted | 0 (preload) | 1.5 N |
| Latched | 4 mm | 2.7 N |
| Bottom of the click | 8.6 mm | 4.1 N |
The force to click is the spring's plus the friction on the ramps: about 4–5 N. To check it, stand the pen on a kitchen scale and press; it should read around 400–500 g. You can estimate your spring's rate with k = G·d⁴/(8·Dₘ³·N), with G = 81.5 GPa for steel. Mind the inputs: Dₘ is the mean diameter (outside diameter minus wire diameter) and N the active coils (total coils minus 2 if the ends are closed). Feed in the outside diameter and k comes out far below the real value. The rest is in Using bought steel springs.
Printing the parts
The cam and the plunger print with the axis vertical: that way the ramps are 45° upward-facing faces and need no support. The cam with its ramps up; the plunger upside down, crown up. Print them at 0.12 mm layers: the 1.63 mm ramp then has about 14 steps. At 0.20 mm it would have 8, and you feel them in the click. Printing the whole pen at 0.12 takes about two thirds longer; the variable layer height in current slicers lets you use 0.12 only across the band of ramps and crown. Choosing the layer height is covered in Layer height and line width.
The rib ends face the tip. If you print the barrel in one piece standing up, those ends become 45° downward overhangs. Make the ribbed section a short separate sleeve, print it upside down (ramps and notches facing up) and press or glue it into the tube. The clearance for that fit comes from Choosing the fit: clearance, transition, interference.
So that nothing drags on the sliding faces, put the seam away from ribs, lugs and ramps (Where the seam goes). Add a 0.5 × 45° chamfer to the bed edge of the cam and the plunger, so elephant's foot does not rub (The face on the bed).
The nose cone carries a thread printed with its axis vertical; profile and clearance are in Modeling threads. Only the front section of the refill passes through the exit hole, and it is thinner than the Ø5.8 body. Size the hole on that section's diameter, measured with callipers, plus the sliding clearance, compensated. That hole has to be smaller than the spring's inside diameter, or you must leave a step inside the nose cone for the spring to sit on; otherwise the spring slips into the hole and the tip wobbles.
PLA is fine for a prototype, but PLA ramps rubbing on PLA wear and round off. A drop of light grease or silicone oil brings μ down to 0.05–0.15 and greatly extends the mechanism's life; several published designs treat it as essential. For an everyday pen, print in PETG or PA. The reasons are in Which plastic for which mechanism and Friction and wear.
When it fails
| Symptom | Cause | Fix |
|---|---|---|
| The tip comes out and goes back in on release, never stays | The cam does not turn its three quarters of a station when pressed: the over-travel is short (the plunger's stop arrives first) or the teeth are rounded | Lengthen the over-travel by 0.5 mm or move the stop; sharpen the tips by printing at a fine layer height |
| It stays out and will not go back in | Notch too deep, or its retaining wall leans inwards; high friction | 1.0 mm notch with the wall parallel to the axis; grease |
| Sometimes it latches and sometimes not, or it needs a second click | Angular play close to Δ/4, from excess tangential clearance or rounded tips | Recalculate the play at rₘ, adding cam and plunger; 0.10 per side on the plunger; raise rₘ or reduce n |
| The cam rubs and does not turn freely | The real clearance is smaller than drawn: small hole, elephant's foot, stringing | Print a clearance coupon first; chamfer the bed edge |
| The plunger turns with the cam | Its lugs leave the channel during the click, or the channel is too loose | Engagement ≥ 10 mm from the retracted position; 0.10 per side in the channel |
| The click goes soft or stops being felt after a few hundred clicks | Dry PLA ramps wear | Grease, PETG or PA, 45° ramps and no closer to horizontal |
| The tip wobbles when you write | The refill is guided only in the nose cone, or its hole is too large | A second guide in the barrel with sliding clearance over Ø5.8; nose-cone hole sized on the measured front section |
How to test it
Do not print the whole pen first time. Make a 20 mm long test piece with the rib sleeve, a short cam and a short plunger. Fit the spring over a Ø5.8 rod and check the cycle. If you are unsure of the clearance, start with the coupon described in Test coupons.
Then run a cycle test. Click 200 times and count every time the tip fails to latch. A single miss tells you the angular play is at its limit. Then click 1,000 more times with grease. At the end of each batch, measure with callipers how far the tip protrudes: if the reading drops, the notch is wearing. Also measure the click force on the scale, with the pen new and again after 1,000 clicks. Build the cycle rig as in Testing a mechanism before you trust it.
See also
- Push-push latch with a heart cam: the same two-state memory, solved with a track instead of a rotating cam.
- Barrel-cam indexers: a cam that advances a fixed step every cycle, at machine scale.
- Using bought steel springs: how to get from a spring's dimensions to its rate.
- Ratchet and pawl: motion in one direction only.
