Bird
0
0
PCB Designbi_tool~10 mins

Placing components on PCB 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 place a component at the origin on the PCB.

PCB Design
component.place(x=[1], y=0)
Drag options to blanks, or click blank then click option'
A0
B1
C-1
D10
Attempts:
3 left
💡 Hint
Common Mistakes
Using a non-zero x coordinate places the component away from origin.
2fill in blank
medium

Complete the code to rotate the component by 90 degrees before placing.

PCB Design
component.rotate([1])
component.place(x=10, y=5)
Drag options to blanks, or click blank then click option'
A90
B270
C180
D45
Attempts:
3 left
💡 Hint
Common Mistakes
Using 45 degrees which is uncommon for standard component placement.
3fill in blank
hard

Fix the error in the code to correctly place the component with offset.

PCB Design
component.place(x=base_x [1] offset_x, y=base_y)
Drag options to blanks, or click blank then click option'
A-
B+
C*
D/
Attempts:
3 left
💡 Hint
Common Mistakes
Using '-' subtracts offset which may place component incorrectly.
4fill in blank
hard

Fill both blanks to place a component with rotation and mirrored flag.

PCB Design
component.rotate([1])
component.set_mirror([2])
Drag options to blanks, or click blank then click option'
A90
BFalse
CTrue
D180
Attempts:
3 left
💡 Hint
Common Mistakes
Setting mirror to False when flip is needed.
5fill in blank
hard

Fill all three blanks to place a component with position, rotation, and layer.

PCB Design
component.place(x=[1], y=[2])
component.rotate([3])
component.set_layer('Top')
Drag options to blanks, or click blank then click option'
A15
B20
C90
D45
Attempts:
3 left
💡 Hint
Common Mistakes
Using 45 degrees rotation which is less common for standard placement.