Hello,
I am trying to automate routing in an Eagle script. I can initiate routing with the ROUTE command and define a trajectory of points for the route to follow. How do I place a via half way through? Normally in the UI I just press the space bar. Is there an equivalent from an script? Thanks
Solved! Go to Solution.
Solved by mtl_asm. Go to Solution.
i think you will have to break it into 2 route commands and a via command.
say (ax ay) is the start coordinate of the route , (bx by) is the end coordinate of the route and (vx vy) is the coordinate where you want to change layers. also in this example I assume the route starts on top layer and ends on bottom. you could issue the following commands in the script:
change layer top;
route (ax ay) (vx vy);
via (vx vy);
change layer bottom;
route (vx vy) (bx by);
i dont think there is a way to emulate a space bar press in the command line so maybe just break it up into separate route commands.
Can't find what you're looking for? Ask the community or share your knowledge.