Open greschd opened 3 days ago
Hmm seems like you are using the local version of the Geometry Service (meaning, it is on your filesystem). Could you try running the script with the following modification?
design = modeler.open_file("ply_boundaries.step", upload_to_server=False)
design.export_to_pmdb()
Nonetheless it seems like the export/download API is the one failing... Let's give it a try to
try calling
design.save("ply_boundaries.pmdb")
Fingers crossed...
upload_to_server=False
Produces the same error
design.save("ply_boundaries.pmdb")
Produces the following error:
ansys.geometry.core.errors.GeometryExitedError: Geometry service connection terminated: Path cannot be the empty string or all whitespace.
Can you reproduce the issue with the STEP file above? Maybe I just got a bad daily build.
Otherwise, I suspect it's specific to this file. With another STEP file the original code works, but the design.save
variant produces the same exception. On the original file, export_to_fmd
also works.
🔍 Before submitting the issue
🐞 Description of the bug
The following STEP file ply_boundaries.step.txt [1] cannot be loaded and then exported to the PMDAT format.
The following exception occurs:
[1] renamed to
.txt
to make Github happy📝 Steps to reproduce
Run the following code, changing the path to the file as needed:
💻 Which operating system are you using?
Windows
📀 Which ANSYS version are you using?
2025R1
🐍 Which Python version are you using?
3.10
📦 Installed packages