Documentation

Difference between revisions of "Line"

(Trim lines)
Line 47: Line 47:
 
== Trim lines ==
 
== Trim lines ==
  
 +
Lines crossing each other can be trimmed (=deleted) to the point of intersection. Please find this function in menu '''Actions/Trim lines'''. Highlighted lines will be converted to segments so that parts of the lines can be deleted.<br><br>
  
Lines crossing each other can be trimmed (=deleted) to the point of intersection. Please find this function in menu '''Actions/Trim lines'''. Highlighted lines will be converted to segments so that parts of the lines can be deleted. The following example shows how to create an inner outbreak within the PCB [[outline]] having the shape of a segment of a circle:
+
A circle, for example, must always be cut in two places at the same time. If a line starts inside the circle and ends outside the circle, only the line is cut during "Trim lines". The circle comes together again "from behind". Only if at least 2 lines intersect the circle, or one line intersects the circle at two points, two arcs are created. So at least 2 intersections within the circle are needed.<br><br>
 +
 
 +
The following example shows how to create an inner outbreak within the PCB [[outline]] having the shape of a segment of a circle:<br><br>
  
  
Line 54: Line 57:
 
[[Image:LinienTrimmen1.png]]<br>'''Image 1:''' An outline figure consisting of two drawing elements
 
[[Image:LinienTrimmen1.png]]<br>'''Image 1:''' An outline figure consisting of two drawing elements
 
   
 
   
 
 
   
 
   
  
Line 61: Line 63:
  
 
   
 
   
 
 
  
  
Line 70: Line 70:
  
 
   
 
   
 
 
 
   
 
   
  
Line 78: Line 76:
  
 
   
 
   
 
  
 
   
 
   
Line 86: Line 83:
  
 
   
 
   
 
  
 
   
 
   
Line 94: Line 90:
  
 
   
 
   
 
  
 
   
 
   
Line 100: Line 95:
  
 
[[Image:LinienTrimmen7.png]]<br>'''Image 7:''' Delete.
 
[[Image:LinienTrimmen7.png]]<br>'''Image 7:''' Delete.
 +
  
 
== Shift lines ==
 
== Shift lines ==
 
  
  

Revision as of 13:23, 9 March 2021

You can reach this mode

by [Ctrl]+[2] (do not use the "2" in the numbers block of the keyboard) or
by "Draw Line" in Menu Elements or
by the tool Line.jpg under the icon Pen.jpg

Pleae note: Drawing a line does not mean placing a signal track! A line in TARGET is just a kind of painting and can not achieve electrical functions. Lines are used e.g. for the drawing of outlines of component symbols or packages (upon layer 21 Position top or layer 7 Position bottom), for the outline of the whole board (upon layer 23 Outline), for the imaging of a bridge e.g. on layer 21 position top, for the force lines between corresponding potentiometers, between inductivity and contact of a relay and for any kind of drawing upon any kind of layer. For drawing signals and tracks please use the icons: DrawSignal.jpg and DrawTrack.jpg


What you can do...

Press [o] (for options) for line settings. A M1 click creates the first segment. Use further M1 clicks to draw a polyline. Also use the drag-function [g]. Click M1 upon a line and grab one of the little black touchpads at the ends of the highlighted line by M1H and drag it to the desired spot. Add vertices by pressing M2 on a box and follow the context menu.


Zeichnen4 e.jpg

Image: Right mouse key M2 on a black touchpad of a line opens the context menu

Set the bending mode here:

Bending modes.jpg


Using the space bar toggles between "neighboured" bending modes during the placemnet of lines. See also Drag.

Leave this mode

by [ESC] or M12


Line Options

E LineOptions.jpg


Rounded: The ends of the line segment have round caps. This causes smart connections of segments when sharp bending.
Hatched: Hatched lines can be used for the force lines between corresponding potentiometers and between inductivity and contact of a relay (line options).


Lines show too wide

Please have also a look at menu "Settings / Settings-Options" and define how wide a one pixel line really shall display:

line width

Image: Define the real line width of a one pixel line.

Trim lines

Lines crossing each other can be trimmed (=deleted) to the point of intersection. Please find this function in menu Actions/Trim lines. Highlighted lines will be converted to segments so that parts of the lines can be deleted.

A circle, for example, must always be cut in two places at the same time. If a line starts inside the circle and ends outside the circle, only the line is cut during "Trim lines". The circle comes together again "from behind". Only if at least 2 lines intersect the circle, or one line intersects the circle at two points, two arcs are created. So at least 2 intersections within the circle are needed.

The following example shows how to create an inner outbreak within the PCB outline having the shape of a segment of a circle:


LinienTrimmen1.png
Image 1: An outline figure consisting of two drawing elements



LinienTrimmen2.png
Image 2: Highlight the elements subtending to each other ([Shift]+[M1])



LinienTrimmen3 e.jpg
Image 3: Select option "Trim Lines..." in Menu Actions




LinienTrimmen4.png]
Image 4: Highlight -




LinienTrimmen5.png
Image 5: Delete.




LinienTrimmen6.png
Image 6: Highlight -




LinienTrimmen7.png
Image 7: Delete.


Shift lines

If you double click on a line the dialog "Change lines" opens. You can shift the position of the lines by giving an add or a subtract command in the coordinate box. The following image shows how to shift a line 2mm to the right side. Double click (M11)upon the line and see the following dialog:


Koordbox1 e.png


In case a single click on the line always highlights the whole package, please release button SelByElem.jpg which is located in the sidebar on the right. Now enter the values "+2" to the x-coordinates of the start and end points of the line.


Result:


Koordbox2.png


If you now again doubleclick the shifted line, the modifications of the coordinates are overtaken.



Koordbox3 e.png






.