summaryrefslogtreecommitdiff
path: root/meme/README
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-02-15 21:13:47 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-02-15 21:13:47 (GMT)
commit64bd53f6a5413810dd8e36237cf5aaf9feee0be4 (patch)
tree3ec42f6762e9680c57c432314ab1467d09f73659 /meme/README
parentff87a9e52408776b5f7fc32889b85d74e09857a7 (diff)
downloadmisc-64bd53f6a5413810dd8e36237cf5aaf9feee0be4.zip
misc-64bd53f6a5413810dd8e36237cf5aaf9feee0be4.tar.gz
misc-64bd53f6a5413810dd8e36237cf5aaf9feee0be4.tar.bz2
meme/: non-interactive screen dumps with -D ...
Diffstat (limited to 'meme/README')
-rw-r--r--meme/README46
1 files changed, 44 insertions, 2 deletions
diff --git a/meme/README b/meme/README
index 20148e7..def617b 100644
--- a/meme/README
+++ b/meme/README
@@ -5,8 +5,8 @@ Mesh measurement utility
Usage:
meme [-d dump.bmp] [-l logfile] [-m marker.gp] [-o overlay.gp ...]
- <path-to-STL-file>
-meme -s slice.gp [-n] <path-to-STL-file>
+ headless-dump-options path-to-STL-file
+meme -s slice.gp [-n] path-to-STL-file
Mouse
@@ -139,6 +139,48 @@ position of the edge is calculated considering the shape of the
scanning needle. This is illustrated in needle.fig
+Headless screen dumps
+---------------------
+
+Non-interactive screen dumps (e.g., to generate documentation) can be
+taken with the -D option and its many sub-options:
+
+ -D xres yres
+
+ Draws the mesh on a canvas of the specified size and then dumps it,
+ as if pressing "D". If markers or an overlay have been specified,
+ they are displayed. No other items (cursor, profiles, etc.) are
+ shown.
+
+ -C cx cy
+
+ Show the cursor at the specified position.
+
+ -E z zoom
+
+ Enhance contrast by "zoom" levels around the height "z". This is
+ similar to contrast enhancement by pressing "C".
+
+ -M mx my
+
+ Move the middle of the canvas to the specified position (in model
+ coordinates).
+
+ -P
+
+ Show profiles. This is like toggling them on with "P".
+
+ -Z zoom
+
+ Set the zoom level. If "zoom" begins with a plus or minus sign, the
+ default zoom level is changed accordingly. I.e., "+1" auto-zooms to
+ show the whole mesh, then zooms in by one step.
+
+ To prevent negative numbers on the command line from being
+ mis-interpreted as options, they can be prefixed with a space, e.g.,
+ " -10"
+
+
Workflow
--------