zaro

What is Horizontal Expansion in 3D Printing?

Published in 3D Printing Slicer Settings 5 mins read

Horizontal expansion in 3D printing is a crucial slicer setting that allows for precise dimensional adjustments in the XY plane of your printed parts, compensating for inaccuracies and ensuring optimal fit and function.

Understanding Horizontal Expansion

At its core, horizontal expansion is the amount of offset applied to all polygons in each layer of a 3D print. This setting directly manipulates the dimensions of your model as it's being sliced for printing, affecting its overall size in the width and depth directions (XY planes). Essentially, it's a tool to fine-tune the printed object's dimensions before it's even printed, addressing potential issues like thermal expansion or material shrinkage.

This powerful setting will alter the dimension in the XY planes in millimetre increments, offering granular control over the final size of your prints. It's an indispensable feature for achieving high-precision parts and assemblies.

How Horizontal Expansion Works

When you apply horizontal expansion, your 3D printer's slicer software modifies the G-code instructions to either enlarge or shrink the outline of each layer. This modification occurs uniformly across the entire layer, affecting all features from outer walls to internal holes.

  • Positive Values: Applying a positive horizontal expansion value will slightly increase the overall dimensions of your print in the XY plane. This is particularly useful when dealing with parts that need to fit loosely or when compensating for material shrinkage that makes holes too small or external features too narrow. Specifically, positive values will compensate for too large holes, meaning they shrink the hole size to the desired dimension.
  • Negative Values: Conversely, using a negative horizontal expansion value will slightly decrease the overall dimensions. This is ideal for achieving tighter fits, or when your printer tends to print features slightly too large. Negative values can compensate for too small holes, effectively enlarging the hole to its intended size.

Practical Applications and Benefits

Horizontal expansion is a versatile setting with numerous practical applications in 3D printing:

  • Achieving Precise Fits:
    • Compensating for Oversized Prints: If your printer consistently prints parts slightly larger than designed, a negative horizontal expansion can shrink them down to the correct dimensions for snug fits with other components.
    • Ensuring Proper Clearances: For parts that need to mate or slide together, a positive expansion can create the necessary clearances, preventing components from binding or being too tight.
  • Correcting Dimensional Inaccuracies:
    • Hole Sizing: One of the most common uses is correcting the size of holes. For instance, if a 5mm bolt hole consistently prints at 4.8mm, a slight negative horizontal expansion can bring it to the correct size. If it prints at 5.2mm, a slight positive value can fix it.
    • External Dimensions: Fine-tuning the width and depth of a part to fit into a specific enclosure or slot.
  • Mitigating Material Effects: Different filaments (e.g., ABS, PLA, PETG) have varying shrinkage rates. Horizontal expansion allows you to compensate for these material-specific behaviors, ensuring consistent dimensional accuracy regardless of the filament used.
  • Improving Assembly Success: When designing multi-part assemblies, horizontal expansion can be critical for ensuring all components fit together seamlessly without post-processing or forcing.

When to Adjust Horizontal Expansion

Consider adjusting this setting in your slicer software (e.g., PrusaSlicer, Cura, Simplify3D) when:

  1. Holes are consistently too small or too large for screws, bearings, or pins.
  2. Parts don't fit together as designed, being either too tight or too loose.
  3. You observe consistent dimensional deviations from your CAD model in the XY plane.
  4. Switching between different filament types that exhibit varying shrinkage.

Tips for Optimizing Horizontal Expansion

  • Start Small: Begin with minor adjustments (e.g., ±0.05mm or ±0.1mm) and print test pieces.
  • Print Test Pieces: Create small calibration cubes or specific hole/pin test models to evaluate the impact of your changes.
  • Measure Accurately: Use digital calipers to measure your test prints and determine the exact deviation from your design.
  • Iterate: It may take a few attempts to dial in the perfect value for your specific printer and material.
  • Slicer-Specific Settings: Be aware that some slicers might call this setting by slightly different names (e.g., "XY Compensation," "Hole Expansion," "Horizontal Expansion," "X/Y Size Compensation").

Horizontal Expansion Values at a Glance

Value Type Effect on Print Dimensions Common Use Case Example
Positive (+) Increases overall XY dimensions (expands the print). To make holes smaller (compensate for oversized holes) or external features larger (for loose fits). +0.1mm to make a 5mm hole print at 4.9mm, or a 100mm part print at 100.2mm.
Negative (-) Decreases overall XY dimensions (shrinks the print). To make holes larger (compensate for undersized holes) or external features smaller (for tight fits). -0.1mm to make a 5mm hole print at 5.1mm, or a 100mm part print at 99.8mm.

By understanding and effectively utilizing horizontal expansion, you can significantly enhance the dimensional accuracy and functional success of your 3D printed parts.