home *** CD-ROM | disk | FTP | other *** search
- CtrlView V2.20 (http://www.CtrlView.com)
-
-
- Command line parameters and usage examples.
-
- Command line parameters:
-
- ctrlview -p input_name[,format[,view]]
- - prints fit to paper size;
- ctrlview -p1 input_name[,format[,view]]
- - prints 1=1 (pixel to pixel for raster files, mm to mm for HP-GL,
- has no effect for 3D);
-
- ctrlview input_name[,format[,x,y,w,h][,view]] output_name,format[,width,height]
- - converts file to the selected format;
-
- Supported input format keywords:
-
- bmp,dib - Windows bitmaps;
- jpg,jpeg - JPEG format;
- pcx - ZSoft PC Paintbrash;
- png - PNG format;
- tiff - TIFF format;
- hpgl - HP-GL, HP-GL/2;
- 3ds - Autodesk 3D Studio;
- obj - Wavefront;
- stlt - stereolithography text;
- stlb - stereolithography binary;
- surf - Digital SURF;
- vrml - VRML 1.0, VRML 2.0;
- xpm - the X pixmap format;
-
- Supported output format keywords:
-
- bmp,dib - Windows bitmaps;
- jpg,jpeg - JPEG format;
- pcx - ZSoft PC Paintbrash;
- pdf - Adobe Portable Document Format;
- png - PNG format;
- tiff - TIFF format;
- ps - PostScript;
- eps - Encapsulated PostScript;
- dxf - Autodesk Drawing eXchange Format;
- cgm - Computer Graphics Metafile;
- hpgl - HP-GL;
- hpgl2 - HP-GL/2;
- iges - Initial Graphics Exchange Specification;
- stlt - stereolithography text;
- vrml2 - VRML 2.0;
- xpm - the X pixmap format;
-
- x,y,w,h - clipping window in relative units (0.0..1.0) from left
- bottom corner for HP-GL, HP-GL/2 only;
-
- view - 3D model view (iso, front, rear, left, right, top, bottom);
-
- width,height - in pixels for convertion from 2D vector/3D formats
- to 2D raster formats. 640x480 by default.
-
-
-
- Formats convertibility table:
-
- i\o | bmp | jpg | pcx | pdf | png | tiff | ps | eps | dxf | cgm | hpgl | hpgl2 | iges | stlt | vrml2 | xpm |
- --------------------------------------------------------------------------------------------------------------
- bmp | X | X | X | X | X | X | | | | | | | | | | X |
- --------------------------------------------------------------------------------------------------------------
- jpg | X | X | X | X | X | X | | | | | | | | | | X |
- --------------------------------------------------------------------------------------------------------------
- pcx | X | X | X | X | X | X | | | | | | | | | | X |
- --------------------------------------------------------------------------------------------------------------
- png | X | X | X | X | X | X | | | | | | | | | | X |
- --------------------------------------------------------------------------------------------------------------
- tiff | X | X | X | X | X | X | | | | | | | | | | X |
- --------------------------------------------------------------------------------------------------------------
- hpgl | X | X | X | X | X | X | X | X | X | X | X | X | | | | X |
- --------------------------------------------------------------------------------------------------------------
- 3ds | X | X | X | X | X | X | | | X | | | | X | X | X | X |
- --------------------------------------------------------------------------------------------------------------
- obj | X | X | X | X | X | X | | | X | | | | X | X | X | X |
- --------------------------------------------------------------------------------------------------------------
- stlt | X | X | X | X | X | X | | | X | | | | X | X | X | X |
- --------------------------------------------------------------------------------------------------------------
- stlb | X | X | X | X | X | X | | | X | | | | X | X | X | X |
- --------------------------------------------------------------------------------------------------------------
- surf | X | X | X | X | X | X | | | X | | | | X | X | X | X |
- --------------------------------------------------------------------------------------------------------------
- vrml | X | X | X | X | X | X | | | X | | | | X | X | X | X |
- --------------------------------------------------------------------------------------------------------------
- xpm | X | X | X | X | X | X | | | | | | | | | | X |
- --------------------------------------------------------------------------------------------------------------
-
-
- Usage examples:
-
-
- for 3D files:
-
- ctrlview test.3ds test.wrl,vrml2
- - converts test.3ds (automatic defining of format) to VRML-2.0
-
- ctrlview test.3ds,3ds test.igs,iges
- - converts test.3ds (known in Autodesk 3D Studio format) to IGES
-
- ctrlview test.3ds,3ds,iso test.jpg,jpeg
- - converts test.3ds (known in Autodesk 3D Studio format) isometric view to 640x480 (default) JPEG
-
- ctrlview test.3ds,3ds,front test.png,png,1024,768
- - converts test.3ds (known in Autodesk 3D Studio format) front view to 1024x768 PNG
-
-
- for 2D vector files:
-
- ctrlview a3.plt test.dxf,dxf
- - converts a3.plt (automatic defining of format) to DXF
-
- ctrlview a3.plt,hpgl,0.5,0,0.5,0.5 test.ps,eps
- - converts a3.plt (known in HP-GL format) right bottom corner to Encapsulated PostScript
-
- ctrlview a3.plt,hpgl,0.75,0.75,0.25,0.25 test.bmp,bmp,640,640
- - converts a3.plt (known in HP-GL format) right top corner to 640x640 bitmap
-
-
- for raster files:
-
- ctrlview test.img test.jpg,jpeg
- - converts test.img (automatic defining of format) to JPEG
-
- ctrlview test.bmp,bmp test.tif,tiff
- - converts test.bmp (bitmap) to TIFF
-
-