Skip to content

extra edge repair fails #2220

@ans-spohekar

Description

@ans-spohekar

🔍 Before submitting the issue

  • I have searched among the existing issues
  • I am using a Python virtual environment

🐞 Description of the bug

Repair extra edges doesn't actually repair

modeler = launch_modeler_with_core_service()
design = modeler.open_file(path)
bodies = auxiliary.get_all_bodies_from_design(design)
repair_tools = modeler.repair_tools

print(f"cad file imported")

extra_edges = repair_tools.find_extra_edges(bodies)
print(f"Extra edges found: {len(extra_edges)}")

for edge in extra_edges:
    try:
        edge.fix()
        print(f"Fixed edge: {edge.id}")
    except Exception as e:
        print(f"Error fixing edge {edge.id}: {e}")

remaining_extra_edges = repair_tools.find_extra_edges(bodies)
print(f"Remaining extra edges found: {len(remaining_extra_edges)}")
Image

📝 Steps to reproduce

Run above script

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

26 R1

🐍 Which Python version are you using?

3.10

📦 Installed packages

aiohappyeyeballs==2.6.1
aiohttp==3.12.15
aiosignal==1.4.0
annotated-types==0.7.0
ansys-api-dbu==0.3.24
ansys-api-geometry==0.4.74
ansys-api-platform-instancemanagement==1.1.3
ansys-geometry-core==0.11.2
ansys-platform-instancemanagement==1.1.2
-e git+https://github.com/ansys-internal/simba-core.git@bd8f4e21d411c928febad256b51a34927a772475#egg=ansys_simba_core
-e git+https://github.com/ansys-internal/simba-plugin-geometry.git@20ae5512e39c575b8ccb43e759b9c8b4aef5262f#egg=ansys_simba_plugin_geometry
-e git+https://github.com/ansys-internal/simba-settings.git@4ef6f38d7b7d83497549f85dcd5a32aca3b6d1d6#egg=ansys_simba_settings
ansys-tools-path==0.7.1
ansys-tools-visualization-interface==0.11.0
anyio==4.8.0
argon2-cffi==25.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==3.0.0
async-timeout==5.0.1
attrs==25.3.0
autoflake==2.3.1
backports.asyncio.runner==1.2.0
backports.tarfile==1.2.0
beartype==0.19.0
beautifulsoup4==4.13.3
bleach==6.2.0
build==1.2.2.post1
CacheControl==0.14.3
cachetools==6.1.0
certifi==2025.1.31
cffi==1.17.1
chardet==5.2.0
charset-normalizer==3.4.1
cleo==2.1.0
click==8.1.8
colorama==0.4.6
comm==0.2.2
contourpy==1.3.1
coverage==7.6.12
crashtest==0.4.1
cycler==0.12.1
dataclasses-json==0.6.7
decorator==5.2.1
defusedxml==0.7.1
Deprecated==1.2.18
distlib==0.3.9
dnspython==2.7.0
docker==7.1.0
dulwich==0.22.8
exceptiongroup==1.2.2
execnet==2.1.1
executing==2.2.0
fastapi==0.116.1
fastjsonschema==2.21.1
filelock==3.18.0
findpython==0.6.3
flexcache==0.3
flexparser==0.4
fonttools==4.56.0
fqdn==1.5.1
frozenlist==1.5.0
geomdl==5.3.1
grpcio==1.67.1
grpcio-health-checking==1.67.1
h11==0.14.0
httpcore==1.0.7
httpx==0.28.1
idna==3.10
importlib_metadata==8.7.0
iniconfig==2.0.0
installer==0.7.0
ipython==8.37.0
ipywidgets==8.1.7
isoduration==20.11.0
jaraco.classes==3.4.0
jaraco.context==6.0.1
jaraco.functools==4.2.1
jedi==0.19.2
Jinja2==3.1.6
jsonpointer==3.0.0
jsonschema==4.24.0
jsonschema-specifications==2025.4.1
jupyter-events==0.12.0
jupyter_client==8.6.3
jupyter_core==5.8.1
jupyter_server==2.16.0
jupyter_server_proxy==4.4.0
jupyter_server_terminals==0.5.3
jupyterlab_pygments==0.3.0
jupyterlab_widgets==3.0.15
keyring==25.6.0
kiwisolver==1.4.8
MarkupSafe==3.0.2
marshmallow==3.26.1
matplotlib==3.10.1
matplotlib-inline==0.1.7
mistune==3.1.3
more-itertools==10.6.0
msgpack==1.1.1
multidict==6.1.0
mypy_extensions==1.1.0
nbclient==0.10.2
nbconvert==7.16.6
nbformat==5.10.4
nest-asyncio==1.6.0
numpy==1.26.4
overrides==7.7.0
packaging==24.2
pandocfilters==1.5.1
parso==0.8.4
pbs-installer==2025.7.2
pillow==11.1.0
Pint==0.24.4
pkginfo==1.12.1.2
platformdirs==4.3.6
pluggy==1.5.0
poetry==2.1.3
poetry-core==2.1.3
pooch==1.8.2
prometheus_client==0.22.1
prompt_toolkit==3.0.51
propcache==0.3.0
protobuf==5.29.3
pure_eval==0.2.3
pycparser==2.22
pydantic==2.11.7
pydantic_core==2.33.2
pyflakes==3.2.0
pygltflib==1.16.4
Pygments==2.19.1
pyparsing==3.2.1
pyproject-api==1.9.1
pyproject_hooks==1.2.0
pytest==8.4.1
pytest-asyncio==1.1.0
pytest-cov==6.2.1
pytest-mock==3.14.1
pytest-order==1.3.0
pytest-rerunfailures==15.1
pytest-xdist==3.8.0
python-dateutil==2.9.0.post0
python-json-logger==3.3.0
pyvista==0.45.2
pywin32==309
pywin32-ctypes==0.2.3
pywinpty==2.0.15
PyYAML==6.0.2
pyzmq==27.0.0
RapidFuzz==3.13.0
referencing==0.36.2
requests==2.32.5
requests-toolbelt==1.0.0
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rpds-py==0.26.0
scipy==1.15.2
scooby==0.10.1
semver==3.0.4
Send2Trash==1.8.3
shellingham==1.5.4
simpervisor==1.0.0
six==1.17.0
sniffio==1.3.1
soupsieve==2.6
stack-data==0.6.3
starlette==0.46.1
terminado==0.18.1
tinycss2==1.4.0
tomli==2.2.1
tomlkit==0.13.3
tornado==6.5.1
tox==4.27.0
traitlets==5.14.3
trame==3.10.2
trame-client==3.9.1
trame-common==1.0.0
trame-server==3.5.0
trame-vtk==2.9.0
trame-vuetify==3.0.1
trove-classifiers==2025.5.9.12
types-python-dateutil==2.9.0.20250708
typing-inspect==0.9.0
typing-inspection==0.4.0
typing_extensions==4.12.2
uri-template==1.3.0
urllib3==2.3.0
uvicorn==0.35.0
virtualenv==20.31.2
vtk==9.4.2
wcwidth==0.2.13
webcolors==24.11.1
webencodings==0.5.1
websocket-client==1.8.0
websockets==15.0.1
widgetsnbextension==4.0.14
wrapt==1.17.2
wslink==2.3.4
yarl==1.18.3
zipp==3.21.0
zstandard==0.23.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions