-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FIX: Set solder ball fix with negative diameter #737
Conversation
# Conflicts: # src/pyedb/dotnet/edb_core/edb_data/hfss_pi_simulation_setup_data.py # src/pyedb/dotnet/edb_core/utilities/simulation_setup.py
# Conflicts: # src/pyedb/dotnet/edb_core/components.py
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Wonder why edbapi returns a negative value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you sure that returning the absolute value is enough ? Couldn't we have cases like [-0.6, 0.3] where 0.3 should be the value returned and this would return 0.6 ?
@@ -871,7 +871,6 @@ def create_port_on_pins(self, refdes, pins, reference_pins, impedance=50.0, port | |||
elif "-" in ref_pin_name and ref_pin_name.split("-")[1] in refdes_pins: | |||
ref_cmp_pins.append(refdes_pins[ref_pin_name.split("-")[1]]) | |||
if not ref_cmp_pins: | |||
self._logger.warning("No reference pins found during port creation. Port is not defined.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you remove this warning ? Can you make it a debug warning if you don't want people to see it ?
_sb_diam = min([self._get_edb_value(val).ToDouble() for val in pad_params[1]]) | ||
sball_diam = _sb_diam | ||
_sb_diam = abs(min([self._get_edb_value(val).ToDouble() for val in pad_params[1]])) | ||
sball_diam = 0.8 * _sb_diam |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you multiply by 0.8 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is an arbitrary value based on experiment. When users export to 3D modeler having the same value cause trouble with meshing. Using a smaller value prevent this issue
For some cases EDB api is returning negative pad dimension causing solder balls settings failure.
closing #736