ERF Variables

Variable

Description

Silk Screen Layer treatment

 

v_keep_away_from_ss

If v_keep_away_from_ss = Yes is placed into the ERF file, no thieving feature will be placed closer than v_keep_away_ss_dist distance to any feature in corresponding silk screen layer.

If v_keep_away_from_ss = Yes but v_keep_away_ss_dist is not set, a zero value is assumed.

If v_keep_away_from_ss is not set to Yes , the parameter v_keep_away_ss_dist is ignored.

v_keep_away_sm_dist

 

Solder Mask Layer treatment

 

v_keep_away_from_sm

If v_keep_away_from_sm = Yes is placed into the ERF file, no thieving feature will be placed closer than v_keep_away_sm_dist distance to any feature in corresponding solder mask layer.

If v_keep_away_from_sm = Yes but v_keep_away_sm_dist is not set, a zero value is assumed.

If v_keep_away_from_sm is not set to Yes , the parameter v_keep_away_sm_dist is ignored.

v_keep_away_sm_dist

 

Marked features treatment

 

v_keep_away_from_attr

v_keep_away_attr_dist

v_attr_name

v_attr_val

 

Use these ERF variables when a feature is assigned some attribute (any attribute except for .pad_usage ) which requires it to be processed by a specific method (such as, to maintain different spacing requirements). The following lines represent an example based on the .pad_usage attribute.

Maintain distance from features with a special attribute set:

v_keep_away_from_attr = yes

Maintain this distance:

v_keep_away_attr_dist = 300

Name of the attribute to maintain distance from:

v_attr_name = .pad_usage

Value of the attribute to maintain distance from:

If v_attr_val is set to less than zero, it is ignored.

v_attr_val = -1

If v_keep_away_from_attr = Yes is placed into the ERF file, no thieving feature will be placed closer than v_keep_away_attr_dist distance to any feature tagged with the attribute v_attr_name (and v_attr_value set to desired value, if necessary, or to -1 if the attribute value is to be ignored).

If v_keep_away_from_attr = Yes but v_attr_name is not defined, the attribute tagged features are ignored.

If v_keep_away_from_attr is not set to Yes, tagged features are ignored.