Tramming is the adjustment of two planes or axis so that they are parallel or orthogonal (perpendicular) to each other. It is important in machine tools to ensure smooth processing of the workpiece.
Sometimes tramming is erroneously referred to as "bed leveling ", which means adjusting something orthogonally to a gravitational field. This is a misnomer, since tramming, however, is only about the internal geometry of a machine. That is, none of the surfaces in the machine need be horizontal or vertical according to the gravitational field as long as they are parallel or orthogonal to each other. Confusing the two can produce undesirable results. [1]
In machining, such as on a milling machine or router, tramming may involve aligning the spindle orthogonally to the coordinate table. [2] [3] This can provide better accuracy by ensuring flatter cuts, preventing slanted or angled cuts, or uneven surfaces that can result from a tilted or "out-of-tram" spindle. The error is particularly noticeable with large diameter cutting tools. [4] Special tools are available with two dial indicators mounted at a distance from the spindle axis to facilitate tramming.
In planar 3D printing, especially for filament printers, tramming involves aligning the carrier frame and build plate in relation to each other to ensure flat printing. This can be done by measuring (directly or indirectly) the distance from the nozzle to the print surface at several points, and possibly correcting mechanically and/or compensating in software (so-called mesh compensation [5] ). It is often desirable to first align the printer as much as possible mechanically, and then let the software compensate for any remaining misalignment. If the mechanics are too misaligned, the software may not be able to compensate. Some printers are calibrated from the factory, and should only need to be manually trammed if they have become very out of alignment. [6]
Indications of the need for tramming may include the first layer not adhering evenly or hanging well on the build surface, [7] the workpiece bulging (especially for PLA), [7] varying spacing between filament lines on the build surface, or the height and width of the filament changing across the build surface. [7]
Mechanical alignment can be done in several ways depending on the printer's kinematics and possibilities of adjustment.
For good first-layer adhesion, it is important that the printer is able to measure and compensate for irregularities in the build plate. According to Klipper, the printer surface should be calibrated to within 25 microns (0.025 mm), [12] which is significantly smaller than a typical human hair. Subtle effects such as thermal expansion will affect measurements of this magnitude, [12] and probing and tramming should therefore be done when the printer is warmed up.
Manual tramming can be done with a regular A4 paper or sticky note [13] [14] or feeler gauge. [15]
Z-probes are used to electronically measure the height of the nozzle(s) relative to the print bed. There are several good methods for probing, several of which utilize the printer's own motion system. [12] No one type dominates, and they vary in cost, ability to deliver reliability, simplicity, and accuracy. [16] Most use either some form of proximity sensor or mechanical switch. Some Z-probes are also used for homing, which is moving the mechanical system to a reference position (or offset) before starting a print (which is a separate issue from tramming).
Common types of automatic Z-probes are: