Bird
0
0
PCB Designbi_tool~10 mins

Design Rules Check (DRC) setup in PCB Design - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to set the minimum clearance rule in the DRC setup.

PCB Design
drc.set_minimum_clearance([1])
Drag options to blanks, or click blank then click option'
A0.35
B0.45
C0.25
D0.15
Attempts:
3 left
💡 Hint
Common Mistakes
Using a clearance value that is too small causing potential shorts.
Using a clearance value that is too large reducing PCB density.
2fill in blank
medium

Complete the code to enable the DRC rule for minimum trace width.

PCB Design
drc.enable_rule('[1]')
Drag options to blanks, or click blank then click option'
Amax_trace_width
Bmin_trace_width
Cmax_clearance
Dmin_via_diameter
Attempts:
3 left
💡 Hint
Common Mistakes
Enabling the wrong rule such as max_trace_width which is not a DRC check.
Using a rule name that does not exist in the DRC setup.
3fill in blank
hard

Fix the error in the code to set the via drill size in the DRC.

PCB Design
drc.set_via_drill_size([1])
Drag options to blanks, or click blank then click option'
A0.6mm
B'0.6mm'
C"0.6"
D0.6
Attempts:
3 left
💡 Hint
Common Mistakes
Including units like 'mm' inside the parameter.
Passing the size as a string instead of a number.
4fill in blank
hard

Fill both blanks to set the minimum annular ring and enable its DRC rule.

PCB Design
drc.set_min_annular_ring([1])
drc.enable_rule('[2]')
Drag options to blanks, or click blank then click option'
A0.15
Bmin_annular_ring
Cmin_via_drill
D0.25
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing annular ring with drill size.
Enabling the wrong rule name.
5fill in blank
hard

Fill all three blanks to set the minimum solder mask clearance, enable its rule, and set the clearance value.

PCB Design
drc.enable_rule('[1]')
drc.set_solder_mask_clearance([2])
drc.set_rule_clearance('[3]', [2])
Drag options to blanks, or click blank then click option'
Amin_solder_mask_clearance
B0.1
Dmin_trace_clearance
Attempts:
3 left
💡 Hint
Common Mistakes
Using different rule names inconsistently.
Setting clearance values too large or too small.