Command-Line Interface of Geo-AID
By default, whenever run, Geo-AID will generate a file in the same location with a different extension matching the requested format. If multiple formats were provided,
multiple files with different extensions are generated. This behavior can be modified with the --output option.
Command Overview:
Geo-AID
Usage: Geo-AID [OPTIONS] <INPUT> <OUTPUT>
Arguments:
<INPUT>— The input script file
Options:
-
-o,--output <DIR>- Where the output file(s) should be created. Must point to an existing directory. -
-d,--delta-max-mean <DELTA_MAX_MEAN>— The maximum mean quality delta. Geo-AID will keep doing generation cycles until the average quality delta over the lastmcycles gets belowd.Default value:
0.0001 -
-w,--worker-count <WORKER_COUNT>— The count of threads to use for generationDefault value:
32 -
-s,--samples- The count of samples to use for generation. Each engine interprets it differentlyDefault value:
512 -
-e,--engine- The generation engine to use.Default value:
glidePossible values:
glide: The gradient descent enginerage: Random adjustment based engine
-
-m,--mean-count <MEAN_COUNT>— The count of last deltas to include in mean calculation. Geo-AID will keep doing generation cycles until the average quality delta over the lastmcycles gets belowd.Default value:
128 -
-s,--strictness <STRICTNESS>— How strict the generator treats the rules. The higher, the more strict. Can't be zero.Default value:
2.0 -
-a,--adjustment-max <ADJUSTMENT_MAX>— Maximal adjustment of an adjustable during generation. Treated differently for different adjustables.Default value:
0.5 -
-f,--format <FORMAT>— What format to generate.Default value:
svgPossible values:
latex: The LaTeX + tikz formatsvg: The SVG format rendererjson: The JSON (machine-readable) formatplaintext: The plaintext (human-readable) formatgeogebra: The GeoGebra workspace format (*.ggb)
Multiple formats can be provided, each after a
-for--format. -
--width <WIDTH>— Canvas width.Default value:
500forsvg,10forlatex,5forjsonandgeogebra,1forjson. -
--height <HEIGHT>— Canvas height (treated very differently for LaTeX)Default value: equal to width (e.g. if
widthis set to300, default value forheightis300). -
-l,--log <LOG>— Where to put the log output. Geo-AID has a logging feature for concise information about the rendering process (quality and time).
This document was generated with the help of
clap-markdown.