Practice - 5 Tasks
Answer the questions below
1fill in blank
easyComplete the code to set the zone fill type to solid.
PCB Design
zone.FillType = [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing a fill type that creates patterns instead of solid fill.
✗ Incorrect
The fill type Solid ensures the zone is completely filled.
2fill in blank
mediumComplete the code to set the zone clearance to 0.2 mm.
PCB Design
zone.Clearance = [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using too large or too small clearance values that affect design rules.
✗ Incorrect
Setting clearance to 0.2 mm ensures proper spacing around the zone.
3fill in blank
hardFix the error in the code to correctly set the zone layer to 'TopLayer'.
PCB Design
zone.Layer = [1] Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using unquoted names or single quotes which may cause errors.
✗ Incorrect
The layer name must be a string with double quotes: "TopLayer".
4fill in blank
hardFill both blanks to set the zone's thermal relief to enabled and the pad connection to 'Thermal'.
PCB Design
zone.ThermalRelief = [1] zone.PadConnection = [2]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Using False for thermal relief or wrong pad connection strings.
✗ Incorrect
Thermal relief is enabled with True and pad connection set to "Thermal".
5fill in blank
hardFill all three blanks to configure the zone with a clearance of 0.15, fill type 'Hatched', and layer 'BottomLayer'.
PCB Design
zone.Clearance = [1] zone.FillType = [2] zone.Layer = [3]
Drag options to blanks, or click blank then click option'
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up numeric and string types or using wrong values.
✗ Incorrect
Clearance is set to 0.15, fill type to "Hatched", and layer to "BottomLayer".
