summaryrefslogtreecommitdiff
path: root/doc/openscad.1
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2013-03-03 23:28:12 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2013-03-03 23:28:12 (GMT)
commitc92d9bde928339838e0ecd6f5a7b23dbdf874f75 (patch)
treeb9aef91b40a96c4a31eb4c84018dd70ea8c432c1 /doc/openscad.1
parent9c287dc317cfe51d3dddd19327c03d8f3b7895e7 (diff)
update manpage
Diffstat (limited to 'doc/openscad.1')
-rw-r--r--doc/openscad.131
1 files changed, 28 insertions, 3 deletions
diff --git a/doc/openscad.1 b/doc/openscad.1
index 0919bb9..444029b 100644
--- a/doc/openscad.1
+++ b/doc/openscad.1
@@ -44,13 +44,38 @@ Show version of program.
.B \-\-render
If exporting an image, use a full CGAL render. (Default is an OpenCSG compile)
.TP
-.B \-\-gimbalcam=rotx,roty,rotz,transx,transy,transz,distance
+.B \-\-camera=rotx,roty,rotz,transx,transy,transz,distance
If exporting an image, use a Gimbal camera with the given parameters
.TP
-.B \-\-vectorcam=eyex,eyey,eyez,centerx,centery,centerz
+.B \-\-camera=eyex,eyey,eyez,centerx,centery,centerz
If exporting an image, use a Vector camera with the given parameters
+.TP
+.B \-\-imgsize=width,height
+If exporting an image, specify the pixel width and height
+.TP
+.B \-\-projection=[o|p]
+If exporting an image, specify whether to use orthographic or perspective
+projection
+.SH COMMAND LINE EXAMPLES
+.PP
+
+Render example001.scad into the .stl format (raw triangle data):
+.PP
+.B openscad -o example001.stl examples/example001.scad
+.PP
+Compile a 2d image using a camera rotated 25 degrees in x and 35 in z,
+distance 500, with orthographic projection:
+.PP
+.B openscad -o o.png o.scad --camera=0,0,0,25,0,35,500 --projection=ortho
+.PP
+Set the 'mode' variable in example017 so that it will render only the
+parts of the shape. Export to a .dxf file.
+.PP
+.B openscad -x example017.dxf -D'mode="parts"' examples/example017.scad
+
.SH AUTHOR
OpenSCAD was written by Clifford Wolf, Marius Kintel, and others.
.PP
This manual page was written by chrysn <chrysn@fsfe.org>,
-for the Debian project (and may be used by others).
+for the Debian project (and may be used by others). Updated by
+the OpenSCAD team.
contact: Jan Huwald // Impressum