Model your own parts

Interested in Eagle’up but you don’t know how to model your favorite components ?

I wrote a tutorial to help you. It starts with a simple 0805 resistor and shows you the spirit of the modeling. How to model it, and how to model it well and quickly.

When you are familiar with the resistor modeling, check how to model an integrated circuit. It is just a bit more complicated, but with the tutorial you can do it in less than 5 minutes !

After that, you will have all the tools to draw your own parts.

Advertisement

6 thoughts on “Model your own parts

  1. Cool stuff! πŸ™‚ Im playing a bit with it. First experiences&feedback:
    -The export script doesnt tell when its done? I was waiting a bit more than I needed to πŸ˜›
    -Would have been neater to have a file browser in the sketchup plugin and a special file extension for the exported file?
    -Can I get transparent inner layers as an option in the future? πŸ˜‰
    -Not sure if there is a direct link between the brd file and the dru file. If so, the pcb thickness be picked from the .dru file.
    -Can it be that hard to extract dimensions layer direct? Don’t want to do it manually on every iteration. Its ‘just’ an extracted polygon..
    -Looks like my boards either freeze sketchup or come out wrong (not much parts defined yet). Maybe they are too advanced..
    -Is the sketchup plugin source available?

    • -The export script doesnt tell when its done? I was waiting a bit more than I needed to πŸ˜›
      >> good point, I will add a popup when it’s done

      -Would have been neater to have a file browser in the sketchup plugin and a special file extension for the exported file?
      >> I think the same, but I have not found how to get it

      -Can I get transparent inner layers as an option in the future? πŸ˜‰
      >> Interesting idea. I keep it in mind.

      -Not sure if there is a direct link between the brd file and the dru file. If so, the pcb thickness be picked from the .dru file.
      >> good idea. But most of the boards are 1,6mm (default settings in the export)

      -Can it be that hard to extract dimensions layer direct? Don’t want to do it manually on every iteration. Its β€˜just’ an extracted polygon..
      >> that’s coming very soon. I am checking it as much as I can before release. Come back in a few days

      -Looks like my boards either freeze sketchup or come out wrong (not much parts defined yet). Maybe they are too advanced..
      >> If you still get the issue, send me your board, see the about page for email

      -Is the sketchup plugin source available?
      >> Yes, everything is available freely

      Thanks for the feedback !
      Jerome

  2. Here is how to do the filerequester:

    file_data_path = UI.openpanel “Open eagle export file (projname.txt)”, “”, “*.txt”
    file = File.new( file_data_path , “r”)

    I’d prefer if you used a different extension than txt, cause there are many txt files in my project folders..

  3. Ok, I think I know why sketchup “locks up”. The plugin is VERY slow importing holes when there are like 2000 holes. Can you try it and see if something can be improved? It may be a SketchUp limitation..

    • Thanks for the UI trick. I will add it to the script.

      You can improve the performance by decreasing the number of faces of the holes. I set them to 48 in order to get nice looking large holes. This is not necessary for small vias.

      You can edit line 103 of eagle_import.rb
      48 => 24

      This should speed up a lot the process.

      Another way would be to disable the drilling for small vias (probably not visible in the model).

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s