Unclos Tutorial T. Additional Exercises

Exercise: Create a bathymetric profile in a grid using a line

Create a bathymetric profile from a digitized or already existing line to sample the sticky_surface to create a bathymetric profile.

This exercise assumes that a seabed surface is activated as the sticky surface. Do so by right-clicking on the surface in the project manager and select "Copy to sticky_surface".

A line of any kind can be used, e.g. a digitized line. To digitize a line, use Tools > Quick Digitizing or View > Digitizer

  • Create a new shared command of type "Script" and rename the command to "Generate Bathymetric profile on sticky surface"
  • Enter this content:
    mak lin grid sticky_surface
    mhi bathymetric_profile
    qinformation "Mission accomplished" "New profile is found in workspace bathymetric_profile"
    
  • Execute on the line to produce bathymetric profiles.
  • Set the filter on the Command object to run on Generic folders and Polydata only.

Exercise: Check my "Shared commands"

Import and activate my shared commands and see if there are commands you do like.

Share my shared commands (updated 24-apr-2008). Download these commands (save to disk) and import them into a folder or on top level in your shared commands in the tool-box. (Press the folder icon to import). In order to use them, you'll need the download below (geocap.zip), which is the 'Display Tablet'. ~0.5MB

Download the zipped folder geocap.zip (updated 25-feb-2007). This folder contains powerful concept of line, surface and point display and use of the sticky_surface.

The zip-file (geocap.zip) contains a folder called 'geocap'. This geocap folder must be placed directly under C:\, so that your new structure will look like this:

C:/geocap/dev42/...

(otherwise you'll have to change the internal paths). Then you must start Geocap. Use pulldown

Tools > Options > Scripting

and select the script C:/geocap/dev42/hs_geocap_init.tcl

as your startup script. Make sure that the 'Disable execution' is not ticked. Then, close and restart Geocap. Now, your shared comands should work.