ansys/pyansys-geometry

IGES import on Windows service provides failing results

Closed this issue · 4 comments

See TODO in test_design_import.py::test_open_file - latest DMS version has started to fail here. Requires service investigation. Assigning to @jonahrb.

Read lines

# TODO: Something has gone wrong with IGES
# TODO: Issue https://github.com/ansys/pyansys-geometry/issues/801
#
# file = tmp_path_factory.mktemp("test_design_import") / "two_cars.igs"
# design.download(file, DesignFileFormat.IGES)
# design2 = modeler.open_file(file)
# _checker_method(design, design2, False)

This is a known issue of additional empty components that occurs in SC product as well. Likely a stride bug, it has been reported. So this IGES test won't pass as-is until that is fixed. Other option as a possible workaround is to explicitly ignore empty components, but that's probably not ideal? @b-matteo @kmental , feel free to add any additional comments

This is a known issue of additional empty components that occurs in SC product as well. Likely a stride bug, it has been reported. So this IGES test won't pass as-is until that is fixed. Other option as a possible workaround is to explicitly ignore empty components, but that's probably not ideal? @b-matteo @kmental , feel free to add any additional comments

Thanks for the heads up @jonahrb . Personnally i think it's more consistent to keep the test the way it is and wait for a fix. If the fix is to be too delayed, we could make a specific test for IGES.

Closing in favor of #1146