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 lastm
cycles 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:
glide
Possible 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 lastm
cycles 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:
svg
Possible 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
-f
or--format.
-
--width <WIDTH>
— Canvas width.Default value:
500
forsvg
,10
forlatex
,5
forjson
andgeogebra
,1
forjson
. -
--height <HEIGHT>
— Canvas height (treated very differently for LaTeX)Default value: equal to width (e.g. if
width
is set to300
, default value forheight
is300
). -
-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
.