Dependencies:
Contains code from jdumas/mma.
The code can be built using CMake. Cloning it into your computer, and provided you have the required dependencies and CMake can find them, it's just a matter of running:
mkdir build
cd build
cmake ..
make
make install
The executable is by default installed to the folder from where it was built.
Provided you have access to a terminal. Binaries are also distributed here on GitHub via the right sidebar, under releases. The Windows binaries are distributed with the required DLLs. For Linux, it's better to obtain them using your distribution's package manager. This also applies for WSL.
textopt
can currently only be run via a command line interface, being supplied
with a configuration file, like so (for a UNIX-like shell):
./build/textopt ./examples/v0.1.0/opt.yaml
The YAML files contain all the necessary parameters to run the tests. There are three kinds of tests available:
opt
: cutting parameter optimizationsingle
: generates a topography and related information from the cutting parameters used as inputplot
: generates plot information of superficial area and roughness for a range of parameters. It creates aplot_*.txt
file inside the folder from where it was called, which can be plotted using the/scripts/plot.py
script
For more information, see the example files inside the /examples/
subfolders.