Documentation

Insert image: Difference between revisions

Line 31: Line 31:
[[Image:LayoutPrintMitLogo.jpg|Logo in a paper print of the layout]]<br>Image: Logo in a paper print of the layout (300%)<br><br><br>
[[Image:LayoutPrintMitLogo.jpg|Logo in a paper print of the layout]]<br>Image: Logo in a paper print of the layout (300%)<br><br><br>


== aus Kupfer ==
== Print of copper ==


Von farbigen Bildern auf Layouts können keine Gerberdaten erstellt werden, auch in Postscript lassen sie sich nicht darstellen. Wenn Sie die Kontur eines ein Logos auf einer Frontplatte oder auf Ihrer Platine in Kupfer darstellen wollen, muss Ihr Logo als kontrastreiches Bitmap (*.bmp) am besten hart schwarz-weiß vorliegen, etwa so:<br><br><br>
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:<br><br><br>


[[Image:TargetLogoSchwarz_200.png|TARGET-Logo]]<br>Bild: TARGET-Logo schwarz weiß <small>(Anmerkung: für diesen Artikel ist dieses Bild aus Gründen der Ladegeschwindigkeit ein *.png, kein *.bmp</small>)<br><br><br>
[[Image:TargetLogoSchwarz_200.png|TARGET-Logo]]<br>Image: TARGET-Logo black and white <small>(Note: For loading speed reasons this picture is a *. png, not a  *.bmp</small>)<br><br><br>


Jetzt müssen Sie dieses Bitmap wie ein Bauteilgehäuse in die Datenbank generieren.
Now you have to generate this bitmap into the database like a component package.


Wählen Sie dazu den Menüpunkt:
Select menu item:


[[Image:MenuepfadBildInBauteilGehaeuseUmwandeln.jpg|Bild in Gehäuse umwandeln]]<br>Bild: Menüpfad Bild in Bauteil/Gehäuse umwandeln<br><br><br>
[[Image:MenuepfadBildInBauteilGehaeuseUmwandeln.jpg|Bild in Gehäuse umwandeln]]<br>Image: Menu path Bild in Bauteil/Gehäuse umwandeln<br><br><br>


Laden Sie im sich öffnenden Dialog das schwarz-weiß Bitmap.<br><br><br>  
Laden Sie im sich öffnenden Dialog das schwarz-weiß Bitmap.<br><br><br>  

Revision as of 12:07, 9 January 2018

Inserting an image into the schematic

You would like to have a logo or similar in your schematic, for documentation purposes or to give your drawing a special look. You should have a corresponding image at hand. Supported image formats are BMP, GIF, JPG, JPEG, PNG, TIF, TIFF. In our example we use the TargetLogo200weiss.jpg.


Image: This image is to be printed in schematic and layout.



In this case, the file format is *.jpg in a size of 200 x 63 pixels. The higher the resolution, the sharper the image in the project. It is up to you which resolution and dimensions you use. Experience has shown that the images used are rather small, because you mostly want to place your logo at a certain position.

To insert, use the menu item: Actions/Insert image.... The following dialog opens:


Dialog Load picture into rectangle
Image: The dialog "Load picture into rectangle"


Now select the desired image from your directory, in our case it is the TARGETlogo200weiss. jpg. Before that, you determine the size in height and width, just as you want it to be in the schematic. If you set the check mark to "proportional", then you only need to determine either the height or the width. The other value results automatically from the dimensions of the image. Click on the button "Create image" in the dialog. The lower left corner of the position frame now is fixed to the cursor and can be dropped with a mouse click.

Position frame of the image is fixed to the cursor
Image: Position frame of the image



Imagine in the schematic
Image: The desired image is inserted to the schematic


A new click on the picture will bring up the picture frame with black touchpads at the corners and in the middle. At one of these, you can stretch or compress the image. If held at a border line segment, the image can be moved. Double-clicking on the picture opens the dialog "Change rectangles". This refers to the rectangular border around the image. If you change the rectangle height and width in this dialog box, the size of the image will change accordingly.



Inserting an image into the layout

Print on paper

In the layout view, proceed as described for the schematic, the function is identical.
Logo in a paper print of the layout
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:
Logo in a paper print of the layout
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:


TARGET-Logo
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:

Bild in Gehäuse umwandeln
Image: Menu path Bild in Bauteil/Gehäuse umwandeln


Laden Sie im sich öffnenden Dialog das schwarz-weiß Bitmap.


Bitmap-nach-Target Konverter
Bild: Bitmap-nach-Target Konverter


