Grip · Test cube 9
Knurling
Tiny diamond pyramids, like the grip on a metal tool handle.
I never let go of the plate. These never let go of your hand.
- Over 1.5 mm deep, the steep sides start to overhang.
25 mm, with your size and depth. Prints upright, no supports. About 4 MB.
- Depth as written1.6 mm
- Narrowest partabout 2.2 mm
- Smallest size, 0.4 mm nozzle× 0.55
Good for
Knobs, handles, lids you twist, tool grips.
Print notes
- Depth 0.4 to 1.5 mm for a 0.4 mm nozzle (as written: 1.6 mm).
- Best on walls, printed upright. On a flat top, use thin layers (0.12 mm or less).
- Fade it out over the bottom 3 mm so the first layers are flat and stick to the plate.
- Not printed yet: these notes come from the geometry. The test cube will tell us more.
The formula
The real code this page runs: give it a point (U mm across, V mm up) and it returns the height there, in mm. Push the surface out by that much and the texture is real geometry.
function knurling(U: number, V: number, p = 3.2, amp = 0.8) {
const a = (U + V) / p;
const b = (U - V) / p;
return (
amp * Math.min(1 - 2 * Math.abs(a - Math.floor(a) - 0.5), 1 - 2 * Math.abs(b - Math.floor(b) - 0.5)) * 2
);
}Printed
Test cube 9 is waiting for the printer. Its photo goes here.