Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add CLI option for threading #22

Open
Mearman opened this issue Sep 17, 2020 · 1 comment
Open

Please add CLI option for threading #22

Mearman opened this issue Sep 17, 2020 · 1 comment

Comments

@Mearman
Copy link

Mearman commented Sep 17, 2020

^

@adrianseeley
Copy link

void help()
{
    cerr << "Plater v1.0 (https://github.com/RobotsWar/Plater)" << endl;
    cerr << "Usage: plater [options] plater.conf" << endl;
    cerr << "(Use - to read from stdin)" << endl;
    cerr << endl;
    cerr << "-h: Display this help" << endl;
    cerr << "-v: Verbose mode" << endl;
    cerr << "The size of the bed plate (topview, 2D):" << endl;
    cerr << "  -W width: Setting the plate width (default: 150mm)" << endl;
    cerr << "  -H height: Setting the plate height (default: 150mm)" << endl;
    cerr << "-D diameter: Set the plate diameter, in mm. If set, this will put the plate in circular mode" << endl;
    cerr << "-j precision: Sets the precision (in mm, default: 0.5)" << endl;
    cerr << "-s spacing: Change the spacing between parts (in mm, default: 1.5)" << endl;
    cerr << "-d delta: Sets the interval of place grid (in mm, default: 1.5)" << endl;
    cerr << "-r rotation: Sets the interval of rotation (in °, default: 90)" << endl;
    cerr << "-S: Trying multiple sort possibilities" << endl;
    cerr << "-R random: Sets the number of random (shuffled parts) iterations (only with -S)" << endl;
    cerr << "-o pattern: output file pattern (default: plate_%03d)" << endl;
    cerr << "-p: will output ppm of the plates" << endl;
    cerr << "-t threads: sets the number of threads (default 1)" << endl;
    cerr << "-c: enables the output of plates.csv containing plates infos" << endl;
    exit(EXIT_FAILURE);
}

Took a look through myself and it appears it actually is supported just not documented. Hope this helps anyone else ending up here!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants