KB: Avoiding Component Clearance Violations with Free 3D Bodies
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.

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.

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
- Open Design » Rules » Placement » Component Clearance.
- Set the first object scope to the designator of the first component, for example, M1.
- Set the second object scope to the designator of the second component, for example, U1.
- Set Horizontal Clearance and Vertical Clearance to a negative value, for example, -1mm.

Component Clearance rule targeting two component designators with negative clearance
Option 2: Target Free 3D Bodies Using a Custom Query
- Select the Free 3D body in the PCB.
- Right-click and choose Find Similar Objects.
- In the Find Similar Objects dialog, set 3D Body and its Identifier to Same.
- Enable Create Expression and click OK.

Find Similar Objects dialog targeting the Free 3D body
- Open the PCB Filter panel and copy the generated query expression.

PBC Filter panel showing the generated query expression
- Open Design » Rules » Placement » Component Clearance.
- Set the first object scope to Custom Query and paste the copied expression.
- Set the second object scope to the target component designator or footprint.
- Set the clearance to a negative value.
Component Clearance rule using a Custom Query
Option 3: Waive Intentional Violations
- Open the PCB Rules and Violations panel.
- Select the Component Clearance rule and run the check.
- Identify violations related to intentional overlaps.
- Right-click the violations and choose Waive.
- Add a note stating that the overlap is intentional and approved.

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.