summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/openscad.110
-rwxr-xr-xscripts/uni-build-dependencies.sh6
2 files changed, 11 insertions, 5 deletions
diff --git a/doc/openscad.1 b/doc/openscad.1
index 444029b..a93c33f 100644
--- a/doc/openscad.1
+++ b/doc/openscad.1
@@ -45,10 +45,16 @@ Show version of program.
If exporting an image, use a full CGAL render. (Default is an OpenCSG compile)
.TP
.B \-\-camera=rotx,roty,rotz,transx,transy,transz,distance
-If exporting an image, use a Gimbal camera with the given parameters
+If exporting an image, use a Gimbal camera with the given parameters.
+Rot is rotation around the x, y, and z axis, trans is the distance to
+move the object in the x, y, and z directions, and distance is the
+distance between the camera and the center of the object.
.TP
.B \-\-camera=eyex,eyey,eyez,centerx,centery,centerz
-If exporting an image, use a Vector camera with the given parameters
+If exporting an image, use a Vector camera with the given parameters.
+The first three are for the Eye position, while the next three are for
+the Center (or target) that the camera will look at. The 'up' vector is
+not currently supported.
.TP
.B \-\-imgsize=width,height
If exporting an image, specify the pixel width and height
diff --git a/scripts/uni-build-dependencies.sh b/scripts/uni-build-dependencies.sh
index b5937ed..b793e9b 100755
--- a/scripts/uni-build-dependencies.sh
+++ b/scripts/uni-build-dependencies.sh
@@ -508,7 +508,7 @@ fi
# Singly build certain tools or libraries
if [ $1 ]; then
- if [ $1 == "git" ]; then
+ if [ $1 = "git" ]; then
build_git 1.7.10.3
exit $?
fi
@@ -520,12 +520,12 @@ if [ $1 ]; then
build_opencsg 1.3.2
exit $?
fi
- if [ $1 == "qt4" ]; then
+ if [ $1 = "qt4" ]; then
# such a huge build, put here by itself
build_qt4 4.8.4
exit $?
fi
- if [ $1 == "glu" ]; then
+ if [ $1 = "glu" ]; then
# Mesa and GLU split in late 2012, so it's not on some systems
build_glu 9.0.0
exit $?
contact: Jan Huwald // Impressum