Documentation

Insert image: Difference between revisions

No edit summary
 
(30 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Ein Bild in den Schaltplan einfügen =
= Inserting an image into the schematic =


Sie möchten gerne ein Logo o. ä. in Ihren Schaltplan, zu Dokumentationszwecken oder um Ihrer Zeichnung ein besonderes Aussehen zu geben. Sie sollten dazu ein entsprechendes Bild verfügbar haben. Unterstützt werden die Bildformate BMP, GIF, JPG, JPEG, PNG, TIF, TIFF.   
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.<br><br>
[[Image: TargetLogo200weiss.jpg]]<br>Image: This image is to be printed in schematic and layout.<br><br><br><br>


In unserem Beispiel verwenden wir das TargetLogo200weiss.jpg.<br><br>
The file format of the above image is *.jpg in a size of 200 x 63 pixels.
[[Image:TargetLogo200weiss.jpg]]<br>Bild: Dieses Bild soll in Schaltplan und Layout gedruckt werden.<br><br><br>
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 small, because in most cases a logo shall be placed at a certain position.


Das Dateiformat ist in diesem Fall *.jpg in einer Größe von 200 x 63 Pixel.
To insert an image, use the menu item: '''Actions/Insert image...'''. The following dialog opens:
Je höher die Auflösung ist, umso schärfer wird nachher ein Bild im Projekt. Es obliegt letztlich Ihnen, welche Auflösung und Abmessung Sie verwenden. Erfahrungsgemäß sind die verwendeten Bilder eher klein, denn Sie wollen ja keinen LKW beschriften, sondern ggf. nur Ihr Logo an einer bestimmten Stelle platzieren.


Verwenden Sie zum Einfügen den Menüpunkt: '''Aktionen/Bild einfügen'''. Der folgende Dialog öffnet sich:


[[image:BildEinfgDlg_e.jpg|Dialog Load picture into rectangle]]<br>Image: The dialog "Load picture into rectangle"<br><br><br>


[[image:BildeinfgDlg_d.jpg|Dialog Bild einfügen]]<br>Bild: Der Dialog "Bild in Rechteck laden"<br><br><br>
Now select the desired image from your directory. Before that, you determine in the dialog 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.<br><br>
[[image:Bild_positionieren.jpg|Position frame of the image is fixed to the cursor]]<br>Image: Position frame (=a bounding rectangle) of the image<br><br><br>


Wählen Sie nun das gewünschte Bild aus Ihrem Verzeichnis, in unserem Fall ist es das TARGETlogo200weiss.jpg. Zuvor bestimmen Sie noch die Größe in Höhe und Breite, so, wie es im Schaltplan haben wollen. Setzen Sie den Haken bei "proportional", dann brauchen Sie nur entweder die Höhe oder die Breite zu bestimmen. Der jeweils andere Wert ergibt sich dann automatisch aus den Abmessungen des Bildes. Klick auf den Knopf "Bild erzeugen" im Dialog. Die linke untere Ecke des Positionsrahmens hängt nun am Mauszeiger und lässt sich mit Mausklick absetzen.<br><br>
[[image:Bild_positionieren.jpg|Positionsrahmen des Bildes hängt am Mauszeiger]]<br>Bild: Positionsrahmen des Bildes<br><br><br>


[[image:Bild_eingefuegt.jpg|Imagine in the schematic]]<br>Image: The desired image is inserted to the schematic<br><br><br>


[[image:Bild_eingefuegt.jpg|Bild im Schaltplan]]<br>Bild: Das gewünschte Bild ist im Schaltplan eingefügt.<br><br><br>
A new click on the picture will highlight the image with black touchpads at the corners and in the middle. Holding one of these, you can stretch or compress the image. If held at a border line segment, the whole 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.<br><br><br><br>


Ein erneuter Klick auf das Bild lässt den Bildrahmen mit schwarzen Touchpads an den Ecken und in der Mitte erscheinen. An einem dieser gehalten, kann man das Bild dehnen oder stauchen. An einem Randliniensegment gehalten, kann das Bild verschoben werden. Doppelklick auf das Bild öffnet den Dialog "Rechtecke ändern". Damit ist der rechteckige, einfassende Rahmen um das Bild gemeint. Ändert man Rechteck-Höhe und Rechteck-Breite in diesem Dialog, ändert sich die Größe des Bildes entsprechend.<br><br><br>
= Inserting an image into the layout =


= Ein Bild ins Layout einfügen =
== Print on paper ==


== als Druck ==
In the layout view, proceed as described for the schematic, the function is identical.<br>
[[Image:LogoImLayoutPrint.jpg|Logo inserted for a paper print of the layout]]<br>Image: Logo inserted for a paper print of the layout<br><br><br>


Verfahren Sie in der Layoutansicht wie für den Schaltplan beschrieben, die Funktion ist identisch.<br>  
If you print your layout with logo on any printer, you will get the following picture:<br>
[[Image:LogoImLayoutPrint.jpg|Logo im Layout-Ausdruck]]<br>Bild:Logo im Layout-Ausdruck <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>


== Print (relief) of copper ==


Wenn Sie Ihr Layout mit Logo auf einem beliebigen Drucker ausdrucken, erhalten Sie etwa das folgende Bild:<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 your printed circuit board in copper (or on a front panel in aluminium), it is best to have your logo as a high-contrast bitmap (*. bmp) in sharp black and white, like this:<br><br><br>
[[Image:LayoutPrintMitLogo.jpg|Ausdruck des Layouts mit Logo]]<br>Bild: Ausdruck des Layouts mit Logo (300%)<br><br><br>


== aus Kupfer ==
[[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. To have it made as a relief in copper you need the bitmap format.</small>)<br><br><br>


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>
Now you have to generate this bitmap into the database like a component package.


[[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>
Select menu item:


Jetzt müssen Sie dieses Bitmap wie ein Bauteilgehäuse in die Datenbank generieren.
[[Image:MenuepfadBildInBauteilGehaeuseUmwandeln_e.jpg|Image as a symbol or package]]<br>Image: Menu path to create an image as a symbol or a package<br><br><br>


Wählen Sie dazu den Menüpunkt:
Load the black and white bitmap by the dialog box that opens.<br><br><br>


[[Image:MenuepfadBildInBauteilGehaeuseUmwandeln.jpg|Bild in Gehäuse umwandeln]]<br>Bild: Menüpfad Bild in Bauteil/Gehäuse umwandeln<br><br><br>
[[Image: BitmapNachTargetKonverterDialog_e.jpg|Bitmap-to-Target converter]]<br>Bild: Bitmap-to-Target converter<br><br><br>


Laden Sie im sich öffnenden Dialog das schwarz-weiß Bitmap.<br><br><br>
By clicking on the radio button you can define 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".  


[[Image: BitmapNachTargetKonverterDialog_d.jpg|Bitmap-nach-Target Konverter]]<br>Bild: Bitmap-nach-Target Konverter<br><br><br>
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: 200px x 0.05 mm/px = 10.00 mm (one centimeter). After conversion of the image, the package browser opens and offers us the image for an immediate import into the PCB.<br><br><br>
[[Image:GehaeuseDlgBitmap_e.jpg|Package dialog]]<br>Image: The package dialog immediately suggests the import of the logo into the layout.<br><br><br>


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".  
[[Image:BtlSkalieren_e.jpg|Scale component]]<br>Image: Scale component dialog: We take over the image at 100%, thus non scaled.<br><br><br>


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.<br><br><br>
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.
[[Image:GehaeuseDlgBitmap.jpg|Gehäuse_Dialog]]<br>Bild: Gehäuse-Dialog schlägt sogleich den Import des Logos vor.<br><br><br>




[[Image:LayoutTargetLogo.jpg|Layout with TARGET Logo]]<br>Image: Layout with TARGET Logo on layer 16, copper top, blue.<br><br><br>


[[Image:BtlSkalieren.jpg|Bauteil skalieren]]<br>Bild: Bauteil skalieren - Dialog: Wir belassen es beim Vorschlag und übernehmen das Bild zu 100%, also unskaliert.<br><br><br>


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]. The mirror axis is the cursor position. So move the cursor in the middle of the logo when mirroring. 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.<br><br><br><br>


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.


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:LayoutTargetLogo.jpg|Layout mit TARGET Logo]]<br>Bild: Layout mit TARGET Logo auf Ebene 16, Kupfer oben, blau.<br><br><br>
[[Image:LogoInMassefläche.jpg|Copper logo embedded to a ground plane]]<br>Image: Copper logo embedded to a ground plane<br><br><br>


== As deletion from a copper plane (as an omission) ==


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.<br><br><br>
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.<br><br>
[[Image:LogoInLoesch.jpg|Logo brought to the deletion layer]]<br>Logo brought to the deletion layer.<br><br>  




The more filigree and delicate 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 upon 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. More than that 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 electromagnetical irritations. We therefore tend to advise against this method.


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


[[Image:LogoInMassefläche.jpg|Kupferlogo eingebettet in eine Massefläche]]<br>Bild: Kupferlogo eingebettet in eine Massefläche<br><br><br>
Alternatively, you could place a rectangle in the delete layer and then again put the logo in copper on it.<br><br>


[[Image:RechteckLogoInLoesch.jpg|Logo in copper drawn on a rectangle of deletion]]<br>Logo in copper drawn on a rectangle of deletion<br><br><br><br>


== als Löschung aus einer Kupferfläche ==
= Using an image as a design template =


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.
== A photo of an existing PCB design ==


[[Image:LogoInLoesch.jpg|Logo direkt in der Lösch Ebene]]<br>Logo direkt in der Lösch-Ebene der betreffenden Massefläche<br><br>  
Guess you have no layout data from a previous project but only the PCB physically in your hands. Now you would like to reproduce the board and have the idea 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]]'''.<br><br><br>


== Image data (DXF) of a board outline ==


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.
Please refer to the article [[DXF]] where the import of DXF-data is explained.<br><br><br><br>


Alternativ könnten Sie eine Rechteck in die Lösch- Ebene platzieren um dann das Logo in Kupfer wieder darauf zu setzen.<br><br>
= Engraving a logo on a front panel =


[[Image:RechteckLogoInLoesch.jpg|Logo auf Freifläche in der Lösch Ebene]]<br>Logo auf einer Freifläche in der Lösch-Ebene der betreffenden Massefläche<br><br><br><br>
You can read more about this in the article: [[Engraving a logo to a frontpanel]]
The process is identical. Simply exchange the copper layer by a frontpanel layer (not milling but engraving).<br><br><br><br><br>


= Ein Bild als Designvorlage verwenden =


== Ein Foto eines  vorliegenden Leiterplattendesigns ==
[[fr:Insérer une image]][[de:Bild einfügen]][[Category:Schematic]][[Category:Layout]][[Category:Elements]][[Category:Actions]]
 
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]]'''. <br><br><br><br>
 
