.. Generování 3D modelu otisku prstu documentation master file, created by
   sphinx-quickstart on Fri May  5 21:01:20 2023.
   You can adapt this file completely to your liking, but it should at least
   contain the root `toctree` directive.

Troubleshooting
===============

.. raw:: html

    <style>
        table {
            border-collapse: collapse;
            width: 100%;
        }

        th, td {
            padding: 8px;
            text-align: left;
            border-bottom: 1px solid #ddd;
        }

        th {
            background-color: #f2f2f2;
        }

        .code {
            font-family: 'Courier New', monospace;
            background-color: #f5f5f5;
            padding: 8px;
        }

        .language-json {
            color: #333;
        }
    </style>
    <table>
        <thead>
            <tr>
            <th>Error message</th>
            <th>Solution</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>
                    main.py: error: the following arguments are required: input_file, output_file, dpi, filters
                </td>
                <td>
                    You probably forgot to include some of the required arguments.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Input file res/Palec_P14.tif does not exist
                </td>
                <td>
                    The file you want to process does not exist, check the filename again.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Config file not found
                </td>
                <td>
                    The config file you want to load config from does not exist, check the filename again.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Preset not found in config file
                </td>
                <td>
                    The preset is not present in selected config file, check the file again or select the correct config file.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Filter undefined_filter not found
                </td>
                <td>
                    One of the filters from command line is not defined in the library, check its name.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Unrecognized generation mode
                </td>
                <td>
                    The first parameter of stl generation should be p, c or m, check it again.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Line depth must be less than plate thickness
                </td>
                <td>
                    When generating a cast, the depth must be less than the base plate thckness, otherwise it would have holes on the other side.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Depth of plate height must be positive
                </td>
                <td>
                    Cannot generate negative base plate thickness, check order of arguments.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Base and line height must both be positive
                </td>
                <td>
                    In curved generation any negative argument is an error, casts are only for planar mode.
                </td>
            </tr>
            <tr>
                <td>
                    ERROR: Fingerprint image is outside of the finger model
                </td>
                <td>
                    Outside of range of the finger, fingerprint cannot be mapped to nothing. Try to change finger_x, finger_y and finger_z parameters.
                </td>
            </tr>
        </tbody>
    </table>
