Cart3D ShapeOpt Wrapper
- class pysagas.optimisation.cart3d.utilities.C3DPrep[source]
- __init__(logfile, jitter_denom=1000, rotation_attempts=6, info_file=None, write_config=True)[source]
- Parameters:
jitter_denom (float)
rotation_attempts (int)
info_file (str)
write_config (bool)
- Return type:
None
- intersect_stls(stl_files=None)[source]
Create Components.i.tri by intersecting all STL files.
- Parameters:
stl_files (list[str] | None)
- Return type:
bool
- run_autoinputs(r=2, *args)[source]
Runs autoInputs to create input.c3d.
- Parameters:
r (int, optional) – The distance to farfield normalized by max geometry size. The default is 2.
args (str, optional) – Any extra arguments to provide to autoInputs, as strings. For arguments with values, just include the value in the string.