Motion planning

Will this wall ever reach its requested speed?

A profile can request 150 mm/s on a wall that is only 8 mm long. The nozzle has to accelerate and slow down within that distance. Raising the speed field may leave the print time almost unchanged.

A silver desktop 3D printer and a laptop with a blue CAD model sit beside a studio window.
The toolhead must slow down to change direction. The available length of each straight move constrains its peak speed. Photo credit

Do the distance calculation first

For a simple straight move starting from rest, acceleration distance is speed squared divided by twice the acceleration. Assume a symmetrical slowdown to rest, ignore extrusion limits and use 1,000 mm/s². Reaching 150 mm/s takes 150² ÷ (2 × 1,000) = 11.25 mm to accelerate and another 11.25 mm to stop. An 8 mm wall does not have the required 22.5 mm. Under these assumptions the peak is about √(1,000 × 8) = 89 mm/s.

A real planner carries some speed through corners, blends moves and obeys the printer's active limits. These equations describe an ideal rest-to-rest segment, and the calculated peak is an illustration rather than a measured machine speed. Their value is to identify a poor experiment. Raising a nominal wall speed from 150 to 180 mm/s on a row of tiny lettering is unlikely to test the new speed.

Use a long face and a short face on the same part

Find a straight perimeter long enough for a substantial middle section and a short return near a sharp corner. Keep geometry, material, line width and layer height fixed. Make two slices with the same speed target and different outer-wall acceleration inside the printer maker's limits. Compare their time estimates. A preview colored by requested feature speed can show the same value on both slices even though the time estimates differ. Check what the selected preview actually reports.

Now ask whether the hotend can deliver the requested flow along the long face. At 0.45 mm line width, 0.20 mm layers and 150 mm/s, the simple rectangular-section estimate is 13.5 mm³/s. If the material profile caps flow at 10 mm³/s, that long line may be limited to roughly 111 mm/s under the same approximation. Raising acceleration cannot remove a material flow limit. Estimate volumetric demand for the chosen bead.

Entry speed changes the arithmetic

The rest-to-rest example is deliberately simple. A toolhead rounding the end of a broad arc can enter the next segment already moving. For acceleration along a straight segment the required distance is the difference of the squared end and start speeds divided by twice the acceleration. Going from 50 to 150 mm/s at 1,000 mm/s² requires (150² − 50²) ÷ 2,000, or 10 mm. Returning to 50 takes another 10 mm. A planner that permits that entry speed therefore needs less distance than the rest-to-rest example. It still cannot reach 150 on an isolated 8 mm segment with the same endpoints.

Do not treat every short line in a G-code file as a full stop. A smooth curve approximated by many nearly collinear moves may preserve speed through successive endpoints. A square of the same total perimeter has four abrupt direction changes. This distinction matters when diagnosing a slow dome. Making the mesh coarser to reduce the number of commands might change visible facets without helping the motion limit at the next sharp corner. Inspect the model outline and the turn angles before blaming the number of move commands. If the outline is already faceted in the model, inspect the mesh before changing machine acceleration.

Two different ceilings can leave marks near a corner

The first clock belongs to the mechanical structure. Every axis has a natural frequency at which it prefers to vibrate, determined by the stiffness of the frame and belts and by the mass being moved. When the toolhead changes direction quickly, it excites that frequency. The nozzle keeps oscillating after the controller thinks the move is over, and the bead records those oscillations as a decaying ripple on the surface. The second clock belongs to the motor: a stepper can only produce so much torque before it falls behind the commanded position, especially at higher speeds where available torque falls.

These two limits act in different directions. A lightweight toolhead on a stiff frame can tolerate high acceleration until the motor runs out of torque. A heavy toolhead on a flexible frame starts ringing long before the motor complains. Because the constraints come from separate parts of the machine, the usable envelope is the lower of the two, and a change to either one moves the boundary. Adding a heavier hotend, tightening belts or switching from a glass bed to a light spring-steel sheet can all change the acceleration that a printer can handle.

