FIX: Resolve all paths to absolute before passing to NX
Root cause: Path.absolute() on Windows does NOT resolve '..' components. sim_file_path was reaching NX as '...\studies\01_doe_landscape\..\..\models\Beam_sim1.sim' NX likely can't resolve referenced parts from a path with '..' in it. Fixes: - nx_interface.py: glob from self.model_dir (resolved) not model_dir (raw) - solver.py: sim_file.resolve() instead of sim_file.absolute() - solve_simulation.py: os.path.abspath(sim_file_path) at entry point - Diagnostic logging still in place for next run
This commit is contained in:
1126
projects/.stversions/hydrotech-beam/models/_temp_solve_journal~20260211-151402.py
Executable file
1126
projects/.stversions/hydrotech-beam/models/_temp_solve_journal~20260211-151402.py
Executable file
File diff suppressed because it is too large
Load Diff
1126
projects/.stversions/hydrotech-beam/models/_temp_solve_journal~20260211-152342.py
Executable file
1126
projects/.stversions/hydrotech-beam/models/_temp_solve_journal~20260211-152342.py
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user