User Tools

Site Tools


geda:gschem_warmup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
geda:gschem_warmup [2014/04/18 12:10]
vzh Add link to Russian translation
geda:gschem_warmup [2015/01/17 06:26] (current)
vzh Tweak picture alignment
Line 5: Line 5:
 You need to become familiar with doing a few things in //​**gschem**//,​ so just run //​**gschem**//​ and start playing around: You need to become familiar with doing a few things in //​**gschem**//,​ so just run //​**gschem**//​ and start playing around:
  
-You get an initial ​blank page with menus and a toolbar at the top. As you select operations from the menus, notice that there are usually keyboard shortcuts which can alternatively be used to access the menu functions.+You get an initial page with menus and a toolbar at the top. As you select operations from the menus, notice that there are usually keyboard shortcuts which can alternatively be used to access the menu functions.
  
-When drawing a schematic, It's a good idea to always start by setting some schematic boundaries to draw within, so we will do this by adding a title-blockI find that using a B sized title-block lets my schematics print at a nice size on letter sized paper:+{{ warmup_gschem.png }}
  
-  ​* Bring up the **Select Component** window by selecting from the menu **Add->​Component** or hit keyboard shortcut ​**i**. Or you could click the add component icon on the toolbar ({{warmup_add_component.png}}). +Look at the page and you will see that it contains a title-block. 
-  * In the **Libraries** list, select **title-block**. +When drawing a schematic, it's a good idea to always start by 
-  * Under the **Components ​list**, select ​**title-B.sym**.+setting some schematic boundaries to draw within. This is why the 
 +title-block is added every time you start //​**gschem**//​ to create 
 +a new schematic. 
 + 
 +Try to zoom in and out the page: 
 + 
 +  * Use keyboard shortcut <​key>​z</​key>​ to zoom in and <​key>​shift-z</​key>​ to zoom out (or select from menu **View->​Zoom In** or **View->​Zoom Out**). Notice that as you press a key or a key sequence it is displayed in the status bar at the bottom. Notice also that as you zoom in or zoom out the viewable area centers around the mouse cursor. 
 +  * Roll the mouse wheel first without and then with pressing one of the keys <​key>​Shift</​key>​ or <​key>​Control</​key>​ to see how to zoom or pan the page. 
 +  * With the mouse in the //​**gschem**//​ drawing area, hit the keys <​key>​v</​key><​key>​e</​key>​ (or select from menu **View->​Zoom Extents**) to zoom the view to the title-block symbol extents. 
 + 
 +I find that using the default B sized title-block lets my 
 +schematics print at a nice size on letter sized paper, but let'​s 
 +suppose you don't like it, so you need to remove the old 
 +title-block and replace it with another one: 
 + 
 +  * Zoom the page to see the whole title-block. 
 +  * Position the mouse pointer at the bottom left of the title-block,​ then press the left mouse button and drag the mouse to select it. 
 +  * Hit the <​key>​e</​key>​ <​key>​Shift-l</​key>​ shortcut (or select **Edit->​Unlock** from menu) to unlock and <​key>​d</​key>​ or <​key>​Delete</​key>​ to delete the title-block. 
 +  ​* Bring up the **Select Component** window by selecting from the menu **Add->​Component** or hit keyboard shortcut ​<key>i</​key>​. Or you could click the add component icon on the toolbar ({{warmup_add_component.png}}). 
 +  * In the **Libraries** list, select **Titleblocks (generic)**. 
 +  * Left click on the little triangle at the left or just double click the library name to open its component ​list
 +  ​Select ​**title-A.sym**.
   * Move the mouse onto the //​**gschem**//​ drawing area and place the title-block symbol by clicking the left mouse button. Then click the right mouse button to abort adding more title-block symbols.   * Move the mouse onto the //​**gschem**//​ drawing area and place the title-block symbol by clicking the left mouse button. Then click the right mouse button to abort adding more title-block symbols.
  
-{{warmup_gschem01.png}}+Let's add some components on the page and try to move them around:
  
-  ​* With the mouse in the //​**gschem**//​ drawing area, hit the keys **ve** (or select from menu **View->​Zoom Extents**) to zoom the view to the title-block symbol extents. +  * Back in the select components window, (bring it up again if you closed it), select the **Basic devices** library and then select the component **resistor-1.sym** and place a couple of resistors on the schematic with the left mouse button
-  ​* Back in the select components window, (bring it up again if you closed it), select the **analog** library and then select the component **resistor-1.sym** and place a couple of resistors on the schematic with the left mouse button. Notice that as you place each one it is an orange color and that indicates it is selected. +  * Right click to abort adding more resistors. 
-  * Zoom in (keyboard shortcut **z**) and zoom out (keyboard shortcut **SHIFT z**) in the area where you placed the resistors. If you get lost, zoom back to extents with **ve**. Notice that as you zoom in or out the viewable area centers around the mouse cursor+  * Left click on one of the resistors to select it. Notice that it is now an orange color and that indicates it is selected. 
-  * Alternate left clicking on both resistors to select them, but notice that if you don't hit the resistor just right, the title-block is selected instead. We really don't want to ever select the title-block again, so we can lock it to prevent its irritating selection: click so the title-block IS selected, then select **Edit->​Lock**. Now it's easier to select the resistors as we like. +  * Left click again anywhere ​to deselect it
-  * Move the resistors around with the middle ​mouse button. +  * Alternate left clicking on both resistors to select them, but notice that if you don't hit the resistor just right, the title-block is selected instead. We really don't want to ever select the title-block again, so we can lock it to prevent its irritating selection: click so the title-block IS selected, then select **Edit->​Lock** ​or hit keyboard shortcut <​key>​e</​key><​key>​l</​key>​. Now it's easier to select the resistors as we like. 
-  * Select a resistor and then rotate with the **er** ​keys or the **Edit->​Rotate 90 Mode**.+  * Move the resistors around with the left mouse button. 
 +  * Select a resistor and then rotate with the <​key>​e</​key><​key>​r</​key> ​keys or the **Edit->​Rotate 90 Mode**. Notice that it is rotated around the mouse pointer position. If you rotate from menu you have to define the rotation center position by clicking on it. If you don't see where the rotated component is, hit again <​key>​v</​key><​key>​e</​key>​ to zoom to the schematic extents. 
 +  * Hit <​key>​u</​key>​ or <​key>​ctrl-z</​key>​ to undo the last action and <​key>​ctrl-y</​key>​ to redo it again.
   * Move the resistors relatively close together and then zoom in on them.   * Move the resistors relatively close together and then zoom in on them.
