KB: Avoiding Component Clearance Violations with Free 3D Bodies

Altium Designer Altium Designer
Free 3D bodies used as mechanical or optical references can intentionally overlap PCB components and trigger Component Clearance violations in Altium Designer. These violations can be managed with targeted Component Clearance rules, custom queries for Free 3D bodies, or documented violation waivers.

Solution Details

Intentional 3D Bodies Trigger Clearance Violations

Some PCB designs include Free 3D bodies placed directly on the PCB to represent mechanical or optical references, such as connector standoffs or LED light paths. These Free 3D bodies intentionally overlap existing PCB components. Although there is sufficient real-world clearance, Altium Designer reports Component Clearance violations because component outlines or 3D objects overlap. The goal is to prevent these violations without modifying the component footprint or removing the Free 3D bodies.

Altium Designer 3D PCB view showing a large cooling fan selected in green over the ARRIA 10 board, indicating a 0.187 mm clearance or collision violation.   Altium Designer 3D PCB view showing component U1 beneath the transparent fan 3D body, with U1 selected for checking component placement and clearance.
Example of a Free 3D body intentionally overlapping a PCB component

Clearance Checking Detects Overlapping 3D Geometry

Component Clearance rules evaluate the outlines and 3D representations of components and objects selected for clearance checking. When outlines or Free 3D bodies overlap, even intentionally, the clearance engine can flag a violation. Starting with Altium Designer 24.9, overlapping components require a negative clearance value to explicitly disable clearance checking for the targeted objects.

Altium Designer PCB layout showing component U1 positioned within the boundary of another component beneath the fan area, illustrating a component-within-component placement condition.
Component Clearance violation caused by overlapping outlines or 3D bodies

Choose How to Handle Intentional Overlaps

  • Define a Component Clearance rule between specific components and use a negative clearance value.
  • Use a custom query to target a Free 3D body and define its allowed overlap with a specific component or footprint.
  • Waive individual Component Clearance violations when the overlap is intentional and document the reason for the waiver.

Configure Rules or Waive Expected Violations

Option 1: Allow Overlap Between Two Components

  1. Open Design » Rules » Placement » Component Clearance.
  2. Set the first object scope to the designator of the first component, for example, M1.
  3. Set the second object scope to the designator of the second component, for example, U1.
  4. Set Horizontal Clearance and Vertical Clearance to a negative value, for example, -1mm.

Altium Designer Component Clearance rule “Clearance_FAN” checking component M1 against U1, with specified minimum vertical and horizontal clearance both set to -1 mm.
Component Clearance rule targeting two component designators with negative clearance

Option 2: Target Free 3D Bodies Using a Custom Query

  1. Select the Free 3D body in the PCB.
  2. Right-click and choose Find Similar Objects.
  3. In the Find Similar Objects dialog, set 3D Body and its Identifier to Same.
  4. Enable Create Expression and click OK.

Altium Designer Find Similar Objects dialog targeting 3D Body objects with Identifier “FULL FAN MINI”; Create Expression and Select Matched are enabled for building a query from the matching 3D body.
Find Similar Objects dialog targeting the Free 3D body

  1. Open the PCB Filter panel and copy the generated query expression.

Altium Designer PCB Filter panel showing the query (ObjectKind = '3D Body') And (Identifier = 'FULL FAN MINI'), used to filter the 3D body with that identifier.
PBC Filter panel showing the generated query expression

  1. Open Design » Rules » Placement » Component Clearance.
  2. Set the first object scope to Custom Query and paste the copied expression.
  3. Set the second object scope to the target component designator or footprint.
  4. Set the clearance to a negative value.

  Altium Designer Component Clearance rule using custom query (ObjectKind = '3D Body') And (Identifier = 'FULL FAN MINI') against component U1, with minimum vertical and horizontal clearances set to -1 mm. 
Component Clearance rule using a Custom Query

Option 3: Waive Intentional Violations

  1. Open the PCB Rules and Violations panel.
  2. Select the Component Clearance rule and run the check.
  3. Identify violations related to intentional overlaps.
  4. Right-click the violations and choose Waive.
  5. Add a note stating that the overlap is intentional and approved.

Altium Designer Waived Violation Info dialog showing the violation reason as “Intentional Overlap,” with fields for creation date and author.
Waiving a Component Clearance violation with an intentional-overlap note

Additional Notes

  • Overlapping outlines may trigger violations even when sufficient physical clearance exists.
  • From Altium Designer 24.9 onward, a negative clearance value is required to disable clearance checking for intentionally overlapping components.
  • In versions earlier than Altium Designer 24.9, a clearance value of 0 was sufficient.
  • Waived violations should include a clear justification note to support reviews and audits.
  • Free 3D bodies can be used as mechanical or optical references when explicitly excluded from clearance checks.

References

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.