Complete the code to place a component at the origin on the PCB.
component.place(x=[1], y=0)
The component should be placed at x=0 to start at the origin.
Complete the code to rotate the component by 90 degrees before placing.
component.rotate([1]) component.place(x=10, y=5)
Rotating by 90 degrees is common to orient components correctly on PCB.
Fix the error in the code to correctly place the component with offset.
component.place(x=base_x [1] offset_x, y=base_y)To add an offset to base_x, use the plus (+) operator.
Fill both blanks to place a component with rotation and mirrored flag.
component.rotate([1]) component.set_mirror([2])
Rotate by 90 degrees and set mirror to True to flip component.
Fill all three blanks to place a component with position, rotation, and layer.
component.place(x=[1], y=[2]) component.rotate([3]) component.set_layer('Top')
Place component at x=15, y=20 and rotate by 90 degrees on top layer.
