Skip to main content

pick_basis_file

Function pick_basis_file 

Source
pub fn pick_basis_file(files: &[(String, String)]) -> Option<&str>
Expand description

Picks the file of the basis revision whose current version a new simulation pins: the STEP export if there is one (the neutral geometry), else the first file of a known CAD/mesh format. files are (filename, format id); none fits → None (the revision alone is linked).