ansys / pyaedt

AEDT Python Client Package
https://aedt.docs.pyansys.com
MIT License
203 stars 123 forks source link

convert_to_3d_microvias, Using option "convert_only_signal_vias=False" when same padstack definition is mapped to signal_via and non-signal via is not supported. #4119

Open amichel0205 opened 9 months ago

amichel0205 commented 9 months ago

Before submitting the issue

Description of the bug

Using option "convert_only_signal_vias=False" when same padstack definition is mapped to signal_via and non-signal via is not supported. The results is all non signal_via mapped on the padstack used to convert via to µvia will have hole diameter set to 0.

Steps To Reproduce

  1. Use a test case where same padstack is mapped to both signal and non signal via
  2. Use function "convert_to_3d_microvias(convert_only_signal_vias=True, hole_wall_angle=15, delete_padstack_def=False)"
  3. Result is that all non signal vias are not converted and have a hole diameter set to 0.

Work around until the bug will be fixed is to use list to select all non signal vias mapped to the padstack

image

and to:

image

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

C:\Users\amichel>python -m pip freeze ansys-pythonnet==3.1.0rc3 attrs==23.2.0 certifi==2023.11.17 cffi==1.16.0 charset-normalizer==3.3.2 click==8.1.7 click-plugins==1.1.1 cligj==0.7.2 clr-loader==0.2.6 colorama==0.4.6 contourpy==1.2.0 cycler==0.12.1 defusedxml==0.7.1 et-xmlfile==1.1.0 fiona==1.9.5 fonttools==4.47.2 fpdf2==2.7.7 geopandas==0.14.2 idna==3.6 imageio==2.33.1 jsonschema==4.21.0 jsonschema-specifications==2023.12.1 kiwisolver==1.4.5 matplotlib==3.8.0 networkx==3.2.1 numpy==1.26.0 openpyxl==3.1.2 osmnx==1.8.1 packaging==23.2 pandas==2.1.1 pillow==10.2.0 platformdirs==4.1.0 plumbum==1.8.2 pooch==1.8.0 psutil==5.9.7 -e git+https://github.com/ansys/pyaedt.git@4e7e35f4c5b816566580db136a9d17f29f5fde68#egg=pyaedt pycparser==2.21 pyparsing==3.1.1 pyproj==3.6.1 python-dateutil==2.8.2 pytz==2023.3.post1 pyvista==0.42.2 pywin32==306 referencing==0.32.1 requests==2.31.0 rpds-py==0.17.1 rpyc==5.3.1 scikit-rf==0.30.0 scipy==1.11.4 scooby==0.9.2 shapely==2.0.2 six==1.16.0 SRTM.py==0.3.7 tzdata==2023.4 urllib3==2.1.0 utm==0.7.0 vtk==9.2.6

amichel0205 commented 5 months ago

I will finaly work on this one and should complete it soone. I've created a branch not pushed yet 4119_improve_convert_to_microvias