Complete the code to activate the interactive router in the PCB design software.
router.activateMode('[1]');
The interactive mode enables manual routing with real-time feedback.
Complete the code to set the routing layer to the top copper layer in interactive mode.
router.setLayer('[1]');
The top_copper layer is used for routing on the top side of the PCB.
Fix the error in the code to correctly start the interactive router with grid snapping enabled.
router.start({ [1]: true });The correct property to enable grid snapping is snapToGrid.
Fill both blanks to configure the interactive router to use the differential pair mode and set the clearance to 0.2mm.
router.configure({ mode: '[1]', clearance: [2] });The mode differential_pair is for routing pairs of traces, and clearance 0.2 mm sets the spacing.
Fill all three blanks to start the interactive router with the following settings: mode as 'auto_route', enable via stitching, and set the trace width to 0.3mm.
router.start({ mode: '[1]', viaStitching: [2], traceWidth: [3] });The mode auto_route automates routing, true enables via stitching, and 0.3 mm sets the trace width.
