KiCad PCB EDA Suite
Loading...
Searching...
No Matches
VIA_PROTECTION_RULES Namespace Reference

Which IPC-4761 via protection features can be built together. More...

Functions

bool CapAllowed (bool aFilled)
 A cap is copper plated over a filled hole, so it needs the fill.
 
bool PlugAllowed (bool aFilled)
 A plug is a partial fill from one side. A filled hole has nothing left to plug.
 
bool CoverAllowed (bool aFilled, bool aTented, bool aPlugged)
 A cover is a second coat over a tent, a plug or a fill.
 

Detailed Description

Which IPC-4761 via protection features can be built together.

Board Setup greys out what these rule out and the cross section preview does not draw it, so the two agree.

Function Documentation

◆ CapAllowed()

bool VIA_PROTECTION_RULES::CapAllowed ( bool aFilled)
inline

A cap is copper plated over a filled hole, so it needs the fill.

Definition at line 31 of file via_protection_rules.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), and PANEL_SETUP_BOARD_FINISH::enableViaProtection().

◆ CoverAllowed()

bool VIA_PROTECTION_RULES::CoverAllowed ( bool aFilled,
bool aTented,
bool aPlugged )
inline

A cover is a second coat over a tent, a plug or a fill.

IPC-4761 has no cover over an open hole, because a coat cannot float.

Definition at line 46 of file via_protection_rules.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), and PANEL_SETUP_BOARD_FINISH::enableViaProtection().

◆ PlugAllowed()

bool VIA_PROTECTION_RULES::PlugAllowed ( bool aFilled)
inline

A plug is a partial fill from one side. A filled hole has nothing left to plug.

Definition at line 38 of file via_protection_rules.h.

Referenced by VIA_CROSS_SECTION_GEOMETRY::build(), and PANEL_SETUP_BOARD_FINISH::enableViaProtection().