|
Usage: off2dae [options] [input_file] Convert an OFF file to Collada DAE file format Options -h,--help this help message (run 'off_util -H help' for general help) --version version information -v <rad> radius of vertex spheres, or 'b' to have radius of balls of the maximum size without overlap (default: ball_rad/15) -e <rad> radius of edge cylinders (default: vertex_rad/1.5) -V <col> default vertex colour, in form 'R,G,B,A' (3 or 4 values 0.0-1.0, or 0-255) or hex 'xFFFFFF' (default: 1.0,0.5,0.0) -E <col> default edge colour, in form 'R,G,B,A' (3 or 4 values 0.0-1.0, or 0-255) or hex 'xFFFFFF', 'x' to hide implicit edges (default: 0.8,0.6,0.8) -F <col> default face colour, in form 'R,G,B,A' (3 or 4 values 0.0-1.0, or 0-255) or hex 'xFFFFFF' (default: 0.8,0.9,0.9) -x <elms> hide elements. The element string can include v, e and f to hide vertices, edges and faces -t <disp> select face parts to display according to winding number from: odd, nonzero (default), positive, negative, no_triangulation (use native polygon display) -m <maps> a comma separated list of colour maps used to transform colour indexes, a part consisting of letters from v, e, f, selects the element types to apply the map list to (default 'vef'). -K <lvl> a positive integer to specify the level of smoothing (using more polygons) of the vertex spheres and edge cylinders (default: 3) -d <dgts> number of significant digits (default 16) or if negative then the number of digits after the decimal point -o <file> write output to file (default: write to standard output)
off2dae -x ef -v b ico > ico_pack.dae
off2dae -x f ico > ico_frame.dae
off2dae -x ve ico > ico_faces.dae
off2dae -v 0.01 -e 0.008 ico > ico_thin_elems.dae
off2dae -V red std_ico > ico_red_verts.dae
off2dae -K 5 ico > ico_smoother_elems.dae
Sketchup will not import the surface smoothing that is applied to vertex spheres and edge cylinders. If the elements of am model look too "polyhedral" in Sketchup there are two solutions: use option -K 5 (or higher) so the element models have more polygons; import the vertex and edge elements together with option -x f and use edge smoothing in Sketchup, then import the faces with option -x ev.
Up:
Programs and Documentation
Next:
off2obj - convert an OFF file to Wavefront OBJ format