EAGLE Central Forums
Where the EAGLE community meets. Sponsored by Stratford Digital.

Home » CadSoft Support Forums » eagle.suggest.eng » Module Layout Copy
Module Layout Copy [message #165957] Fri, 03 June 2016 19:17 Go to next message
Olivier Allaire
Messages: 1
Registered: June 2016
Junior Member
Hi!

I recently started using the module functionality in eagle to create hierarchical schematics. It saves a lot of time, especially in the long run. When I finalized my schematic and started to do the layout, I searched for a function or ULP to copy the layout of a module. Probably I missed it, but I didn't find anything. I didn't look that hard because I was interested in tackling that challenge :)

Here is what I did. First, you need to run the ULP in the schematic to extract some info needed for the copy. Here is what you see:
[copy_layout_schem.PNG]
Once you are in a board, you start by doing the layout of a module, something like this:
[copy_layout_ref.PNG]
You then launch the ULP in the board to copy the layout:
[copy_layout_brd.PNG]
Once all the options are filled you simply click copy layout. It will copy the layout (relative position, rotation and mirror) at the specified offset. It will also group the target parts together. And here is the result:
[copy_layout_tgt.PNG]
I wanted to know if anyone is interested in this ULP? I have to do some work to remove some company specific code and put it somewhere public. If there is interest, I'll do this as soon as possible.

Thanks to everyone for this fantastic and helpful forum!

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/198754
Re: Module Layout Copy [message #166032 is a reply to message #165957] Mon, 13 June 2016 09:08 Go to previous messageGo to next message
Richard Hammerl
Messages: 2532
Registered: October 2004
Senior Member
Look like a really cool solution for copying layouts of modules. I t would be great if you decide to share it with the EAGLE community.  Thank you very much for your contribution....

Regards,
Richard

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/199192
Re: Module Layout Copy [message #167673 is a reply to message #165957] Fri, 04 November 2016 15:47 Go to previous messageGo to next message
Elmar Jongerius
Messages: 1
Registered: November 2016
Junior Member
Hi Olivier,

Your solution is exactly where I am searching for. If you would be able to share your ULP that would save me a day of work to do it myself. I've been asking Eagle if they would release something like this but they said they haven't thought about it.


If you'd need to remove some company sensitive info from your code I would happily compensate you a bit for the effort :)

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/208774
Re: Module Layout Copy [message #167674 is a reply to message #165957] Sat, 05 November 2016 10:15 Go to previous message
rachaelp
Messages: 551
Registered: March 2015
Location: UK
Senior Member
Hi Olivier,

I see your original post was earlier in the year, I somehow missed this back then. What you've done looks great, did you ever get round to removing the company sensitive code from it so it could be shared?

Best Regards,

Rachael

--
To view any images and attachments in this post, visit:
https://www.element14.com/community/message/208828
Previous Topic: Interactive labels
Next Topic: drill size not correct size
Goto Forum:
  


Current Time: Mon May 29 20:49:40 GMT 2017