One question...

Theme: Package, component in PCB

How can I create a new package?
A package, i.e. the representation of a component on the PCB, consists largely of the solder pad pattern and the drawing in the assembly print. If necessary, a 3D model can be added. A component in the schematic will probably refer to the package later, so it is advisable to have the package first when creating the component. In any case, get a PDF data sheet of exactly your component.

First, check carefully whether the desired package does not already exist. Then the work would be already finished at this point. In the component database browser [F2], go to the [Housing] tab at the top. Then you will also see a menu item "Package". There you select the entry "Create new package...". A PCB window opens and the toolbar for creating packages appears on the left.

First click on the magic wand in the upper left corner and a menu appears. Now you have to check which of the options is suitable for you:

- If it's a case that has a standard form but comes in many different variations, then you should try the package generator. It can generate a package with a layout pattern and a 3D model for you directly from the PDF data sheet with just a few parameters. A very ingenious tool!

- If you have a component that has a lot of solder p
ads that are geometrically arranged, then the package assistant can help you, but for this you have to write a small script. In it you define e.g. a series of solder points with one command line. This requires a certain level of computational and graphical imagination.

- If you know of a package that looks something like this, then it may be beneficial to derive the new package from the existing one with a few changes and save it under a new name.

- If all else fails, you will have to draw the package yourself. Nothing easier than that: the tools on the left side of the screen will help you. First, set a favorable grid. For wired components a value of 0.635 mm (=1/40") can be useful, for SMD components e.g. 0.1 mm. An extremely small grid is usually not helpful.

Set the solder pads to the correct coordinates, draw the package from lines and label it with [!N] for the component name (R7, U18) and if necessary with [!V] for the component value (4k7, 74LS123). Use [Ctrl] + [a] to select all and export it with [x] to the database under a new package name.

For the solder points, please keep in mind that only the pin number alone connects to the pins in the schematic symbol of the component. So pay attention to the correct numbering.
A package is always seen from top view. Later it can be mirrored to be flipped to the backside.