tri2stl

NAME

tri2stl - convert a triangle cloud to stl

SYNOPSIS

tri2stl [-n STRING|--name STRING] [-?|-h|--help]

DESCRIPTION

tri2stl converts a triangle cloud in the format specified below to an ascii stl file (STereoLithography). The stl object name can be specified (default: 'noname'). It takes its input from the standard input and returns the result to the standard output.

DATA FORMAT

> number_of_points
> x1 y1 z1
> x2 y2 z2
> ...
> xn yn zn
> number_of_triangles
> r11 r12 r13
> r21 r22 r23
> ...
> rn1 rn2 rn3
The stl format specification can be found at http://www.ennex.com/~fabbers/StL.asp

OPTIONS

-h,--help,-?

Returns the manual page

-n NAME, --name NAME

set the name of the object to NAME

AUTHORS

Written by Pierre Smars (first version: 2010)

BUGS

Reports of bugs or problems should be submitted via electronic mail to <smars@yuntech.edu.tw>.

COPYRIGHT

Copyright (C) 2013 Pierre Smars. License GPLv2 <http://www.gnu.org/licenses/gpl-2.0.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.

SEE ALSO

stl2tri(1), stlb2stla(1), stl2dxf(1), view_tri(1)

Pierre SMARS (tools, home page)