From c92d9bde928339838e0ecd6f5a7b23dbdf874f75 Mon Sep 17 00:00:00 2001 From: don bright Date: Sun, 3 Mar 2013 17:28:12 -0600 Subject: update manpage diff --git a/RELEASE_NOTES b/RELEASE_NOTES index b2058df..d1a02ed 100644 --- a/RELEASE_NOTES +++ b/RELEASE_NOTES @@ -6,7 +6,7 @@ o Console output is now enabled on Windows through the openscad.com executable o Added basic syntax highlighting in the editor o Mac: Added document icon o Mac: Added auto-update check -o Commandline output to PNG, with two types of cameras, imgsize, CGAL & OpenCSG +o Commandline output to PNG, with various camera and rendering settings o Regression test now creates single monolithic .html file for easier uploading Bugfixes: 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 , -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. -- cgit v0.10.1