This is the command dxfsphere that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
dxfsphere - generate a triangle mesh approximating a sphere by recursive subdivision in
.dxf format using libdime
dxfsphere [-c] [-t] [-i] [-o outfile] level
This manual page documents briefly the dxfsphere command. This manual page was written
for the Debian GNU/Linux distribution because the original program does not have a manual
page. Instead, it has documentation in the GNU Info format; see below.
dxfsphere is a program that
generate a triangle mesh approximating a sphere by
recursive subdivision. First approximation is an platonic
solid; each level of refinement increases the number of
triangles by a factor of 4.
Level 3 (128 triangles for an octahedron) is a good tradeoff if
gouraud shading is used to render the database.
level level is an integer >= 1 setting the recursion level (default 1).
causes triangles to be generated with vertices in counterclockwise
order as viewed from the outside in a RHS coordinate system.
The default is clockwise order.
-t, starts with a tetrahedron instead of an octahedron
-i, starts with a icosahedron instead of an octahedron
-o, outfile (default is stdout)
-h, Show useage.
Use dxfsphere online using onworks.net services