Think about the axis that is carrying the mass. On a moving-bed printer the part travels with the bed in one direction while the toolhead may carry a much smaller mass in the other. A tall narrow part can flex even if the carriage follows its intended trajectory. On a stationary-bed machine, changing the orientation of a slender feature may still change how easily the moving nozzle deflects it. Rotate a rectangular comparison piece by a quarter turn and inspect both its machine-axis orientation and the direction in which the fragile feature points. A defect moving with the feature supports a different explanation from one confined to a machine axis.

A stepper motor produces its highest holding torque at standstill and loses torque as speed rises. Acceleration demands extra torque on top of whatever is needed to overcome friction and move the load. If the command asks for more than the motor can deliver, the rotor falls behind by a step or two. The printer does not always detect this, so the toolpath continues while the physical position lags behind. The result may show up as a layer shift, a corner that is cut short, or a rhythmic clicking from the driver that is easy to mistake for a mechanical knock.

Time savings on the parts that matter

Read the feature-time breakdown if the slicer offers it. Imagine a baseline with forty minutes in outside walls, eighteen in sparse infill and twelve in travels or other overhead. Cutting the sparse infill time by a quarter would remove four and a half minutes from seventy, even if the outside walls stay exactly the same. A very high internal acceleration can therefore be poor value if it makes the part shake for a modest reduction in elapsed time. Conversely, a broad functional housing dominated by long internal tracks may give a different result at exactly the same acceleration setting.

Make a second slice where only the feature that dominates changes. Note the total estimate, how much time that feature lost, and the position of any newly sharp direction changes. Low flow limits, minimum layer times and small perimeter speeds may keep some moves slow regardless of acceleration. If the estimate changes by seconds on a long job, spend a small sample on verifying a surface improvement only if that improvement is actually important. For a production run of many identical pieces, even a minute may matter, but a failed plate cancels many such savings.

Travel moves outside the part can usually run faster than printing moves, but they are not free of consequences. A fast travel that reverses sharply near a thin wall can shake the toolhead and leave a mark on the surface through the frame. If ghosting appears next to areas where the nozzle made a rapid retract and travel, reduce travel acceleration before reducing printing acceleration. The vibration does not care whether plastic was being deposited at the moment the axis changed direction.

The saved profile and the printer can disagree

Slicers differ in how they use machine limits. In one configuration, the acceleration values participate only in the duration estimate. In another, the output also contains a request to change the active acceleration on the machine. For a plain-text file, inspect the beginning of the job and the commands around a change from infill to outside wall. Read those commands using the instructions for the selected firmware. A missing command may mean the printer will continue using the value supplied by its startup configuration. A repeated value may come from a machine macro rather than the feature you just edited.

Record acceleration settings as a profile tied to a mechanical configuration, not to a filament. If you change the toolhead, tighten the belts or add mass to the bed, the previous measurement no longer describes the machine. Re-print the corner test after any mechanical work and compare the ripple pattern with your saved sample. This takes a few minutes and prevents the slow accumulation of settings that were tuned for a machine that no longer exists.

When repeating a successful test, retain the project and the exact exported file. If a reslice after a software update changes its duration, compare only one variable at a time. First print the known file on the same machine if its profile and hardware remain compatible. Then compare the regenerated file with the same orientation and filament. A difference confined to the regenerated file points you toward toolpath generation or changed defaults. A difference already present on the known file points toward the printer, motion settings or physical setup. This also prevents an estimated time change from being mistaken for a measured increase in safe acceleration.

Inspect where the mark begins

If the visible outer contour benefits from slower acceleration but the time penalty matters, compare a lower outer-wall setting with faster internal features. Firmly attached small parts and tall narrow parts can respond differently to the same profile. Keep changes scoped to the printer and job that were tested. Consult the actual machine limits before interpreting slicer values as applied commands. OrcaSlicer's acceleration controls.