ttrr_tools.py is a command line tool. You can get the help as usual:
$ ttrr_tools.py -h
usage: ttrr_tools.py [-h] -f file [file ...] [--new] [--version]
[--png_gnuplot] [--pdf_gnuplot] [--gnuplot_cylinder]
[--png_pov] [--ogv]
[-ogv_convert {ffmpeg2theora,png2theora,ffmpeg}] [--apng]
[--mng] [--gif] [--yuv] [--all_bars]
[--coordinate_system] [--small_coordinate_system]
[--show_result_table] [--show_results]
[-hist {log_asciiart,numbers,asciiart,all,none}]
[-ascii_hist_l lines] [-ascii_hist_c cols]
[--save_module] [--save_mat] [-x pixels] [-y pixels]
[-xm pixels] [-ym pixels] [-frames n] [-framerate n]
[-pov_angle a] [-pov_angle_m a] [-minfact mf]
ttrr - TrussTopologyRobustRedundant: ttrr is a software package to do topology
optimization of a truss with respect to robustness and redundancy. For more help
type "pydoc ttrr"
optional arguments:
-h, --help show this help message and exit
-f file [file ...] file(s) to process
--new create only new pictures/movies. do not overwrite
existing ones.
--version show program's version number and exit
--png_gnuplot create png-pictures with gnuplot
--pdf_gnuplot create pdf-pictures with gnuplot
--gnuplot_cylinder Use gnuplot with creating cylinders as bars. This is
slow.
--png_pov create png-pictures with povray
--ogv create ogv-movies with povray and a converter
-ogv_convert {ffmpeg2theora,png2theora,ffmpeg}
Set the converter to generate the movie from the png-
pictures, which povray creates. To create a movie with
ffmpeg2theora it needs png2yuv. default: ffmpeg2theora
--apng create apng-animation with apngasm
--mng create mng-animation with convert
--gif create gif-animation with convert
--yuv create YUV4MPEG stream format with png2yuv. This is an
uncompressed movie-stream. It is only useful for
further conversions.
--all_bars create pictures with all bars (structural universe)
--coordinate_system create pictures with a coordinate system
--small_coordinate_system
create pictures with a small coordinate system
--show_result_table show results in a table
--show_results show results
-hist {log_asciiart,numbers,asciiart,all,none}
Show in results histogram(s) of bar cross sections of
this type. default: log_asciiart
-ascii_hist_l lines Set in asciiart histogram the numbers of lines.
(default: 3)
-ascii_hist_c cols Set in asciiart histogram the numbers of cols.
(default: 100)
--save_module save with scipy.io.save_as_module data from file(s) to
"{.dat,.dir,.py}"-files
--save_mat save with scipy.io.savemat data from file(s) to
".mat"-file(s)
-x pixels x resolution of the pictures (default: 1000)
-y pixels y resolution of the pictures (default: 1000)
-xm pixels x resolution of the movies (default: 800)
-ym pixels y resolution of the movies (default: 600)
-frames n the movie will be created from n frames (default: 250)
-framerate n set the framerate. the movie will be created with n
frames per second (default: 25)
-pov_angle a For rendering pictures by povray the view angle is set
to a (default: 33)
-pov_angle_m a For rendering animations by povray the view angle is
set to a (default: 40)
-minfact mf a truss with a cross section less than mf*max(s) is
ignored. max(s) is the maximum over all truss cross
sections. if mf=0 no truss is ignored. (default: 1e-6)
Author: Daniel Mohr
Date: 2013-11-09
License: GNU GENERAL PUBLIC LICENSE, Version 3, 29 June 2007