Back to Graphical view overview

Create a graphical view from scratch

 


 

(This tab may be closed. Click to open it if so)

 

A pop-up will open, giving you the opportunity to choose between the graphical view types available for your project.

In this tutorial, we will choose "Free graphical view", which is always available.

 

Other kinds of graphical views should only be chosen in order to generate systems or products on tree.

For more information about object generation, see System / Product generation.


 

For an explanation about Graphical View usage, please read Graphical view : overview.

 

The creation of a graphical view from scratch usually follows these steps :

  1. Find the image you will use as a background to draw over, and prepare it ;

  2. Create a view using the image as a background ;

  3. Draw over the image to represent what is needed to point out

  4. Group and name shapes ;

  5. Optionally use the "auto-draw joint" tool ;

  6. Name your drawing, optionally choose some kind of information to display, and save it ;

  7. Link the objects you drew to tree systems/products.

 

Your graphical view is ready to use, and will be shared between all users of your activity.

 

Step 1 : Prepare your background image

In order to create a graphical view from scratch, you will usually need a plan that will help you to draw on. For instance :

 

 

The drawing editor supports JPG, GIF, PNG formats for raster images, and SVG format for vectorial images :

 

For our example, we will draw compartments on a simple raster image : sample-tanker.jpg

 

 

Step 2 : Add a view, organize views

Adding a view

Once on the editing screen (follow Steps above), you may notice that drawing is impossible, since you haven't created a view. Views represent areas where you draw. Usually, a view corresponds to a background image, but you may also create a view without background.

 

Create a view, by clicking the "add view" tool.

You will then be prompted for a background image :

  • Click the button, click browse and choose your background image (sample-tanker.jpg);

  • Then click "Upload";

  • Finally, click OK.

 

You should obtain something similar to this :

 

 

Organizing views

When adding a view, Editor automatically switches to "Organize views" mode.

You can also access this mode whenever you want by clicking it's icon.

 

 

In "organize views" mode, views are represented by gray rectangles that you can move and resize freely.

 

In our case, we have only one view, so we will resize and move it to fill all the available space :

 

 

 

Step 3 : Draw areas / lines

Rectangle areas

In our example, we want to represent compartments. Note that this applies as well to blocks, zones or whatever.

Most of our compartments are rectangular, so we'll use the "rectangle tool" which is the quickest tool to create areas.

Select it in the toolbar.

(Notice that the view is not gray anymore, as we're not in "organize views" mode anymore)

 

To draw a rectangle :

  • point out a corner and press mouse button ;

  • drag to the opposite corner and release mouse button.

 

If you wish to draw small areas, you can zoom and pan to make it easier.

 

Draw all the rectangle compartments :

 

Free areas

Some of our compartments are not rectangular. We will use the "free area" tool to represent them.

Select the free area tool.

 

To draw a free area :

Click once to indicate first point.

 

Click once to indicate second point

Keep going for each point

Double-click to indicate the last point and finish drawing

 

Notes :

 

Draw all the necessary area by repeating the previous operations.

 

Lines / Polylines

On some drawing, you may want to represent thin objects, like block joints or separating walls.

Select the "polyline" tool.

 

Draw polylines exactly the same way you would draw polygons:

Click once for first point

Click once for each next point

Double-click for last point

 

Step 4 : Naming, grouping / ungrouping

Select tool

As the "organize views" tool lets you resize, move end delete views, the "select" tool lets you reshape, edit name, or delete any object you draw.

Switch to "select" tool.

 

Note : Items should be grouped before giving a name.

 

Grouping items

The grouping item tool should be used when two or more drawn objects (rectangles, polygons, polylines), represent only one entity.

 

For instance, on our drawing, the fore-peak appears once on each view. Therefore the two polygons should be grouped.

 

To group shapes :

  • Select the different shapes to be grouped. This should be done with the "select" tool, by clicking each shape while pressing the Shift key.

  • Group them by pressing the "Group" button

 

You will be automatically asked for a short and long name.

 

Notice that after grouping, clicking one shape will select all the shapes of the group.

 

Ungrouping items

If you made grouping mistake, you may ungroup shapes :

  • Select the group by clicking one of the group shapes (you must be in "select" mode)

  • Press the "ungroup" button

 

 

Step 5 : Auto-draw joint

The "Auto-draw joint" tool helps you drawing joints between polygons. It create polylines in a group, similar to the ones you can manually draw. Therefore you can ungroup, regroup and rename joints in the same way as normal polylines.

This tool is mainly interesting for blocks plans, if you want to represent each joint between blocks.

Important : You should have grouped and named your objects before using this tool

(see step 4)

Select the "Auto-draw joint" tool.

 

Click on the first item or group.

The item/group is highlighted.

Then click on the second item/group.

A polyline representing the joint is created. You may click another pair of items/groups to find another joint.

 

As you may notice, the tool tries to find joints between all shapes of groups, so that joints appear in all views.

The created polylines are member of a unique group, which name is "Interface item1 - item2". Therefore items must be named before being grouped (you can name items directly in "auto-draw joint" mode by double-clicking an item).

 

 

Note : The "Auto-draw joint" tool is usually able to find complex joints with angles, even if segments are a bit spaced, or not parallel. However, if the polygons are too spaced or segments not parallel enough, you may be asked you to draw the joint by hand with polyline tool.

 

 

Step 6 : Saving your drawing

The top part of the editor allows you to enter data for your graphical view.

 

 

This will bring you back to tree view, with your graphical view on right part.

 

Now that an information to display is chosen (state of AIMS surveys), a legend is available. Open it by clicking the "Show/hide legend' link.

 

For now, all the compartments are blue, since they are not linked to tree items.

Final step will be to Link graphical objects to tree items.