Bird
0
0
PCB Designbi_tool~10 mins

Creating custom footprints in PCB Design - Interactive Practice

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

Complete the code to start defining a new footprint in KiCad.

PCB Design
footprint = pcbnew.Footprint[1]()
Drag options to blanks, or click blank then click option'
ACreate
BNew
CAdd
DBuild
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Create' or 'Add' instead of 'New' causes errors.
2fill in blank
medium

Complete the code to set the footprint name.

PCB Design
footprint.[1]("Custom_Footprint_01")
Drag options to blanks, or click blank then click option'
ASetName
BSetReference
CSetValue
DSetFootprintName
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing footprint name with reference or value.
3fill in blank
hard

Fix the error in adding a pad to the footprint.

PCB Design
pad = pcbnew.Pad[1]()
Drag options to blanks, or click blank then click option'
ACreate
BAdd
CNew
DBuild
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'Create' or 'Add' causes runtime errors.
4fill in blank
hard

Fill both blanks to set pad properties correctly.

PCB Design
pad.[1](1)
pad.[2](pcbnew.PAD_SHAPE_RECT)
Drag options to blanks, or click blank then click option'
ASetNumber
BSetShape
CSetSize
DSetPosition
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up size and shape methods.
5fill in blank
hard

Fill all three blanks to add the pad to the footprint and set its size and position.

PCB Design
footprint.[1](pad)
pad.[2](pcbnew.wxSizeMM(1.5, 1.5))
pad.[3](pcbnew.wxPointMM(5, 5))
Drag options to blanks, or click blank then click option'
AAddPad
BSetSize
CSetPosition
DInsertPad
Attempts:
3 left
💡 Hint
Common Mistakes
Using wrong method names like 'InsertPad' instead of 'AddPad'.