« Insérer une image » : différence entre les versions
Page créée avec « = Insérer une image dans le schéma = Vous aimeriez avoir un logo ou similaire dans votre schéma, à des fins de documentation ou pour donner un aspect particulier à v... » |
|||
| Ligne 10 : | Ligne 10 : | ||
[[image:BildEinfgDlg_f.jpg|Dialog Load picture into rectangle]]<br>Image: | [[image:BildEinfgDlg_f.jpg|Dialog Load picture into rectangle]]<br>Image: Le dialogue "Charger l'image dans un rectangle"<br><br><br> | ||
Sélectionnez maintenant l'image désirée dans votre répertoire, dans notre cas il s'agit du TARGETlogo200weiss. jpg. Avant cela, vous déterminez la taille en hauteur et en largeur, comme vous le souhaitez dans le schéma. Si vous cochez la case "proportionnelle", vous n'avez qu' à déterminer la hauteur ou la largeur. L'autre valeur résulte automatiquement des dimensions de l'image. Cliquez sur le bouton "Créer image" dans la boîte de dialogue. Le coin inférieur gauche du cadre de position est maintenant fixé au curseur et peut être déplacé d'un clic de souris.<br><br> | |||
[[image:Bild_positionieren.jpg|Le cadre de position de l'image]]<br>Image: Le cadre de position de l'image est fixé au curseur<br><br><br> | |||
[[image:Bild_eingefuegt.jpg|Image dans le schéma]]<br>Image: L'image désirée est insérée dans le schéma.<br><br><br> | |||
Un autre clic sur l'image fera apparaître le cadre avec des petits boîtes noires aux coins et au milieu. Dans l'une d'entre elles, vous pouvez étirer ou compresser l'image. Si elle est maintenue à un segment de ligne de bordure, l'image peut être déplacée. Double-cliquez sur l'image pour ouvrir la boîte de dialogue "Modifier les rectangles". Il s'agit de la bordure rectangulaire autour de l'image. Si vous modifiez la hauteur et la largeur du rectangle dans cette boîte de dialogue, la taille de l'image changera en conséquence.<br><br><br><br> | |||
= Inserting an image into the layout = | = Inserting an image into the layout = | ||
Version du 9 janvier 2018 à 15:54
Insérer une image dans le schéma
Vous aimeriez avoir un logo ou similaire dans votre schéma, à des fins de documentation ou pour donner un aspect particulier à votre dessin. Vous devriez avoir une image correspondante à la main. Les formats d'image pris en charge sont BMP, GIF, JPG, JPEG, PNG, TIF, TIFF.
Dans notre exemple, nous utilisons TargetLogo200weiss. jpg.

Image: Cette image doit être imprimée en schématique et PCB.
Dans ce cas, le format de fichier est *. jpg dans une taille de 200 x 63 pixels. Plus la résolution est élevée, plus l'image est nette dans le projet. C'est à vous de décider de la résolution et des dimensions que vous utilisez. L'expérience a montré que les images utilisées sont plutôt petites, car vous voulez surtout placer votre logo à une certaine position.
Pour insérer, utilisez l'élément de menu: Actions/Insérer une image. La boîte de dialogue suivante s'ouvre:

Image: Le dialogue "Charger l'image dans un rectangle"
Sélectionnez maintenant l'image désirée dans votre répertoire, dans notre cas il s'agit du TARGETlogo200weiss. jpg. Avant cela, vous déterminez la taille en hauteur et en largeur, comme vous le souhaitez dans le schéma. Si vous cochez la case "proportionnelle", vous n'avez qu' à déterminer la hauteur ou la largeur. L'autre valeur résulte automatiquement des dimensions de l'image. Cliquez sur le bouton "Créer image" dans la boîte de dialogue. Le coin inférieur gauche du cadre de position est maintenant fixé au curseur et peut être déplacé d'un clic de souris.

Image: Le cadre de position de l'image est fixé au curseur

Image: L'image désirée est insérée dans le schéma.
Un autre clic sur l'image fera apparaître le cadre avec des petits boîtes noires aux coins et au milieu. Dans l'une d'entre elles, vous pouvez étirer ou compresser l'image. Si elle est maintenue à un segment de ligne de bordure, l'image peut être déplacée. Double-cliquez sur l'image pour ouvrir la boîte de dialogue "Modifier les rectangles". Il s'agit de la bordure rectangulaire autour de l'image. Si vous modifiez la hauteur et la largeur du rectangle dans cette boîte de dialogue, la taille de l'image changera en conséquence.
Inserting an image into the layout
Print on paper
In the layout view, proceed as described for the schematic, the function is identical.

Image: Logo in a paper print of the layout
If you print your layout with logo on any printer, you will get the following picture:

Image: Logo in a paper print of the layout (300%)
Print of copper
No Gerber data can be created from colored images on layouts, nor can they be displayed in Postscript. If you want to display the contours of a logo on a front panel or on your printed circuit board in copper, it is best to have your logo as a high-contrast bitmap (*. bmp) in sharp black and white, like this:

Image: TARGET-Logo black and white (Note: For loading speed reasons this picture is a *. png, not a *.bmp)
Now you have to generate this bitmap into the database like a component package.
Select menu item:
Image as a symbol or package
Image: Menu path to create an image as a symbol or a package
Load the black and white bitmap by the dialog box that opens.
Bitmap-to-Target converter
Bild: Bitmap-to-Target converter
By clicking on the radio button, determine that the bitmap should appear in the board, i. e. in the layout in the sense of a "package". It is also possible to create the image for the schematic, in the sense of a "symbol"..
Our image has a width of 200 pixels. If we determine a pixel with as of 0.05 mm in TARGET, the real size of the logo on the PCB will be 10.00 mm (one centimeter). After conversion, the package browser opens and offers us the image for an immediate import into the PCB.
Package dialog
Image: The package dialog immediately suggests the import of the logo into the layout.
Scale component
Image: Scale component dialog: We take over the image at 100%, thus non scaled.
The image now is fixed to the cursor and can be placed anywhere on the copper side that is currently activated. In our example layer 16, copper top, blue.

Bild: Layout mit TARGET Logo auf Ebene 16, Kupfer oben, blau.
If you want to have it on copper bottom, i. e. layer 2, copper bottom, red, you just have to mark it and mirror it with keyboard key [m]. Mirror axis is the cursor position. When mirroring, hold the cursor in the middle of the logo. If you move the cursor too far away, the image might move out of screen. You can select it at any time and move it with mouse key held.
If you now create a ground plane over the whole board on layer 16 (menu: Actions/Ground planes/Entire PCB area...), you will get the following picture:

Image: Copper logo embedded to a ground plane
As deletion from a copper plane
To do this, you should have created a ground plane on the copper layer in question. Now simply bring the logo to the appropriate "Deletion"- layer . So in our case it is layer 15, Deletion top.

Logo brought to the deletion layer.
The finer your image is, the more difficult it is to let copper flow around it. Keep in mind that Gerber data is the basis for a light exposure process. Light pens, which move according to the tracks of the the layout on a photo-sensitive plate, always have a certain line width (=aperture). If this line width is too large or cannot be reduced in terms of production technology, the tools do not work well in all corners. Orphan ground areas (signal islands) are left out completely if necessary. The results then are not convincing. In addition, deletions from a ground plane can always cause electromagnetic irritations. We therefore tend to advise against this.
Alternatively, you could place a rectangle in the delete layer and then again put the logo in copper on it.

Logo in copper drawn on a rectangle of deletion
Using an image as a design template
A photo of an existing PCB design
Guess you have no layout data from a previous project but only the PCB physically in your hands. Now you would like to import a picture of your PCB like a "drawing template" into your layout to place components and traces piece by piece. It's very easy. Please read more in the article Reverse Engineering.
Image data (DXF) of a board outline
Please refer to the article DXF
Milling a logo on a front panel
You can read more about this in the article: Ein Logo auf eine Frontplatte fräsen
The process is identical. Simply exchange the copper layer by a frontpanel layer (not milling but engraving).