-  * Place the mouse on one of the resistor pins and hit the **n** key to start adding a net. Move the mouse to a pin on the other resistor and left click to attach the net to the pin. Right click to abort adding this net but notice that if you left click again you will start adding another net. 
  
-{{warmup_gschem02.png}}+{{ warmup_resistors_1.png }} 
 + 
 +Now we can add some nets: 
 + 
 +  * Place the mouse on one of the resistor pins and hit the <​key>​n</​key>​ key or click the add net icon on the toolbar ({{warmup_net.png}}) to start adding a net. 
 +  * Move the mouse to a pin on the other resistor and you will see a small circle indicating the place the net will snap. The circle is visible only in magnetic mode which is enabled by default. 
 + 
 +{{ warmup_resistors_2.png }} 
 + 
 +  * Left click to attach the net to the pin. 
 +  * Move the mouse slightly and you will see a new net following the mouse cursor. Right click to abort adding new nets. 
 + 
 +Look at the toolbar and see that your mode has switched to adding nets. Before you can change resistor selections again, you will have to re-enter select mode with the <​key>​s</​key>​ key or by clicking the select toolbar icon ({{warmup_select.png}}) or by using the menu **Edit->​Select Mode**. You will have to play with doing things to get used to the //​**gschem**//​ modes. 
 + 
 +If when you added the net between the resistors you get something that looks like this: 
 +{{ warmup_resistors_3.png }} 
 +it means you missed the pin on the right resistor. The square cue on the end of the pin shows its connectible point and you must start and stop nets with the mouse on this red spot to make a connection to the pin. To correct this:
  
-  * Look at the toolbar ​and see that your mode has switched to adding nets. Before you can change resistor selections again, you will have to re-enter select mode with the **s** key or by clicking the select toolbar icon or by using the menu **Edit->Select Mode**. But if you try to move a resistor with the middle mouse button, you can do it and you will automatically re-enter select mode. You will have to play with doing things to get used to the //​**gschem**//​ modes+  * Select ​the net between the resistors ​and delete it with the <key>Delete</key> key
-  * If when you added the net between ​the resistors ​you get something that looks like this:+  * Switch again to net mode and try to connect ​the resistors ​once more.
  
-{{warmup_gschem03.png}}+Now let's play with attributes:
  
-it means you missed the pin on the right resistor. Look closely and you'll see the tip of the pin is red and you must start and stop nets with the mouse on this red spot to make a connection to the pin. +  ​* Select a resistor and hit the <​key>​e</​key><​key>​e</​key> ​keys. This will pop up the attribute editing window for the resistor. Here you can change existing attribute values or add new attributes with values to the resistor. Practice well with adding attributes and changing attribute values because you will need to be very familiar with managing attributes when using //​**gschem**//​.
-  * Select the net between the resistors and delete it with the **Delete** key. +
-  ​* Select a resistor and hit the **ee** ​keys. This will pop up the attribute editing window for the resistor. Here you can change existing attribute values or add new attributes with values to the resistor. Practice well with adding attributes and changing attribute values because you will need to be very familiar with managing attributes when using //​**gschem**//​.+
  
-Now go back to [[geda:​gsch2pcb_tutorial|the tutorial]] and try working through the simple example there. If you encounter steps that aren't clear, look through the //​**gschem**//​ user documentation and attributes documentation on the [[geda:gschem_ug|gschem ​Documentation]] page.+Now go back to [[geda:​gsch2pcb_tutorial|the tutorial]] and try working through the simple example there. If you encounter steps that aren't clear, look through the //​**gschem**// ​[[geda:​gschem_ug|user documentation]] and [[geda:​master_attributes_list|attributes documentation]]. Other //​**gschem**//​ documentation can be found on the [[geda:documentation|gEDA Documentation]] page.
  
 ---- ----
  
-tutorial by Bill Wilson (bill--at--gkrellm.net)+tutorial by Bill Wilson (billw--at--gkrellm.net)
  
geda/gschem_warmup.1397837415.txt.gz · Last modified: 2014/04/18 12:10 by vzh