Bestimmen Sie durch Klick auf den Radiobutton, dass das Bitmap in der Platine erscheinen soll, also im Layout im Sinne eines "Gehäuses". Es ist auch ein Erscheinen im Schaltplan denkbar, also im Sinne eines "Symbols".

Unser Bild hat eine Breite von 200 Pixel. Wenn wir ein Pixel mit 0,05mm Breite in TARGET bestimmen, resultiert daraus eiene Realgröße des Logos auf der Platine von 10,00 mm, also ein Zentimeter. Nach Konvertierung öffnet sich der Gehäusebrowser und bietet uns das Bild zum direkten Import in die Platine an.


Gehäuse_Dialog
Bild: Gehäuse-Dialog schlägt sogleich den Import des Logos vor.



Bauteil skalieren
Bild: Bauteil skalieren - Dialog: Wir belassen es beim Vorschlag und übernehmen das Bild zu 100%, also unskaliert.



Das Bild hangt nun am Cursor und kann an beliebiger Stelle auf die Kupferseite abgesetzt werden, die aktuell aktiviert ist. In unserem Beispiel Ebene 16, Kupfer oben, blau.


Layout mit TARGET Logo
Bild: Layout mit TARGET Logo auf Ebene 16, Kupfer oben, blau.



Wenn Sie es auf Kupfer unten haben möchten, also Ebene 2, Kupfer unten, rot, brauchen Sie es nur zu markieren und mit Tastaturtaste [s] zu spiegeln. Spiegelachse ist die Cursorposition. Halten Sie also beim Spiegeln den Cursor in der Mitte des Logos, damit es nicht aus dem Bild flippt. Natürlich können Sie es jederzeit markieren und mit gehaltener Maustaste verschieben.



Wenn sie nun auf Ebene 16 eine Massefläche über die ganze Platine erzeugen (Menü: Aktionen/Masseflächen/Gesamte Platine...), erhalten Sie folgendes Bild:

Kupferlogo eingebettet in eine Massefläche
Bild: Kupferlogo eingebettet in eine Massefläche



als Löschung aus einer Kupferfläche

Dazu sollten Sie eine Massefläche auf der betreffenden Kupferfläche erzeugt haben. Jetzt bringen Sie das Logo einfach auf die entsprechende Lösch-Ebene. In unserem Fall also Ebene 15, Lösch oben.

Logo direkt in der Lösch Ebene
Logo direkt in der Lösch-Ebene der betreffenden Massefläche


Je feingliedriger Ihre Bild ist, umso schwieriger ist es, dieses von Kupfer umfließen zu lassen. Bedenken Sie, dass Gerberdaten die Grundlage für einen Belichtungsvorgang ist. Lichtgriffel, die das Layout auf einer Fotosensiblen Platte abfahren, haben immer eine bestimmte Strichbreite (= Blendenöffnung). Wenn diese Strichbreite zu gross gewählt ist, oder produktionstechnisch nicht kleiner werden kann, kommen die Werkzeuge nicht gut in alle Ecken und lassen Innenbereiche gegebenenfalls ganz aus. Die Ergebnisse sind dann nicht überzeugend. Hinzu kommt, dass Löschungen aus einer Massefläche immer auch elektromagnetische Irritationen hervorrufen können. Tendenz daher: Wir raten ab.

Alternativ könnten Sie eine Rechteck in die Lösch- Ebene platzieren um dann das Logo in Kupfer wieder darauf zu setzen.

Logo auf Freifläche in der Lösch Ebene
Logo auf einer Freifläche in der Lösch-Ebene der betreffenden Massefläche



Ein Bild als Designvorlage verwenden

Ein Foto eines vorliegenden Leiterplattendesigns

Sie haben von einem früheren Projekt nur noch die Platine und keinerlei Layout-Datenmaterial. Jetzt würden Sie gerne ein Bild Ihrer Platine als "Malvorlage" in Ihr Layout importieren um Bauteile entsprechend zu platzieren und Leiterbahnen Stück für Stück nachzuzeichnen. Das geht sehr leicht. Bitte lesen Sie mehr dazu im Artikel Reverse Engineering.



Bilddaten (DXF) eines Platinenumrisses

Hierzu betrachten Sie bitte den Artikel DXF



Ein Logo auf eine Frontplatte fräsen

Mehr darüber finden Sie auch im Artikel: Ein Logo auf eine Frontplatte fräsen Der Prozess ist identisch. Tauschen Sie einfach die Frontplattenlage gegen eine Kupferlage.




Kategorie:SchaltplanKategorie:LayoutKategorie:Elemente Kategorie:Aktionen