== Bilddaten (DXF) eines Platinenumrisses ==
 
Hierzu betrachten Sie bitte den Artikel [[DXF]]<br><br><br><br>
 
= 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.<br><br><br><br><br>
 
 
[[fr:Insérer une image]][[de:Bildeinfügen]][[Kategorie:Schaltplan]][[Kategorie:Layout]][[Kategorie:Elemente]] [[Kategorie:Aktionen]]

Latest revision as of 11:33, 10 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.



The file format of the above image 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 small, because in most cases a logo shall be placed at a certain position.

To insert an image, 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. Before that, you determine in the dialog 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 (=a bounding rectangle) of the image



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


A new click on the picture will highlight the image with black touchpads at the corners and in the middle. Holding one of these, you can stretch or compress the image. If held at a border line segment, the whole 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 inserted for a paper print of the layout
Image: Logo inserted for 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 (relief) 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 your printed circuit board in copper (or on a front panel in aluminium), 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. To have it made as a relief in copper you need the bitmap format.)


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 you can define 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: 200px x 0.05 mm/px = 10.00 mm (one centimeter). After conversion of the image, 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.


Layout with TARGET Logo
Image: Layout with TARGET Logo on layer 16, copper top, blue.



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]. The mirror axis is the cursor position. So move the cursor in the middle of the logo when mirroring. 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:

Copper logo embedded to a ground plane
Image: Copper logo embedded to a ground plane


As deletion from a copper plane (as an omission)

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
Logo brought to the deletion layer.


The more filigree and delicate 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 upon 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. More than that 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 electromagnetical irritations. We therefore tend to advise against this method.


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
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 reproduce the board and have the idea 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 where the import of DXF-data is explained.



Engraving a logo on a front panel

You can read more about this in the article: Engraving a logo to a frontpanel The process is identical. Simply exchange the copper layer by a frontpanel layer (not milling but engraving).