1 63 64 65 66 67 Previous Next 1,129 Replies Latest reply: Mar 2, 2012 10:23 AM by nlarson Go to original post RSS
  • 960. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    jadler54

    Thanks for your help with this.  It turns out to be an easy thing to accomplish.

    I have one more question.

    Is there any way to make an SMD pad that is shaped like a rectangle, but has a square end on one side and a rounded end on the other side?

    What I do right now is to add a square SMD pad at the end of the SMD pad that is rounded at both ends. I dont connect it to anything when I make the device.

    I used this method to make a new test pad library part.

    This works fine, but I am not sure if this will cause any problems down the road.

    What do you think?  Is there a better way to do this?

    Thanks again,

    Joe

  • 961. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Richard_H

    Hi Joe,

     

    the way you did it is okay. You have to use an SMD and use for example a polygon to create the final shape. please think of solder stop maks and solder paste. You have to draw this in layers tStop and tCream manually. You will get an DRC error in the layout editor which you have to approve.

    Be sure that the polygon does not use a too fine wire width.  So there won't be any problems with manufacturing your board.

     

    Regards,
    Richard

  • 962. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Robaroni

    Richard,

    Thanks for all the helps so far, you've been great. I have problem with Eagle and I'm stumped to find an answer. Before I send our boards out I prototype them here. Because we can't do certain operations like running the top layer to thru hole capacitors we need to stop the auto router from running the top layer to those locations. We have been using the restrict layer to keep the top tracks from those locations but this is tedious on larger boards. Is there a simple way we can limit track layers to certain packages? Maybe when 6 comes out if not now?

     

    Thanks,

    Robert

  • 963. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    jadler54

    Richard,

    Thanks for the quick reply.

    I find that when I make the library part, if I just add another square pad to cover one round end of the test point pad, I wind up with the shape I need wiithout having to draw any polygons.

    The stop layer is made automatically and shows up on the PCB when I enable the layer to see it.

    The only problem I still have is that when I connect the PAD to ground and pour a ground plane, the section of the PAD that is made by the square does not connect to ground.  The other part of the pad (the part with the two rounded ends) connects just fine.

    I was thinking of making another PAD that would have a separate connection for both pads and I would just connect both to ground on the schematic.

    I hope this makes sense.  Anyway, thanks for your help.

  • 964. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Richard_H

    Hi Robert,

     

    you have to draw restricted areas. As far as I know there are some ULPs that could help here. It is possible to route the nets by classes, there is a ULP that draws restricted areas on all pads on top layer. please look at http://www.cadsoft.de/downloads/user-language-programs/ and use the search function. "auto" should give some results.

     

    Regards,

    Richard

  • 965. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Richard_H

    Hi Joe,

     

    you can use two pads as well. Best would be then to use two pins and connect them both with the signal....

    Currently there is no better solution. We have to wait for EAGLE version 6. There we will have the possibility to connect one pin to several pads and it will be possible to draw arbitrary pad shapes with a POLYGON or WIREs. There won't be DRC errors and polygons in the layout will be connected or isolated properly.

     

    Best regards,

    Richard

     

    BTW: You know that "Adler" is the German word for "eagle"?  SCNR... 

  • 966. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    bermuda87

    Richard,
    I'm using Eagle 5.11 and i have a task to write an ulp, that draws a logo from pads. My question is: why i can't draw a single pad with ulp? This is my only obstacle and i cannot finish my ulp. I would like to know, how to draw pad with ulp. I looked in some files, but unfortunately it didn't help. Sorry for my bad english.
    Thanks for your help.

  • 967. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Richard_H

    Hi K Sz,

     

    I do not fully understand what you would like to do, but if you want to place a pad... This can be only done in the library in the package editor. In the layout editor you have to use a VIA. Or do you want to place a component in the layout?

    Could you please give me some more information?

     

    Regards,

    Richard

  • 968. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    bermuda87

    Dear Richard,

    Again, sorry for my bad english . I have a task to draw my schools symbol from vias, using ulp. I can calculate the coordinates for the vias in my ulp, but I can't draw any. In my another discussion you answered me, that is have to use a script. My question now is how can I autorun and than delete the script after the ulp was executed?

    Thanks for your help.

  • 969. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Richard_H

    Hello again,

     

    I am not sure what you exactly want to do....

    As far as I understand you want to write an ULP that places vias in your layout, correct?

    So you have to write an ULP that executes commands in the EAGLE layout editor. It is useful to let the ULP create a script (which contains a number of EAGLE commands executed subsequently) for your purose. Look into one of the ULPs in order to get out how this works, for example into change-via-by-stack.ulp:

     

    Here a short part of it where we create a script file that will be executed:


    board(B) {
        script = filesetext(B.name, ".scr");
        output(script, "wtD") {  // temporary file
          set_layer();
          B.signals(S) {
            S.vias(V) {
              if (V.start == via_start && V.end == via_end) {
                if (stack) printf("CHANGE VIA %s (%.4f %.4f);\n", new_stack, u2mm(V.x), u2mm(V.y) );
                else {
                  if (v_shape) printf("CHANGE SHAPE %s (%.4f %.4f);\n", v_shape, u2mm(V.x), u2mm(V.y) );
                  if (strupr(argv[3]) != "NO") {
                    if (v_drill) printf("CHANGE DRIL %.4f (%.4f %.4f);\n", v_drill, u2mm(V.x), u2mm(V.y) );
                    else         printf("CHANGE DRIL (%.4f %.4f);\n", u2mm(V.x), u2mm(V.y) );
                    if (v_diam)  printf("CHANGE DIAM %.4f (%.4f %.4f);\n", v_diam, u2mm(V.x), u2mm(V.y) );
                    else         printf("CHANGE DIAM (%.4f %.4f);\n", u2mm(V.x), u2mm(V.y) );
                  }
                }
              }
            }
          }
          printf("GRID LAST;\n");
          printf("DISPLAY NONE ");
          B.layers(L) if (L.visible) printf(" %d", L.number);
          printf(";\n");
        }
      }

    dlgDialog("test") {
      string text;
      int t = fileread(text, script);
      dlgTextEdit(text);
      dlgHBoxLayout {
        dlgPushButton("OK") dlgAccept();
        dlgPushButton("esc") { dlgReject(); exit(-1); }
        dlgStretch(1);
      }

    ........................

    ........................

    ........................

     

      exit("SCRIPT '" + script + "'\n");

     

    The output() statement creates the file, printf() writes the commands into the file. exit() executes the script file.

     

    Hopehis helps......

     

    Regards,

    Richard

  • 970. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    gweitzman

    How do I ask Richard questions?

  • 971. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    Richard_H

    Hi Gary,

     

    as you just did... 

     

    Richard

  • 972. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    gweitzman

    Hi Richard,

     

    Does 5.6 work with win7 64 bit?

     

     

     

    Regards,

     

     

     

    Gary Weitzman

     

    President

     

    GDW Enterprises

     

    25645 La Cima

     

    Laguna Niguel, Ca 92677

     

    714 504 6639

     

    fax 949 364 1502

  • 973. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    AnnaR

    Hi there,

     

    I wish to write a simple ulp that generates a script.

     

    I know what I want the script to say (a simple series of name commands), generated using a couple of inputs (a starting index and the desired naming prefix).

     

    I need to run similar scripts for different starting inputs over 70 times to cover all the replicated blocks on my board, so I want to write a ulp to generate the script for me.  I know this should be straightforward, but I'm quite unfamiliar with the syntax etc.

     

    I have the user language manual, which is helpful but a little overwhelming when first starting!  I'm just hoping someone could point me to a simple ulp that takes a couple of inputs and generates a script that I can look at as an example.  I'm getting hopelessly lost looking at some of the bigger ulps which are doing all sorts of fancy things I don't need at this point...

     

    Any assistance appreciated - feel free to point me to previous discussion on this point if there is one that I've failed to find.

     

    Many thanks,

    Anna

     

    EDIT: I have spent the day playing and have finally managed to write a ulp that successfully generates the required scripts. So, no need to respond to this query.

    Thanks for this helpful thread though!  I would like to suggest that a tutorial on ulp-writing would be a helpful addition to the available documentation in future.

    Regards,

    Anna

  • 974. Re: Have a question about CadSoft EAGLE?  Ask our Expert, Richard!
    bermuda87

    Hi Richard,

    Thank you for your help, it was very useful.

    Here is my other task:
    I have to write a ulp, that makes a list of the used parts of a schematic. So if i add a resistor to the schematic, the ulp will make a list with one resistor and the attributes of the resistor (for example: resistor 1: 100Ohm, etc.).
    Thanks for your help.

1 63 64 65 66 67 Previous Next