2D GRAPHICS

Introduction

Proteus supports the following types of 2D graphics objects in the schematic: lines, boxes, circles, arcs, paths, scalable text and composite symbols. These are intended for use both directly on the drawing, for example to draw division lines and sectional boxes around parts of a design, and also for creating new library parts (devices, symbols, pins and terminals).

Markers share the same part of the Mode Selector toolbar and are placed in the same way, although they serve a different purpose. See Markers for what each one does.

Placing 2D Graphics

The following are the procedures for placing the various types of graphic objects.

To place a line:

  1. Select the Line icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector.
  3. Click left on the Editing Window to mark the start of the line.
  4. Move the mouse to the end point of the line and click left again to place.

To place a box:

  1. Select the Box Icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector.
  3. Click left on the Editing Window to mark the start of the box.
  4. Move the mouse to size the box and the click left again to place.

To place a circle:

  1. Select the Circle Icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector.
  3. Click left on the Editing Window where you want the centre of the circle to be placed.
  4. Move the mouse to size the circle and then click left again to place.

To place an arc:

  1. Select the Arc Icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector.
  3. Consider the arc as lying in one quadrant of an ellipse, which you define first. Point at the position where one end of the quadrant will lie and click the left mouse button.
  4. Move the mouse roughly along the path of the quadrant and click left again when you reach the other end.
  5. To edit the arc shape enter selection mode and then left click on the arc. Sizing handles will appear allowing you to drag the arc into the desired shape.

To place a path:

  1. Select the Path Icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector.
  3. Position the mouse over the Editing Window where you wish the first vertex of the path to be and click left.
  4. To enter a straight-line segment, simply move the mouse; to enter a curved segment, press and hold down the CTRL key and then move the mouse.
  5. As the mouse is moved a rubber-banded line is displayed showing the type of segment (straight or curved) that will be created and its position.
  6. Click left to place the second vertex and continue with the third vertex in the same way. During placement, a placed vertex can be deleted by pressing BACKSPACE.
  7. Repeat steps four to six until your path is complete, or press ESC to abandon the path entry. A path is only completed by closing it: click a second time on the last vertex you placed and Proteus will close the path back to its first vertex for you.

To place graphics text:

  1. Select the Text Icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector.
  3. Use the Rotation and Mirror icons to orient the text according to how you want it to appear on the drawing.
  4. Point at the position in the Editing Window where you want the bottom-left of the text to appear and click left. The Edit 2D Graphics Text dialogue form is displayed.
  5. Type the text into the dialogue form and set the justification, text size, etc. if required.
  6. Press ENTER or click on the OK button to place the text, press ESC or click on the CANCEL button to abort placing the text.

To place a symbol:

  1. Select the Symbol Icon from the Mode Selector.
  2. Select the graphics style you want from the Object Selector. If the symbol you want is not in the selector, you must first pick from the symbol library. The Symbol Library Pick form can be displayed by clicking on the 'P' toggle on the selector.
  3. Use the Rotation and Mirror icons to orient the symbol according to how you want it to appear on the drawing.
  4. Point at the position in the Editing Window where you want the symbol to appear, and click left to enter placement mode.
  5. Move the mouse to the point where you wish to place the symbol and click left again to commit and exit placement mode.

See Also:

Edit Box/Circle/Path Graphics

Edit Line/Bezier Graphics

Edit 2D Graphics Text

Resizing 2D Graphics

Lines, boxes, circles, arcs and paths may be resized by first of all selecting them (enter selection mode and then left click on the object) and then by dragging one or more of the displayed handles as follows:

  • Lines have two handles which adjust the start and end points.
  • Boxes have eight handles which adjust the corners and edges.
  • Circles have four handles, all of which adjust the radius.
  • Arcs have four handles: two which adjust the endpoints and two which adjust the Bezier control points.
  • Paths have one handle per vertex (the point between two segments) plus two Bezier control points for each curved segment.

Paths support additional editing operations that allow the path to be modified without having to be deleted and re-entered. All these operations require you to hold the ALT (think of ALT=ALTer) key down:

  • Click right on a vertex handle to delete that handle. The segments either side of the handle are also removed and a straight line replaces them.
  • Click left on a line or curve segment to break it in to two straight lines with a common vertex at the point clicked.
  • Hold the CTRL key down and click left on a line or curve segment to break the segment in to two Bezier segments with a shared vertex at the point clicked.

Don't forget that for all three of the above path editing operations, the ALT key must be held down.

Lines, boxes, circles and arcs can also be given a set size. Place the graphic of any size and right click > Edit Properties. You can then enter the specific dimensions:

Setting the exact width and height of a 2D graphics box on the Edit Properties dialogue form

Setting the exact width and height of a 2D graphics box on the Edit Properties dialogue form

This is similar for the Circle (set the radius), the Line (set the end points) and the Arc (again, set the end points). The X/Y coordinates allow you to set the position of the objects.

The other types of graphic objects cannot be resized. Instead you should delete and replace them to effect modifications.

Editing 2D Graphics

All 2D graphics objects can be edited in the usual way by entering selection mode and then left clicking on the border of the object, followed by a right click to launch that object's context menu. Edit Properties on that menu opens the dialogue form for the object, which for every graphic type except 2D graphics text carries the local line and fill attributes, so you can override the global graphics style with fixed values for this object alone.

You can also select a 2D graphic (as with any object) by dragging a tagbox around the object with the left mouse button depressed. That is, press and hold the left mouse button while dragging a box around the 2D Graphics object.

See The Header Block for details of how to use 2D graphics text to display design information.